VDB Function

Excel Functions › Financial

All versions Financial

The Excel VDB function returns depreciation for any partial or full period using the variable-declining-balance method, optionally switching to straight-line.


Quick answer:
=VDB(10000, 1000, 5, 0, 1) // first year

Syntax

=VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])
ArgumentDescription
costRequiredInitial cost.
salvageRequiredEnd value.
lifeRequiredUseful life.
start_periodRequiredStart of the range.
end_periodRequiredEnd of the range.
factorOptionalDecline rate (default 2).
no_switchOptionalTRUE keeps declining-balance; FALSE (default) switches to straight-line when better.

How to use it

VDB returns depreciation for any partial or full period using the variable-declining-balance method, optionally switching to straight-line.

=VDB(10000, 1000, 5, 0, 1) // flexible declining balance

Try it: interactive demo

Live demo

This is the formula pattern VDB uses — copy it into Excel with your own numbers.

Result: computed in Excel

Practice workbook

📊
Download the free VDB practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What makes VDB flexible?
It depreciates over any start-to-end span (even fractional) and can auto-switch to straight-line when that gives more depreciation.
What does no_switch do?
FALSE (default) lets VDB switch to straight-line late in life; TRUE forces pure declining balance.
Which Excel versions support it?
All modern versions.
Why might it return #NUM! or #VALUE!?
Out-of-range arguments (e.g. negative rate or settlement after maturity) give #NUM!; non-numeric inputs give #VALUE!.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: SLN · DB · DDB · SYD