Gain on Sale journal entry examples
Learn the essential steps for proper accounting for asset disposal. This guide breaks down the fixed asset sale journal entry, explains what is gain on sale, and provides clear examples for both gains and loss on sale accounting.
So, youâve finally decided to part ways with that old hunk of metal you once called âstate-of-the-art machinery.â Maybe itâs become more of a museum piece than a productive asset, or perhaps it groans louder than your team during Monday meetings. Whatever the reason, when your business decides to bid adieu to an assetâbe it through selling, scrapping, or trading for something that actually functionsâthereâs a bit of accounting hocus-pocus you need to perform.
Enter: the gain on sale journal entry.
Nope, you canât just sell it, pocket the cash, and ride off into the sunset. That would be too easy (and we all know the tax authorities love a good paper trail). Youâve got to record it properly in your books.
Why? Because accounting is like that meticulous friend who alphabetizes their spice rackâeverything needs to be in its rightful place. And letâs be honest, nobody wants an unexpected dance with the IRS.
But fear not! Before your eyes glaze over like a doughnut at a staff meeting, stick with me. Iâm your sarcastic-yet-helpful financial tour guide, ready to navigate you through the mystical realm of asset disposal journal entriesâminus the soul-sucking jargon.
Gain on Sale Explained
Alright, time to don our accounting hatsâbut donât worry, weâll keep things breezy. In the wonderful world of accounting, a gain on sale happens when you sell a non-inventory assetâlike that company car thatâs more rust than metal or that computer thatâs better suited as a doorstopâfor more than its carrying amount.
âCarrying amountâ might sound like accountant mumbo-jumbo, but itâs just a fancy term for the assetâs book value. Think of it as the assetâs current value in your accounting records. To figure it out, you subtract any accumulated depreciation (thatâs the value itâs lost over time) and any impairment charges (unexpected hits to its value) from the original cost.
So, how do you calculate this mystical gain? Simple math, folks. Just subtract the assetâs carrying amount from the sale price. If the result is positive, congratsâyouâve got a gain! If itâs negative, well, thatâs a loss, but letâs not dwell on that now.
Letâs bring this to life with an example:
- You bought a machine for $10,000 (back when that seemed like a genius investment).
- Over the years, youâve recorded $3,000 in depreciation (because nothing stays shiny and new forever).
- Carrying amount = $10,000 (original cost) â $3,000 (accumulated depreciation) = $7,000.
- You sell the machine for $7,500 (nice negotiating skills!).
- Gain on sale = $7,500 (sale price) â $7,000 (carrying amount) = $500.
This $500 gain isnât just for celebratory high-fives (though, feel free to indulge). It needs to be recorded in the Gain on Sale of Asset account. And since this windfall didnât come from your regular business operations (unless youâre secretly running a used machinery dealership), itâs considered non-operating income. On your income statement, this gain gets its own spotlight in the non-operating income section.

Why the special treatment? Because mixing it with your operating revenue would be like putting ketchup on your ice creamâconfusing and likely to upset someone. We keep it separate to maintain clarity and to prevent your accountant from having a meltdown.
Now, when you part ways with an asset, itâs not just about recording the gain or loss. You also need to erase it from your books like it never existed (or at least, pretend like itâs moved on). This process is called derecognitionâaccountingâs way of saying, âThanks for the memories, but itâs time to move on.â Think of it like deleting old files to free up space on your hard drive.
Hereâs the magic formula you need to know:
Gain or Loss = Net Disposal Proceeds â Carrying Value of the Asset
In plain English: What you got from selling it (the net disposal proceeds) minus what itâs worth on your books (the carrying amount). Simple math, big implications.
Just to recap:
- Subtract all the accumulated depreciation (and any impairment charges) from the assetâs original cost.
- That gives you the carrying amountâthe assetâs current value in your books.
- Compare that to your sale price, and youâll either end up with a positive number (gain) or a negative one (loss).
If you get a positive number, pour yourself a cup of victory coffeeâyouâve got a gain on sale! If itâs negative, well, maybe just call it a day and move on. Either way, the amount needs to be recorded in your accounts with precision and care.
See also: Deferred revenue journal entry with examples
What Is the Gain on Selling the Asset?
So, letâs get down to businessâhow do you actually record this gain on sale in your accounting books?
This is where the asset disposal journal entry comes into play. Youâve sold a non-inventory asset (and no, your coworkerâs broken stapler doesnât count). Weâre talking real assets hereâequipment, vehicles, buildings, maybe even that fancy espresso machine nobody knew how to use.
You need to whip up a journal entry that reflects:
- â How much cash you got
- đ¤ How much depreciation youâve accumulated over the years
- đ˛ The original cost of the asset
- đ Whether you made a gain (or đ¤ a loss)
Hereâs your cheat sheet for a gain on sale:
- Debit Cash (because your bank account just got happier)
- Debit Accumulated Depreciation (to remove the depreciation from your books)
- Credit Asset (e.g. Equipment) Account (to take the asset off your books)
- Credit Gain on Sale of Asset (to record that sweet gain)
If you ended up with a loss instead (hey, it happens to the best of us), youâd debit Loss on Sale of Asset instead of crediting the gain account. Itâs accountingâs way of balancing the scales.
You might be wondering, âWhy is depreciation involved here?â Well, remember that depreciation represents the wear and tear on your asset over timeâthe gradual decline in its value. When you sell the asset, you need to reverse the accumulated depreciation to determine its true book value at the time of sale. Itâs like peeling back layers of an onion to get to the core value (except without the tears).
Oh, and a quick note about land: itâs the rebel of the asset family. Land doesnât depreciate (unless someone knows something about erosion that we donât). So when you sell land, you skip the accumulated depreciation step altogether. You simply debit Cash, credit Land, and record any gain or loss accordingly.
This gain on sale accounting entry is crucial for accurately representing the transaction. Proper accounting for asset disposal ensures that your financial statements reflect the true state of your business. And who doesnât want accurate financials?
How to Make a Gain on Sale Journal Entry
Alright, letâs roll up our sleeves and break this down step by step.

Debit the Cash Account
When you sell an asset, youâre receiving cash (always a good thing). To increase an asset account like Cash, you debit it. So, you reflect this incoming money by debiting your Cash account.
Example: You sold that old piece of equipment for $40,000 (not too shabby). Debit Cash for $40,000.
Debit the Accumulated Depreciation Account
Next up, you need to remove the accumulated depreciation associated with the asset. The Accumulated Depreciation account is a contra-asset account (it offsets your asset account) and normally has a credit balance. To decrease it (i.e., remove it from your books), you debit the account.
Example: Youâve accumulated $15,000 in depreciation on the equipment. Debit Accumulated Depreciation for $15,000.
Credit the Asset Account
Now itâs time to remove the asset itself from your books. The asset account (e.g., Equipment) has a debit balance, so to decrease it, you credit the account for the assetâs original cost.
Example: The equipment originally cost $50,000. Credit Equipment for $50,000.
Calculate the Assetâs Book Value
Before you can determine the gain or loss, you need to find the assetâs book value at the time of sale:
- Book Value = Original Cost â Accumulated Depreciation
- Book Value = $50,000 â $15,000 = $35,000
Then, calculate the gain or loss:
- Gain/Loss = Sale Price â Book Value
- Gain = $40,000 â $35,000 = $5,000
Credit the Gain on Sale Account
Since youâve realized a gain, you credit the Gain on Sale of Asset account. This account increases with a credit, reflecting the additional income from the sale.
Example: Credit Gain on Sale of Asset for $5,000.
If you had a loss (letâs hope not), youâd debit Loss on Sale of Asset instead. Itâs all about keeping the accounting scales balanced.
Whether youâre dealing with a fixed asset sale journal entry or any other asset disposal, following these steps will keep your books accurate and the auditors off your back.
Journal Entry to Record Sale of Equipment
Hereâs how the journal entry would look:
| Accounts | Debit | Credit |
|---|---|---|
| Cash | $40,000 | |
| Accumulated Depreciation | $15,000 | |
| Equipment | $50,000 | |
| Gain on Sale of Asset | $5,000 |
Recording the Sale of Land
Land plays by its own rules in the accounting sandbox. Since land isnât depreciated (it doesnât get old and creaky like equipment), thereâs no accumulated depreciation to worry about.
If you sell land for exactly what you paid for it, thereâs no gain or lossâsimple as that. But if you sell it for more than your recorded cost, youâve scored a gain. Sell it for less, and youâve got a loss on your hands.

Journal Entry to Record Sale of Land
Letâs say you sold land that you originally bought for $50,000, and you sold it for $55,000. Hereâs how youâd record the gain on sale:
| Accounts | Debit | Credit |
|---|---|---|
| Cash | $55,000 | |
| Land | $50,000 | |
| Gain on Sale of Land | $5,000 |
Related: Cash sales journal entry examples
Sale Journal Entry Examples
Letâs put all this theory into practice with some real-world examples (because who doesnât love a good story?).
Example 1: Gain on Disposal of Fixed Asset
Jotscroll Company decides itâs time to part ways with a machine that originally cost them $100,000 (big spender alert). Over the years, the machine has accumulated $70,000 in depreciation (thatâs some serious wear and tear). They sell the machine for $35,000 in cash.
Calculating the Gain:
- Book Value = Original Cost â Accumulated Depreciation
- Book Value = $100,000 â $70,000 = $30,000
- Gain = Sale Price â Book Value
- Gain = $35,000 â $30,000 = $5,000
So, Jotscroll realizes a $5,000 gain on the sale. Not too shabby.
Journal Entry:
| Accounts | Debit | Credit |
|---|---|---|
| Cash | $35,000 | |
| Accumulated Depreciation | $70,000 | |
| Machine | $100,000 | |
| Gain on Sale of Asset | $5,000 |
Example 2: Loss on Sale of Asset
A company purchased a truck for $35,000 on January 1, 2018. As of December 31, 2021, the truck has accumulated $28,000 in depreciation (itâs been through a lot). On December 31, 2021, they sell the truck for $5,000 in cash.
Calculating the Gain:
- Book Value = Original Cost â Accumulated Depreciation
- Book Value = $35,000 â $28,000 = $7,000
- Loss = Book Value â Sale Price
- Loss = $7,000 â $5,000 = $2,000
So, the company has a $2,000 loss on the sale.
Journal Entry:
| Accounts | Debit | Credit |
|---|---|---|
| Cash | $5,000 | |
| Accumulated Depreciation | $28,000 | |
| Truck | $35,000 | |
| Loss on Sale of Asset | $2,000 |

Example 3: Gain on Sale of Land
You purchased a parcel of land for $400,000. Two years later, you sell it for $450,000 (location, location, location!). Letâs calculate the gain.
Calculating the Gain:
- Gain = Sale Price â Original Cost
- Gain = $450,000 â $400,000 = $50,000
So, youâve got a $50,000 gain on the sale of the land. Time to celebrate!
Journal Entry:
| Accounts | Debit | Credit |
|---|---|---|
| Cash | $450,000 | |
| Land | $400,000 | |
| Gain on Sale of Land | $50,000 |
Takeaways
Alright, letâs wrap this up with some key points to remember:
- When disposing of assets, itâs crucial to record any gain or loss accurately in your accounting records (no cutting corners!).
- A gain on sale occurs when an asset is sold for more than its carrying amount (thatâs the original cost minus accumulated depreciation).
- Gains from asset sales are considered non-operating income and should be recorded separately from your regular operating revenue.
- The journal entry for a gain on sale typically involves debiting Cash and Accumulated Depreciation, crediting the Asset account, and crediting the Gain on Sale account.
- Land isnât depreciated (itâs special like that), so when selling land, you can skip the accumulated depreciation step.
- Properly recording asset disposals ensures your financial statements accurately reflect your companyâs financial position (and keeps the auditors happy).
- Understanding how to calculate and record gains on sales helps in making informed financial decisions and maintaining compliance with accounting standards.