Stock Profit / Loss Calculator

Calculates the total dollar profit or loss from a stock investment.

Calculates the total dollar profit or loss from a stock investment. Enter your Buy Price per Share, Sell Price per Share, Number of Shares to get an instant total profit / loss. Formula: (sell_price_per_share - buy_price_per_share) * number_of_shares.

Total Profit / Loss

Fill in the fields above and click Calculate

Calculating...

Total Profit / Loss

Want to save your calculations?

Auto-calculating as you type

Comparison ()

Field
Result

Formula


                    

Step-by-step

Variables

Recent Calculations

How It Works

How It Works

This calculator determines how much money you made or lost on a stock investment. It compares what you paid for each share to what you sold it for, then multiplies the difference by the number of shares you owned.

The formula used is: (Sell Price per Share - Buy Price per Share) × Number of Shares. This gives you the total dollar profit or loss for the entire investment.

  • Subtract the buy price from the sell price to find the gain or loss per share.
  • Multiply that amount by the total number of shares.
  • The result is your total profit or total loss in dollars.
  • The calculator uses only this direct math formula with no adjustments.

Understanding the Results

The result shows your total financial outcome from the trade in dollars. A positive number means you made money, while a negative number means you lost money.

The calculator does not label the result as profit or loss—it simply returns the numeric value. You can tell the outcome by whether the number is above or below zero.

  • Positive result = Profit.
  • Negative result = Loss.
  • Zero means you broke even.
  • The value reflects the full investment, not per share.

Disclaimer

This financial calculator provides estimates only. Actual results may vary. Consult a qualified financial advisor for personalized guidance. Disclaimer.

Created by CalcLearn Team Reviewed for accuracy Last updated: Jun 07, 2026

Related Calculators