Sub topic 12
A Step-by-Step Workflow from Comparative Balance Sheets
This chapter assumes you can post double-entry journal entries and read an income statement and a balance sheet. It also assumes you know accrual accounting and straight-line depreciation. The goal is a repeatable procedure. You take two balance sheets and an income statement, and you produce a statement of cash flows that proves out to the cash balance.
The idea is that every cash change leaves a trace in some other balance sheet account. If you explain the change in every non-cash account, you have explained the change in cash.
The example data
Use these figures throughout. They match the numbers used in the code examples elsewhere in this tutorial.
| Account | Beginning | Ending |
|---|---|---|
| Cash | 20,000 | 65,000 |
| Accounts receivable | 40,000 | 48,000 |
| Inventory | 30,000 | 25,000 |
| Equipment (at cost) | 100,000 | 105,000 |
| Accumulated depreciation | (40,000) | (34,000) |
| Accounts payable | 20,000 | 24,000 |
| Accrued liabilities | 6,000 | 5,000 |
| Long-term debt | 40,000 | 55,000 |
| Common stock | 30,000 | 30,000 |
| Retained earnings | 54,000 | 95,000 |
Both sheets balance. Beginning total assets are 150,000 and ending total assets are 209,000. The income statement shows net income of 50,000, which includes depreciation expense of 12,000 and a 3,000 gain on sale of equipment. Your records also show that equipment costing 25,000 was sold, and that you bought new equipment for cash.
The workflow at a glance
Step 1: Compute the change in every account
Subtract the beginning balance from the ending balance for each account, including cash. Keep the sign of the change as it appears, then convert it to a cash effect using one rule:
- A debit-balance account (an asset) that increases uses cash. Its cash effect is the negative of the change.
- A credit-balance account (a liability, equity, or contra-asset) that increases provides cash. Its cash effect equals the change.
Applying the rule to every non-cash account gives:
| Account | Change | Cash effect of the change |
|---|---|---|
| Accounts receivable | +8,000 | (8,000) |
| Inventory | (5,000) | +5,000 |
| Equipment | +5,000 | (5,000) |
| Accumulated depreciation | (6,000) | (6,000) |
| Accounts payable | +4,000 | +4,000 |
| Accrued liabilities | (1,000) | (1,000) |
| Long-term debt | +15,000 | +15,000 |
| Common stock | 0 | 0 |
| Retained earnings | +41,000 | +41,000 |
| **Total** | **+45,000** |
The total equals the change in cash (65,000 minus 20,000). This is the check behind the whole method. The cash effects of the other accounts must add up to the cash change, because the balance sheet balances.
Step 2: Check that the changes balance
Run this check before you do any analysis. If it fails, one balance is mistyped and every later step will inherit the error. The script below does both Step 1 and Step 2.
# side: "D" for debit-balance accounts, "C" for credit-balance accounts
accounts = {
"Cash": ("D", 20_000, 65_000),
"Accounts receivable": ("D", 40_000, 48_000),
"Inventory": ("D", 30_000, 25_000),
"Equipment": ("D", 100_000, 105_000),
"Accumulated depreciation": ("C", 40_000, 34_000),
"Accounts payable": ("C", 20_000, 24_000),
"Accrued liabilities": ("C", 6_000, 5_000),
"Long-term debt": ("C", 40_000, 55_000),
"Common stock": ("C", 30_000, 30_000),
"Retained earnings": ("C", 54_000, 95_000),
}
debit_change = sum(e - b for s, b, e in accounts.values() if s == "D")
credit_change = sum(e - b for s, b, e in accounts.values() if s == "C")
assert debit_change == credit_change, "Balance sheets do not balance"
total_effect = 0
for name, (side, begin, end) in accounts.items():
if name == "Cash":
continue
change = end - begin
effect = -change if side == "D" else change
total_effect += effect
print(f"{name:26} {effect:>8}")
cash_change = accounts["Cash"][2] - accounts["Cash"][1]
assert total_effect == cash_change
print("Net change in cash:", cash_change)Accumulated depreciation is stored as a credit-balance account, so a decrease in it shows a negative cash effect in this table. That figure is only a starting point. It mixes two events, which Step 3 separates.
Step 3: Rebuild the accounts that hold more than one story
Most accounts have a single cause. Accounts receivable changed because of sales and collections, and that is the end of it. Four accounts need reconstruction because several events moved them.
Retained earnings. Beginning balance plus net income minus dividends equals ending balance. Solve for dividends: 54,000 + 50,000 − 95,000 = 9,000. Dividends declared and paid appear in the financing section. If a dividend were declared but unpaid, you would see a dividends payable account, and only the paid amount would count.
Equipment and accumulated depreciation. Rebuild both as T-accounts.
| Account | Beginning | Additions | Disposals | Ending |
|---|---|---|---|---|
| Equipment (cost) | 100,000 | 30,000 | (25,000) | 105,000 |
| Accumulated depreciation | 40,000 | 12,000 | (18,000) | 34,000 |
The purchase of 30,000 is the amount needed to reach the ending balance after removing the 25,000 sale. Depreciation expense of 12,000 comes from the income statement. The 18,000 removed from accumulated depreciation is given by the disposal records, and it is the only figure that makes the T-account close.
The disposal. Cost 25,000 less accumulated depreciation 18,000 gives book value of 7,000. Proceeds of 10,000 minus book value of 7,000 gives the 3,000 gain. The full 10,000 is an investing inflow. The 3,000 gain is already inside net income, so it is subtracted in the operating section to avoid counting it twice.
Long-term debt. It rose by 15,000 with no sign of repayment in the records, so new borrowing was 15,000. If you also knew of a 5,000 repayment, borrowing would be 20,000 and repayment 5,000. Report both gross amounts, not just the net.
Step 4: Assign each piece to a section
| Item | Amount | Section |
|---|---|---|
| Net income | 50,000 | Operating |
| Depreciation expense | 12,000 | Operating (add back) |
| Gain on sale | (3,000) | Operating (subtract) |
| Change in receivables | (8,000) | Operating |
| Change in inventory | 5,000 | Operating |
| Change in payables | 4,000 | Operating |
| Change in accrued liabilities | (1,000) | Operating |
| Purchase of equipment | (30,000) | Investing |
| Proceeds from sale | 10,000 | Investing |
| Borrowing | 15,000 | Financing |
| Dividends paid | (9,000) | Financing |
Step 5: Total the sections and prove the result
net_income = 50_000
cfo = net_income + 12_000 - 3_000 + (-8_000) + 5_000 + 4_000 + (-1_000)
cfi = -30_000 + 10_000
cff = 15_000 - 9_000
net_change = cfo + cfi + cff
beginning_cash, ending_cash = 20_000, 65_000
print("Operating:", cfo) # 59000
print("Investing:", cfi) # -20000
print("Financing:", cff) # 6000
print("Net change:", net_change) # 45000
assert beginning_cash + net_change == ending_cashThe statement reports cash from operating activities of 59,000, cash used in investing of 20,000, and cash from financing of 6,000. The net increase is 45,000, taking cash from 20,000 to 65,000.
Step 6: Add the disclosures
Review the records for investing and financing events that used no cash, such as buying equipment with a note payable. These do not appear in the three sections. They go in a separate disclosure, which a later chapter covers. Also gather interest paid and income taxes paid, which are required supplemental information under the indirect method. In this example there were no such events, so only the supplemental interest and tax figures remain to be supplied.
Common workflow mistakes
- Skipping the balance check in Step 2 and then hunting for an error in the wrong place.
- Using the net change in equipment instead of the gross purchase and sale. The 5,000 net change hides a 30,000 outflow and a 10,000 inflow.
- Treating the change in accumulated depreciation as depreciation expense. It was 12,000 of expense less 18,000 of disposals.
- Using retained earnings change as dividends. It is net income minus dividends.
Exercise
A company's retained earnings went from 80,000 to 96,000 during the year. Net income was 30,000. Its equipment account (at cost) went from 200,000 to 210,000, and it purchased 40,000 of new equipment for cash. What were the dividends, and what was the cost of equipment sold?
Show answer
Dividends = 80,000 + 30,000 − 96,000 = 14,000, reported as a financing outflow. Equipment sold at cost = 200,000 + 40,000 − 210,000 = 30,000. The sale proceeds go in investing, and any gain or loss is removed in the operating section.