Sub topic 9
Building the depreciation waterfall
A depreciation waterfall computes depreciation for each year of capital spending (each vintage) and adds the vintages together by year. This chapter assumes you can already compute straight-line depreciation, forecast capex across columns, and use absolute and relative references in a spreadsheet. It covers the layout, the formulas, the code equivalent, and the errors that usually appear.
Why a waterfall
Forecast capex is spent in different years, and each year's spend depreciates over its own life. One formula that divides total capex by the life gives the wrong answer, because assets bought in year 4 should not be depreciated in year 1. The waterfall keeps each vintage on its own row and sums the columns.
The structure has three parts:
- A capex row with one value per forecast year.
- A triangle of depreciation, with one row per vintage and one column per year.
- A total row that sums each column. This total is the depreciation expense for the income statement.
The depreciation total is the output the three statements consume, and the PP&E rollforward uses it later.
The assumptions the waterfall needs
This chapter uses the simplest set of choices, so the layout is easy to see:
- Straight-line depreciation with no salvage value.
- A useful life of 4 years.
- A full-year convention: an asset starts depreciating in the year it is bought and gets a full year of expense that year.
- Capex of 100, 50, 80, 60 and 70 in years 1 to 5.
Each vintage then depreciates by spend ÷ life per year for 4 years. The 100 bought in year 1 depreciates 25 a year in years 1 to 4. The 50 bought in year 2 depreciates 12.5 a year in years 2 to 5.
The waterfall layout
| Vintage | Year 1 | Year 2 | Year 3 | Year 4 | Year 5 |
|---|---|---|---|---|---|
| Year 1 capex (100) | 25.0 | 25.0 | 25.0 | 25.0 | 0.0 |
| Year 2 capex (50) | 0.0 | 12.5 | 12.5 | 12.5 | 12.5 |
| Year 3 capex (80) | 0.0 | 0.0 | 20.0 | 20.0 | 20.0 |
| Year 4 capex (60) | 0.0 | 0.0 | 0.0 | 15.0 | 15.0 |
| Year 5 capex (70) | 0.0 | 0.0 | 0.0 | 0.0 | 17.5 |
| Total depreciation | 25.0 | 37.5 | 57.5 | 72.5 | 65.0 |
The year 1 vintage has finished depreciating in year 5, so its cell is zero. This drop-off is why you cannot extend a single formula across the row without a condition.
The spreadsheet formula
Place years across columns, with the year numbers in row 3 (for example D3:H3). Put each vintage's spend in column C of its row and its start year in column B. Put the useful life in a single input cell, $C$1. A formula that works in every cell of the triangle is:
=IF(AND(D$3>=$B6, D$3<$B6+$C$1), $C6/$C$1, 0)The formula reads: if this column's year is on or after the vintage year, and before the vintage year plus the life, depreciate one life-th of the spend. Otherwise return zero.
The reference types matter:
D$3locks the row, so the year header is always read from row 3 while the column moves.$B6and$C6lock the column, so every cell in a vintage row reads that row's start year and spend.$C$1locks both, since there is one life input.
Because the formula is identical in every cell, you can fill it right and down. Copy it once, and any inconsistency you find later is a mistake you introduced.
The total row is a plain =SUM(D6:D10) per column.
The same calculation in code
The code version uses the same condition as the spreadsheet formula, expressed as a loop over the years each vintage depreciates:
capex = [100.0, 50.0, 80.0, 60.0, 70.0] # spend in each year
life = 4 # straight-line, no salvage, full-year convention
n = len(capex)
dep = [0.0] * n
for vintage, spend in enumerate(capex):
for t in range(vintage, min(vintage + life, n)):
dep[t] += spend / life
print(dep) # [25.0, 37.5, 57.5, 72.5, 65.0]range(vintage, min(vintage + life, n)) is the code form of the AND test. It starts at the purchase year, runs for life years, and stops at the end of the forecast. The += accumulates the vintages into the total, which is the column sum.
Handling salvage value and other conventions
The triangle is flexible, and you change what each cell calculates:
- Salvage value. Replace
spendwithspend - salvage, where salvage is a percentage of cost or a fixed amount. Salvage comes off the depreciable base, and the asset stops depreciating at salvage value. - Half-year or mid-year convention. The first year gets half a year of expense, so the asset needs a fifth column of depreciation for a 4-year life. Add a condition for the first year (
D$3=$B6) that returns half the annual amount, and a matching half-year at the end. Keep the first and last years separate in the formula, and check that the vintage's row sums to its depreciable base. - Different lives for different asset classes. Build one waterfall per class (for example buildings at 30 years and equipment at 5 years), each with its own life input. Add the class totals together to get overall depreciation.
- Accelerated methods. Declining-balance depreciation depends on the previous year's book value, so each vintage row needs a running book value. It does not fit the single
spend / lifeformula.
Combining with the existing asset base
The waterfall covers only forecast capex. Assets you already own keep depreciating, and that expense belongs in the same total. The existing asset base is modeled as its own row, from the last balance sheet's net PP&E and its remaining life, and it is added to the waterfall total. A later chapter covers this in detail. For now, leave a row above the vintages for it, so the total row sums all of them.
Common errors
- Hardcoded numbers inside the triangle. A single typed-over cell breaks the pattern, and nothing reveals it. Keep the formula uniform and color inputs differently from formulas.
- Wrong anchor. If
$C$1loses its anchors, the life reference shifts as you fill, and you divide by an empty cell or the wrong cell. - Off-by-one on the final year. Writing
<=instead of<in the end test depreciates the asset for one year too many. Check that each fully depreciated vintage sums to its cost less salvage. - Capex in the wrong column. If the first depreciation year does not match the year of spend, check the timing convention before the formulas.
- Forgetting that depreciation is non-cash. The waterfall total reduces profit, but the cash flow statement adds it back, so it does not reduce cash.
A check you can build
For every vintage whose life ends inside the forecast, the row total should equal spend minus salvage. For a vintage that does not finish, the row total should equal the annual amount times the number of years elapsed. In a spreadsheet, add a column to the right of the triangle with =SUM(D6:H6) per vintage and compare it to the expected value. A difference other than zero points to a wrong condition or a broken anchor.
Exercise
A model uses straight-line depreciation, a 5-year life, no salvage value and the full-year convention. Capex is 200 in year 1 and 100 in year 2. What is total depreciation in years 1, 2 and 6?
Show answer
The year 1 vintage depreciates 200 / 5 = 40 per year in years 1 to 5. The year 2 vintage depreciates 100 / 5 = 20 per year in years 2 to 6. Year 1 total is 40. Year 2 total is 40 + 20 = 60. Year 6 total is 0 + 20 = 20, because the first vintage is fully depreciated after year 5.
Exercise
In the formula =IF(AND(D$3>=$B6, D$3<$B6+$C$1), $C6/$C$1, 0), what happens if you change the second condition to D$3<=$B6+$C$1, and how would you detect it?
Show answer
Each vintage depreciates for life + 1 years, so the asset is over-depreciated by one extra year's amount. The vintage row total would exceed the spend, so a check that compares each completed vintage's row total with its cost less salvage would show a non-zero difference.