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.