Stocks & Portfolios

Stock Profit & Trading Costs

Include buy and sell fees when measuring a single share-position outcome.

Your numbers

Sample inputs are illustrative. Changing currency changes labels only.

Your result

Preparing the sample calculation…

Shared links include your entered amounts. Saved scenarios stay in this tab only.

How to use this calculator

  1. Enter shares traded, buy price per share, sell price per share, total buy fees, total sell fees.
  2. Choose a display currency, then select Calculate. Results also update after a brief pause while you edit.
  3. Read the result with the assumptions below. Export details or save a second scenario to compare your choices.

Formula and method

Net trading profit = shares × (sell price − buy price) − buy fees − sell fees.

Assumptions and limitations

Dividends, currency movements, short selling and tax-lot selection are excluded.

Worked example

With shares traded = 100, buy price per share = 20, sell price per share = 25, total buy fees = 10, total sell fees = 10, net trading profit is approximately 480.

What the result means

This measures realized trading profit on one matched position rather than capital-gains tax.

Common questions

How should I interpret net trading profit?

This measures realized trading profit on one matched position rather than capital-gains tax.

What should I check before using this result?

Dividends, currency movements, short selling and tax-lot selection are excluded.

Methodology and transparency

Calculation specification reviewed on 2026-10-14. Mathematical implementation is tested against independent reference fixtures. This does not imply review by a licensed financial professional. Read the testing and precision policy.