📈 Capital Gains Tax Calculator

Calculate capital gains tax for India (equity STCG/LTCG) or the United States (short vs long-term brackets) — holding period, classification, tax rate, and net proceeds after tax. Free, no signup.

📈 Investment Details
Reflects post-July-2024 Budget rules for listed equity and equity mutual funds. Debt funds, real estate, and gold follow different rules not covered here.
📊 Results
Holding Period
Gain Amount
Exemption Applied
Taxable Gain
Tax Rate
Tax Payable
Net Proceeds After Tax
Purchase Value
Sale Value
Net Proceeds vs Tax
Estimates for planning purposes only — this is NOT tax advice. Tax rules and figures change annually and real filings involve nuances (indexation, exact bracket stacking, acquisition costs) this tool simplifies away. Consult a tax professional or the IRS.gov / Income Tax India e-filing portal before making filing decisions.
📈

Enter Purchase & Sale Details

Choose a country, enter your purchase/sale prices and dates, to estimate your capital gains tax.

Guide

What Is the Capital Gains Tax Calculator?

Last updated: July 2026 · Reviewed by the NeftCal editorial team

A capital gains tax calculator estimates the tax owed when you sell an investment for a profit — before you actually sell, so the decision to hold or sell is an informed one. NeftCal's calculator supports two countries in one tool: India, using the post-July-2024 Budget rules for listed equity and equity mutual funds, and the United States, using 2025 ordinary income and long-term capital gains brackets. Enter a purchase price, sale price, quantity, and two dates, and it automatically classifies your holding as short-term or long-term and applies the matching rate.

Holding period is the single biggest lever in capital gains tax planning. Both countries reward patience with a lower rate — India applies a flat 20% to short-term equity gains but only 12.5% (after a ₹1,25,000 annual exemption) to long-term gains; the US taxes short-term gains as ordinary income but can tax long-term gains as low as 0%. This short term capital gains calculator and long term capital gains calculator combined into one tool shows exactly how much that distinction is worth in your specific scenario, using your real numbers rather than a general rule of thumb.

Who Should Use This Calculator

This tool is built for individual investors and traders in India or the US who are deciding when to sell a stock or equity mutual fund unit, want to sanity-check a broker's or accountant's tax estimate, or are planning year-end trades around a tax-bracket threshold. It's equally useful for a quick "what would I owe if I sold today" check and for comparing two different sale dates to see the tax impact of waiting.

Why It Matters for Financial Planning

Capital gains tax can take a meaningful bite out of an otherwise strong investment return, and the difference between a short-term and long-term rate is often large enough to change whether selling now or waiting a few more weeks makes financial sense. In the LTCG calculator India mode, missing the 12-month mark by even a few days moves your entire gain from a 20% flat rate to a 12.5% rate with an exemption — a difference worth calculating precisely rather than guessing. In the US mode, stacking a gain on top of your other income can push part of it into a higher LTCG bracket, which is exactly the kind of interaction a manual estimate tends to get wrong.

Common Scenarios

  • Checking whether selling now (short-term) or waiting a few weeks (long-term) meaningfully changes your India LTCG calculator result
  • Estimating US federal tax on selling appreciated stock before year-end, using this year's Income Tax Calculator figure as your taxable income input
  • Comparing net proceeds after tax across two possible sale dates for the same equity mutual fund holding
  • Reconciling a broker-provided capital gains estimate against an independent calculation
  • Planning a year of business asset sales alongside GST obligations using the GST Calculator for the transaction side and this tool for the tax side

Tips for Accurate Results

  • Enter exact purchase and sale dates — the classification flips entirely once you cross the 365-day threshold, and a single day can matter
  • For US mode, enter taxable income excluding this specific gain — the calculator adds the gain on top itself to determine bracket stacking
  • Remember the India ₹1,25,000 LTCG exemption applies once per financial year across all your long-term equity gains combined, not per transaction
  • Use your real purchase price including brokerage and acquisition costs where possible — this simplified tool uses price-per-unit only
  • Treat every result as a planning estimate, not a filing-ready number — always confirm with a tax professional before you file
Formula

How Capital Gains Tax Is Calculated

Rules differ sharply by country and by how long you held the asset — these are the exact rates this calculator applies

India — Equity / Equity Mutual Funds
Short-Term (≤ 12 months): Tax = Gain × 20%
Long-Term (> 12 months): Taxable Gain = max(0, Gain − ₹1,25,000); Tax = Taxable Gain × 12.5%

United States
Short-Term (≤ 1 year): Tax ≈ Gain × your ordinary marginal tax rate (2025 brackets, approximation)
Long-Term (> 1 year): Tax = Gain × applicable LTCG rate (0% / 15% / 20%, based on Taxable Income + Gain, 2025 thresholds)
🇮🇳

India LTCG Exemption

Long-term equity gains up to ₹1,25,000 per financial year are entirely tax-free; only the amount above that threshold is taxed at 12.5%, reflecting the post-July-2024 Budget 2024 changes used by this calculator.

🇺🇸

US LTCG Brackets

Long-term gains can be taxed at 0% if your total income (including the gain) stays under $48,350 (Single) / $96,700 (MFJ) for 2025 — rising to 15% up to $533,400 / $600,050, and 20% above that.

Holding Period Is Everything

Crossing from short-term to long-term status — 365 days in this calculator's logic for both countries — is often the single biggest lever you control to reduce capital gains tax on a sale.

⚙️ Why This Formula Works

Both tax systems use a two-step structure: first classify the gain by holding period, then apply the rate schedule for that classification. India's version is a flat rate with one exemption threshold, which keeps the math simple. The US version is bracket-based — the calculator finds your marginal ordinary rate for short-term gains, or looks up which of three LTCG brackets your total income (existing taxable income plus this gain) falls into for long-term gains. This mirrors how the IRS actually stacks capital gains on top of ordinary income when assessing which rate applies.

🎯 When to Use Each Mode

  • India mode — selling listed equity shares or equity mutual fund units held in an Indian brokerage or demat account
  • US mode, short-term — any US capital asset sold within one year of purchase
  • US mode, long-term — any US capital asset held for more than one year before sale

📋 Assumptions

  • India mode assumes listed equity or equity mutual funds only — not debt funds, real estate, or gold
  • Cost basis is your entered purchase price per unit only, with no added acquisition costs
  • US short-term tax uses a single marginal-rate approximation, not full bracket stacking of the gain itself
  • This is a single-transaction calculator — it does not aggregate multiple gains or losses across a year

⚠️ Limitations of the Formula

  • Does not apply indexation for non-equity Indian assets, which use different long-term rules
  • Excludes India's health & education cess (4%) and any income surcharge
  • Excludes US state-level capital gains tax entirely — federal only
  • Does not model capital loss offsetting or carry-forward — use the Income Tax Calculator alongside this tool for a fuller picture
Walkthrough

Step-by-Step: How to Use the Capital Gains Tax Calculator

From transaction details to net proceeds in under a minute

Choose your country

Select India or United States. This determines which rate schedule, exemption rules, and input fields the calculator uses — get this right first.

Enter purchase price, sale price, and quantity

Prices are entered per unit (per share or fund unit); quantity multiplies them into total purchase and sale value, mirroring how brokerage statements report cost.

Enter your purchase and sale dates

The calculator counts the exact number of days between the two dates and classifies your gain as short-term or long-term based on whether it exceeds 365 days.

For US mode, add filing status and taxable income

Select Single or Married Filing Jointly and enter your taxable income excluding this gain — the calculator adds the gain on top to determine which bracket applies.

Review your results

See your holding period, short-term/long-term classification, exemption applied, taxable gain, tax rate, tax payable, and net proceeds after tax, plus a visual breakdown chart.

Example

Worked Example

An India long-term equity gain, calculated step by step

Scenario

Suppose you bought 1 unit of an equity mutual fund for ₹1,00,000 on 15 January 2024, and sold it for ₹1,50,000 on 16 July 2026 — a holding period of well over 12 months.

Purchase Price₹1,00,000
Sale Price₹1,50,000
Quantity1
Purchase Date15 Jan 2024
Sale Date16 Jul 2026
Holding Period~915 days
Step 1 — Gain: Sale Value − Purchase Value = ₹1,50,000 − ₹1,00,000 = ₹50,000.
Step 2 — Classification: 915 days > 365 days, so this is a Long-Term gain, eligible for the ₹1,25,000 annual exemption.
Step 3 — Exemption & taxable gain: Since the ₹50,000 gain is entirely below the ₹1,25,000 exemption, Exemption Applied = ₹50,000 and Taxable Gain = max(0, 50,000 − 1,25,000) = ₹0.
Step 4 — Tax payable: Taxable Gain × 12.5% = ₹0 × 0.125 = ₹0. The entire gain is tax-free because it falls within the annual exemption.
Gain Amount
₹50,000
Tax Payable
₹0
Net Proceeds
₹1,50,000

Explanation: Because this gain is long-term and under the ₹1,25,000 exemption, no tax is owed — the full ₹1,50,000 sale value is retained. If the same sale had happened before the 12-month mark, it would instead be classified short-term, and the entire ₹50,000 gain would be taxed at a flat 20% — a tax bill of ₹10,000 purely from selling a few months earlier.

US comparison: For a US long-term example, a $5,000 gain (Single filer, $90,000 other taxable income) pushes total income to $95,000 — under the $48,350 0% threshold? No — since $95,000 exceeds $48,350, the gain falls in the 15% LTCG bracket, giving a tax of $5,000 × 15% = $750 and net proceeds of sale value minus $750.

Interpretation

Understanding Your Results

What your effective tax rate on the gain actually tells you

A useful way to read your result is the effective tax rate on the gain — tax payable divided by gain amount. It's not an official benchmark in either country, but it's a fast way to compare scenarios side by side.

Effective Rate on GainGeneral ReadTypical Context
0%Fully shelteredIndia: gain within the ₹1,25,000 exemption. US: gain stays in the 0% LTCG bracket
10% – 15%Long-term rate appliedIndia LTCG above exemption (12.5%), or US LTCG at the 15% bracket
20% or higherShort-term or top-bracket rateIndia STCG (flat 20%), or US short-term gains taxed at a high ordinary/LTCG bracket

For India users: a 0% effective rate usually means your long-term gain fits inside the annual exemption — valuable to know if you're deciding whether to realize more gains this financial year before it's used up elsewhere. A rate at or near 20% signals a short-term sale; waiting past the 12-month mark, if practical, is often the single biggest tax-saving lever available.

For US users: a 0% or 15% effective rate reflects the LTCG brackets working in your favor at your income level; the difference between the 15% and 20% LTCG brackets, or between LTCG and ordinary rates for a short-term sale, can be substantial on a large gain — this is exactly why the calculator asks for your taxable income, not just the gain.

Risk considerations: this calculator prices a single transaction using simplified assumptions. It doesn't model loss offsetting, indexation for non-equity Indian assets, exact US bracket stacking across all income types, state tax, or India's cess and surcharge. Treat the output as a planning estimate to inform — not replace — your tax filing.

ℹ️

This tool provides general estimates for educational and planning purposes only and is not tax advice. It does not account for every rule that applies to your specific situation, including loss offsetting, indexation, cess, surcharge, or state taxes. Confirm your actual capital gains tax liability with a licensed tax professional, the Income Tax Department of India, or the IRS before filing.

Use Cases

Practical Use Cases for the Capital Gains Tax Calculator

Where this dual-country calculator earns its keep

📅

Sell-now-vs-wait decisions

Compare the tax impact of selling today versus waiting until you cross the long-term threshold.

🧾

Year-end tax planning

Estimate your tax bill before realizing a gain in the final weeks of the financial or calendar year.

📊

Broker estimate cross-check

Independently verify a capital gains figure your broker, advisor, or software has quoted.

🇮🇳

Indian equity/MF sales

Work out STCG or LTCG on listed shares and equity mutual fund units under post-2024 Budget rules.

🇺🇸

US stock or fund sales

Estimate federal tax on a US capital asset sale using 2025 ordinary and LTCG brackets.

💰

Net proceeds planning

See what you'll actually walk away with after tax, not just the headline sale value.

🎯

Exemption-threshold planning

Check how close a long-term Indian equity gain is to using up the ₹1,25,000 annual exemption.

📈

Bracket-stacking checks

See whether adding a US long-term gain to your income pushes part of it into a higher LTCG bracket.

🏦

Rebalancing cost estimate

Factor in the tax cost of selling a winning position before rebalancing a portfolio.

🎓

Learning the mechanics

See holding-period classification and bracket math play out on real numbers instead of reading rules in the abstract.

Pros & Cons

Advantages and Limitations

What this capital gains tax calculator does well, and where it can't replace professional advice

✅ Advantages

  • Covers both India (equity/equity MF) and US (general capital assets) in a single tool
  • Automatically classifies short-term vs long-term from your actual purchase and sale dates
  • Applies India's ₹1,25,000 LTCG exemption and 12.5%/20% rates per post-2024 Budget rules
  • Applies 2025 US ordinary and LTCG brackets, including bracket stacking with existing income
  • Free, instant, and requires no signup or personal information
  • Runs entirely in your browser — your financial data is never sent to a server
  • Shows net proceeds after tax, not just the tax figure in isolation
  • Flags capital losses and clarifies no tax is due, rather than showing a confusing negative number
  • Visual doughnut chart of net proceeds vs. tax vs. exemption for quick interpretation
  • Downloadable plain-text summary of your inputs and results
  • Quantity field lets you model any lot size without manual multiplication
  • Mobile-friendly, fast-loading, no ads blocking the calculator itself

⚠️ Limitations

  • Single-transaction only — doesn't aggregate multiple gains and losses across a financial year
  • Doesn't model capital loss offsetting or carry-forward in either country
  • India mode is calibrated for listed equity/equity mutual funds only, not debt funds, real estate, gold, or crypto
  • Doesn't apply indexation benefits available for certain non-equity Indian long-term assets
  • Excludes India's health & education cess (4%) and any income-based surcharge
  • Excludes US state-level capital gains tax — federal estimate only
  • US short-term tax uses a simplified marginal-rate approximation rather than full income stacking
  • Cost basis is purchase price only — doesn't add brokerage fees or other acquisition costs automatically
  • Not a substitute for a licensed tax professional or official filing software
Reference

India vs. United States: Capital Gains Rules Compared

The exact thresholds and rates this calculator applies to each country

AspectIndia (Equity / Equity MF)United States
Short-term threshold12 months or less1 year or less
Short-term rateFlat 20%Ordinary marginal rate (10%–37%, 2025)
Long-term thresholdMore than 12 monthsMore than 1 year
Long-term rate12.5% above exemption0% / 15% / 20% (2025 brackets)
Annual exemption₹1,25,000 (long-term only)None — 0% bracket instead
Not included here4% health & education cess, surchargeState income tax

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Selling a day or two before the 12-month (India) or 1-year (US) mark and paying a much higher short-term rate unnecessarily
  • Forgetting the India LTCG exemption is per financial year across all long-term equity gains, not per transaction
  • Entering monthly or other non-annual taxable income for the US taxable income field
  • Assuming this India-equity calculator applies to debt funds, gold, or real estate, which follow different rules
  • Ignoring cess, surcharge, or state tax and treating the calculator's output as your final liability
  • Not accounting for brokerage and acquisition costs in the purchase price, overstating the taxable gain

💡 Expert Tips & Best Practices

  • If you're close to the long-term threshold, check whether waiting a few weeks changes your rate materially
  • Track how much of your ₹1,25,000 India exemption you've already used this financial year before assuming it's fully available
  • For US sales, enter your best estimate of full-year taxable income, not just year-to-date, for an accurate bracket read
  • Re-run the calculation with a slightly different sale date to see how sensitive your tax bill is to timing
  • Always add cess/surcharge (India) or state tax (US) manually for a complete total liability estimate
FAQ

Frequently Asked Questions

Common questions about capital gains tax

What are the short-term vs long-term holding period thresholds?
The threshold differs by country. In India, listed equity and equity mutual funds held for 12 months or less are short-term; held for more than 12 months, they are long-term. In the United States, any asset held for one year or less is short-term; held for more than one year, it is long-term.
Why does holding period matter so much for taxes?
Both countries offer preferential (lower) tax rates on long-term gains compared to short-term gains, specifically to encourage long-term investing over frequent trading. In the US, long-term rates can be as low as 0%, while short-term gains are taxed at ordinary income rates. In India, long-term equity gains get a lower flat rate plus an annual exemption that short-term gains don't receive.
What counts as the cost basis?
The cost basis is generally your purchase price plus any brokerage fees, commissions, or other acquisition costs. This calculator uses a simplified purchase price only — for an actual tax filing, make sure to include all acquisition costs in your cost basis, as they reduce your taxable gain.
Can capital losses offset capital gains?
Yes — both India and the US allow capital losses to offset capital gains (tax-loss harvesting), with specific rules on how short-term and long-term losses can be set off and carried forward. This calculator focuses on a single gain scenario and does not model loss offsetting, which is out of scope for this simplified tool.
Is this tool exact enough to file taxes with?
No — treat it as a planning estimate only. Real filings involve nuances this tool simplifies away, such as indexation benefits for non-equity assets in India, exact bracket stacking with all other income sources in the US, acquisition cost adjustments, and loss offsetting. Consult a tax professional or official filing software for actual returns.
Does this calculator include state taxes (US) or cess and surcharge (India)?
No. This tool computes central/federal capital gains tax only — it excludes US state income tax and India's health & education cess (4%) or any surcharge that applies at higher income levels. Add those separately for a complete estimate of your total tax liability.
How is the holding period counted — calendar months or exact days?
The calculator counts the exact number of days between your purchase and sale dates, then converts to an approximate month figure for display (days ÷ 30.44). The short-term/long-term classification itself is based on whether the total days exceed 365, not on calendar month boundaries.
What happens if I enter a sale price lower than the purchase price?
The calculator detects a capital loss and shows a note that no tax is due on this transaction. It does not calculate loss carry-forward or offset amounts — those require tracking loss history across tax years, which is outside the scope of this single-transaction tool.
Can I use this calculator for cryptocurrency, real estate, or gold?
This tool is calibrated specifically for listed equity and equity mutual funds in India, and general capital assets in the US. Cryptocurrency, real estate, debt mutual funds, and gold follow different holding-period thresholds and tax rates (including indexation in India) that this calculator does not model.
What does the 0% LTCG bracket in the US mean?
If your total taxable income, including the long-term gain, stays below $48,350 (Single) or $96,700 (Married Filing Jointly) for 2025, the portion of your long-term gain in that bracket is taxed at 0% federal capital gains tax — shown in the calculator as the "exemption applied" or "0%-bracket portion."
Why does quantity matter separately from price per unit?
Purchase Price and Sale Price are entered per unit (per share or per fund unit), and Quantity multiplies them into total Purchase Value and Sale Value. This mirrors how brokerage statements report per-unit cost and lets you model gains on any lot size without recalculating totals by hand.
Does the calculator account for multiple transactions or a full financial year of trading?
No — this is a single-transaction calculator. It computes the gain, classification, and tax for one purchase-and-sale pair at a time. If you have multiple gains and losses in a year, especially in India where the ₹1,25,000 LTCG exemption applies once per financial year across all long-term equity gains combined, you'll need to aggregate them manually or consult a tax professional.
Does the ₹1,25,000 LTCG exemption apply automatically, and does it reset each year?
Yes — the exemption applies automatically once a gain is classified long-term, and it resets each financial year. But it is a per-financial-year limit across all your long-term equity gains combined, not a per-transaction allowance, so if you've already used it against another sale this year, less (or none) may be available for this one.
What is indexation, and why doesn't this calculator use it?
Indexation adjusts your purchase cost for inflation using a government-published cost inflation index, which reduces your taxable gain. It applies to certain non-equity long-term assets in India (such as debt funds, real estate, and gold under specific rules), not to listed equity and equity mutual funds. Since this calculator is calibrated for equity only, it does not apply indexation.
How does the calculator choose the US LTCG bracket — my income alone or income plus gain?
Income plus gain. The calculator adds your entered taxable income to the long-term gain to find your total income, then looks up which of the 0%/15%/20% brackets that total falls into. This mirrors how the IRS actually stacks long-term capital gains on top of your ordinary income for bracket purposes.
Learn More

Authoritative Resources on Capital Gains Tax

Official guidance to complement this calculator — not a substitute for licensed tax advice

Related Calculators

Other investment and tax tools