Sub topic 4
The cash flow statement and the indirect method
This chapter assumes you can read a simple income statement and balance sheet, and that you know what an asset, liability and equity are. You should also be comfortable with basic Python arithmetic or spreadsheet formulas. By the end you will be able to build a cash flow statement from the other two statements, with the correct sign on every line.
What the statement does
The income statement reports profit on an accrual basis. Revenue is recorded when it is earned, and expenses when they are incurred, whether or not cash has moved. The cash flow statement answers a different question: why did the cash balance change between two balance sheet dates?
A company can report a profit and still run out of cash. It might be waiting on customers to pay, buying equipment, or repaying loans. None of these appear in net income in the way they affect cash. The cash flow statement reconciles the two views.
It has three sections:
| Section | What it covers | Typical lines |
|---|---|---|
| Operating (CFO) | Cash from running the business | Net income, depreciation, changes in working capital |
| Investing (CFI) | Buying and selling long-term assets | Capital expenditure (capex), asset sales |
| Financing (CFF) | Raising and returning capital | Debt issued or repaid, dividends, share issues |
The sum of the three sections is the net change in cash. Adding that to opening cash gives ending cash.
Direct versus indirect
The direct method lists cash receipts from customers and cash payments to suppliers and employees. It is easy to read, but it needs transaction-level data that a forecast model rarely has.
The indirect method starts from net income and adjusts it until it equals operating cash flow. It uses only figures you already have: the income statement and the change in each balance sheet account. This is why nearly every three-statement model uses it. The investing and financing sections are identical under both methods. Only the operating section differs.
Building operating cash flow
The indirect method makes two kinds of adjustment to net income.
- Add back non-cash expenses. Depreciation reduced net income but no cash left the business, so you add it back.
- Adjust for changes in operating working capital. Revenue booked but not yet collected is not cash. Costs incurred but not yet paid have not used cash.
The working capital rule is the part that most often goes wrong:
- An increase in an operating asset (receivables, inventory) uses cash, so it is subtracted.
- An increase in an operating liability (payables, accrued expenses) provides cash, so it is added.
A decrease reverses each sign. The helper below encodes this rule.
def cash_effect_of_change(opening_balance, closing_balance, is_asset):
change = closing_balance - opening_balance
return -change if is_asset else change
print(cash_effect_of_change(50.0, 60.0, is_asset=True)) # -10.0
print(cash_effect_of_change(30.0, 35.0, is_asset=False)) # 5.0Receivables rose from 50 to 60, so customers owe the company 10 more. That 10 of profit has not arrived as cash, so the effect is -10. Payables rose from 30 to 35, so the company has held back 5 more by not paying suppliers yet. That is a cash effect of +5.
A worked example
Use the one-period model from the tutorial's running example. Opening balances are cash 100, receivables 50, PP&E 200, payables 30, debt 120 and equity 200. The assumptions are:
- Revenue is 500, operating costs are 380, depreciation is 20, and the interest rate is 8% on opening debt.
- The tax rate is 25%.
- Capex is 30, debt repayment is 10 and dividends are 20.
- Closing receivables are 60 and closing payables are 35.
The income statement gives interest of 0.08 × 120 = 9.6 and pre-tax profit of 500 − 380 − 20 − 9.6 = 90.4. Tax is 22.6, so net income is 67.8.
Now the cash flow statement:
| Line | Calculation | Amount |
|---|---|---|
| Net income | From the income statement | 67.8 |
| Add back depreciation | Non-cash expense | +20.0 |
| Change in receivables | 60 − 50 = +10, an asset increase | −10.0 |
| Change in payables | 35 − 30 = +5, a liability increase | +5.0 |
| **Cash from operations** | **82.8** | |
| Capex | Purchase of PP&E | −30.0 |
| **Cash from investing** | **−30.0** | |
| Debt repayment | Reduces debt | −10.0 |
| Dividends | Paid to shareholders | −20.0 |
| **Cash from financing** | **−30.0** | |
| Net change in cash | 82.8 − 30.0 − 30.0 | 22.8 |
| Ending cash | 100 + 22.8 | 122.8 |
Net income was 67.8, yet operating cash flow is 82.8. Depreciation and the payables increase more than offset the receivables increase.
The same statement in code
This function takes the inputs the statement needs and returns each section. It uses the sign rule from earlier so you do not have to remember which direction each line goes.
def cash_flow_statement(net_income, depreciation,
ar_open, ar_close, ap_open, ap_close,
capex, debt_repayment, dividends, cash_open):
d_ar = cash_effect_of_change(ar_open, ar_close, is_asset=True)
d_ap = cash_effect_of_change(ap_open, ap_close, is_asset=False)
cfo = net_income + depreciation + d_ar + d_ap
cfi = -capex
cff = -debt_repayment - dividends
net_change = cfo + cfi + cff
return {"cfo": cfo, "cfi": cfi, "cff": cff,
"net_change": net_change, "cash_close": cash_open + net_change}
def cash_effect_of_change(opening_balance, closing_balance, is_asset):
change = closing_balance - opening_balance
return -change if is_asset else change
result = cash_flow_statement(
net_income=67.8, depreciation=20.0,
ar_open=50.0, ar_close=60.0, ap_open=30.0, ap_close=35.0,
capex=30.0, debt_repayment=10.0, dividends=20.0, cash_open=100.0)
for name, value in result.items():
print(f"{name}: {value:.1f}")Running it prints cfo: 82.8, cfi: -30.0, cff: -30.0, net_change: 22.8 and cash_close: 122.8. Those match the table.
Common errors
- Adding back the wrong items. Add back only expenses that did not use cash. Interest is a real cash cost, so do not add it back.
- Flipping a working capital sign. An asset increase is negative and a liability increase is positive. Test every line against the helper above.
- Using the closing balance instead of the change. The cash flow statement needs the difference between two balance sheet dates, not the balance itself.
- Putting dividends in operating cash flow. Dividends are a financing flow. They never pass through net income.
- Showing capex net of depreciation. Capex is the full cash purchase. Depreciation is added back separately in operating cash flow.
- Mixing operating and financing items. Debt is a balance sheet item but belongs in financing. Do not include it in operating working capital.
Why the statement ties to the balance sheet
Every line in the cash flow statement is the cash side of a balance sheet movement. Capex raises PP&E. Debt repayment lowers debt. Dividends lower equity. A working capital change moves a receivable or payable balance. Because each movement is paired with an equal cash movement, ending cash from this statement is the figure the balance sheet must show. The next chapters build the schedules that feed these lines and link ending cash back to the balance sheet.
Check with the example. Assets are cash 122.8, receivables 60 and PP&E 200 + 30 − 20 = 210, which totals 392.8. Liabilities are payables 35 and debt 110, which is 145. Equity is 200 + 67.8 − 20 = 247.8. Liabilities plus equity is 392.8, so the balance sheet balances.
Exercise
A company's inventory falls from 80 to 65, and its accrued expenses (a liability) fall from 25 to 20. Net income is 40 and depreciation is 12. What is cash from operations, assuming no other changes?
Show answer
Inventory is an asset and it fell by 15, so cash rises by 15. Accrued expenses are a liability and fell by 5, so cash falls by 5. CFO = 40 + 12 + 15 − 5 = 62.
Exercise
Net income is 90 and depreciation is 25. Receivables rise by 18 and payables rise by 6. Cash from investing is −40 and cash from financing is −15. Opening cash is 50. What is ending cash?
Show answer
CFO = 90 + 25 − 18 + 6 = 103. Net change in cash = 103 − 40 − 15 = 48. Ending cash = 50 + 48 = 98.
Exercise
A junior analyst adds interest expense back to net income in CFO, because "interest is a financing item". What is wrong with this, and in which direction does it move CFO?
Show answer
Under the indirect method, interest paid is already a cash cost inside net income and stays in CFO. Adding it back overstates CFO by the amount of interest. If the analyst also keeps the debt schedule unchanged, ending cash will be too high and the balance check will fail by the same amount.