Stock Profit Calculator

Calculate your gains and losses on stock trades. See your profit, return percentage, and break-even price instantly.

Updated March 2026
Price per share when purchased
Current or target sell price
Total fees (buy + sell)
Total Profit/Loss
$0.00
Return Percentage
0.00%
Total Investment
$0.00
Total Return
$0.00
Break-Even Price
$0.00

What is a Stock Profit Calculator?

A stock profit calculator helps investors determine their gains or losses from stock trades. By entering your buy price, sell price, and number of shares, you can instantly see your total profit, return percentage, and other key metrics.

Understanding your potential profit before selling helps you make informed decisions about when to exit a position and whether a trade meets your investment goals.

How to Use This Calculator

  • Enter the price you paid per share (buy price)
  • Enter your target or actual sell price
  • Enter the number of shares you own
  • Optionally add any trading fees or commissions
  • Click "Calculate Profit" to see your results

The Stock Profit Formula

Profit/Loss Formula

Profit = (Sell Price − Buy Price) × Shares
ROI % (Profit ÷ Total Cost) × 100
Break-even Buy Price + (Fees ÷ Shares)

Why Calculate Stock Profit?

Calculating your potential profit helps you:

  • Set realistic price targets for selling
  • Understand the impact of fees on your returns
  • Compare different exit strategies
  • Plan for taxes on capital gains
  • Track your investment performance

Understanding Return Percentage

Return percentage (ROI) shows how much you've gained or lost relative to your initial investment. A 10% return means you made $10 for every $100 invested. This metric allows you to compare performance across different investments regardless of the dollar amounts involved.

Frequently Asked Questions

How do I calculate profit on stocks?

To calculate stock profit, subtract your buy price from your sell price, multiply by the number of shares, then subtract any fees. For example: (Sell Price - Buy Price) x Shares - Fees = Profit.

Does this calculator account for taxes?

This calculator shows your gross profit before taxes. Capital gains taxes vary based on your income, holding period, and location. Consult a tax professional for personalized advice.

What is break-even price?

Break-even price is the minimum sell price needed to recover your total investment including fees. Selling at this price means zero profit and zero loss.

Should I include dividends in profit calculation?

This calculator focuses on capital gains (price appreciation). For total return including dividends, use our Dividend Calculator alongside this tool to get a complete picture.

What's a good return percentage?

Returns vary by investment type and time horizon. The S&P 500 has historically averaged about 10% annually. Any positive return that meets your goals and risk tolerance is considered good.

Get the app

All calculators, portfolio tracking, and more. Free on iOS.

Download Drizzle DCA