FinToolSuite

Capital Gains Tax Calculator

Updated April 18, 2026 · Income · Educational use only ·

Calculate net proceeds after capital gains tax on a sale

Calculate capital gains tax on a sale. See net proceeds after tax and effective return on cost basis. Enter sale price to see gross gain and tax owed.

What this tool does

Enter the sale price, cost basis (what was originally paid), and the applicable capital gains tax rate. The calculator returns the gross gain, tax owed, net sale proceeds after tax, and the effective return on the original cost basis. Useful for stock sales, property sales, crypto transactions, and any asset disposal where capital gains apply.


Enter Values

Formula Used
Net gain after tax
Sale price
Cost basis
Capital gains tax rate as a decimal

Spotted something off?

Calculations, display, or translation — let us know.

Disclaimer

Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.

How capital gains tax works

Capital gains tax applies when an asset is sold for more than its purchase price. The tax is levied on the gain, not the full sale proceeds. Most jurisdictions distinguish between short-term gains (held under a threshold period) and long-term gains, with long-term typically taxed at lower rates. A portfolio growing at 6% annually with a moderate balance invested in a non-tax-advantaged account can accumulate taxable gains faster than many investors expect. This calculator estimates tax owed on a disposal using the rate you supply; the commentary below covers the mechanics and planning considerations common across jurisdictions.

How the gain is calculated

Gain equals sale proceeds minus cost basis (what was originally paid, adjusted for fees and capital improvements). If the gain is positive, capital gains tax is owed at the applicable rate. If the result is negative, that is a capital loss and in most jurisdictions can offset gains in the same or future years. Example: sold at 10,000, purchased at 6,000, gain of 4,000. At a 20 percent capital gains rate, tax owed is 800 — leaving 9,200 net after tax.

Reducing the effective rate legally

Common planning levers used globally include using tax-advantaged wrappers (retirement accounts, savings schemes) that shelter gains from capital gains tax entirely, harvesting losses in the same tax year to offset gains, spreading disposals across tax years to stay within annual exemption bands if the local system offers them, and gifting to a lower-rate spouse before disposal if permitted. Specifics vary by country; check local rules before planning.

What this calculator does not model

This is a simple gain-times-rate estimate. It does not model rate tiers (progressive capital gains schedules used in some countries), depreciation recapture on property, wash-sale rules, holding-period adjustments between short-term and long-term, or cross-border complications. For anything above a basic disposal estimate, consult a qualified tax professional in your jurisdiction.

Example Scenario

Capital gains estimate indicates $16,000.00 net gain after tax on a sale of $50,000.

Inputs

Sale Price:$50,000
Cost Basis (Original Purchase Price):$30,000
Capital Gains Tax Rate:20%
Expected Result$16,000.00

This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.

Sources & Methodology

Methodology

This calculator subtracts cost basis from sale price to get the gross gain, applies the capital gains rate to the gain, and subtracts the tax from the gain to get net gain. Net sale proceeds equal sale price minus tax owed. Effective return divides net gain by cost basis. Results are estimates for illustration purposes only and do not account for state and local tax, wash sale rules, or offsetting losses.

Frequently Asked Questions

What is capital gains tax applied to?
Only the profit — the difference between sale price and cost basis. Selling an asset for 50,000 that was bought for 30,000 generates a 20,000 taxable gain. The cost basis portion is not taxed because that money was already taxed when originally earned and invested.
What is the difference between short-term and long-term gains?
Short-term gains apply to assets held less than a year and are usually taxed at ordinary income rates (often 22-37 percent). Long-term gains apply to assets held longer and are usually taxed at preferential rates (0, 15, or 20 percent depending on income). Holding an asset past the one-year mark can substantially reduce the tax bill.
What counts as cost basis?
The total amount originally paid, including purchase price, commissions, and any capital improvements (for property) or reinvested dividends (for stock). Keeping accurate records of these adjustments is important because they increase the basis and reduce the taxable gain. For stocks with reinvested dividends over many years, the basis can be significantly higher than the original purchase price.
Can losses offset gains?
Yes. Capital losses offset capital gains, reducing the taxable gain amount. Short-term losses offset short-term gains first, then long-term. In, up to 3,000 of net losses can offset ordinary income per year, with any excess carried forward to future years. For filers with a mix of winning and losing investments, netting losses against gains can meaningfully reduce the tax bill.
Does this calculator handle state capital gains tax?
Not separately. State capital gains tax varies widely — some states tax gains as ordinary income (California), while others have no capital gains tax at all (Texas, Florida). For an all-in estimate, combine federal and state rates into the rate input. A California filer at the top federal long-term rate plus California's top rate would use roughly 33 percent combined.

Related Calculators

More Income Calculators

Explore Other Financial Tools