Stocks calculator

Capital Gains Calculator

Use this free Capital Gains Calculator to work out capital gain / loss from sale value, purchase value, buy/sell fees, and other eligible costs, with instant result cards and the exact formula shown below.

Inputs

Sale and cost basis

Enter sale value, purchase value, and eligible costs.

Results

Capital gains summary

Capital gain / loss1,450.00
Adjusted cost basis3,550.00
Sale value5,000.00
Total costs50.00
FormulaView calculation method
Adjusted cost basisPurchase value + Fees + Other eligible costs
Capital gain / lossSale value - Adjusted cost basis
GuideHow to use this calculator
Step 1Enter the stock market values from your broker, fund statement, exchange, or research source.
Step 2Click Calculate result to update the output cards, then review the formula section for how the result is derived.
TipFor more planning tools, return to the related calculator links or the main calculator category page.

What this calculator helps with

The Capital Gains Calculator estimates capital gain / loss from sale value, purchase value, buy/sell fees, and other eligible costs. It is a focused stock calculator you can use free with no signup, repeating the calculation with your own numbers whenever your inputs change.

How to read the results

After you press Calculate result, the summary cards show capital gain / loss, adjusted cost basis, sale value, and total costs. Read capital gain / loss as the headline figure and use the supporting values for context, then change one input at a time to see how sensitive the result is.

Before relying on the numbers

This stock calculator applies the formula Purchase value + Fees + Other eligible costs. Enter sale value, purchase value, buy/sell fees, and other eligible costs using consistent units and the same currency, include any applicable fees or taxes, and confirm important decisions against your broker, fund statement, exchange data, or a qualified professional.

FAQ

Frequently asked questions

What is the Capital Gains Calculator used for?

The Capital Gains Calculator is a free stocks calculator that works out capital gain / loss from sale value, purchase value, buy/sell fees, and other eligible costs. Enter your own figures to get an instant result with the formula shown on the page.

What formula does the Capital Gains Calculator use?

It calculates Adjusted cost basis = Purchase value + Fees + Other eligible costs and Capital gain / loss = Sale value - Adjusted cost basis. The tool reports capital gain / loss, adjusted cost basis, sale value, and total costs.

Where do I get the numbers for the Capital Gains Calculator?

Take sale value, purchase value, buy/sell fees, and other eligible costs from your broker statement or exchange. The Capital Gains Calculator never fetches live market data, so the output depends only on the values you type in.

Are the Capital Gains Calculator results financial advice?

No. The Capital Gains Calculator is an educational tool. Treat capital gain / loss as an estimate, re-check your inputs, and confirm important investment decisions with a qualified professional.

Can I use the Capital Gains Calculator with any currency or market?

Yes. Keep sale value, purchase value, buy/sell fees, and other eligible costs in the same currency and consistent units, and the Capital Gains Calculator applies the same calculation to any market.