Category: FUNCTION | Updated: 2026-11-22
How to Use the DB Function in Google Sheets | Calculate Fixed-Declining Balance Depreciation
Syntax
=DB(cost, salvage, life, period, [month])
- cost: Specifies the initial cost of purchasing the asset.
- salvage: Specifies the value of the asset at the end of depreciation (after its useful life).
- life: Specifies the number of years (periods) over which the asset is depreciated.
- period: Specifies the specific period (1 to
life) for which you want to calculate depreciation. - month (optional): Specifies the number of months in the first period as a number from 1 to 12. Defaults to 12 if omitted.
Practical Example with a Table
Here is an example of calculating depreciation for Periods 1 through 3 for equipment with a cost of ¥1,000,000, salvage value of ¥100,000, and useful life of 5 years (operating 12 months in the first year).
| Item | Value / Formula | Result | Description |
|---|---|---|---|
| Cost | 1000000 |
1,000,000 | Initial acquisition cost |
| Salvage Value | 100000 |
100,000 | Residual value after 5 years |
| Useful Life | 5 |
5 | Depreciation years |
| Period 1 Depreciation | =DB(B2, B3, B4, 1) |
369,000 | Year 1 depreciation |
| Period 2 Depreciation | =DB(B2, B3, B4, 2) |
232,839 | Year 2 depreciation |
| Period 3 Depreciation | =DB(B2, B3, B4, 3) |
146,921 | Year 3 depreciation |
Common Errors and Notes
- #NUM! Error: Occurs if any of
cost,salvage,life, orperiodis negative, or ifperiodis greater thanlife(or greater thanlife + 1whenmonthin Period 1 is less than 12). - Period Range When Specifying Months: If you specify a number less than 12 for
monthin Period 1, you will need to specifylife + 1forperiodto calculate the remaining partial-year depreciation in the final year. - Differences Due to Rounding: Because the DB function rounds the depreciation rate to three decimal places internally, slight discrepancies may occur compared to manual calculations or Japanese statutory declining-balance depreciation.
Frequently Asked Questions
Q. What is the difference between the DB function and the DDB function?
A. The DB function uses the "fixed-declining balance method" with a constant depreciation rate each year, whereas the DDB function uses the "double-declining balance method" to record larger depreciation in earlier periods. Choose based on your accounting standards and asset type.
Q. What happens if I omit the "month" argument that specifies the number of months in the first year?
A. If you omit the "month" argument, it automatically defaults to 12 (a full year). If the asset was acquired mid-year, specify the number of active months in the first year (1 to 12).