Stock Calculators

Free Tax on Capital Gains Calculator

Free Tax on Capital Gains Calculator

Quickly Estimate Taxes on Your Investment Profits

The Tax on Capital Gains Calculator helps investors estimate how much tax they need to pay on profits from stocks, mutual funds, or other assets. By entering your purchase price, selling price, and holding period, this tool calculates the taxable amount and applies the correct tax rate. It is useful for both short-term and long-term investments, giving you a clear picture of what you keep after taxes. With accurate tax estimates, you can plan your trades better, avoid surprises at tax time, and improve your overall financial planning. Whether you are a casual investor or a frequent trader, this calculator makes it easy to understand the impact of taxes on your gains and helps you manage your investments more wisely.

Tax on Capital Gains Calculator

Estimate the tax you'll owe on your investment profits.

Calculation Results

Tax Due

$0.00

Capital Gain / Loss

$0.00

Net Profit (After Tax)

$0.00

Tax on Capital Gains Calculator Guide

The Formulas We Use

  • Total Cost Basis = Buy Price × Quantity + Fees
  • Proceeds = Sell Price × Quantity − Sell Fees
  • Capital Gain = Proceeds − Cost Basis
  • Taxable Gain = max(Capital Gain, 0) (losses are 0 or used separately)
  • Tax Due = Taxable Gain × Tax Rate%
  • Adjust for holding period:
    Tax Rate = Short-Term Rate if held < 1 year
    Tax Rate = Long-Term Rate if held ≥ 1 year

Example Calculation (USD)

Buy $100.00
Sell $150.00
Qty 200
Buy Fees $20, Sell Fees $20
Tax Rate 15% (Long-Term)
  • Cost Basis = (100 × 200) + 20 = $20,020
  • Proceeds = (150 × 200) − 20 = $29,980
  • Capital Gain = 29,980 − 20,020 = $9,960
  • Tax Due = 9,960 × 15% = $1,494.00
  • Net After Tax = 9,960 − 1,494 = $8,466.00

How to Use This Calculator

  1. Enter Buy Price, Sell Price, Quantity, and Fees.
  2. Set holding period (< 1 year or ≥ 1 year) to pick correct tax rate.
  3. Enter your Short-Term and Long-Term Tax Rates.
  4. Get Tax Due and Net After-Tax Gain.

Capital Gains Tips

  • Track holding periods to qualify for lower long-term rates.
  • Offset gains with losses (check local tax laws for limits).
  • Factor in fees — both buy and sell fees reduce taxable gain.
  • Keep records of all trades, splits, and reinvestments.
  • Tax rules vary by country; consult a tax professional for specifics.

This is educational content, not tax advice.

Benefits of Using
Tax on Capital Gains Calculator

Accurate Tax Calculation

Determine tax liability on stock gains easily and accurately.

Compliance Made Easy

Helps you calculate taxes as per local laws for smooth compliance.

Different Gains Types

Supports short-term and long-term capital gains calculations.

Beginner-Friendly

Easy inputs for anyone to calculate taxes on their stock profits.

Supports Global Markets

Works with stock exchanges and tax rules from different countries.

Secure & Private

Your data is processed locally; no sensitive information is stored.

Frequently Asked Questions

What is capital gains tax?

It is the tax you pay on profits made from selling stocks or other investments.

How do I calculate my tax?

Enter purchase price, sale price, quantity, and applicable tax rate; the calculator outputs tax liability.

Does it support short term and long term gains?

Yes, you can select the type of capital gains for accurate calculations.

Is it suitable for beginners?

Yes, simple inputs and instant results make it beginner friendly.

Can I use it for stocks in different countries?

Yes, just select the tax rate applicable to your country.

Is my data secure?

Yes. All calculations are done locally, and no data is stored or shared.