💰

Stock Profit Calculator - Stock Gain/Loss Calculator

Free stock profit calculator to calculate your gains or losses from stock trades. Includes commissions, dividends, and break-even price.

Stock Profit Calculator

Calculate your profit or loss from stock trades

$

Price you paid per share when buying.

shares

How many shares you bought/sold.

$

Price per share when selling (or current price).

$

Commission/fees paid when buying.

$

Commission/fees paid when selling.

$

Total dividends received while holding the stock.

Trade Results

Enter your values to see results

and click the "Calculate" button

What is Stock Profit?

Stock profit (or loss) is the money you make or lose when selling stocks. It's calculated by comparing your total cost (buy price × shares + commissions) to your total revenue (sell price × shares - commissions + dividends). This calculator helps you determine your exact profit or loss from any stock trade, including the break-even price you need to avoid losses.

How to Use This Calculator

  1. Enter the price you paid per share
  2. Enter the number of shares traded
  3. Enter the selling price (or current price)
  4. Add any commissions paid (optional)
  5. Add dividends received while holding (optional)
  6. Click Calculate to see your profit/loss

Stock Profit Formula

Profit = (Sell Price × Shares - Sell Commission) - (Buy Price × Shares + Buy Commission) + Dividends

The percentage return is: (Profit / Total Cost) × 100. Break-even price = (Total Cost + Sell Commission) / Shares.

Frequently Asked Questions

How do I calculate stock profit?
Total Cost = Buy Price × Shares + Buy Commission. Total Revenue = Sell Price × Shares - Sell Commission + Dividends. Profit = Revenue - Cost. Example: Buy 100 shares at $50 = $5,000. Sell at $75 = $7,500. Profit = $2,500 (50% return).
Should I include dividends in my return?
Yes! Dividends are part of your total return. A stock could have 0% price change but pay 3% dividends, giving you 3% total return. Always include dividends for accurate profit calculation.
What is break-even price?
The price per share where you neither profit nor lose. It accounts for your buy price plus all commissions. You need to sell above this price to make a profit.
How do commissions affect my profit?
Commissions reduce your profit (or increase your loss). With $0 commission brokers common now, this may not matter. But if you pay commissions, they add to your cost basis and reduce net returns.
What about taxes on stock profits?
Stock profits are subject to capital gains tax. Short-term (held < 1 year): taxed as ordinary income. Long-term (held > 1 year): lower tax rates (0%, 15%, or 20% in the US). This calculator shows pre-tax profit.
How do I calculate average cost if I bought at different prices?
Add up total cost of all purchases, divide by total shares. Example: 50 shares at $40 ($2,000) + 50 shares at $50 ($2,500) = 100 shares at average $45/share ($4,500 total).

Explore more calculators

100+ calculators for finance, health, math, and everyday life

All Calculators