BCBetter Calculators

Stock Profit Calculator

Calculate your profit or loss from a stock trade.

🧮

Enter your values and click Calculate

How It Works

Total buy cost is calculated as the number of shares multiplied by the buy price per share. Total sell value is the number of shares multiplied by the sell price per share. Net profit or loss equals the total sell value minus the total buy cost — a negative result means a loss. Percentage gain is calculated as: ((sell price − buy price) ÷ buy price) × 100, which represents the per-share return regardless of how many shares were traded. For example, buying 100 shares at $50 and selling at $75 gives a profit of (75 − 50) × 100 = $2,500, and a percentage gain of ((75 − 50) ÷ 50) × 100 = 50%. These two figures together tell you both the absolute dollar outcome and the proportional return, which are both important when comparing trades of different sizes and entry prices.

Examples

Profitable Trade
100 shares bought at $50, sold at $75.
Result: Profit: $2,500 (50% gain).
Loss Trade
50 shares bought at $200, sold at $180.
Result: Loss: -$1,000 (-10%).
Large position gain
500 shares bought at $30, sold at $45.
Result: Profit: $7,500 (50% gain).

Frequently Asked Questions

Does this include broker fees?
No — this calculator shows gross profit only, which is the raw difference between your total buy cost and total sell value. To find your net profit, subtract your broker commissions and any transaction fees from the gross profit figure.
How is percentage gain calculated?
Percentage gain is calculated as ((sell price − buy price) ÷ buy price) × 100. This formula measures the per-share return as a percentage of your original cost, and is the same regardless of how many shares you traded.
Can I use this for ETFs or mutual funds?
Yes — this calculator works for any investment that has a per-unit buy price and sell price. ETFs, mutual funds, REITs, and even cryptocurrency all follow the same profit calculation logic as individual stocks.

Related Calculators