Sub topic 12
Selling or Retiring an Asset: Gain or Loss
This chapter covers what happens when a depreciated fixed asset leaves the business. You will compute the gain or loss on a sale, write the journal entries, and handle the common edge cases: a sale partway through a year, a scrapped asset, and a trade-in.
Prerequisites. You should know the straight-line formula, how to build a depreciation schedule, and how Accumulated Depreciation works as a contra-asset account. You should also be comfortable with debits and credits.
The core idea: compare proceeds with book value
A fixed asset sits on the balance sheet at its book value, which is cost minus accumulated depreciation. When the business sells the asset, it gives up that book value and receives proceeds in exchange. The difference between the two is the result of the disposal.
- Gain: proceeds are greater than book value.
- Loss: proceeds are less than book value.
- No gain or loss: proceeds equal book value.
The formula is:
Gain or loss = Proceeds - Book value
Book value = Cost - Accumulated depreciation (up to the date of disposal)A gain or loss does not mean the earlier depreciation was wrong. Depreciation spreads cost over an estimated life. It does not track market value. If the estimates of life or salvage value turn out to differ from reality, the difference appears at disposal.
def gain_or_loss_on_sale(cost, accumulated_depreciation, proceeds):
book_value = cost - accumulated_depreciation
return proceeds - book_value # positive = gain, negative = loss
# Sold after 3 years (accumulated depreciation 27,000) for 20,000:
print(gain_or_loss_on_sale(50000, 27000, 20000)) # -3000 (a loss of 3,000)The machine cost 50,000 and has 5,000 salvage value and a 5-year life, so depreciation is 9,000 a year. After 3 years, accumulated depreciation is 27,000 and book value is 23,000. A sale at 20,000 produces a loss of 3,000.
The disposal steps
Every disposal follows the same sequence, whether the asset is sold, scrapped, or traded in.
- Record depreciation up to the disposal date. If the asset is sold partway through a year, depreciate it for the months it was used in that year first. Otherwise, book value is overstated and the result is wrong.
- Remove the asset's cost. Credit the asset account for its full original cost.
- Remove the accumulated depreciation. Debit Accumulated Depreciation for the balance to date.
- Record the proceeds. Debit Cash (or a receivable) for what you received.
- Record the balancing figure. A loss is a debit. A gain is a credit.
The entry always balances, so the gain or loss is the figure that makes debits equal credits.
Worked example: a sale at a loss
Using the machine above, suppose the business sells it for 20,000 cash at the end of year 3, after year 3 depreciation has been recorded.
| Item | Amount |
|---|---|
| Original cost | 50,000 |
| Accumulated depreciation | 27,000 |
| Book value | 23,000 |
| Cash received | 20,000 |
| Result | 3,000 loss |
The journal entry is:
Dr Cash 20,000
Dr Accumulated Depreciation 27,000
Dr Loss on Disposal of Equipment 3,000
Cr Machine (at cost) 50,000Check the totals. Debits are 20,000 + 27,000 + 3,000 = 50,000. Credits are 50,000. The entry balances.
Worked example: a sale at a gain
Now suppose the same machine sells for 26,000 at the end of year 3. Book value is still 23,000, so the gain is 3,000.
Dr Cash 26,000
Dr Accumulated Depreciation 27,000
Cr Machine (at cost) 50,000
Cr Gain on Disposal of Equipment 3,000Debits are 53,000 and credits are 53,000.
Where gains and losses appear
A gain or loss on disposal is not revenue from the main business and not an operating expense of the normal kind. Most companies report it separately on the income statement, often in an "other income and expenses" section or as a line within operating results, depending on policy and the reporting framework. The key point is that it is not the same as depreciation expense. Depreciation is a regular, scheduled allocation. A gain or loss is a one-time result of the disposal.
On the cash flow statement, the full cash proceeds appear in investing activities. Under the indirect method, the gain or loss is removed from operating cash flow, so the amount is not counted twice. A gain is subtracted and a loss is added back.
Selling partway through a year
Most disposals do not happen on a year-end date. You must first bring depreciation up to the sale date.
Suppose the machine is sold on 30 June of year 4, with a calendar year-end. At the start of year 4, accumulated depreciation is 27,000. Six months of year 4 depreciation is 9,000 x 6/12 = 4,500.
def disposal_result(cost, salvage, life_years, full_years, extra_months, proceeds):
monthly = (cost - salvage) / (life_years * 12)
accumulated = monthly * (full_years * 12 + extra_months)
book_value = cost - accumulated
return accumulated, book_value, proceeds - book_value
acc, bv, result = disposal_result(50000, 5000, 5, 3, 6, 21000)
print(acc, bv, result) # 31500.0 18500.0 2500.0The steps are:
- Record the partial-year entry: Dr Depreciation Expense 4,500, Cr Accumulated Depreciation 4,500.
- Accumulated depreciation is now 31,500, and book value is 18,500.
- Sale proceeds of 21,000 exceed book value by 2,500, so there is a gain of 2,500.
Dr Depreciation Expense 4,500
Cr Accumulated Depreciation 4,500
Dr Cash 21,000
Dr Accumulated Depreciation 31,500
Cr Machine (at cost) 50,000
Cr Gain on Disposal of Equipment 2,500Skipping the first entry is a common error. Without it, accumulated depreciation would be 27,000, book value would be 23,000, and the result would be a 2,000 loss. That would be wrong by 4,500, and expenses for the year would be understated by the same amount.
Retiring or scrapping an asset
Retirement means the asset is taken out of service with no sale, or it is sold for nothing. The method is the same, with proceeds of zero.
Fully depreciated asset scrapped for nothing. Suppose the machine reaches the end of year 5 with accumulated depreciation of 45,000 and book value of 5,000 (its salvage value). If it is scrapped and no one pays anything, there is a 5,000 loss, because the 5,000 salvage value was expected but never received.
Dr Accumulated Depreciation 45,000
Dr Loss on Disposal of Equipment 5,000
Cr Machine (at cost) 50,000Fully depreciated asset with zero salvage value. If the estimated salvage value was zero and the asset is scrapped for nothing, book value is zero, so there is no gain or loss. The entry only removes cost against accumulated depreciation.
Asset still in use but fully depreciated. Depreciation stops when book value reaches salvage value, but the asset may keep working. Leave it on the books at cost, with its accumulated depreciation, until it is actually disposed of. Do not write it off just because it is fully depreciated. Disclosure of such assets is often useful to readers of the statements.
Asset scrapped early. If the asset is scrapped before the end of its life, the loss equals the remaining book value less any scrap proceeds.
Disposal that is not a simple sale
Not every disposal is a plain cash sale. These are the common variations, with the main rule for each.
| Situation | How to treat it |
|---|---|
| Sale on credit | Debit Accounts Receivable instead of Cash. The gain or loss is the same. |
| Sale costs (broker fees, removal) | Subtract the costs from the proceeds. Net proceeds are compared with book value. |
| Insurance recovery after destruction | Treat the insurance payment as proceeds. A loss or gain arises if it differs from book value. |
| Trade-in on a new asset | The trade-in allowance is treated as proceeds for the old asset. The rules for the cost of the new asset depend on the reporting framework. |
| Donation or abandonment | Proceeds are zero. Remove the book value as a loss. |
For example, if the machine with book value 23,000 is sold for 20,000 with 500 of removal costs paid in cash, net proceeds are 19,500 and the loss is 3,500.
def net_gain_or_loss(cost, accumulated_depreciation, proceeds, selling_costs=0.0):
book_value = cost - accumulated_depreciation
return (proceeds - selling_costs) - book_value
print(net_gain_or_loss(50000, 27000, 20000, 500)) # -3500.0Edge cases and common errors
- Forgetting the partial-year charge. This is the most frequent mistake, covered above.
- Removing only book value from the asset account. The asset account holds cost, not book value. Credit the full cost, and debit the accumulated depreciation separately. Otherwise, both accounts keep stale balances.
- Using the wrong accumulated depreciation. If a business has several similar machines in one account, remove only the accumulated depreciation that belongs to the asset being disposed of. A subsidiary ledger or asset register tracks this.
- Confusing the gain or loss with depreciation. The gain or loss measures the gap between estimates and reality. It is reported on its own line.
- Selling above original cost. This is possible. If proceeds exceed cost, the gain is larger than the accumulated depreciation. The mechanics do not change.
- Assets after a change in estimate. If life or salvage value was revised earlier, accumulated depreciation already reflects the revised amounts. Use the actual accumulated balance at disposal. Do not recompute from the original assumptions.
- Tax effects. Tax rules may treat a gain on disposal differently, for example by recapturing earlier depreciation deductions. Book accounting and tax accounting can differ here, and a later chapter returns to that.
Quick reference
- Update depreciation to the disposal date.
- Calculate book value: cost minus accumulated depreciation.
- Calculate net proceeds: cash received minus selling costs.
- Compare. Net proceeds above book value is a gain. Below is a loss.
- Debit Cash and Accumulated Depreciation. Credit the asset at cost. Add the gain as a credit or the loss as a debit.
Exercise
A delivery van cost 30,000, has a salvage value of 3,000, and a 6-year life. It was placed in service on 1 January. On 1 October of year 4 (nine months into the fourth year), it is sold for 14,000 cash. Depreciation has been recorded through the end of year 3. (a) What depreciation must be recorded before the sale? (b) What are accumulated depreciation and book value at the sale date? (c) What is the gain or loss, and what is the journal entry for the sale?
Show answer
Annual depreciation is (30,000 - 3,000) / 6 = 4,500, so monthly depreciation is 375. (a) Nine months of year 4 gives 375 x 9 = 3,375. Record Dr Depreciation Expense 3,375, Cr Accumulated Depreciation 3,375. (b) Accumulated depreciation after 3 full years is 13,500. Adding 3,375 gives 16,875. Book value is 30,000 - 16,875 = 13,125. (c) Proceeds of 14,000 minus book value of 13,125 is a gain of 875. Entry: Dr Cash 14,000, Dr Accumulated Depreciation 16,875, Cr Vehicle (at cost) 30,000, Cr Gain on Disposal 875. Debits and credits both total 30,875.
Exercise
A printer cost 2,000 with zero salvage value and a 4-year life. It is fully depreciated and is scrapped at the end of year 4 for no proceeds. Then consider the same printer with a salvage value of 200 that is scrapped for no proceeds at the end of year 4. What is the gain or loss in each case?
Show answer
With zero salvage value, annual depreciation is 500, accumulated depreciation is 2,000 after 4 years, and book value is 0. Proceeds of 0 minus book value of 0 gives no gain or loss. The entry is Dr Accumulated Depreciation 2,000, Cr Printer 2,000. With 200 salvage value, annual depreciation is 450, accumulated depreciation is 1,800, and book value is 200. Proceeds of 0 minus 200 gives a loss of 200. The entry is Dr Accumulated Depreciation 1,800, Dr Loss on Disposal 200, Cr Printer 2,000.