Capital Gains Tax Estimator

-->

Estimate tax and net proceeds from an investment sale

Use this to estimate capital gains tax on a single sale based on your proceeds, cost basis, fees, and optional offsets like losses and exemptions.

-->
-->

Capital gains tax calculator for estimating tax on an investment sale

When you sell an investment for more than you paid, the profit is usually called a capital gain. In many systems, capital gains can be taxed, but the exact rules vary by country, account type, and asset class. This calculator is a practical estimator for one straightforward situation: a single taxable sale where you know your sale proceeds and your original cost basis. It helps you translate that sale into an estimated tax amount and the net cash you keep after tax.

The primary decision this page supports is simple: if you sell this investment now, roughly how much tax should you set aside? That matters when you are planning a withdrawal, rebalancing a portfolio, or deciding whether to sell today or wait. The estimator is intentionally not trying to be a full tax system. It does not model brackets, holding period rules, special rates, surtaxes, or account-specific exemptions. Instead, it uses a single tax rate that you can enter, plus a few common offsets like fees, losses, and a gain allowance.

To use it, enter your total sale proceeds and your total cost basis. Sale proceeds is the total amount you received (before tax). Cost basis is what you paid for the investment, including amounts you want treated as part of the purchase cost. Then refine the estimate with the optional fields: fees that reduce your gain (such as broker commissions), purchase fees you forgot to include in your basis, capital losses you want to offset against this gain, and any tax free gain allowance you expect to apply. Finally, set a capital gains tax rate. If you do not enter one, the calculator defaults to 15% as a generic placeholder rate, which you should replace with a rate that matches your situation.

The calculator produces more than one number because a tax estimate is only useful if it explains what is happening. It shows your raw gain or loss, your taxable gain after offsets and allowance, the estimated tax due, your net proceeds after tax, and your effective tax rate as a share of your sale proceeds. If your sale is a loss, it shows zero tax and highlights the loss amount so you can decide whether it may be useful as an offset elsewhere.

This estimator is best used for planning and budgeting, not filing. If you have multiple sales, partial lots, complex cost basis tracking, or special rules (like wash sales, inflation indexing, or country-specific inclusion rates), you should treat the result as a rough starting point only. The point is to give a fast, defensible estimate that helps you avoid being surprised by a tax bill and helps you compare simple sell scenarios.

Assumptions and how to use this calculator

  • This is for a single taxable sale and uses one flat capital gains tax rate that you provide (or a 15% default if you leave it blank).
  • Cost basis is treated as one total number and the calculator does not allocate lots or handle partial-lot accounting methods.
  • Fees reduce the gain by adding purchase fees to basis and subtracting sale fees from proceeds, which is a common simplifying approach.
  • Loss offsets and gain allowances reduce taxable gain, but taxable gain cannot go below zero in this estimator.
  • This does not include income tax brackets, holding-period rules, surtaxes, rebates, account wrappers, or jurisdiction-specific adjustments.

Common questions

What numbers should I use for sale proceeds and cost basis?

Use totals for the sale you are estimating. Sale proceeds is the total amount you received from selling the investment before tax. Cost basis is what you originally paid for that position, plus any purchase costs you want included. If you have multiple buys at different prices, your platform may show an average cost or a cost basis report. If you are unsure, treat the basis as your best estimate and use the optional fees field to improve it.

What if my sale is a loss instead of a gain?

If your proceeds are less than your adjusted basis (including purchase fees), the result is a loss and the estimated tax is zero in this calculator. The tool still shows the loss amount because it is often the key planning output. Whether that loss can offset other gains depends on your local rules, but the calculator does not apply losses beyond the single sale you entered.

Why is the tax rate a single percent and not a full tax bracket system?

Most people searching for a quick capital gains tax estimate want a number they can set aside today, not a full tax filing engine. A single rate keeps the calculator fast and usable. If your real tax treatment depends on brackets or holding periods, use a rate that matches your expected effective capital gains rate for this sale, or run two quick scenarios using a lower and higher rate to see the range.

Do fees really reduce taxable gains?

In many setups, certain transaction costs can reduce the taxable gain by reducing proceeds or increasing basis. This calculator models that in a simple, transparent way: sale fees reduce proceeds, and purchase fees increase basis. If your fees are already included in your platform’s cost basis, leave purchase fees at zero so you do not double-count them.

What is the gain allowance or exemption field for?

Some tax systems allow a portion of capital gains to be tax free, either as an annual exemption or a threshold. If you expect such an allowance to apply to this sale, enter it here. If you do not know, leave it at zero. The calculator subtracts the allowance after losses and fees, then floors taxable gain at zero so you never get a negative taxable gain result.

Last updated: 2025-12-29
-->