Stock Profit Calculator
Every trade comes down to one piece of arithmetic: what you sold for, minus what you paid, minus the costs along the way. This calculator turns a buy price, a sell price, a share count and optional fees into your net profit or loss, your percentage return on cost, your total proceeds, and the breakeven price the trade had to clear. Everything runs in your browser; nothing you type is sent anywhere.
How the Stock Profit Calculator Works
The math is deliberately simple. Your cost is the buy price multiplied by the share count; your proceeds are the sell price multiplied by the same count. Net profit is proceeds minus cost minus any fees you enter, and the return percentage divides that net result by everything you put in, fees included - so a trade that only earns back its own commissions correctly shows as roughly zero. The breakeven row answers the question traders should ask before entering, not after: how far does this stock have to move before I make anything at all?
Why Net Beats Gross
Beginners tend to remember the headline move - bought at 50, sold at 60, so 20% - and forget the drag around it. Fees reduce the gain directly, and on a real account taxes take a further share of whatever remains, at a rate that depends on how long you held. The habit this calculator builds is thinking in net terms: the only number that actually reaches your account. It also makes losing trades concrete. A negative result is not an abstraction; it is the exact dollar figure the market charged you for the lesson, which is why many people rehearse their first trades with virtual money in a paper trading simulator before any real dollars are involved.
Frequently Asked Questions
Multiply the number of shares by the sale price to get your proceeds, then subtract what you originally paid for those shares (your cost basis) and any fees or commissions. What remains is your net profit, or your loss if the number is negative. Dividing that net result by your total cost gives the percentage return on the trade.
Fees come straight out of your profit. A $10 round-trip commission on a $100 gain consumes 10% of it, while the same fee on a $10,000 gain is barely visible. This is why frequent trading with small amounts is so hard to win at: each trade must first earn back its own costs before producing any real profit. Many US brokers now charge zero commission on stocks, but spreads and other frictions still apply.
The breakeven price is the sale price at which a trade produces neither a profit nor a loss once all costs are included. It equals your total cost, including fees, divided by the number of shares. If you buy 100 shares at $50 and pay $20 in total fees, your breakeven is $50.20 per share, so the stock must rise at least that far before the trade earns anything.