Contact

DDB Function in Microsoft Excel: Syntax, Examples & Troubleshooting

Financial Intermediate Microsoft Excel

Compute declining-balance depreciation in Excel with DDB. Compare factors, follow the salvage cap, convert period units and distinguish DDB from straight-line switching.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: DDB returns depreciation for a specified period, using a declining-balance factor of 2 by default. It caps the period’s depreciation at the amount still available above salvage, but does not automatically switch to straight-line depreciation to use up the remaining balance.

Syntax and arguments

=DDB(cost, salvage, life, period, [factor])

The required inputs are initial cost, ending salvage, useful life in periods, and the requested period. Use the same units for life and period. factor is optional; its default of 2 means double-declining balance. A factor such as 1.5 selects a different acceleration rate.

Microsoft’s description explicitly allows a salvage value of 0, despite also using a broad “positive numbers” warning. Use a positive cost, life, period and factor in ordinary examples, and a nonnegative salvage not greater than cost. The reviewed page does not enumerate every invalid-input error code or fractional-period coercion rule.

Worked example: depreciation stops at salvage

An equipment example has cost 1000, salvage 100, life 5 years and factor 2. Put these in B2:B5 and period numbers 1 through 5 in A8:A12.

  1. Enter =DDB($B$2,$B$3,$B$4,A8,$B$5) in B8.
  2. Fill down through B12.
  3. Expected depreciation is 400, 240, 144, 86.4, 29.6.
  4. The expected total is 900, leaving book value 100.

The rate is 2/5 = 40%. The first four closing book values are 600, 360, 216 and 129.6. In year 5 the ordinary declining calculation would be 129.6 Ă— 40% = 51.84, but only 29.6 remains above salvage. The minimum-of-those-two rule limits depreciation to 29.6.

Second example: choose a different factor

=DDB(1000,100,5,1,1.5)
=DDB(1000,100,5,2,1.5)

Expected results are 300 and 210. The selected rate is 1.5/5 = 30%; the second period applies it to the 700 remaining after the first. This is a new schedule, not a 25% reduction applied to every output from the factor-2 schedule.

Omitting factor in the original example, =DDB(1000,100,5,1), is expected to give 400. Supplying 1.5 changes a genuine calculation input; number formatting does not.

Advanced application: reconcile a zero-salvage schedule

For DDB(1000,0,5,period), the five expected period amounts are 400, 240, 144, 86.4 and 51.84. They total 922.24, leaving 77.76 at the end of the fifth period. A zero salvage input does not force DDB to depreciate the entire cost by the final period.

Microsoft directs users to VDB when an automatic change to straight-line is needed. Do not silently increase DDB’s last amount to 129.6 and call that unchanged DDB output; it is a separate policy adjustment.

For a monthly model of the first asset, use life 5Ă—12 = 60 and period 1. =DDB(1000,100,60,1) is expected to give 33.33333333. This is not the same as taking the annual first-year depreciation of 400 and assuming all later monthly periods remain equal; each successive month has a new remaining balance.

Troubleshooting

  • Wrong scale: ensure life and period both mean years or both mean months.
  • Salvage exceeded: check whether you used the documented minimum rule in an independent reconciliation rather than blindly multiplying book value by the rate.
  • Unexpected final residual: DDB does not promise a straight-line switch. Review the intended method before adjusting the result.
  • Negative/nonnumeric arguments: correct input validation instead of assuming another spreadsheet’s coercion and error behavior.
  • Rounding differences: retain full-precision calculations and separately decide how currency reports round amounts; repeated rounding can change the remaining balance.

The example illustrates Excel’s formula mechanics. It does not determine the permitted accounting or tax method for an actual asset.

Compatibility and verification

Microsoft’s reference checked on October 17, 2026 lists: Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016. This current support list does not establish the first release. The introduction version and last functioning version have not been established from the reviewed documentation. No retirement is asserted.

Example verification: Expected numerical results are independently calculated; text and shape expectations follow the documented contract. These examples have not been tested in Microsoft Excel. No screenshot or native execution is claimed.