Sub topic 7
Removing gains and losses on disposals
This chapter assumes you can journalize an asset sale, read an income statement with a "gain on sale" line, and compute book value (cost minus accumulated depreciation). It also assumes you know the indirect method starts from net income and adjusts it to operating cash flow.
Why a gain or loss must come out of operating cash flow
When a company sells equipment, the income statement shows a gain or loss. That figure is the difference between the cash received and the asset's book value. It is not a cash flow. The cash received is the cash flow, and it belongs in investing activities, because the company is selling a long-term asset.
If you leave the gain in net income and also report the full proceeds in investing, you count part of the cash twice. The indirect method avoids this with two steps:
- Reverse the gain or loss inside the operating section, so operating cash flow carries none of it.
- Report the full cash proceeds in the investing section.
The rule
| Disposal result | Effect on net income | Adjustment in operating section |
|---|---|---|
| Gain on sale | Increases net income | Subtract the gain |
| Loss on sale | Decreases net income | Add back the loss |
| Sold at book value | None | None |
The adjustment cancels the amount that net income recorded. A gain raised net income by an amount that is not operating cash, so you subtract it. A loss lowered net income by an amount that never left the bank, so you add it back.
Worked example
A company sells equipment that cost 25,000 and has accumulated depreciation of 18,000. It receives 10,000 in cash.
- Book value = 25,000 − 18,000 = 7,000
- Gain = 10,000 − 7,000 = 3,000
The journal entry is:
| Account | Debit | Credit |
|---|---|---|
| Cash | 10,000 | |
| Accumulated depreciation | 18,000 | |
| Equipment | 25,000 | |
| Gain on sale of equipment | 3,000 |
The debits total 28,000 and the credits total 28,000. Net income includes the 3,000 gain. In the statement of cash flows:
- Operating section: net income, then "Gain on sale of equipment" shown as (3,000).
- Investing section: "Proceeds from sale of equipment" shown as +10,000.
The net effect on total cash is +10,000, which is the real cash received. The gain is in net income (+3,000), removed from operating (−3,000), and so contributes nothing there. Investing then reports the whole 10,000.
Computing it in code
The function below applies the rule to a gain, a loss, and a sale at book value.
def disposal(cost, accumulated_depreciation, proceeds):
book_value = cost - accumulated_depreciation
result = proceeds - book_value # positive = gain, negative = loss
operating_adjustment = -result # reverse the gain or loss
investing_inflow = proceeds # the full cash received
return book_value, result, operating_adjustment, investing_inflow
cases = [("gain", 10_000), ("loss", 5_000), ("at book", 7_000)]
for label, proceeds in cases:
bv, result, adj, inflow = disposal(25_000, 18_000, proceeds)
print(f"{label}: book value={bv}, result={result}, "
f"operating adjustment={adj}, investing inflow={inflow}")The output is:
gain: book value=7000, result=3000, operating adjustment=-3000, investing inflow=10000
loss: book value=7000, result=-2000, operating adjustment=2000, investing inflow=5000
at book: book value=7000, result=0, operating adjustment=0, investing inflow=7000Finding the disposal when the problem does not give it
Exams and real worksheets often give only comparative balance sheets and the gain or loss. You then rebuild the disposal from account roll-forwards.
Suppose the equipment account went from 100,000 to 105,000, and you know 30,000 of equipment was purchased. Then:
- Ending equipment = beginning + purchases − cost of disposals
- 105,000 = 100,000 + 30,000 − disposals, so disposals at cost = 25,000
Suppose accumulated depreciation went from 40,000 to 34,000 and depreciation expense was 12,000. Then:
- Ending = beginning + depreciation expense − accumulated depreciation removed
- 34,000 = 40,000 + 12,000 − removed, so removed = 18,000
Book value is 25,000 − 18,000 = 7,000. With a reported gain of 3,000, proceeds are 7,000 + 3,000 = 10,000. With a reported loss of 2,000, proceeds would be 7,000 − 2,000 = 5,000.
Notice that depreciation expense is added back separately. The 12,000 depreciation addition and the 3,000 gain subtraction are two different operating adjustments.
Edge cases
- Other assets. The same logic applies to gains and losses on sales of land, buildings, intangible assets, and investments. Proceeds from selling long-term investments go in investing. Many companies label the adjustment "(Gain) loss on disposal of assets."
- Debt extinguishment. A gain or loss from retiring debt early is reversed in the operating section in the same way. The cash paid to retire the debt is a financing outflow. The reversal removes the gain or loss, and the financing line shows the actual cash paid.
- Selling costs. If the company pays commissions or fees, the gain is calculated on net proceeds. Report net cash received in investing, so the proceeds line matches the cash that reached the bank.
- Disposal for something other than cash. If equipment is exchanged for a note receivable or for other equipment, no cash is received at that moment. The gain or loss is still reversed, but nothing appears in investing. Disclose the exchange as a non-cash transaction, covered in a later chapter.
- Impairment losses. An impairment write-down is added back as a non-cash expense. It is not a sale, so there are no proceeds and no investing line.
- Sale of a trading security. Under US GAAP, purchases and sales of trading securities are often classified as operating. In that case, you generally do not reverse realized gains and losses on them in the same way. Follow the classification of the underlying cash flow.
Common mistakes
- Wrong sign. Gains are subtracted and losses added. A quick check is to ask whether net income was overstated or understated by non-cash income.
- Reporting the gain instead of the proceeds in investing. Investing must show the full cash received, not the gain.
- Using book value as the investing amount. Book value plus gain (or minus loss) gives cash. Book value alone is not cash.
- Reversing the gain but omitting the investing line. The statement then understates cash and will not reconcile to the balance sheet.
- Reporting a purchase and a disposal net. Show the purchase of equipment (−30,000) and the proceeds from sale (+10,000) as separate lines.
Exercises
Exercise
A company sells a machine with a cost of 60,000 and accumulated depreciation of 45,000 for 11,000 cash. What is the gain or loss, what operating adjustment is made, and what appears in investing?
Show answer
Book value = 60,000 − 45,000 = 15,000. Proceeds of 11,000 are 4,000 less than book value, so there is a 4,000 loss. In the operating section, add back 4,000. In the investing section, report an inflow of 11,000 for proceeds from sale of equipment.
Exercise
The equipment account rose from 80,000 to 95,000. The company bought 40,000 of equipment during the year. Accumulated depreciation fell from 30,000 to 22,000, and depreciation expense was 9,000. The income statement shows a gain on sale of 2,500. Find the cost of the equipment sold, the accumulated depreciation removed, and the cash proceeds.
Show answer
Cost of disposals = 80,000 + 40,000 − 95,000 = 25,000. Accumulated depreciation removed = 30,000 + 9,000 − 22,000 = 17,000. Book value = 25,000 − 17,000 = 8,000. Proceeds = 8,000 + 2,500 = 10,500. In the operating section, subtract the 2,500 gain. In investing, report +10,500.