All calculators

Finance

Stock Gain or Loss Calculator

Calculate gain or loss from buying and selling shares, including fees.

—

Formula

Gain equals shares times sell price minus shares times buy price minus fees.

How it works

This is a pre-tax gain. Short-term and long-term tax treatment differ by country, so the after-tax result will be lower where capital gains tax applies.

FAQs

Does it include dividends?
No — add dividends received to the gain separately.

What if the result is negative?
That is a loss, which may offset gains elsewhere under local tax rules.

Why include fees?
Broker fees reduce the real gain, sometimes significantly on small trades.

Are these figures financial advice?
No — they are estimates for planning only, not financial advice. Check with a qualified adviser for decisions involving large sums.

Estimates only, not financial advice. Figures are approximate and do not include all fees, taxes, or changing rates unless stated.

Related calculators

Annuity Payment Calculator

APR Estimate Calculator

Biweekly Mortgage Savings Calculator