Sub topic 15
Worked example: one year, three statements
This chapter assumes you know the basic accounting vocabulary and the earlier links: net income feeds retained earnings, balance sheet changes drive cash flow, and ending cash returns to the balance sheet. Here you run all the links on one set of numbers.
The starting position
The opening balance sheet balances at 340. Assets are cash 100, receivables (AR) 40 and property, plant and equipment (PP&E) 200. Liabilities and equity are payables (AP) 30, debt 100, stock 150 and retained earnings 60.
During the year, revenue is 500, cash operating expenses are 380 and depreciation is 20. Interest is 8% of opening debt, and the tax rate is 25%. The company spends 30 on capex, pays 19 in dividends and repays 10 of debt. Closing AR is 50 and closing AP is 35.
Step 1: Income statement
Interest is 100 × 8% = 8. Pre-tax profit is 500 − 380 − 20 − 8 = 92. Tax is 23, so net income is 69.
Step 2: Cash flow statement
Start from net income and adjust to cash.
| Line | Amount |
|---|---|
| Net income | 69 |
| Add back depreciation | +20 |
| Increase in AR | −10 |
| Increase in AP | +5 |
| **Operating cash flow** | **84** |
| Capex | −30 |
| **Investing cash flow** | **−30** |
| Debt repaid | −10 |
| Dividends | −19 |
| **Financing cash flow** | **−29** |
Net change in cash is 84 − 30 − 29 = 25, so ending cash is 125.
Step 3: Closing balance sheet
- PP&E: 200 + 30 − 20 = 210
- Retained earnings: 60 + 69 − 19 = 110
- Debt: 100 − 10 = 90
| Assets | Column | Liabilities and equity | Column |
|---|---|---|---|
| Cash | 125 | AP | 35 |
| AR | 50 | Debt | 90 |
| PP&E | 210 | Stock | 150 |
| Retained earnings | 110 | ||
| **Total** | **385** | **Total** | **385** |
The statements balance.
Step 4: Check it in code
# Opening balance sheet (balances: 340 = 30 + 100 + 150 + 60)
opening = {"cash": 100, "ar": 40, "ppe": 200,
"ap": 30, "debt": 100, "stock": 150, "re": 60}
# Income statement for the year
revenue, cash_opex, depreciation = 500, 380, 20
interest = opening["debt"] * 0.08 # simplification: interest on opening debt
pretax = revenue - cash_opex - depreciation - interest
tax = pretax * 0.25
net_income = pretax - tax # 69
# Other year activity
capex, dividends, debt_repaid = 30, 19, 10
end_ar, end_ap = 50, 35
# Cash flow statement (indirect method)
cfo = (net_income + depreciation
- (end_ar - opening["ar"]) # receivables up: cash tied up
+ (end_ap - opening["ap"])) # payables up: cash retained
cfi = -capex
cff = -debt_repaid - dividends
end_cash = opening["cash"] + cfo + cfi + cff
# Closing balance sheet
assets = end_cash + end_ar + (opening["ppe"] + capex - depreciation)
liabilities_and_equity = (end_ap + (opening["debt"] - debt_repaid)
+ opening["stock"]
+ (opening["re"] + net_income - dividends))
print(net_income, cfo, cfi, cff, end_cash) # 69.0 84.0 -30 -29 125.0
assert abs(assets - liabilities_and_equity) < 1e-9 # both are 385Exercise
Suppose closing AR had been 55 instead of 50, with every other input unchanged. What are the new operating cash flow and ending cash, and does the balance sheet still balance?
Show answer
The AR increase becomes 15, so operating cash flow is 69 + 20 − 15 + 5 = 79 and ending cash is 100 + 79 − 30 − 29 = 120. Assets are 120 + 55 + 210 = 385, which still equals liabilities and equity of 385. The balance holds because the extra 5 of receivables replaces exactly 5 of cash.