# WorksheetFunction.Ddb (Excel)

Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify.

**Ddb** (Arg1, Arg2, ..., Arg5)

```
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblArg3 As Double: dblArg3 =
Dim dblArg4 As Double: dblArg4 =
Dim dblDdb As Double
dblDdb = WorksheetFunction.Ddb(Arg1:=dblArg1, Arg2:=dblArg2, Arg3:=dblArg3, Arg4:=dblArg4)
```

## Arguments

Arg1, Arg2, ..., Arg5Arg1 (Double) - Cost - the initial cost of the asset.

Arg2 (Double) - Salvage - the value at the end of the depreciation (sometimes called the salvage value of the asset). This value can be 0.

Arg3 (Double) - Life - the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

Arg4 (Double) - Period - the period for which you want to calculate the depreciation. Period must use the same units as life.

Arg5 - Factor - the rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method)