Google Sheets DDB Function: Double-Declining Depreciation

How-to basics · Updated November 23, 2026

The Google Sheets DDB function calculates an asset’s depreciation for a specific period using the double-declining balance method. Its syntax is DDB(cost, salvage, life, period, [factor]), where cost is the initial value, salvage is the value at the end of life, life is the number of periods, period is the period you want to calculate for, and the optional factor defaults to 2 (hence “double-declining”).

What Is Double-Declining Balance Depreciation?

Double-declining balance (DDB) is an accelerated depreciation method. Unlike straight-line depreciation, which spreads an asset’s cost evenly over its useful life, DDB writes off a larger portion of the asset’s value in the early years and smaller amounts later. This matches how many assets (like vehicles, computers, or machinery) lose value faster when they are new.

The method works by applying a constant depreciation rate to the asset’s book value at the start of each period. The rate is double the straight-line rate. For example, if an asset has a 5-year life, the straight-line rate is 20% per year, so DDB uses 40% per year. The formula for the depreciation in a period is:

Depreciation = Book value at start of period × (factor / life)

Because the book value decreases each year, the depreciation amount also decreases, which is why it’s called “declining balance.”

How the DDB Function Works in Google Sheets

The function requires four arguments and has one optional argument:

  • cost – the initial purchase price of the asset (must be positive).
  • salvage – the estimated value at the end of its useful life (must be positive and less than cost).
  • life – the number of periods over which the asset is depreciated (must be positive).
  • period – the specific period for which you want the depreciation (must be between 1 and life).
  • factor – optional; the rate multiplier. Default is 2. If you set it to 1, it becomes straight-line depreciation. If you set it to 1.5, it’s 150% declining balance.

All arguments must be numbers. If you use cell references, make sure they contain numeric values. The function returns a positive number representing the depreciation for that period.

Step-by-Step Example with Real Numbers

Suppose you buy a delivery van for $30,000, expect it to be worth $5,000 after 5 years, and want to calculate depreciation for each year using the default factor of 2.

Set up your sheet like this:

  • A1: 30,000 (cost)
  • A2: 5,000 (salvage)
  • A3: 5 (life)
  • A4: 1 (period for year 1)

In cell B1, enter: =DDB(A1, A2, A3, A4)

This returns 12,000. Here’s why: The straight-line rate is 1/5 = 20%, doubled to 40%. Book value at start = $30,000. 40% of $30,000 = $12,000.

For year 2, change A4 to 2. The book value at the start of year 2 is $30,000 – $12,000 = $18,000. 40% of $18,000 = $7,200. So =DDB(30000, 5000, 5, 2) returns 7,200.

Year 3: book value = $18,000 – $7,200 = $10,800. 40% of $10,800 = $4,320. But wait—if you subtract $4,320, the book value would be $6,480, which is above salvage. So DDB returns $4,320.

Year 4: book value = $10,800 – $4,320 = $6,480. 40% of that = $2,592. But if you subtract that, book value becomes $3,888, which is below salvage. In real accounting, you’d stop depreciating once book value hits salvage. However, the DDB function in Google Sheets does NOT automatically cap at salvage. It will return the full calculated amount, even if it pushes book value below salvage. So for year 4, it returns $2,592.

Year 5: book value = $6,480 – $2,592 = $3,888. 40% of that = $1,555.20. The function returns $1,555.20, even though the book value would go negative. This is a known quirk—you may need to adjust manually if you want to respect the salvage floor.

When to Use DDB vs. Other Depreciation Functions

Google Sheets has several depreciation functions. Here’s a quick comparison:

  • SLN – straight-line depreciation. Same amount each period. Use for assets that lose value evenly, like office furniture.
  • SYD – sum-of-years’ digits. Another accelerated method, but less aggressive than DDB. Good for assets that lose value quickly but not as fast as DDB.
  • DB – fixed-declining balance. Uses a fixed rate but not necessarily double. You specify the rate indirectly through the function’s arguments.
  • DDB – double-declining balance. The most aggressive common method. Best for technology or equipment that becomes obsolete quickly.

Choosing the right method depends on the asset type and accounting standards. Many companies use DDB for tax purposes because it front-loads deductions, but for book accounting, straight-line is common. Always check with your accountant or tax advisor.

Common Problems and How to Avoid Them

Here are typical issues users run into with DDB:

  • #NUM! error – Occurs if any argument is negative, or if period is less than 1 or greater than life. Ensure all values are positive and period is within range.
  • #VALUE! error – Occurs if any argument is non-numeric. Check that cells contain numbers, not text.
  • Depreciation below salvage – As shown above, DDB can calculate amounts that push book value below salvage. To fix, use a formula that caps the depreciation at the difference between book value and salvage. For example, in a period, you could use =MIN(DDB(cost, salvage, life, period), book_value - salvage).
  • Factor misunderstanding – The factor is not the depreciation rate; it’s the multiplier. A factor of 2 doubles the straight-line rate. A factor of 1.5 gives 150% declining balance.

Comparing DDB in Google Sheets vs. Excel

The DDB function exists in both Google Sheets and Microsoft Excel with identical syntax and behavior. The main difference is how you enter the function: in Excel, you type =DDB( and get a tooltip; in Google Sheets, you get a similar autocomplete. Both handle the same arguments and return the same results. However, Excel’s DDB also does not automatically cap at salvage, so the same quirk applies. If you’re switching between the two, your formulas will work unchanged.

Practical Tips for Using DDB in Real Spreadsheets

Here are some practical pointers:

  • Use absolute cell references (e.g., $A$1) when copying the formula down a column for multiple periods, so cost, salvage, and life don’t shift.
  • For a depreciation schedule, create a column for periods (1, 2, 3…) and reference the period cell in the DDB formula.
  • If you need to force the book value to never go below salvage, use a formula like =MIN(DDB(...), MAX(0, cost - SUM(previous depreciation) - salvage)). This requires a running total of prior depreciation, which you can compute with SUM over a range.
  • Remember that the period can be any positive number, not just whole years. You can use months, quarters, etc., as long as life matches the same unit.

Frequently Asked Questions

Can I use DDB for monthly depreciation?

Yes. Set life to the number of months (e.g., 60 for 5 years) and period to the month number (1 to 60). The function will calculate monthly depreciation using the double-declining method. The factor remains 2, meaning the annual rate is doubled, but since life is in months, the rate is applied monthly.

Why does my DDB result seem too high in the first year?

That’s expected. DDB is designed to be aggressive early. For a 5-year asset, the first year’s depreciation is 40% of cost, which is much higher than the 20% straight-line amount. If you want a less aggressive method, use SYD or SLN.

Does DDB consider partial-year depreciation?

No. The function assumes the asset is owned for the entire period. If you purchase an asset mid-year, you need to adjust the first period’s depreciation manually, perhaps by multiplying the first year’s DDB by the fraction of the year owned.

What happens if I set factor to 1?

With factor=1, the depreciation rate equals the straight-line rate (1/life). Applied to declining balance, this yields a depreciation that decreases each period, not the same amount as straight-line. It’s effectively a 100% declining balance method, which is rarely used. To get true straight-line, use the SLN function.

Can I use DDB for tax reporting?

Yes, but tax rules often have specific requirements (like half-year convention or MACRS in the US). DDB is a common base, but you must adjust for tax-specific conventions. Always consult a tax professional or the IRS guidelines for your situation.

Is there a way to force DDB to stop at salvage automatically?

Not directly. The function doesn’t have a built-in cap. You can wrap it in a MIN function with the remaining depreciable amount, as shown earlier. Alternatively, use the VDB function in Excel (which does cap at salvage), but that function is not available in Google Sheets.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.