Insights/Tax

Capital Gains: How It Works, Formula and a Worked Example

Calculate tax on gains from property, gold, and other assets. Here is the formula, a worked example, the mistakes to avoid, and a free calculator with a downloadable PDF report.

Abhishek sharma

17 Sep 20264 min read

Capital Gains: How It Works, Formula and a Worked Example

Most people meet the capital gains the same way — someone quotes a number, it sounds reasonable, and there is no easy way to check it. That is exactly the gap this guide closes. By the end of it you will know what the number is made of, where it usually goes wrong, and you will have run your own figures through our free capital gains.

Cover image slot — add a screenshot or illustration from Admin → Blog when it is ready.

Prefer to start with your own figures? Use the Capital Gains now, or continue for the formula and a worked example.

How the calculation actually works

Deducts indexed cost from sale price and applies asset-specific tax rates.

The formula behind it:

Gain = Sale Price - Cost Basis
Symbol What it means
CII Cost Inflation Index
LTCG Long Term Capital Gain

Nothing is rounded away quietly and nothing is assumed on your behalf. If a figure appears in the result, it came from something you entered.

Let us run one real set of numbers

Tax on property sold for ₹1 Cr purchased for ₹40L 10 years ago.

Change any one input and watch the result move — that sensitivity is the real lesson. It is far more useful than memorising a single outcome, because your own rate, tenure or contribution will never match the example exactly.

Using the Capital Gains, step by step

  1. Open the Capital Gains.
  2. Enter your figures. Use the ones on your statement, sanction letter or scheme document rather than a remembered number.
  3. Read the result card — the headline figure plus the breakdown that produced it.
  4. Adjust one input at a time to see what genuinely moves the outcome.
  5. Tap Download PDF to keep a copy of the calculation, with your inputs and assumptions printed on it.

The PDF takes a few seconds to build because it is a properly typeset report, not a screenshot. You will see a progress message while it is being prepared, and the download starts on its own.

Small habits that make a real difference

  • Use Section 54/54F to save tax by reinvesting.
  • Indexation helps reduce the tax impact on long-term assets.

The errors that cost the most

  • Ignoring improvement costs incurred on the asset.

If you want to go a level deeper afterwards, read up on taxation of capital gains. Both come up the moment you start comparing options seriously.

Interactive calculator

Try the Capital Gains

Enter your own figures below. The same calculator and PDF report remain available on the focused calculator page.

FY 2026–27 rules · India

Listed equity shares / equity funds (STT paid) or property.

Including brokerage or registration costs.

Net of selling costs.

Shares: over 12 months is long term. Property: over 24 months.

Short-term gains on property are taxed at your slab.

Quick examples

Capital gains tax₹22,750

Long-term gain of ₹3,00,000 after 18 months.

Y1Y5
GainTax
What you are seeing: ₹1,75,000 is taxable at 12.5% plus cess.
Tax on the gain₹22,750
Capital gain₹3,00,000
Type of gainLong term
Rate applied12.5%

What each result means

Tax on the gain

What it is: Rate × taxable gain, plus 4% cess.

Your value: ₹22,750

Surcharge not included.

Capital gain

What it is: Sale value − purchase cost.

Your value: ₹3,00,000

Before exemptions.

Type of gain

What it is: Short or long term, from the holding period.

Your value: Long term

Decides the rate.

Rate applied

What it is: Rate under current law.

Your value: 12.5%

Before cess.

Year-by-year breakdown

Capital Gains Tax Calculator year-by-year schedule
Sale value (₹)Gain (₹)Tax (₹)
₹6,40,000₹1,40,000₹1,950
₹8,00,000₹3,00,000₹22,750
₹9,60,000₹4,60,000₹43,550

Same purchase and holding period, different sale prices.

Showing the first 3 of 5 years. Want charts, formulas and the full schedule? Get the detailed PDF.

What this calculator does

Estimates tax on selling shares, equity funds or property under rules effective from 23 July 2024: equity LTCG 12.5% above ₹1,25,000, equity STCG 20%, property LTCG 12.5% without indexation.

What your result means

Holding past the long-term mark usually lowers the rate a lot. The ₹1.25 lakh equity exemption is per year across all your equity gains.

Formula

1. Capital gains tax

Tax = (Gain − exemption) × rate × 1.04

Symbols

Gain
Sale − cost (₹)
exemption
₹1,25,000 for equity LTCG
rate
20% equity STCG; 12.5% LTCG; slab for property STCG

Why this formula works

Sections 111A, 112 and 112A of the Income-tax Act.

Unit check

₹. ✓

Common mistakes

Using indexation for property bought after 23 July 2024. Applying the ₹1.25 lakh exemption more than once a year.

Working for your numbers

  1. Gain = ₹8,00,000 − ₹5,00,000 = ₹3,00,000
  2. − exemption ₹1,25,000
  3. Tax = ₹1,75,000 × 12.5% × 1.04 = ₹22,750

Frequently asked questions

Can I still use indexation on property?

Resident individuals and HUFs who bought land or buildings before 23 July 2024 can choose the lower of 12.5% without indexation or 20% with indexation. This calculator shows the 12.5% option.

Is this the exact tax I will pay?

It is close for common cases, but it leaves out some special incomes, exemptions and set-offs. Confirm with Form 16, AIS and the Income Tax Department's own calculator before filing.

Does this calculator tell me what to do?

No. It is an educational estimate using published rules. It does not know your full situation. For a personal decision, speak to a qualified tax professional or a SEBI-registered investment adviser.

Symbols and assumptions

Gain
Capital gain (₹)
  • Resident individual, no other equity gains this year.
  • Surcharge and losses set-off not included.
  • Figures are in Indian Rupees (₹).

Sources and review

Reviewed 2026-10-05 · Next review 2026-12-31

  • Income Tax Department — tax calculators and rules
  • Central Board of Direct Taxes — Acts, rules and notifications
Not investment advice. VIA Capital is not a SEBI-registered investment adviser and this calculator does not recommend any fund, product or investment strategy. Market-linked investments are subject to market risk; assumed returns are not indicative of future results.
Important limitation. This is an educational estimate based solely on the values and formula shown. It is not financial, tax or investment advice. Actual returns will differ from any assumed rate. Verify with a qualified financial professional before making any investment decision.
Income Tax CalculatorOld vs New RegimeSalary CalculatorHRA CalculatorTDS CalculatorAdvance Tax Calculator
Open the full calculator

What else you will find on VIA Capital

The calculator is one corner of a much bigger free toolkit. While you are here:

  • Explore 56+ financial calculators for investments, loans, tax, retirement, small-savings schemes and market maths in the VIA Capital calculator library.
  • PDF reports on every calculator, so a calculation you did today can be opened again in six months.
  • Practise decisions with virtual money in the VIA Trade Simulator, including charts, an option chain and an order book. No real trades are placed.
  • Read market breadth visually with the Nifty 50, Bank Nifty and Sensex heatmap.
  • Follow dates, price bands, subscription figures and listing history in the IPO Centre.
  • Continue with daily financial insights and explainers written in the same plain-English style.

New tools and sections go live regularly, and each one gets written up here the same way.

Questions people ask us

Is the Capital Gains free to use? Yes. Every calculator on VIA Capital is free, works without a login, and nothing you type is stored on our servers.

How accurate is it? The arithmetic is exact — it is the formula shown above, nothing hidden. Accuracy of the answer depends on your inputs. Rates, tenures and charges change, so use the figures from your own statement or sanction letter rather than a number you remember.

Can I save or share the result? You can download a formatted PDF report of your calculation and share it with your family, your CA or your bank. The download link sits right under the result.

Does it work on a phone? It does. The capital gains is built mobile-first, which is how most people in India actually search for "capital gains".

Is this investment advice? No. VIA Capital is an education platform. We show you the maths and the assumptions; the decision, and the responsibility for it, stays with you. For anything personalised, speak to a SEBI-registered professional.

The short version

Calculate tax on gains from property, gold, and other assets. The formula is public, the assumptions are printed on the page, and the calculation is yours to keep as a PDF.

👉 Run your own numbers in the Capital Gains

VIA Capital publishes financial education only. Nothing here is investment advice or a personalised recommendation, and no calculator output should be treated as a promise of returns.

Educational content only. Educational content only. Not investment advice or a personalised recommendation.

Written by

Abhishek sharma

Discussion (0)

Log in to join the conversation.

Sign In to Comment

Trending insights

01

Jio Platforms IPO Subscription Status: Day-by-Day Demand, Price Band and Allotment Dates

02

National Stock Exchange (NSE) IPO: Subscription Guide and Key Details

03

VIA Trade Simulator: Practise Market Decisions Without Risking Real Money

04

Advance Tax Calculator: How It Works, Formula and a Worked Example

Keep learning

Free practice, no tips or calls.

NISM prep Calculators Practice simulator

More from Insights

View Full Archive
Tax
4 MIN

Make Indian Tax Calculations Easier to Check with VIA Capital

Tax
5 MIN

Advance Tax Calculator: How It Works, Formula and a Worked Example

Tax
4 MIN

GST Calculator: How It Works, Formula and a Worked Example

Explore VIA Capital

More ways to learn markets with us

Free, educational tools built for Indian investors, market news, IPO tracking, calculators and expert conversations. No tips, no buy/sell calls.

Financial News

Fast, verified market shorts updated through the day.

IPO Center

Live IPOs, subscription data and listing performance history.

Expert Connect

Talk to verified advisors and certified professionals.

Calculator Hub

SIP, tax, loan and capital gains tools with reports.

NISM Prep

Mock tests and question banks for certification exams.

Finance Dictionary

A–Z explanations of market and tax terminology.

Stay connected

IPO and market updates, learning notes and new tools. Education only, no tips.

Join TelegramWhatsApp channelWhatsApp group
VIA CapitalVIA Capital

Free financial education for everyone. Learn markets, investing and personal finance through clear, unbiased lessons.

Learn. Understand. Research. Grow.

hello@viacapital.in@viacapitalofficial
instagramyoutubewhatsapp
Open VIA FlowLens

Markets

  • Market Intelligence
  • Market Heatmap
  • IPO Centre
  • News in 60 Words
  • Market Explained
  • Big Investors
  • Broker Desk

Learn

  • Financial Education
  • Learn in 5
  • NISM Mock Tests
  • Finance Dictionary
  • Daily Quiz
  • Books & Podcasts
  • Certifications
  • Skills
  • VIA Rooms Community

Tools

  • Calculators
  • VIA Tax Hub
  • Income Tax Calculator
  • Trade Simulator
  • VIA FlowLens
  • Chart Patterns
  • Investment Centre
  • Career Compass
  • VIA Wealth Connect
  • VIA Capital Pro (soon)

Events

  • Events Hub
  • Browse Events
  • Courses
  • List an Event
  • Advertise
  • Events Support

Company

  • About Us
  • Insights
  • Latest Updates
  • Careers
  • Join as an Advisor
  • Partner Institutes
  • Partner broker: Alice Blue
  • FAQ
  • Contact & Support
  • My Account
Markets
  • Market Intelligence
  • Market Heatmap
  • IPO Centre
  • News in 60 Words
  • Market Explained
  • Big Investors
  • Broker Desk
Learn
  • Financial Education
  • Learn in 5
  • NISM Mock Tests
  • Finance Dictionary
  • Daily Quiz
  • Books & Podcasts
  • Certifications
  • Skills
  • VIA Rooms Community
Tools
  • Calculators
  • VIA Tax Hub
  • Income Tax Calculator
  • Trade Simulator
  • VIA FlowLens
  • Chart Patterns
  • Investment Centre
  • Career Compass
  • VIA Wealth Connect
  • VIA Capital Pro (soon)
Events
  • Events Hub
  • Browse Events
  • Courses
  • List an Event
  • Advertise
  • Events Support
Company
  • About Us
  • Insights
  • Latest Updates
  • Careers
  • Join as an Advisor
  • Partner Institutes
  • Partner broker: Alice Blue
  • FAQ
  • Contact & Support
  • My Account
VIA Tax Hub · 8+ years of tax filing experienceITR, GST, registrations and compliance, handled on WhatsApp.
Your feedback is important. Tell us what more we can add or change DM us on Instagram or mail us. Please text us anytime.
Important Disclosures

VIA Capital provides educational and informational content for learning and awareness purposes. Nothing on this platform should be construed as investment, financial, tax or legal advice, or as a recommendation to buy or sell any security.

IPO information is provided for educational and informational purposes. GMP figures are unofficial and unregulated and may be sourced from third-party public trackers. GMP is not an official exchange price and should not be treated as a guaranteed indication of listing performance.

The VIA Capital Simulator is an educational virtual trading environment using simulated capital. It does not execute real securities transactions or provide access to real-money trading.

Market information may come from third-party providers. Availability, update frequency and trading-session status vary by feature; verify important figures with the relevant exchange or official source.

Read the full Risk Disclosure & Disclaimer

Partnerships & investment | VIA Capital is founded by Abhishek Sharma and is open to conversations with prospective leadership, investors and institutional partners. Enquiries: abhishek@viacapital.in

VIA CAPITAL

© 2026 VIA Capital. All rights reserved. Operated by Viacapital Finance. Education only, not investment advice.

Risk DisclosurePrivacyTermsRefundsNISM TermsEditorial PolicyCorrectionsSitemapDesigned by GMT World