DDB function
Returns depreciation for a period using the double-declining balance method or another factor you choose.
Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
DDB(cost, salvage, life, period, [factor])| Argument | What it means | |
|---|---|---|
cost | Required | Initial cost. |
salvage | Required | Value at the end of the life. Depreciation never takes the book value below it. |
life | Required | Useful life in periods. |
period | Required | The period to calculate. |
factor | Optional | Rate at which the balance declines. Default 2 (double-declining); 1.5 gives 150% declining balance. |
Returns: The depreciation for the period.
How DDB works
Double-declining balance charges a constant percentage of the remaining book value each period, where the percentage is factor / life. With the default factor 2 and a 4-year life that is 50% a year: half the value in year 1, half of what is left in year 2, and so on. It front-loads depreciation even more than SYD.
DDB will not depreciate below the salvage value: in the period where the full charge would cross it, only the amount down to salvage is taken, and later periods return 0. On the other hand, if the salvage is low, DDB never quite reaches it, because a percentage of a balance never gets to zero — which is why many companies switch to straight-line near the end. VDB performs that switch automatically.
Examples
1Laptops depreciated over four years
| A | B | |
|---|---|---|
| 1 | Cost | 24000 |
| 2 | Salvage | 3000 |
| 3 | Life (years) | 4 |
| 4 | ||
| 5 | 12,000.00 |
Result: 12,000.00
Rate = 2/4 = 50%. Year 1: 24,000 × 50% = 12,000.00 (Number format, 2 decimals).
2The salvage floor kicks in
| A | B | |
|---|---|---|
| 1 | Cost | 24000 |
| 2 | Salvage | 3000 |
| 3 | Life (years) | 4 |
| 4 | ||
| 5 | 0.00 |
Result: 0.00
Years 1–3 take 12,000, 6,000 and 3,000, leaving a book value of exactly 3,000 — the salvage value. So year 4 depreciation is 0.00 (Number format, 2 decimals).
3150% declining balance
| A | B | |
|---|---|---|
| 1 | Cost | 24000 |
| 2 | Salvage | 3000 |
| 3 | Life (years) | 4 |
| 4 | ||
| 5 | 3,515.63 |
Result: 3,515.63
With factor 1.5 the rate is 37.5%: year 1 9,000, year 2 5,625, year 3 = 9,375 × 37.5% = 3,515.63 (Number format, 2 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | An argument is negative, life or period is 0, or period > life. | Check the inputs; cost and salvage must be ≥ 0. |
Tips
- All arguments must be in the same unit: to get monthly DDB, give life in months.
- Use VDB with
no_switchomitted to switch to straight line automatically when that gives a larger charge.
Google Sheets
DDB also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
DDB in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ODPIS.ZRYCH2 |
| Danish | DSA |
| German | GDA |
| Hungarian | KCSA |
| Italian | AMMORT |
| Norwegian (Bokmål) | DEGRAVS |
| Portuguese (Brazil) | BDD |
| Portuguese (Portugal) | BDD |
| Russian | ДДОБ |
| Swedish | DEGAVSKR |
| Turkish | ÇİFTAZALANBAKİYE |