Stock Calculator
Calculate stock profit or loss, return percentage, and break-even price from buy and sell prices.
What Is a Stock Profit Calculator?
A stock profit calculator works out the gain or loss on a share trade after commissions and shows the return as a percentage of what you paid. The Stock Profit Calculator needs your share count, buy and sell prices, and any buy and sell fees, and it also reports the break-even sell price. Market prices and broker charges change constantly, so treat the output as an estimate.
How the Calculation Works
$$\text{Total Cost} = \left(\text{Buy Price} \times \text{Shares}\right) + \text{Buy Commission}$$ $$\text{Total Proceeds} = \left(\text{Sell Price} \times \text{Shares}\right) - \text{Sell Commission}$$ $$\text{Profit} = \text{Total Proceeds} - \text{Total Cost}$$ $$\text{Return \%} = \frac{\text{Profit}}{\text{Total Cost}} \times 100$$ $$\text{Break-even Price} = \frac{\text{Total Cost} + \text{Sell Commission}}{\text{Shares}}$$The return is measured against total cost, so it already reflects the buy and sell charges. The break-even price is the sell price per share at which the trade neither gains nor loses.
Worked Example
Buy 100 shares at $50 with a $10 buy commission, then sell them at $65 with a $15 sell commission:
- Total cost: 100 × 50 + 10 = $5,010
- Total proceeds: 100 × 65 - 15 = $6,485
- Profit: $6,485 - $5,010 = $1,475
- Return: 1,475 ÷ 5,010 × 100 ≈ 29.44%
- Break-even sell price: (5,010 + 15) ÷ 100 = $50.25
Related Tools
Estimate income from holdings with the Dividend Yield Calculator and project longer-term growth with the Compound Interest Calculator.
Frequently Asked Questions
Are brokerage commissions the only trading cost?
No. Depending on the market and broker, you may also pay transaction taxes, exchange fees, stamp duty, and regulatory charges. Add these to the buy and sell commission fields to get a return that is closer to your net result.
What is the break-even sell price?
It is the price per share at which the trade neither makes nor loses money. It covers the total cost plus the sell commission, divided by the number of shares, so you know the minimum price needed to recover all outlays.
Does the calculator include dividends?
No. It measures the price gain or loss between buying and selling only. Dividends are separate income, and you can estimate their contribution with the Dividend Yield Calculator.
Does it account for capital gains tax?
No. Taxes on share profits depend on your holding period, income level, and jurisdiction, so they are not included. Apply your applicable tax rate to the reported profit to estimate the after-tax outcome.
Can I use it for short selling?
The formulas assume a long position where you buy first and sell later. Short selling reverses the cash flow order, so the profit, return, and break-even figures would need to be interpreted differently.