How to use this calculator
- Enter Proceeds ($)。
- Enter Cost basis ($)。
- Enter Tax rate (%)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Gain、Tax、Net proceeds。
What is it
Capital Gains Tax Calculator — From proceeds, cost basis and rate, compute gain, tax and net proceeds — or solve the cost basis. Tax calculators apply rates, deductions and depreciation rules to your figures to estimate tax due or after-tax outcomes. The core question it answers is: Gain, Tax and Net proceeds. Gain = proceeds − cost; tax = gain × rate. E.g. sell 150,000, cost 100,000, 20% → tax 10,000, net 140,000.
Formula
| Variable | Inputs | Unit |
|---|---|---|
proceeds | Proceeds | $ |
costBasis | Cost basis | $ |
taxRate | Tax rate | % |
gain | Gain | $ |
tax | Tax | $ |
netProceeds | Net proceeds | $ |
costBasis + gainproceeds - gainproceeds - costBasisgain * taxRate/100proceeds - taxThe relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Proceeds = 150000 $
- Cost basis = 100000 $
- Tax rate = 20 %
Formula used: proceeds - costBasis
Answer:
- Gain = 50,000 $
- Tax = 10,000 $
- Net proceeds = 140,000 $
Example 1 (default inputs):Suppose Proceeds = 150,000 $, Cost basis = 100,000 $, Tax rate = 20 %; then giving Gain = 50,000 $, Tax = 10,000 $, Net proceeds = 140,000 $.
Example 2 (one input changed):If you change Proceeds to 225,000,giving Gain = 125,000 $, Tax = 25,000 $, Net proceeds = 200,000 $.
Additional information
Assumptions and limitations
- Tax systems are highly local and change often: allowances, brackets, social contributions and surtaxes differ by jurisdiction. These calculators return a mechanical result from your inputs — for filings, rely on your tax authority and a professional.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.