Free Stock Profit Loss Calculator - Calculate Your Gains

Calculate your profit or loss on stock trades including fees and commissions

Formula & Methodology

This calculator determines your net profit or loss by subtracting your total buy cost and any trading fees from your total sell value. It also calculates the percentage return on your initial investment.

  • Total Buy Cost = Buy Price × Shares
  • Total Sell Value = Sell Price × Shares
  • Net Profit/Loss = Total Sell Value - Total Buy Cost - Fees
  • Profit/Loss % = (Net Profit/Loss / Total Buy Cost) × 100

Worked Example

Using the Stock Profit/Loss Calculator: apply the formula above to your input values. For instance, Total Buy Cost = Buy Price × Shares, then Total Sell Value = Sell Price × Shares. The tool performs each step instantly and shows the result.

Frequently Asked Questions

How do I calculate profit or loss on a stock?

Subtract your total buy cost (including fees) from your total sale proceeds to get the net gain or loss.

Should I include brokerage fees?

Yes. Commissions and fees reduce your real profit, so include them for an accurate result.

How do taxes affect my stock profit?

Capital-gains tax applies to profits, with rates often depending on how long you held the shares.

Browse all free calculators