Sub topic 1
Why the statements must agree: the accounting equation
Prerequisites
This chapter assumes you can do the following:
- Use the basic vocabulary: revenue, expense, asset, liability and equity.
- Read a simple income statement and balance sheet.
- Follow spreadsheet formulas or basic Python arithmetic.
You don't need to have built a model before. This chapter sets up the idea that the rest of the tutorial relies on.
The equation
Every balance sheet rests on one identity:
Assets = Liabilities + Equity
Assets are what the company owns or is owed: cash, receivables, equipment. Liabilities are what it owes to outsiders: payables and debt. Equity is the owners' residual claim, made up of capital they contributed plus profits kept in the business.
The equation is not a forecast and not a check you hope will pass. It is true by construction. Every asset was paid for by someone, either a creditor (a liability) or an owner (equity). Assets and claims on assets are two views of the same resources.
Throughout this tutorial we use one running company. Its opening balance sheet is:
| Item | Amount | Side |
|---|---|---|
| Cash | 100 | Asset |
| Accounts receivable | 50 | Asset |
| PP&E (property, plant and equipment) | 200 | Asset |
| Accounts payable | 30 | Liability |
| Debt | 120 | Liability |
| Equity | 200 | Equity |
Assets total 350. Liabilities plus equity total 30 + 120 + 200 = 350. The company balances.
Why a forecast must preserve it
A forecast model produces a new balance sheet at the end of each period. If the opening sheet balances and every transaction in the period keeps the equation true, the closing sheet balances too. That is the entire logic of the three-statement model.
Each transaction changes the equation in one of three ways:
- Both sides of the same side change. One asset goes up and another goes down. Buying equipment with cash is an example.
- Both sides change together. An asset and a liability or equity item move in the same direction. Borrowing cash is an example.
- Both sides move down together. Repaying debt from cash is an example.
A transaction that changes only one item breaks the equation. Most modeling errors are of this kind. A number was changed in one place and its counterpart was never updated.
How each statement fits
The three statements are three views of the same events.
- The balance sheet is a snapshot at a date. It shows the equation directly.
- The income statement is a flow over a period. Revenue and expenses end in net income, which increases equity (through retained earnings) when it is kept.
- The cash flow statement is also a flow over a period. It explains why the cash line on the balance sheet moved from its opening value to its closing value.
Net income appears twice. It increases equity, and it is the first line of the indirect cash flow statement. If the model lets it reach only one of those places, the balance sheet will not balance. Later chapters build these links one at a time.
The equation in motion
Equity changes over a period by a simple rule:
Closing equity = Opening equity + Net income − Dividends (assuming no new share issues)
The same logic applies to every balance sheet line: closing balance = opening balance + changes. The cash flow statement is built from those changes. This is why a model needs both opening and closing balance sheets, and why the cash flow statement needs the difference between them.
You can write the equation in change form:
ΔAssets = ΔLiabilities + ΔEquity
Split assets into cash and non-cash assets, and rearrange:
ΔCash = ΔLiabilities + ΔEquity − ΔNon-cash assets
This formula is the root of the sign rules you will use later. A rise in a non-cash asset (receivables, equipment) uses cash. A rise in a liability or in equity supplies cash. Any cash flow statement that follows this rule will reconcile to the balance sheet.
A worked check in Python
The following code applies four transactions to the opening balance sheet. After each one it checks that the equation still holds.
balance = {"cash": 100.0, "ar": 50.0, "ppe": 200.0,
"ap": 30.0, "debt": 120.0, "equity": 200.0}
def totals(b):
assets = b["cash"] + b["ar"] + b["ppe"]
claims = b["ap"] + b["debt"] + b["equity"]
return assets, claims
transactions = [
("Buy equipment for cash", {"cash": -30.0, "ppe": 30.0}),
("Repay debt from cash", {"cash": -10.0, "debt": -10.0}),
("Pay dividends", {"cash": -20.0, "equity": -20.0}),
("Sell on credit (revenue 40, no costs)", {"ar": 40.0, "equity": 40.0}),
]
for name, deltas in transactions:
for item, change in deltas.items():
balance[item] += change
assets, claims = totals(balance)
print(f"{name}: assets={assets}, claims={claims}")
assert abs(assets - claims) < 1e-6, f"Imbalance after: {name}"Each entry in transactions changes at least two items, and the changes offset each other across the equation. Change one entry to touch only one item, for example {"cash": -30.0} alone. The assertion then fails and names the transaction. That is the same principle a balance check uses in a full model.
Note that the last transaction records a sale on credit as a single equity increase. In a real model, revenue and expenses pass through the income statement first and reach equity as net income.
Why a balance check passing is not proof of correctness
A balance check catches errors that break the equation. It does not catch every mistake. These errors leave the sheet balanced:
- Offsetting errors. A cost is overstated in one place and understated by the same amount in another.
- Wrong assumptions. If the model assumes 10% revenue growth when 5% is realistic, the model balances and is still wrong.
- A plug. If cash is forced to equal liabilities plus equity minus other assets, the sheet always balances, whatever the errors are. This hides the problem it should reveal.
Treat the check as a necessary test, not a sufficient one. A model that balances has passed one gate. You still need to review the drivers and the signs.
What the rest of the tutorial builds
The tutorial turns this identity into a working model in a fixed order.
- Build each statement on its own, starting with the income statement and the balance sheet.
- Set up forecast assumptions.
- Link net income to retained earnings and to the cash flow statement.
- Build schedules for working capital, fixed assets and debt.
- Derive the cash flow statement with correct signs.
- Bring ending cash back to the balance sheet.
- Add a balance check and learn to debug it.
Each link you add corresponds to one line in the change form of the equation. When all links are in place, the balance check passes. When one is missing, the amount of the imbalance usually points to it.
Exercise
A company has assets of 500 and liabilities of 320. It then pays a dividend of 25 in cash. What are its equity and total assets afterwards?
Show answer
Opening equity = 500 − 320 = 180. The dividend reduces cash (an asset) by 25 and reduces equity by 25. Total assets become 475 and equity becomes 155. Liabilities stay at 320, and 320 + 155 = 475, so the equation holds.
Exercise
A modeler records a purchase of equipment for 30 by adding 30 to PP&E but forgets to reduce cash. By how much does the balance sheet fail to balance, and on which side is the excess?
Show answer
Assets are overstated by 30, because PP&E rose without a matching fall in cash. Assets exceed liabilities plus equity by 30. The fix is to include capex of 30 as an investing outflow in the cash flow statement, so ending cash falls by 30.
Exercise
Using ΔCash = ΔLiabilities + ΔEquity − ΔNon-cash assets, what is the change in cash if liabilities rise by 5, equity rises by 40 and non-cash assets rise by 25?
Show answer
ΔCash = 5 + 40 − 25 = +20. Cash rises by 20.