Stock Profit Calculator

Calculate your profit, loss, and return percentage from stock trades including commissions.

How to Use This Stock Profit Calculator

Enter the price per share at which you bought and sold (or plan to sell), the number of shares traded, and any commissions charged by your broker for buying and selling. Click "Calculate Profit" to see your net profit or loss, return percentage, and a breakdown of costs.

Understanding Stock Trading Profits

Stock profit is the difference between what you paid for shares and what you received when selling them, minus any transaction costs. While the concept is simple, several factors affect your true return.

Commissions and fees: While many brokers now offer commission-free trading, some still charge per-trade fees. Options trades, international stocks, and certain order types may carry fees. This calculator accounts for buy and sell commissions separately.

Taxes: In most countries, stock profits are subject to capital gains tax. Short-term gains (held less than 1 year) are typically taxed at your income tax rate, while long-term gains enjoy lower rates. This calculator shows pre-tax profit; consult a tax professional for after-tax returns.

Dividends: If you received dividends while holding the stock, add them to your sell proceeds for a complete picture of your total return. This calculator focuses on price appreciation and doesn't include dividend income.

Formula

Total Cost = (Buy Price × Shares) + Buy Commission Total Proceeds = (Sell Price × Shares) - Sell Commission Net Profit = Total Proceeds - Total Cost Return % = (Net Profit / Total Cost) × 100

Examples

Example 1: Buy 100 shares at $150, sell at $185. No commissions. Profit = ($185 - $150) × 100 = $3,500. Return = 23.33%.

Example 2: Buy 50 shares at $200, sell at $180, $10 commission each way. Loss = (50 × $180 - $10) - (50 × $200 + $10) = -$1,020. Return = -10.1%.

Example 3: Buy 500 shares at $25, sell at $32. Profit = $3,500. Return = 28%.

Frequently Asked Questions

Should I include dividends in this calculation?

This calculator measures price return only. For total return including dividends, add all dividends received to your sell proceeds. For example, if you received $200 in dividends, add that to your total sell value. Total return gives a more complete picture of your investment performance.

How do I account for dollar-cost averaging?

If you bought shares at different prices over time, calculate your average cost per share: total amount invested divided by total shares purchased. Use that average as your buy price in this calculator.

What's a good return on a stock investment?

The S&P 500 has historically returned about 10% per year on average (7% after inflation). Any individual stock return should be evaluated against this benchmark and the time you held it. A 15% return in 6 months is excellent; a 15% return over 5 years underperformed the market.