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.