Stock Profit / Loss Calculator
Calculate your exact profit or loss from a stock trade, including brokerage commissions and annualized return.
Calculator Inputs
Net Profit / Loss
Gross Profit / Loss
Before commissions
Total Commissions
Buy + sell fees
Total Cost Basis
Shares + buy commission
Net Sale Proceeds
After sell commission
Annualized Return
Equivalent compound annual growth rate
How Stock Returns Are Actually Calculated
When most people think about stock returns, they think in terms of price difference. Bought at $100, sold at $130, made 30%. But the real return depends on two additional factors: commissions paid to your broker, and the length of time you held the position. This calculator handles all three so you get the true picture of a trade's performance.
The Real Cost of Commissions
Commissions seem small but they eat into returns, especially on smaller positions. If you buy $1,000 worth of stock and pay a $10 buy commission and $10 sell commission, you've already lost 2% before the market even moves. On a 5% gain trade, you'd walk away with only 3%. This is why many investors using discount brokers with zero-commission platforms have a structural edge over those paying per-trade fees. Always factor in the full round-trip cost when evaluating a trade.
ROI vs. Annualized Return
A simple ROI of 50% sounds impressive, but it means very different things if it took 1 year versus 5 years to achieve. The annualized return (also called CAGR) normalizes the return across time so you can compare trades of different durations on equal footing. A 50% return over 1 year annualizes to 50%. The same 50% return over 5 years annualizes to only 8.4% per year. This is the number to use when comparing this trade against, say, the S&P 500's historical 10% annual return.
Capital Gains and Tax Implications
In most tax jurisdictions, profits from stock sales are subject to capital gains tax. The rate typically depends on how long you held the shares. Short-term gains (under 1 year) are usually taxed as ordinary income, while long-term gains receive preferential rates. This calculator shows pre-tax returns. Always consult a tax professional before making decisions based purely on gross return numbers, particularly for large positions or in high-income years.