What it means
The calculation starts with the cost basis, meaning what you paid for the asset plus purchase costs and any capital improvements. Sale proceeds minus the cost basis gives the gain, and the holding period determines whether it is long or short term.
Get the holding period wrong by a single day and the tax treatment can change dramatically. The reason the distinction exists is policy: governments generally want to encourage long-term investment rather than rapid trading, so they reward patience with a lower rate.
The practical effect is that timing can be worth more than an extra few per cent of price appreciation. Selling on day 360 rather than day 370 is one of the most expensive avoidable mistakes in personal investing.
Business owners meet this concept at the biggest moment of their financial life, the sale of the company. Whether proceeds are treated as a capital gain or as ordinary income depends on how the deal is structured, which is why deal structure often gets more legal attention than headline price.
Selling shares and selling the assets inside a company can produce very different tax outcomes on the same economic transaction. Two nuances are worth carrying into any conversation.
First, losses can usually be set against gains, so a portfolio's tax bill depends on the net position rather than on each winning sale in isolation. Second, rates and qualifying periods differ by country and change over time, so the principle is stable but the specific numbers always need checking with a current source or an adviser.
In practice
Real-world examples.
Example
A software engineer sells shares acquired through an employee scheme fourteen months after they vested. The extra two months of holding moves the profit into long-term treatment and cuts her tax bill by roughly half.
Example
A couple sell a rental flat held for nine years. Their gain is long term, but they must first reduce their cost basis by the depreciation claimed over that period, which increases the taxable gain.
Example
An investor realises a $40,000 long-term gain in December and also holds a position sitting on a $15,000 loss. He sells the loser in the same tax year so that only the net $25,000 gain is taxed.
Think of it
“Long-term gain is profit on assets held over a year-lower tax rate.
Formula
Calculation
Long-term capital gain = sale proceeds - cost basis
Tax due = gain x applicable long-term capital gains rate
An investor bought 2,000 shares at $30 each, giving a cost basis of 2,000 x $30 = $60,000. Three years later she sells all 2,000 shares at $95 each, producing proceeds of 2,000 x $95 = $190,000.
The long-term capital gain is $190,000 - $60,000 = $130,000. At a long-term capital gains rate of 15%, the tax due is $130,000 x 15% = $19,500, leaving $130,000 - $19,500 = $110,500 of after-tax profit.
Had she sold at eleven months instead, the gain would have been short term and taxed at her marginal income tax rate of 32%, giving tax of $130,000 x 32% = $41,600. Holding past the one-year mark therefore saved $41,600 - $19,500 = $22,100 on the same economic gain.Case study
Seen in the real world.
The following is a fictional illustration. Adaora Nwankwo, the invented founder of a fictional packaging company called Stanmoor Cartons, agreed to sell her business for $6,400,000 with a cost basis of $400,000, producing a gain of $6,000,000.
Her first draft deal was an asset sale, which the buyer preferred because it stepped up the value of the assets for its own future deductions. Her adviser modelled the alternative, a share sale, and showed that the different treatment of part of the proceeds would cost her a seven-figure sum in additional tax under the asset structure.
She renegotiated to a share sale at a slightly lower headline price and finished with materially more cash after tax. The illustrative point is that for a one-off, career-defining transaction, structure and holding period deserve as much attention as the price itself.
Watch out
Common mistakes.
- Counting the holding period from when you decided to buy rather than the trade date. Tax authorities use settlement and acquisition dates, and a few days can change the rate applied.
- Forgetting to add purchase costs and improvements to the cost basis. An overstated gain means tax paid on money you never actually made.
- Assuming a rise in value creates a tax bill. Gains are generally taxed only when realised through a sale or other disposal.
Questions
People also ask.
How long must I hold an asset to qualify?
In many systems the threshold is more than one year, but the exact period varies by country and asset type.
Can capital losses reduce the tax on gains?
Yes, losses are usually offset against gains in the same year, and unused losses can often be carried forward.
Does inherited property count as long term?
In many jurisdictions inherited assets are treated as long term regardless of how briefly the heir held them, though the basis rules vary.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%