Stock Profit Calculator
Calculate your profit or loss from buying and selling stocks, including commissions and annualized return.
The price you paid per share.
The price you sold (or plan to sell) per share.
How many shares you bought.
Commission or fee paid when buying (many brokers charge $0).
Commission or fee paid when selling.
How long you held (or plan to hold) the stock.
How to Calculate Stock Profit
Stock profit is calculated by subtracting your total cost (purchase price times shares plus commissions) from your total proceeds (sale price times shares minus commissions). The formula is:
Profit = (Sell Price × Shares - Sell Commission) - (Buy Price × Shares + Buy Commission)
For example, if you bought 100 shares at $50 and sold them at $75, your gross profit would be $2,500. After accounting for any commissions, you get your net profit.
Return on Investment (ROI) expresses this profit as a percentage of your initial cost, making it easy to compare different trades regardless of size. Annualized return adjusts the ROI to reflect a yearly rate, which is useful for comparing investments held for different time periods.
Understanding Annualized Return
Annualized return converts your total return into an equivalent yearly rate, allowing fair comparison between investments held for different durations. A 50% gain over 5 years is very different from a 50% gain over 6 months.
The formula is: Annualized Return = (Ending Value / Beginning Value)^(1/Years) - 1
For context, the S&P 500 has delivered roughly 10% annualized returns historically (before inflation). If your annualized return consistently exceeds this benchmark, your stock picks are outperforming the broader market.
The Impact of Trading Commissions
Most major online brokers now offer commission-free trading for stocks and ETFs, including Fidelity, Charles Schwab, and Robinhood. However, commissions still apply in several situations:
- Options trading: Typically $0.50-$0.65 per contract.
- OTC stocks: Some brokers charge fees for over-the-counter stocks.
- International stocks: Foreign exchange and settlement fees may apply.
- Full-service brokers: Traditional brokers may still charge per-trade fees.
Even small commissions add up over time, especially for frequent traders. A $5 round-trip commission on a $500 trade is a 1% drag on returns before the stock even moves.
Frequently Asked Questions
How do I calculate profit on a stock I haven't sold yet?
What is the difference between ROI and annualized return?
Should I include dividends in my stock profit calculation?
How do stock splits affect profit calculations?
Related Calculators
Dividend Calculator
Project your dividend income over time with adjustable yield, growth rate, and reinvestment options.
Use calculator →CAGR Calculator
Calculate the Compound Annual Growth Rate of an investment to measure performance over time.
Use calculator →Capital Gains Tax Calculator
Estimate your capital gains tax on stock sales based on holding period and tax bracket.
Use calculator →