Stock Profit Calculator: Gain, Loss and Return on a Trade
By FindMySum · Last reviewed
A stock profit calculator shows what a trade made or lost. The profit is what you received when you sold, minus what you paid when you bought, minus any commissions on each side; the return is that profit as a percentage of what you put in. The same arithmetic works for ETFs, and for a position you still hold, using today's price as the selling price.
Worked example
You invest $5,000 in 100 shares bought at $50 each and later sell them at $65, with no commission on either side (0% each way).
- Shares bought: $5,000 ÷ $50 = 100.
- Value when sold: 100 × $65 = $6,500.
- Profit: $6,500 − $5,000 = $1,500.
- Return: $1,500 ÷ $5,000 = 30%.
The break-even price is your $50 cost, since there were no fees. With a 1% commission on each trade (the fee comes out of the $5,000, so you buy about 99 shares), the calculator shows a profit of $1,370.65 and a break-even price of about $51.02.
Before you celebrate
Profit on paper is not profit after tax, and a 30% return means more if it took months than if it took years. Keep your adjusted cost base records, especially if you bought the same stock at different times. To work out the average cost of several purchases, use the stock average calculator; for the tax on the gain, the capital gains tax calculator; for the same calculation on cryptocurrency, the crypto profit calculator.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.