Sub topic 6
The straight-line formula
This chapter assumes you know basic double-entry bookkeeping (debits and credits) and can read a balance sheet and an income statement. It also assumes you already know that a fixed asset's cost is spread over its useful life. Here you will learn the formula that does the spreading, how to apply it, and where people commonly go wrong.
The formula
Straight-line depreciation charges the same amount of expense in every full period of an asset's life. The amount comes from three inputs:
- Cost: the capitalized cost of the asset, including the purchase price and the costs to get it ready for use.
- Salvage value: the amount you expect to recover when you dispose of the asset at the end of its life.
- Useful life: the number of periods you expect to use the asset.
The formula is:
Annual depreciation = (Cost - Salvage value) / Useful life in yearsThe top part, cost minus salvage value, is the depreciable cost. This is the portion of the cost that will be used up. Salvage value is excluded because you expect to get that amount back, so it is not consumed by use.
The rate form is sometimes more convenient:
Straight-line rate = 1 / Useful life
Annual depreciation = Depreciable cost x Straight-line rateA 5-year life gives a rate of 20% per year. Apply that rate to depreciable cost, not to full cost. Applying it to full cost is a common mistake when salvage value is not zero.
A worked example
A business buys a machine for 50,000. It expects the machine to last 5 years and to be worth 5,000 at the end.
- Depreciable cost = 50,000 - 5,000 = 45,000.
- Annual depreciation = 45,000 / 5 = 9,000.
- Rate check: 45,000 x 20% = 9,000.
The same calculation in Python:
def straight_line_annual(cost, salvage, life_years):
if life_years <= 0:
raise ValueError("life_years must be positive")
if salvage > cost:
raise ValueError("salvage cannot exceed cost")
return (cost - salvage) / life_years
print(straight_line_annual(50000, 5000, 5)) # 9000.0In a spreadsheet, the SLN function does the same thing:
=SLN(50000, 5000, 5) -> 9000The arguments are cost, salvage, and life, in that order. The result is the depreciation for one period.
What the formula guarantees
Three properties follow from the formula, and you can use them as checks on your work.
- Every full period has the same expense.
- Accumulated depreciation grows by the same amount each period.
- Book value falls in a straight line, and it ends exactly at salvage value after the last period.
The diagram shows the book value path for the machine.
Inputs as estimates
Cost is a known fact once you have the invoice and the setup costs. Salvage value and useful life are estimates, and they drive the result. Changing either input changes the annual charge.
| Input change | Effect on annual depreciation |
|---|---|
| Higher salvage value | Lower |
| Longer useful life | Lower |
| Shorter useful life | Higher |
| Higher capitalized cost | Higher |
Suppose the same machine had a 10-year life instead of 5. The annual charge would be 45,000 / 10 = 4,500, half as much. The total depreciated over the whole life is the same 45,000 either way. Only the timing differs. This is why the formula is about allocation: it divides a fixed total across periods and does not measure what the asset is worth.
From formula to schedule
Applying the formula once per period produces a depreciation schedule. Each row shows the expense, the accumulated depreciation so far, and the book value at the end of the period.
def straight_line_schedule(cost, salvage, life_years):
annual = (cost - salvage) / life_years
accumulated = 0.0
rows = []
for year in range(1, life_years + 1):
accumulated += annual
rows.append((year, annual, accumulated, cost - accumulated))
return rows
for year, expense, accumulated, book_value in straight_line_schedule(50000, 5000, 5):
print(year, expense, accumulated, book_value)
# 1 9000.0 9000.0 41000.0
# 2 9000.0 18000.0 32000.0
# 3 9000.0 27000.0 23000.0
# 4 9000.0 36000.0 14000.0
# 5 9000.0 45000.0 5000.0The next chapters cover the schedule and its journal entries in detail. For now, notice the last row: accumulated depreciation equals depreciable cost (45,000), and book value equals salvage value (5,000). If your final row does not land on those numbers, something in the inputs or arithmetic is wrong.
Fractional periods
The formula gives an annual amount. If the asset enters service part-way through a year, you scale the annual amount by the fraction of the year it was in use. The usual approach is to work by month:
def partial_year_depreciation(cost, salvage, life_years, months_in_service):
monthly = (cost - salvage) / (life_years * 12)
return monthly * months_in_service
# Asset placed in service on 1 October, calendar year-end:
print(partial_year_depreciation(50000, 5000, 5, 3)) # 2250.0Here the monthly charge is 45,000 / 60 = 750, and three months give 2,250. Remember that the asset still has 60 months of total depreciation to take. A 5-year life that starts in October therefore touches six calendar years: a partial first year, four full years, and a partial last year. The partial-period chapter covers conventions for this in detail.
Common errors
These mistakes appear often when people first apply the formula.
- Forgetting to subtract salvage value. Dividing cost by life gives 10,000 instead of 9,000 for the example. The asset would then be depreciated below its salvage value.
- Using the rate on full cost. Applying 20% to 50,000 gives the same wrong 10,000.
- Mixing units. If life is in years but you want a monthly charge, divide by 12 once. Dividing the annual amount by 12 and also using a life in months counts the division twice.
- Depreciating land. Land is generally not depreciated, because it has no limited useful life. If a purchase includes land and a building, split the cost between them and apply the formula to the building only.
- Depreciating below salvage value. Once book value reaches salvage value, depreciation stops. This matters if the asset stays in use after its estimated life ends.
- Starting before the asset is ready for use. Depreciation begins when the asset is available for its intended use, not when it is ordered or paid for.
Rounding
Real amounts rarely divide evenly. Suppose cost is 10,000, salvage is 0, and life is 3 years. The exact annual charge is 3,333.33 repeating. If you round each year to 3,333.33, the three years total 9,999.99, one cent short.
The usual practice is to depreciate the rounded amount in the early years and put the leftover cent into the final year, so that accumulated depreciation equals depreciable cost exactly.
def schedule_with_rounding(cost, salvage, life_years):
depreciable = round(cost - salvage, 2)
annual = round(depreciable / life_years, 2)
charges = [annual] * (life_years - 1)
charges.append(round(depreciable - annual * (life_years - 1), 2))
return charges
print(schedule_with_rounding(10000, 0, 3)) # [3333.33, 3333.33, 3333.34]Why choose straight-line
Straight-line is the simplest method, and it fits assets whose benefit is spread evenly over time, such as a building or office furniture. It is also easy to audit, because anyone can recompute it from three inputs. Other methods put more expense in early years or tie expense to usage. They are compared in a later chapter. If an asset's benefit clearly does not arrive evenly, straight-line can misstate the pattern of expense, even though the total is the same.
Exercises
Exercise
A delivery van costs 38,000. The company expects to use it for 6 years and sell it for 8,000. What is the annual straight-line depreciation, and what is the book value after 4 years?
Show answer
Depreciable cost = 38,000 - 8,000 = 30,000. Annual depreciation = 30,000 / 6 = 5,000. After 4 years, accumulated depreciation = 4 x 5,000 = 20,000, so book value = 38,000 - 20,000 = 18,000.
Exercise
A colleague computes annual depreciation for a 60,000 asset with 6,000 salvage value and a 9-year life by taking 11.11% (1/9) of 60,000 and gets 6,666.67. What error did they make, and what is the correct answer?
Show answer
They applied the rate to full cost instead of depreciable cost. The correct calculation is (60,000 - 6,000) / 9 = 6,000 per year. Their figure would depreciate the asset below its salvage value over the full life.
Exercise
An asset costing 24,000 with no salvage value and a 4-year life is placed in service on 1 April, and the company's year ends 31 December. How much depreciation is recorded in the first calendar year?
Show answer
Annual depreciation = 24,000 / 4 = 6,000, so the monthly charge is 500. April through December is 9 months, so the first-year expense is 9 x 500 = 4,500.