Stock Profit Calculator (Buy/Sell P/L & Fees)
Buy and sell price, share count, and round-trip commission math — net profit or loss, ROI percentage, per-share gain, and the break-even sell price including fees.
Stock Profit — interactive calculator, computed instantly in your browser.
Stock Profit, Fees, and the Break-Even Price: How to Grade Any Trade
(125 − 100) × 100 shares − $12 fees = $2,488 net · +24.88% ROI
Break-even sell price = (cost + exit fees) ÷ shares — the exact price where the trade stops losing
A trade is not finished when the price moves — it is finished when the cash lands. This calculator turns buy price, sell price, share count, and the two commissions you pay along the way into the only numbers that matter afterwards: net profit or loss, return on investment, and the break-even sell price. Every figure updates live as you adjust the inputs.
1. Gross Gain vs. Net Result
- Gross gain is the price move times your position size — it ignores everything the broker takes
- Net result subtracts both round-trip commissions, so a profitable-looking trade can finish flat after fees
- On small positions fixed fees bite hardest: a $7 charge each way on 10 shares is pure return destruction
- Always compare the net figure against the 📊 ROI Calculator definition of return before sizing the next position
2. The True Cost Basis
- Cost basis includes the buy commission — you must recover it before a single dollar is profit
- Adjustable-basis events (splits, reinvested dividends) change the basis retroactively; this calculator keeps the simple case explicit
- Round-trip fees expressed as a percent of capital show the hurdle rate every trade must clear first
- Dividend-paying holdings report income separately — total-return math combines both with the 📈 Dividend Calculator
3. ROI: The Honest Denominator
- ROI = net ÷ total deployed capital × 100, where capital includes the buy fee, not just the share price
- Percentage return makes trades of different sizes comparable: +$500 on $2,000 beats +$1,000 on $20,000
- Annualizing matters for held periods over a year — a 10% gain in one month is not a 10% yearly return
- Compare the result against the same money in an index benchmark for a reality check
4. Break-Even and the Exit Side
The break-even sell price is (cost including buy fee + sell fee) ÷ shares — the exact quote at which you walk away whole. It quantifies the hurdle the position must clear and shows why frequent trading fights two fees per round trip. Pair the P/L view with the 🥇 Live Gold Price Calculator when part of the portfolio sits in commodities rather than shares, and keep position sizing disciplined with the 📊 Position Size Calculator.
🔗 Trading & Position Math
Price movement is only half the trade — fees, position size, and the exit price decide what actually lands in your account. Run the position math beside the 📊 ROI Calculator or browse the full toolkit on the 💰 Financial Hub.
Holding for income instead of the flip? Dividend reinvestment compounds the same base numbers — see the 📈 Dividend Calculator before sizing a long-term position.
Frequently Asked Questions (Stock Profit)
Multiply the gain per share (sell price minus buy price) by the number of shares, then subtract the buy and sell commissions. A 100-share trade bought at $100 and sold at $125 with $12 total fees nets $2,488 of real profit.
Context decides: compare the percentage return against the time held and a benchmark index. A 5% gain in one week outruns most annual savings rates, while the same 5% spread over two years usually underperforms a passive fund — annualize before judging.
Because the exit commission and the entry commission both have to be recovered. The break-even is (total cost plus sell fee) divided by shares, so higher broker fees push the price you must reach further above the entry.
Taxes depend on your jurisdiction and holding period, so this calculator deliberately reports pre-tax profit. Apply your local capital-gains rate to the net figure for an after-tax estimate — short-term rates are often higher than long-term ones.