DB function
Returns depreciation for a period using the fixed-declining balance method, with an optional partial first year.
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
DB(cost, salvage, life, period, [month])| Argument | What it means | |
|---|---|---|
cost | Required | Initial cost. |
salvage | Required | Value at the end of the life. |
life | Required | Useful life in periods (years). |
period | Required | The period to calculate, in the same unit as life. |
month | Optional | Number of months in the first year the asset was owned. Default 12. |
Returns: The depreciation for the requested period.
How DB works
DB applies a fixed percentage to the asset's remaining book value each year, so depreciation is highest at the start and falls every year. Excel works out the percentage for you so that the asset ends close to its salvage value: 1 − (salvage/cost)^(1/life), rounded to three decimal places. That rounding is why DB results can differ slightly from a hand calculation with the unrounded rate.
The month argument handles assets bought part-way through a year. If you bought a machine in June and the financial year ends in December, it was owned for 7 months, so year 1 gets 7/12 of a full year's charge. The missing 5 months are then picked up in an extra period after the end of the life (period life + 1).
DB differs from DDB, which uses a rate of factor/life (200% / life by default) and stops at the salvage value.
Examples
1Depreciation in a full first year
| A | B | |
|---|---|---|
| 1 | Cost | 50000 |
| 2 | Salvage | 5000 |
| 3 | Life (years) | 5 |
| 4 | ||
| 5 | 18,450.00 |
Result: 18,450.00
The rate is 1 − (5,000/50,000)^(1/5) = 0.369 (after rounding to 3 decimals). Year 1: 50,000 × 0.369 = 18,450.00 (Number format, 2 decimals).
2Partial first year: bought in June
| A | B | |
|---|---|---|
| 1 | Cost | 50000 |
| 2 | Salvage | 5000 |
| 3 | Life (years) | 5 |
| 4 | Months in year 1 | 7 |
| 5 | ||
| 6 | 10,762.50 |
Result: 10,762.50
Only 7 months are charged: 50,000 × 0.369 × 7/12 = 10,762.50 (Number format, 2 decimals).
3Second year after a partial first year
| A | B | |
|---|---|---|
| 1 | Cost | 50000 |
| 2 | Salvage | 5000 |
| 3 | Life (years) | 5 |
| 4 | Months in year 1 | 7 |
| 5 | ||
| 6 | 14,478.64 |
Result: 14,478.64
The remaining book value 39,237.50 × 0.369 = 14,478.64. With month = 7 there is also a sixth period, =DB(B1,B2,B3,6,B4) = 956.39, covering the last 5 months (Number format, 2 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | cost or salvage negative, life ≤ 0, period ≤ 0, month outside 1–12, or period > life + 1. | Check the arguments. |
#VALUE! | An argument is text. | Use numbers. |
Tips
- Because of the 3-decimal rounding of the rate, total DB depreciation rarely lands exactly on the salvage value.
- Use period numbers 1 to life (or life + 1 when month < 12) in a schedule.
Google Sheets
DB also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
DB 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.ZRYCH |
| German | GDA2 |
| Hungarian | KCS2 |
| Italian | AMMORT.FISSO |
| Norwegian (Bokmål) | DAVSKR |
| Portuguese (Brazil) | BD |
| Portuguese (Portugal) | BD |
| Russian | ФУО |
| Turkish | AZALANBAKİYE |