Stock Profit Calculator

Work out your profit or loss on a stock sale after commissions and dividends: return %, annualized return and break-even sell price.

$
$
$
The total in money, not a percentage. Use 0 for commission-free trades.
Your rate is remembered on this device.
$
Your rate is remembered on this device.
$
Total cash dividends over the whole period.

Results

Net profit
$1,230.00
Sale proceeds + dividends − total cost, after commissions.
Total return
24.58 %
Net profit ÷ total cost (purchase + buying commission).
Annualized return (CAGR)
24.58 %
Over 365 days (1.00 years), assuming 365-day years.
Break-even sell price per share
$49.70
The sale price at which profit is zero after both commissions and your dividends.
Total cost (including buying commission)
$5,005.00
Sale proceeds (after selling commission)
$6,195.00
Price gain before commissions
$1,200.00
Total commissions & fees
$10.00
Dividends
$40.00

Estimate only. This tool is for informational and educational purposes. Results depend on your inputs and simplifying assumptions, and are not a substitute for professional engineering, design or financial advice. Always verify with a qualified professional and applicable codes before purchasing, building or making decisions.

How it’s calculated

Profit on a share trade is what you receive minus what you paid, counting commissions on both sides and any dividends collected while you held the shares.

Total cost = shares × buy price + buying commission Proceeds = shares × sell price − selling commission Net profit = proceeds + dividends − total cost Total return = net profit ÷ total cost Annualized return = ((proceeds + dividends) ÷ total cost)^(365 ÷ days held) − 1 Break-even sell price = (total cost − dividends + selling commission) ÷ shares

Example: 100 shares bought at $50 with a $5 commission cost $5,005. Sold a year later at $62 with a $5 commission they bring in $6,195. With $40 of dividends the net profit is 6,195 + 40 − 5,005 = $1,230, a total return of 1,230 ÷ 5,005 = 24.58%. Held for exactly 365 days, the annualized return is the same 24.58%. To break even you would have needed to sell at (5,005 − 40 + 5) ÷ 100 = $49.70 a share.

Held for two years instead, the same profit is worth (6,235 ÷ 5,005)^(1/2) − 1 = 11.6% a year. Taxes, currency changes and reinvested dividends are not included. Past gains do not predict future returns, and a loss is possible on any stock.

Frequently asked questions

Do I include commissions in my profit?

Yes. Commissions and fees on the buy and sell are real costs, so this calculator adds the buying commission to your cost and subtracts the selling commission from your proceeds.

What is the break-even price?

The sell price at which you neither make nor lose money after both commissions, taking your dividends into account. A higher buying cost or commission raises it.

Why is the annualized return hidden for short holds?

Turning a gain over a few days into a yearly rate gives enormous numbers that you could not actually repeat. The calculator shows the annualized figure only for holds of 30 days or more.

Does this include taxes?

No. Capital gains and dividend taxes vary by country and by how long you held the shares. Check your tax authority's rules for your net gain.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator