Stock and crypto profit calculator

FI-17Finance

Calculate the profit or loss on stocks, ETFs or crypto after fees and tax.

Purchase value
1,000.00
Sale value
1,300.00
Result before tax
+290.00
Tax
0.00
Break-even sell price
101.00

Last updated: October 2026 · Report a calculation error

How to calculate profit on shares after tax

Profit before tax = sale value − purchase value − fees. Tax is charged on a positive result, and what remains is your net profit.

Example: you buy 10 shares at 100 and sell at 130, with 10 in total fees. The result before tax is 1,300 − 1,000 − 10 = 290. At a 20% capital gains tax you pay 58 and keep 232 — a 22.97% return on the 1,010 you spent. With no tax, the return is 28.71%.

Capital gains tax

  • Rates and allowances differ by country — for example 18–24% in the UK above the annual exempt amount, 0/15/20% on long-term gains in the US, and 26.375% in Germany including the solidarity surcharge.
  • Many countries let you offset losses against gains, sometimes carrying them forward to later years.
  • Tax-advantaged accounts (such as ISAs or retirement accounts) can shelter gains entirely.

Break-even selling price

The calculator also shows the price at which a sale breaks even after fees: (purchase value + fees) ÷ number of shares. In the example that is 101 per share.

Frequently asked questions

Should dividends go into this calculator?

No — dividends are usually taxed separately. The calculator works out the profit from selling.

What tax rate should I enter?

The capital gains rate that applies to you, or 0% for investments held in a tax-free account.

See alsoWhole category

  1. FI-01Poland salary calculator (gross to net)Work out your take-home pay in Poland from gross salary: ZUS social security, health insurance, PIT income tax and the under-26 relief.
  2. FI-02Loan payment calculatorWork out your monthly loan payment — equal or decreasing installments — and the total interest.
  3. FI-03VAT calculatorAdd VAT to a net price or remove it from a gross price at any rate.
  4. FI-04Simple interest calculatorCalculate simple interest for a given amount, annual rate and number of days.