Capital-gains guide
A practical guide to estimating investment gains before tax
A capital gain starts with sale proceeds minus the eligible cost basis and transaction expenses. The simple arithmetic is useful, but the taxable result may differ because holding period, asset type, acquisition date, losses, exemptions and local law can change the treatment.
Use the calculator to organise the numbers before reviewing broker statements or speaking with an adviser. Keep each purchase lot and sale separate when the cost basis differs.
A sale can produce a cash profit while still creating a smaller taxable gain after eligible expenses, or a different tax outcome after loss offsets. The calculator should support record checking rather than replace tax computation.
Use this calculator when
- ✓Estimating a gain before selling an asset
- ✓Checking broker or platform statements
- ✓Separating sale proceeds, cost basis and expenses
- ✓Preparing records for tax review
Before trusting the result
The calculator estimates a simple gain or loss. Taxable gains depend on cost-basis rules, holding period, asset type, losses, exemptions and current law.
Prepare reliable inputs
Include and verify
- • Original purchase cost or approved cost basis
- • Eligible purchase and sale expenses
- • Sale proceeds after relevant adjustments
- • Acquisition and disposal dates
- • Separate lots when purchased at different prices
- • Prior losses only when current rules permit offset
Avoid these shortcuts
- • Using the latest average price without checking lot rules
- • Ignoring brokerage and transfer costs
- • Mixing short-term and long-term holdings
- • Treating unrealised gains as completed sales
- • Assuming every asset uses the same tax rate
- • Discarding purchase evidence
A step-by-step way to use the result
Step 1
Identify the exact asset and lot
Match the sale to the relevant purchase records and quantity.
Step 2
Build the cost basis
Use the permitted acquisition cost and eligible purchase expenses.
Step 3
Calculate net sale proceeds
Start with the sale value and account for eligible disposal expenses.
Step 4
Find the simple gain or loss
Subtract cost basis from net proceeds before considering tax rules.
Step 5
Classify the holding period
Short-term and long-term definitions vary by asset and jurisdiction.
Step 6
Reconcile before filing
Match the estimate to official statements, loss records and current law.
Realistic scenarios to test
Single share purchase
- • Cost basis: ₹1,00,000
- • Net sale proceeds: ₹1,34,000
- • Simple gain: ₹34,000
What this shows: Taxable gain may still differ after holding-period and exemption rules.
Multiple purchase lots
- • Lot 1 bought at ₹80
- • Lot 2 bought at ₹110
- • Partial sale
What this shows: The selected cost-basis method can change the reported gain.
Property sale
- • Purchase cost plus eligible improvements
- • Sale price less transfer expenses
What this shows: Documentation is critical because property adjustments can be material.
Loss offset
- • Gain on one asset
- • Loss on another
- • Local offset rules apply
What this shows: Do not net gains and losses until eligibility and carry-forward rules are confirmed.
Realised and unrealised gains answer different questions
| Question | Realised gain | Unrealised gain |
|---|---|---|
| Sale completed | Yes | No |
| Cash proceeds | Usually received | Not received |
| Tax event | May arise | Often not yet, subject to local rules |
| Value can reverse | Gain is fixed after sale | Changes with market price |
| Record needed | Sale and cost-basis evidence | Current valuation record |
Common mistakes
- • Using gross sale value instead of net proceeds
- • Ignoring purchase lots
- • Forgetting eligible fees
- • Applying the wrong holding period
- • Netting losses without checking rules
- • Assuming calculator gain equals taxable gain
A better review checklist
- ✓ Keep trade confirmations and invoices
- ✓ Track adjusted cost basis continuously
- ✓ Separate assets and holding periods
- ✓ Reconcile quantities after corporate actions
- ✓ Test the tax impact before a large sale
- ✓ Use current official guidance
Country and product context
India
Holding periods, rates, exemptions, indexation availability and securities rules can change by asset class and tax year.
United Kingdom
Annual exemptions, allowable costs, share-matching rules and property reporting requirements should be checked with HMRC guidance.
United States
Short-term and long-term treatment, tax lots, wash-sale rules and state tax may affect the outcome.
European Union
Capital-gains treatment varies widely by member state, residency and asset type.
Frequently asked questions (20)
What is a capital gain?+
It is the increase realised when net sale proceeds exceed the eligible cost basis.
What is a capital loss?+
It occurs when eligible cost basis exceeds net sale proceeds.
What is cost basis?+
It is the permitted acquisition cost, sometimes adjusted for fees, improvements or corporate actions.
Are brokerage fees included?+
Eligible transaction expenses may adjust the gain, depending on local rules.
What are net sale proceeds?+
The sale amount after eligible disposal costs.
Why does holding period matter?+
It can change classification, tax rate or available relief.
What is a realised gain?+
A gain after the asset has been sold or otherwise disposed of.
What is an unrealised gain?+
A paper increase in value while the asset is still held.
Can losses reduce gains?+
Often yes, but offset and carry-forward rules vary.
What is tax-loss harvesting?+
It is selling investments at a loss to realise an eligible offset, subject to anti-avoidance rules.
How are multiple purchase lots handled?+
Jurisdictions may use specific identification, FIFO, average cost or matching rules.
Do dividends change capital gain?+
Dividends are usually separate income, though reinvested dividends can affect cost basis.
Do stock splits change my gain?+
They alter quantity and per-unit basis but usually not total basis at the split date.
Does inflation reduce the taxable gain?+
Only where current law allows indexation or a similar adjustment.
Is property calculated the same as shares?+
The basic subtraction is similar, but eligible costs and reporting rules often differ.
Can I calculate cryptocurrency gains?+
The arithmetic can be modelled, but lot, exchange and tax rules need separate review.
Can this predict the tax due?+
No. It estimates gain, not the complete tax liability.
What records should I keep?+
Purchase, sale, fee, corporate-action and improvement records.
Does FormatForge store transaction data?+
The calculator runs in the browser without an account.
Is this tax advice?+
No. Confirm the taxable amount with current rules or an adviser.