Financial function

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])
ArgumentWhat it means
costRequiredInitial cost.
salvageRequiredValue at the end of the life.
lifeRequiredUseful life in periods (years).
periodRequiredThe period to calculate, in the same unit as life.
monthOptionalNumber 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

B5fx=DB(B1,B2,B3,1)
AB
1Cost50000
2Salvage5000
3Life (years)5
4
518,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

B6fx=DB(B1,B2,B3,1,B4)
AB
1Cost50000
2Salvage5000
3Life (years)5
4Months in year 17
5
610,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

B6fx=DB(B1,B2,B3,2,B4)
AB
1Cost50000
2Salvage5000
3Life (years)5
4Months in year 17
5
614,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).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
CzechODPIS.ZRYCH
GermanGDA2
HungarianKCS2
ItalianAMMORT.FISSO
Norwegian (Bokmål)DAVSKR
Portuguese (Brazil)BD
Portuguese (Portugal)BD
RussianФУО
TurkishAZALANBAKİYE