Financial function

VDB function

Returns declining-balance depreciation over any period range, switching to straight-line when that gives a larger charge.

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

VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])
ArgumentWhat it means
costRequiredInitial cost.
salvageRequiredValue at the end of the life.
lifeRequiredUseful life in periods.
start_periodRequiredStart of the range (0 = the beginning of the life). Can be fractional.
end_periodRequiredEnd of the range. Use start + 1 for one period.
factorOptionalDeclining-balance rate factor. Default 2.
no_switchOptionalFALSE or omitted = switch to straight-line when it is larger; TRUE = never switch.

Returns: The total depreciation between start_period and end_period.

How VDB works

VDB ("variable declining balance") is the most flexible depreciation function. It calculates declining-balance depreciation like DDB, but between any two points in time — one year, the first two years, or even half a year — and by default it switches to straight-line depreciation once straight-line on the remaining value gives a bigger charge. That switch ensures the asset is depreciated fully down to its salvage value by the end of its life.

Periods are measured from the start of the life: the first year is start_period 0 to end_period 1, the third year is 2 to 3. Because ranges are allowed, VDB can give cumulative depreciation (0 to 3) in a single call, and fractional values let you handle partial periods.

Examples

1Switch to straight-line in the later years

B5fx=VDB(B1,B2,B3,3,4)
AB
1Cost10000
2Salvage0
3Life (years)5
4
51,080.00

Result: 1,080.00

Pure DDB would charge 864.00 in year 4 and 518.40 in year 5, leaving 777.60 undepreciated. VDB sees that straight-line on the remaining 2,160 over 2 years (1,080) is larger, so it switches: year 4 = 1,080.00 (Number format, 2 decimals).

2Cumulative depreciation for the first two years

B5fx=VDB(B1,B2,B3,0,2)
AB
1Cost10000
2Salvage0
3Life (years)5
4
56,400.00

Result: 6,400.00

Years 1 and 2 at 40% declining balance: 4,000 + 2,400 = 6,400.00 (Number format, 2 decimals).

3First month of an asset with a life in months

B5fx=VDB(B1,B2,B3,0,1)
AB
1Cost24000
2Salvage3000
3Life (months)48
4
51,000.00

Result: 1,000.00

With the life given in months the rate is 2/48 per month: 24,000 × 2/48 = 1,000.00 (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!start_period > end_period, end_period > life, or a negative argument.Check the period range.

Tips

  • Year n alone is VDB(cost, salvage, life, n-1, n) — note the start is n−1.
  • Set no_switch to TRUE to reproduce plain DDB results over a range.

Google Sheets

VDB also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

VDB 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.ZA.INT
DanishVSA
HungarianÉCSRI
ItalianAMMORT.VAR
Norwegian (Bokmål)VERDIAVS
Portuguese (Brazil)BDV
Portuguese (Portugal)BDV
RussianПУО
SpanishDVS
SwedishVDEGRAVSKR
TurkishDAB