Capital Gains Tax Calculator

Estimate taxable gain and tax from entered basis, proceeds, adjustments and rate.

Your numbers

Live

Instant result. Updates while you type.

Your result

Updated now
—

Enter your numbers.

Capital Gains Tax Calculator: method, checked example and practical limits

Estimate taxable gain and tax from entered basis, proceeds, adjustments and rate. The model separates gain arithmetic from a rate assumption and does not calculate a complete jurisdiction-specific tax return.

Editorial checkTopic-specific equation, input definitions, example arithmetic, primary references and limitations checked. Editorial and software review; not professional certification.Updated October 7, 2026Read the publication standard

Inputs used by this calculator

Capital Gains Tax Calculator uses the fields below. The starting values reproduce the page example; replace them with values from the same units and time period before using the result.

Field-by-field reference for Capital Gains Tax Calculator.
InputStarting exampleAccepted valueHow it is used
Purchase basis50,0000 to 1000000000000000Supplies the purchase basis quantity used by the published equation or result breakdown.
Capitalized purchase costs1,0000 to 1000000000000Supplies the capitalized purchase costs quantity used by the published equation or result breakdown.
Sale proceeds80,0000 to 1000000000000000Supplies the sale proceeds quantity used by the published equation or result breakdown.
Selling costs2,0000 to 1000000000000Supplies the selling costs quantity used by the published equation or result breakdown.
Applicable capital losses00 to 1000000000000000Supplies the applicable capital losses quantity used by the published equation or result breakdown.
Entered tax rate (%)150 to 100Supplies the entered tax rate (%) quantity used by the published equation or result breakdown.
Capital Gains Tax Calculator reasoning pathSubtract selling charges, adjusted basis and applicable entered losses from proceeds, then apply the supplied illustrative tax rate. The model separates gain arithmetic from a rate assumption and does not calculate a complete jurisdiction-specific tax return.1Stated inputs2Defined relationship3Interpreted result
Capital Gains Tax Calculator reasoning pathSubtract selling charges, adjusted basis and applicable entered losses from proceeds, then apply the supplied illustrative tax rate. The model separates gain arithmetic from a rate assumption and does not calculate a complete jurisdiction-specific tax return.

Inputs and measurement conventions

The quantities used on this page are Purchase basis, Capitalized purchase costs, Sale proceeds, Selling costs, Applicable capital losses, Entered tax rate (%). Start with values for the same situation and read the units attached to each field. The field reference below shows supported choices and numerical limits.

A statutory capital-gains bracket may depend on other income and holding period. Depreciation recapture and loss limits are excluded.

Method and equation

Subtract selling charges, adjusted basis and applicable entered losses from proceeds, then apply the supplied illustrative tax rate.

Capital Gains Tax Calculator uses the following stated relationship: net gain = proceeds − selling costs − adjusted basis − applicable losses. Its assumptions determine which question the answer can resolve.

net gain = proceeds − selling costs − adjusted basis − applicable losses

Worked calculation with the starting values

Purchase basis: 50000; Capitalized purchase costs: 1000; Sale proceeds: 80000; Selling costs: 2000; Applicable capital losses: 0; Entered tax rate (%): 15. These starting values give 4,050 estimated capital gains tax. The calculation breakdown is Adjusted basis: 51,000; Net proceeds: 78,000; Gain before losses: 27,000; Taxable gain: 27,000.

$80,000 proceeds less $2,000 selling costs and $51,000 basis gives $27,000 gain before losses.

Reading the answer

The model separates gain arithmetic from a rate assumption and does not calculate a complete jurisdiction-specific tax return.

Adjusted basis: 51,000; Net proceeds: 78,000; Gain before losses: 27,000; Taxable gain: 27,000. These intermediate quantities make the stated Capital Gains Tax Calculator model inspectable; they should be read together with the main answer rather than treated as independent guarantees.

Common errors and model boundaries

A statutory capital-gains bracket may depend on other income and holding period. Depreciation recapture and loss limits are excluded.

Holding period, jurisdiction, brackets, exclusions, depreciation recapture and loss limits require current tax rules.

Independent verification and next decision

Not always. Basis may need adjustments for improvements, splits, reinvestments or prior depreciation before calculating gain.

For the Capital Gains Tax Calculator method, compare net gain = proceeds − selling costs − adjusted basis − applicable losses with the starting inputs and the calculation table. The linked IRS Topic No. 409: capital gains and losses and Consumer Financial Protection Bureau: consumer tools and Investor.gov (SEC): compound interest calculator references identify the relevant definitions, conventions or domain limitations. Retain intermediate precision when comparing a manually worked answer.

Capital Gains Tax Calculator worked-example ledger

Illustrative starting values and resulting quantities; editable assumptions are not live data or personal recommendations.
QuantityExample valueRole
Purchase basis50000Entered assumption
Capitalized purchase costs1000Entered assumption
Sale proceeds80000Entered assumption
Selling costs2000Entered assumption
Applicable capital losses0Entered assumption
Entered tax rate (%)15Entered assumption
Main answer4,050 estimated capital gains taxCalculated from the starting inputs
Adjusted basis51,000Intermediate or contextual output
Net proceeds78,000Intermediate or contextual output
Gain before losses27,000Intermediate or contextual output
Taxable gain27,000Intermediate or contextual output

Frequently asked questions

Can I use purchase price alone as basis?

Not always. Basis may need adjustments for improvements, splits, reinvestments or prior depreciation before calculating gain.

Which relationship does the Capital Gains Tax Calculator use?

Subtract selling charges, adjusted basis and applicable entered losses from proceeds, then apply the supplied illustrative tax rate. The displayed relationship is net gain = proceeds − selling costs − adjusted basis − applicable losses.

What do the starting values produce in the Capital Gains Tax Calculator?

Purchase basis: 50000; Capitalized purchase costs: 1000; Sale proceeds: 80000; Selling costs: 2000; Applicable capital losses: 0; Entered tax rate (%): 15. These starting values give 4,050 estimated capital gains tax. The calculation breakdown is Adjusted basis: 51,000; Net proceeds: 78,000; Gain before losses: 27,000; Taxable gain: 27,000.

How should I interpret this Capital Gains Tax Calculator answer?

The model separates gain arithmetic from a rate assumption and does not calculate a complete jurisdiction-specific tax return.

Which input mistake most affects the Capital Gains Tax Calculator?

A statutory capital-gains bracket may depend on other income and holding period. Depreciation recapture and loss limits are excluded.

What is outside this Capital Gains Tax Calculator model?

Holding period, jurisdiction, brackets, exclusions, depreciation recapture and loss limits require current tax rules.

What to keep in mind

Holding period, jurisdiction, brackets, exclusions, depreciation recapture and loss limits require current tax rules.

Results are rounded for display in US format, with money in dollars and cents; CSV exports keep full calculation precision. This is a calculation summary, not an official certificate.

Sources and references

Manage privacy choices