ReferenceFunctionsFinancial Functions
DB
DB: Returns fixed-declining-balance depreciation for a specified period.
Summary
DB computes per-period depreciation using a declining-balance rate and an optional
first-year month proration.
Remarks
- Parameters:
cost,salvage,life,period, and optionalmonth(default12). monthmust be in1..=12;lifeandperiodmust be positive; invalid values return#NUM!.lifeandperiodare truncated to integers for period checks and iteration.- The declining rate is rounded to three decimals; if
cost <= 0orsalvage <= 0, this implementation uses a rate of1.0. - Returned value is the period depreciation amount (generally positive expense, but sign follows provided inputs).
Examples
First full-year DB period
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
3690
Fractional period input is truncated
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
2328.39
Related functions
FAQ
How is month used in DB?
month prorates the first-year depreciation; if omitted it defaults to 12.
Why can fractional period inputs behave like integers?
DB truncates life and period to integers for iteration and period bounds.
Runtime metadata
Category
Financial
Signature
DB(arg1: Number, arg2: Number, arg3: Number, arg4: Number, arg5…: Number)Arity
min 4, max variadic
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
arg3Number · Scalar · coercion NumberLenientText
arg4Number · Scalar · coercion NumberLenientText
arg5Number · Scalar · coercion NumberLenientText
Caps
PURE
Source