Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

This article describes the formula syntax and usage of the DB function in Microsoft Excel.


Returns the depreciation of an asset for a specified period using the fixed-declining balance method.


DB(cost, salvage, life, period, [month])

The DB function syntax has the following arguments:

  • Cost    Required. The initial cost of the asset.

  • Salvage    Required. The value at the end of the depreciation (sometimes called the salvage value of the asset).

  • Life    Required. The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

  • Period    Required. The period for which you want to calculate the depreciation. Period must use the same units as life.

  • Month    Optional. The number of months in the first year. If month is omitted, it is assumed to be 12.


  • The fixed-declining balance method computes depreciation at a fixed rate. DB uses the following formulas to calculate depreciation for a period:

    (cost - total depreciation from prior periods) * rate


    rate = 1 - ((salvage / cost) ^ (1 / life)), rounded to three decimal places

  • Depreciation for the first and last periods is a special case. For the first period, DB uses this formula:

    cost * rate * month / 12

  • For the last period, DB uses this formula:

    ((cost - total depreciation from prior periods) * rate * (12 - month)) / 12


Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.




Initial cost


Salvage value


Lifetime in years





Depreciation in first year, with only 7 months calculated



Depreciation in second year



Depreciation in third year



Depreciation in fourth year



Depreciation in fifth year



Depreciation in sixth year



Depreciation in seventh year, with only 5 months calculated


Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!