Sub topic 17
From historical statements to a linked forecast
This chapter assumes you know the six links covered earlier: net income to retained earnings, net income to operating cash flow, working capital, capex and PP&E, financing, and the cash reconciliation. Here you turn them into a forecast.
The idea
A linked forecast projects only a few inputs, called drivers. Everything else is calculated by the links you already know. You never type a forecast cash balance or retained earnings figure. Those come out of the other statements, and the balance check tells you whether the model works.
Step 1: Read drivers from history
Compute ratios from past statements, then choose a forward value for each one.
| Line | Driver | Example |
|---|---|---|
| Revenue | Growth rate | 10% |
| Operating costs | % of revenue | 76% |
| Receivables | % of revenue | 10% |
| Payables | % of revenue | 7% |
| Depreciation | % of opening PP&E | 10% |
| Capex | % of revenue | 6% |
| Dividends | Payout ratio | 30% of net income |
| Debt | Scheduled repayment | 10 per year |
Step 2: Calculate in dependency order
The order matters. The balance sheet items that depend on revenue come first, and cash comes last because it depends on everything else.
Step 3: Code the year and check it
This function rolls the opening balance sheet from earlier in this chapter forward. It runs the balance check on every year it produces.
def forecast_year(prev, growth=0.10, opex_pct=0.76, dep_pct=0.10,
ar_pct=0.10, ap_pct=0.07, capex_pct=0.06,
payout=0.30, repay=10, rate=0.08, tax_rate=0.25):
revenue = prev["revenue"] * (1 + growth)
depreciation = prev["ppe"] * dep_pct
interest = prev["debt"] * rate # on opening debt, avoids circularity
pretax = revenue - revenue * opex_pct - depreciation - interest
net_income = pretax * (1 - tax_rate)
dividends = net_income * payout
capex = revenue * capex_pct
ar, ap = revenue * ar_pct, revenue * ap_pct
cfo = net_income + depreciation - (ar - prev["ar"]) + (ap - prev["ap"])
cash = prev["cash"] + cfo - capex - repay - dividends
new = {"revenue": revenue, "cash": cash, "ar": ar, "ap": ap,
"ppe": prev["ppe"] + capex - depreciation,
"debt": prev["debt"] - repay, "stock": prev["stock"],
"re": prev["re"] + net_income - dividends}
assets = new["cash"] + new["ar"] + new["ppe"]
claims = new["ap"] + new["debt"] + new["stock"] + new["re"]
assert abs(assets - claims) < 1e-6, "balance sheet does not balance"
return new, net_income, cfo
state = {"revenue": 500, "cash": 100, "ar": 40, "ppe": 200,
"ap": 30, "debt": 100, "stock": 150, "re": 60}
for year in (1, 2, 3):
state, ni, cfo = forecast_year(state)
print(year, round(ni, 1), round(cfo, 1), round(state["cash"], 1))The first line printed is 1 78.0 91.5 125.1. Each year's closing balance sheet becomes the next year's opening one.
Practical notes
- Interest here uses opening debt. Using average debt makes interest depend on ending debt, which depends on cash, which depends on interest. That is a circular reference, covered in a later chapter.
- If the assertion fails, find the link that moves cash without a matching balance sheet entry. A missed depreciation add-back or a reversed working capital sign are common causes.
- Cash is the result, not an input. If it turns negative, the model is showing a funding gap. Add a revolving loan line or reduce dividends instead of overwriting cash.
Exercise
In the forecast above, capex rises from 6% to 8% of revenue in year 1 (revenue 550). By how much do year-1 ending cash and ending PP&E change, and does the balance check still pass?
Show answer
Capex rises from 33 to 44, an increase of 11. Ending cash falls by 11 because investing outflow rises by 11. Depreciation is based on opening PP&E, so net income is unchanged. Ending PP&E rises by 11. Assets are unchanged, because cash falls by 11 and PP&E rises by 11. The liabilities and equity side does not change, so the check still passes.