DB(cost, salvage, life, period, [month])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
cost:
The initial cost of the asset.
salvage:
The salvage value of the asset at the end of its useful life.
life:
The number of periods (usually years) over which the asset is depreciated.
period:
The specific period for which you want to calculate the depreciation.
[month]:
(Optional) The month in which the asset was placed in service; if omitted, it defaults to 12 (the end of the year).
The DB function in Google Sheets is a financial function used to calculate the depreciation of an asset over a specified period using the declining balance method. This method is particularly useful for businesses that want to account for the decrease in value of their assets over time, allowing for more accurate financial reporting and tax deductions.
In simpler terms, the DB function helps you determine how much value an asset loses each year, which can be crucial for budgeting and financial planning.
Imagine you are managing the finances of a company that has purchased a piece of equipment:
| Asset Name | Cost | Salvage Value | Lifespan (Years) |
|---|---|---|---|
| Machine A | 10,000 | 1,000 | 5 |
You want to calculate the depreciation expense for the first three years of using Machine A.
To achieve this, you would use the DB function as follows:
=DB(A2, B2, C2, D2)In this formula:
A2 is the cost of the asset (10,000).B2 is the salvage value (1,000).C2 is the lifespan of the asset in years (5).D2 is the period for which you want to calculate the depreciation (1 for the first year, 2 for the second year, etc.).When you apply the DB formula for the first three years, the output would look like this:
| Year | Depreciation Expense |
|---|---|
| 1 | 1,800 |
| 2 | 1,440 |
| 3 | 1,152 |
This table shows how much value Machine A loses each year based on the declining balance method.
The DB function is beneficial because it provides a straightforward way to calculate depreciation, allowing businesses to reflect the true value of their assets over time. This method is often preferred for assets that lose value more quickly in the earlier years of their lifespan.
The DB function is an essential tool for anyone managing assets in Google Sheets, providing a powerful way to enhance financial analysis and reporting capabilities.
Happy spreadsheeting!
You have a sales database where Column A lists product IDs and Column B contains sales figures. Use the DB formula to calculate the depreciation of each product over time, allowing for quick analysis of asset value and informed decision-making on inventory.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.