Capital Gains Tax Calculator – Find Your Tax Owed

Optimización de motores de búsqueda
  1. Home
  2. Calculators
  3. Capital Gains Calculator
Share: Report

Capital Gains Calculator

100% free · Runs 100% in your browser · Nothing is uploaded · No signup needed

Did you know? Buying 100 units at $50 and selling at $80 after 18 months is a long-term gain of $3,000 — taxed at 15% that is $450, leaving $7,550 after tax. Held for 12 months or less, the same gain would be short-term and taxed at your higher rate. The result updates live as you type.

Your numbers are processed locally in your browser and are never sent to any server.

Acerca de Capital Gains Calculator

What Is a Capital Gains Calculator?

A capital gains calculator works out how much tax you owe when you sell an asset for more than you paid for it. When you sell shares, property, crypto, or another investment at a profit, that profit is called a capital gain, and in most countries part of it is taxed. Enter your buy price, sell price, quantity, and holding period, and the calculator shows your total gain, the taxable gain, and the tax you owe at your rate.

This is different from simply knowing your profit. Many investors check their profit after a sale and feel happy, then get a surprise at tax time when a share of that profit goes to the tax authority. Knowing the tax in advance helps you plan. You can decide whether to sell now or wait, set money aside for the tax bill, and compare the after-tax result of one investment with another. A clear tax number turns a guess into a decision.

How Capital Gains Tax Works

The tax is charged on the gain, not on the full sale price. If you bought an asset for $5,000 and sold it for $8,000, your gain is $3,000, and the tax applies to that $3,000. Some costs can reduce the taxable gain, such as broker fees, purchase costs, and selling costs, depending on the tax rules where you live. The calculator takes your buy and sell figures and applies the tax rate you enter to find the amount owed.

Tax rates are not the same everywhere, and they often depend on how long you held the asset. Many tax systems charge a lower rate on gains from assets held for a long time and a higher rate on quick sales. The calculator lets you choose short-term or long-term treatment, so the result matches the way your gain will actually be taxed.

  • Capital gain: sell price minus buy price, multiplied by the quantity sold.
  • Short-term gain: a gain on an asset held for a short period, usually taxed at your normal income tax rate.
  • Long-term gain: a gain on an asset held for a longer period, often taxed at a lower rate.
  • Tax owed: the taxable gain multiplied by the tax rate that applies to you.
  • After-tax profit: your gain minus the tax owed, which is the money you actually keep.

Short-Term vs Long-Term Capital Gains

The holding period is the time between buying and selling, and it is one of the most important details in capital gains tax. In many countries, including the United States, an asset held for more than one year counts as a long-term gain and is taxed at a lower rate, often 0%, 15%, or 20% depending on your income. An asset sold within a year is a short-term gain and is taxed as ordinary income, which can mean a rate of 22%, 24%, or even higher.

That difference can be worth real money. On a $3,000 gain, a 15% long-term rate means $450 of tax, while a 22% short-term rate means $660. Waiting a few extra weeks to cross the one-year line could save $210 on the same sale. The calculator shows both outcomes so you can compare them before you sell. This is why many investors check the holding period carefully and plan sales around it, especially near the end of the tax year.

How to Use This Capital Gains Calculator

Enter the price you paid per unit and the price you sold it for, then add the quantity. Choose whether the gain is short-term or long-term, or enter the holding period and let the calculator classify it. Finally, enter the tax rate that applies to you. The calculator instantly shows the total proceeds, the total cost, the capital gain, the tax owed, and your after-tax profit.

If you do not know your exact tax rate, check your country tax authority guidance or ask a tax adviser, because rates depend on your income and where you live. Use the calculator to test different rates as well: try the short-term rate and the long-term rate side by side to see how much the timing of your sale is worth.

What to Enter

  • Buy price: the price you paid for one unit, share, or coin.
  • Sell price: the price you received for one unit when you sold.
  • Quantity: how many units, shares, or coins you sold.
  • Holding period: how long you owned the asset before selling.
  • Tax rate: the percentage that applies to your gain.

Worked Example: Selling 100 Shares

Suppose you bought 100 shares at $50 each, so your total cost was $5,000. Eighteen months later you sell all 100 shares at $80 each, so you receive $8,000. Your capital gain is $8,000 minus $5,000, which is $3,000. Because you held the shares for more than a year, the gain is long-term, and at a 15% long-term rate your tax is $3,000 times 15%, which is $450. Your after-tax profit is $3,000 minus $450, which is $2,550.

Now suppose you had sold the same shares after only six months. The gain is still $3,000, but now it is short-term and taxed at your income tax rate of 22%. Your tax would be $3,000 times 22%, which is $660, and your after-tax profit would be $2,340. The sale price is the same, the gain is the same, yet waiting a year longer leaves you $210 better off. That is the power of the holding period, and it is exactly what this calculator makes visible.

If you want the profit figure before tax, our stock profit calculator shows your net profit after fees with no tax applied. For crypto sales, the crypto profit calculator works out the gain on your coins. And to plan your whole year, the income tax calculator estimates your annual income tax. Together they give you the full picture of a sale: profit, tax, and what you keep.

How to Reduce Your Capital Gains Tax

  • Hold investments for longer than a year where possible to qualify for the lower long-term rate.
  • Sell losing investments in the same year to offset gains, a strategy known as tax-loss harvesting.
  • Spread large sales across two tax years so a single year income does not push you into a higher rate.
  • Keep records of every buy and sell, including fees, so your cost basis is accurate.
  • Use tax-advantaged accounts where your country offers them, so gains are taxed less or not at all.
  • Check whether an annual tax-free allowance covers part of your gain before you sell.

Running an investment blog or a small finance website needs hosting you can rely on. FistHost shared hosting starts from $0.99/month and includes a free domain with the annual plan, so you can publish your market research, track your portfolio, or share your investing journey online for less than a dollar a month. Fast servers and free SSL are included.

Frequently Asked Questions

What is a capital gain?

A capital gain is the profit you make when you sell an asset for more than you paid for it. If you bought shares for $5,000 and sold them for $8,000, your capital gain is $3,000. If you sell for less than you paid, that is a capital loss.

Is capital gains tax the same as income tax?

Not usually. Short-term gains are often taxed like ordinary income, but long-term gains usually have their own lower rates. The exact rules depend on your country, so check your local tax authority or ask a tax adviser for the rates that apply to you.

How long must I hold an asset for the long-term rate?

In many countries the line is one year: hold for more than a year and the gain is long-term. Other countries use different periods or have no separate long-term rate at all. Enter your holding period into the calculator and use the rate that matches your local rules.

Do I pay capital gains tax on crypto?

In most countries, yes. Selling crypto for a profit is usually a taxable event in the same way as selling shares. The calculator works for crypto too: enter your buy and sell prices per coin and the number of coins sold.

Good investing is about knowing your numbers before you act, and the same is true of your website. FistHost shared hosting from $0.99/month, with a free domain with the annual plan, gives your finance blog or portfolio site a fast, secure home, so you can focus on your investments while your website takes care of itself. Get started today in just a few minutes.

Check the tax before you sell, not after. Enter your figures, compare short-term and long-term results, set the tax money aside, and keep the after-tax profit in view. A sale that looks good before tax can look very different once the tax is counted, and this calculator makes that difference clear in seconds.

User Reviews

No reviews yet. Be the first to review this tool!

Write a Review

★★★★★

Captcha

Reviews are protected by captcha and moderated before they appear.


Free Domain

Your Domain Is On Us

Free domain with hosting plans
Code: freedomain

Get My Domain
Deal More Than Just Hosting Free domain, easy control panel · and room to grow Grab the Deal