ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. Calculate Depreciation in Excel: Straight-Line, DB and DDB

Calculate Depreciation in Excel: Straight-Line, DB and DDB

By ExcelReady Team·Updated November 3, 2026·7 min read

The short answer

For straight-line depreciation in Excel, use =SLN(cost, salvage, life), or type the same maths yourself: =(cost-salvage)/life. An asset costing 10,000 with a salvage value of 1,000 and a 5-year life loses 1,800 a year. For faster, front-loaded methods, use =DB(cost, salvage, life, period) or =DDB(cost, salvage, life, period).

Key takeaways

  • Straight-line depreciation is (cost - salvage) / life, the same amount every year. SLN does it in one function.
  • DB and DDB are declining-balance methods: big amounts early, smaller amounts later.
  • DB and DDB need a period argument, so you write one formula per year and fill it down.
  • Put cost, salvage and life in input cells and lock them with $ so the schedule fills correctly.
  • Round money results with ROUND(...,2) so the schedule adds up to the cent.
On this page+
  1. What depreciation means (in one minute)
  2. How to calculate straight-line depreciation in Excel
  3. Build a depreciation schedule with absolute references
  4. Declining balance with DB
  5. Double-declining balance with DDB
  6. SLN vs DB vs DDB at a glance
  7. Round depreciation to the cent
  8. Common depreciation mistakes
  9. Practise it

Straight line depreciation in Excel takes one short formula: =SLN(cost, salvage, life), or the same maths typed out as =(cost-salvage)/life. It spreads the cost of an asset evenly over its useful life. This guide shows that method first, then the two faster methods Excel has built in, DB and DDB, with a full year-by-year schedule you can copy.

What depreciation means (in one minute)#

Depreciation spreads the cost of a long-lasting asset, like a van or a laptop, across the years you use it. Instead of one big expense in year one, you record a smaller expense each year. Three numbers drive every method:

TermMeaningExample
CostWhat you paid for the asset10,000
Salvage valueWhat it will be worth at the end (also called residual value)1,000
LifeHow many periods you will use it5 years

The amount you can depreciate in total is cost minus salvage: 10,000 - 1,000 = 9,000. The methods only differ in how they split that 9,000 across the years.

Which method you must use is set by your company's accounting policy and your local tax rules. Excel doesn't decide that; it just does the arithmetic.

How to calculate straight-line depreciation in Excel#

Straight-line depreciation gives the same amount every year. Put your inputs in cells so you can change them later:

AB
1Cost10000
2Salvage value1000
3Life (years)5

Then use either formula:

Excel formula
=SLN(B1,B2,B3)
=(B1-B2)/B3

Both return 1,800. SLN stands for "straight line" and works in every version of Excel, on Windows and Mac. The typed version is handy in a job test because it shows you understand the maths. The brackets matter: =B1-B2/B3 would divide first and give 9,800. If you need a refresher on how Excel orders operations, start with your first formulas.

For a monthly figure, give SLN the life in months: =SLN(B1,B2,B3*12) returns 150.

Build a depreciation schedule with absolute references#

A schedule shows each year's depreciation, the running total and the book value (cost minus everything depreciated so far). Put the years 1 to 5 in A6:A10, then:

CellFormulaWhat it does
B6=SLN($B$1,$B$2,$B$3)Depreciation for the year
C6=SUM($B$6:B6)Accumulated depreciation
D6=$B$1-C6Book value at year end

Select B6:D6 and fill down to row 10 (Windows: Ctrl+D; Mac: ⌘D). The $ signs keep the inputs fixed on B1, B2 and B3 while the row numbers change. $B$6:B6 is a growing range: it becomes $B$6:B7, then $B$6:B8, so each row adds up everything so far. The guide to the dollar sign in Excel formulas explains this pattern, and you can practise absolute references in a live sheet.

The result: 1,800 every year, and the book value falls 8,200, 6,400, 4,600, 2,800, 1,000. It ends exactly at salvage, which is a quick check that the schedule is right.

Declining balance with DB#

The DB function uses the fixed-declining balance method: each year it takes the same percentage of whatever book value is left. Early years get large amounts and later years get small ones. The syntax is:

Excel formula
=DB(cost, salvage, life, period, [month])

period is the year you want, so you write one formula per year. For year 1 of our asset, =DB(B1,B2,B3,1) returns 3,690. Excel works out the rate as 1 - (salvage/cost)^(1/life) and rounds it to three decimals, here 0.369.

YearDB depreciationBook value
13,690.006,310.00
22,328.393,981.61
31,469.212,512.40
4927.071,585.32
5584.981,000.34

In a schedule, put the year number in column A and use =DB($B$1,$B$2,$B$3,A6). Because of the rounded rate, the final book value lands a few cents away from salvage (1,000.34). The optional month argument handles a first year that isn't a full 12 months: if you bought the asset in October, use 3.

Double-declining balance with DDB#

DDB, the double-declining balance method, takes an even faster rate: by default 2 divided by the life. For a 5-year life that is 40% of the remaining book value each year. The syntax is:

Excel formula
=DDB(cost, salvage, life, period, [factor])
YearDDB depreciationBook value
14,0006,000
22,4003,600
31,4402,160
48641,296
52961,000

Year 5 is only 296 because DDB never takes the book value below salvage: 40% of 1,296 would be 518.40, which would overshoot. Change the factor to 1.5 for a 150% declining balance.

DDB does not switch to straight-line in later years by itself. If your policy needs that switch, the VDB function does it by default.

SLN vs DB vs DDB at a glance#

All three methods depreciate the same 9,000 in total. They only change the timing:

MethodYear 1Year 5Pattern
SLN (straight-line)1,8001,800Same every year
DB (fixed-declining)3,690584.98Fast, then slow
DDB (double-declining)4,000296Fastest at the start

Straight-line is the simplest and the one most job tests ask about. Declining methods match assets that lose value quickly, like vehicles and computers. Depreciation is one line on a profit and loss statement in Excel, and the yearly figure often sits next to loan maths like the PMT function for loan payments.

Round depreciation to the cent#

Depreciation often produces long decimals. A 7-year life on our 9,000 gives 1,285.714285... a year. Formatting only hides the extra digits; the cell still holds them, and totals can drift by a cent. Wrap the formula in ROUND to store a clean money value:

Excel formula
=ROUND((B1-B2)/B3,2)

The 2 means two decimal places. See the ROUND function guide for the syntax, the article on ROUND, ROUNDUP and ROUNDDOWN for the differences, and practise rounding in a live sheet. If rounding leaves the last year a cent off, a common fix is to make the final year cost minus salvage minus all earlier years, so the schedule ends exactly at salvage.

Common depreciation mistakes#

Most wrong answers come from one of these:

  1. Missing brackets. =B1-B2/B3 divides before it subtracts. Write =(B1-B2)/B3.
  2. Unlocked inputs. Without $, filling down shifts B1 to B2, B3 and so on, and the numbers go wild.
  3. Wrong period. DB and DDB need the year number; leaving it at 1 in every row repeats year 1.
  4. Mixing months and years. If life is in months, the result is per month. Keep units the same.
  5. Salvage above zero but ignored. SLN with salvage 0 overstates depreciation if the asset still has value at the end.

Finance roles test exactly this kind of careful setup; see the Excel skills finance jobs expect.

Practise it#

Try the exercise on this page, then practise absolute references in a live spreadsheet: you build formulas that fill down with locked inputs, just like a depreciation schedule, and each answer is checked instantly. Follow it with the rounding lesson so your schedules always add up to the cent.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Work out the yearly straight-line depreciation for the van. In B5, subtract the salvage value (B3) from the cost (B2), divide by the life (B4), and wrap it all in ROUND to 2 decimal places.

fx
ABCD
1
Delivery van
2
Cost
10000
3
Salvage value
1000
4
Useful life (years)
7
5
Yearly depreciation
6
7
8

Tip: Brackets first: (B2-B3)/B4. Then ROUND(that, 2).

Practise this in a lesson

LessonFreeYour first formulasType values, write formulas that start with =, and see how they recalculate.LessonRelative vs absolute references ($)Lock a cell with $ so it doesn't move when you copy a formula, one of the most-tested Excel skills.LessonROUND, ROUNDUP and ROUNDDOWNControl decimals properly, which isn't the same as formatting.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

What is the formula for straight-line depreciation in Excel?

+

Use =SLN(cost, salvage, life), for example =SLN(10000,1000,5), which returns 1,800 a year. The same result comes from =(10000-1000)/5.

What is the difference between DB and DDB in Excel?

+

Both are declining-balance methods. DB uses a fixed rate that Excel works out from cost, salvage and life. DDB uses a rate of 2 divided by the life by default, so it front-loads depreciation even more.

How do I calculate monthly straight-line depreciation in Excel?

+

Divide the yearly amount by 12, or give SLN the life in months: =SLN(10000,1000,60) returns 150 a month for a 5-year asset.

Why doesn't DDB reach the salvage value exactly?

+

DDB never goes below salvage, but it does not switch to straight-line on its own, so the last years can look uneven. VDB can switch to straight-line when that gives a larger amount.

Which depreciation method should I use?

+

That depends on your accounting policy and local tax rules, not on Excel. Excel only does the arithmetic, so check the method with your accountant or finance team.

Sources

  • ROUND function - Microsoft Support
  • Switch between relative, absolute, and mixed references - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What depreciation means (in one minute)
  2. How to calculate straight-line depreciation in Excel
  3. Build a depreciation schedule with absolute references
  4. Declining balance with DB
  5. Double-declining balance with DDB
  6. SLN vs DB vs DDB at a glance
  7. Round depreciation to the cent
  8. Common depreciation mistakes
  9. Practise it

Keep reading

Math· 6 min read

How to Round Numbers in Excel (ROUND, ROUNDUP, ROUNDDOWN)

Use =ROUND(number, digits) to round to a set number of decimal places, so =ROUND(B2,2) turns 3.4567 into 3.46. ROUNDUP always rounds away from zero and ROUNDDOWN always rounds towards zero, using the same two arguments. Unlike number formatting, these functions change the stored value that later formulas use.

Math· 6 min read

PMT Function in Excel: Calculate a Loan Payment

PMT returns the regular payment for a loan with a fixed interest rate. Write =PMT(rate, nper, pv): the interest rate per period, the number of payments and the loan amount. For a 20,000 loan at 6% a year over 5 years, paid monthly, =PMT(6%/12,5*12,20000) returns -386.66. The minus sign means money you pay out.

Math· 6 min read

Absolute References and the $ Sign in Excel

An Excel absolute reference uses dollar signs, like $F$1, to lock a cell so it doesn't change when you copy or fill a formula. Use it for a value every row shares, such as a tax rate: =B2*(1+$F$1). Press F4 while editing to add the $ signs. $F1 locks only the column; F$1 locks only the row.

More on math

  • Descriptive Statistics in Excel for Any Column of Numbers
  • FV Function in Excel: Future Value of Savings
  • How to Calculate the Geometric Mean in Excel With GEOMEAN
  • How to Increase or Decrease a Number by a Percentage
  • Calculate Inventory Turnover Ratio in Excel
  • IRR in Excel: Internal Rate of Return in Plain English
All math articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free