Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Crypto Profit/Loss CalculatorStock Beta CalculatorShort Selling Profit CalculatorROI Calculator
Home Page > Financial Calculators > Stock Calculators

Stock Profit Loss Calculator

Calculate the profit or loss on a stock trade including broker fees and commissions. Gives ROI percentage, break-even analysis, fee impact, annualized return and a scenario comparison table across different exit prices.

Free to useNo sign-up requiredUpdated Feb 2026
Stock Profit Loss CalculatorTry it now — free ▼
$
$
shares
$
$
Profit / Loss $0.00
ROI 0.00%

Embed Stock Profit Loss Calculator Widget

About Stock Profit Loss Calculator

Welcome to the Stock Profit Loss Calculator, a comprehensive tool for calculating the net profit or loss from your stock trades. Whether you are a day trader, swing trader, or long-term investor, this calculator helps you quickly determine your returns after accounting for broker fees and commissions, with a detailed breakdown of ROI, breakeven price, and fee impact.

How to Use the Stock Profit Loss Calculator

  1. Enter the purchase price: Type the price per share at which you bought the stock. The calculator accepts various international number formats (1,234.56 or 1.234,56).
  2. Enter the selling price: Type the price per share at which you sold (or plan to sell) the stock.
  3. Enter the number of shares: How many shares you traded. Fractional shares are supported for platforms that offer them.
  4. Add commissions (optional): Enter any buy-side and sell-side broker commissions or trading fees. Leave blank for commission-free trades (common with platforms like Robinhood, Webull, etc.).
  5. Click Calculate: View the complete results including net profit/loss, ROI percentage, breakeven price, fee impact analysis, visual breakdown, and a scenario comparison table.

Key Concepts

📊
Return on Investment (ROI)
The percentage return relative to your total investment including fees.
⚖️
Breakeven Price
The minimum sell price needed to cover your purchase cost plus all fees.
💰
Cost Basis
Your total purchase cost including the buy-side commission.
📉
Fee Impact
How much trading fees reduce your gross profit from the trade.

Stock Profit/Loss Formula

Basic Calculation

Net Profit/Loss = (Sell Price × Shares - Sell Commission) - (Buy Price × Shares + Buy Commission)

ROI Calculation

ROI (%) = (Net Profit / Total Cost Basis) × 100

Breakeven Price

Breakeven Price = (Buy Price × Shares + Buy Commission + Sell Commission) / Shares

Understanding Your Results

Net Profit or Loss

This is the bottom line of your trade: the total money you gained or lost after all costs. A positive number (green) means profit; a negative number (red) means loss. The calculation accounts for both the price difference between buy and sell, and any commissions paid.

Return on Investment (ROI)

ROI expresses your profit as a percentage of your total investment. For example, if you invested $10,000 (including fees) and made $1,500 in profit, your ROI is 15%. This metric makes it easy to compare the performance of different trades regardless of their size.

Breakeven Price

The breakeven price tells you the minimum price per share you need to sell at to not lose money. This is especially useful when you have significant commission costs, as the breakeven price will be higher than your purchase price. For commission-free trades, the breakeven price equals your purchase price.

Fee Impact

Trading fees can significantly affect returns, especially on smaller trades. Our fee impact section shows exactly how much your commissions cost relative to your gross profit. For example, $20 in total fees on a $200 gross profit means fees consumed 10% of your gains.

Tips for Stock Traders

  • Consider total cost: Always factor in commissions and fees when evaluating trade profitability. A seemingly profitable trade may break even or lose money after fees.
  • Use the scenario table: Before entering a trade, use the comparison table to see potential outcomes at different price levels. This helps set realistic profit targets and stop-loss levels.
  • Compare brokers: If fees significantly impact your returns, consider switching to a commission-free broker or one with lower fees for your trading volume.
  • Track all trades: Keep a record of your trades to understand your overall performance. Our calculator shows the per-trade breakdown, which is essential for tracking.
  • Mind the spread: In real trading, bid-ask spreads also affect your actual execution price. The calculator uses your actual buy and sell prices.

Frequently Asked Questions

How do I calculate stock profit or loss?

Stock profit or loss is calculated as: (Selling Price × Shares) - (Purchase Price × Shares) - Total Fees. Enter your buy price, sell price, number of shares, and any commissions to get an instant calculation including ROI percentage and breakeven analysis.

What is ROI on a stock trade?

Return on Investment (ROI) measures the percentage return relative to your total investment. It is calculated as: (Net Profit / Total Cost) × 100%. For example, if you invested $10,000 and made $1,500 profit, your ROI is 15%. Our calculator includes fees in the ROI calculation for accuracy.

What is the breakeven price for a stock trade?

The breakeven price is the minimum selling price needed to cover your purchase cost plus all fees (buy and sell commissions). It is calculated as: (Total Purchase Cost + Sell Commission) / Number of Shares. Selling above this price means profit; below means loss.

How do trading fees affect my stock returns?

Trading fees reduce your net returns. Both buy-side and sell-side commissions are subtracted from your profit. For small trades, fees can represent a significant percentage of returns. Our calculator shows the exact fee impact as a dollar amount and percentage of your gross profit.

Does this calculator account for taxes on stock gains?

This calculator focuses on trading profit/loss and fees. It does not calculate taxes, as tax rates depend on your country, income bracket, and holding period (short-term vs long-term capital gains). Consult a tax professional for tax implications of your trades.

Additional Resources

Learn more about stock trading and investment returns:

Reference this content, page, or tool as:

"Stock Profit Loss Calculator" at https://MiniWebtool.com/stock-profit-loss-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Feb 25, 2026

Stock Calculators:

Top & Updated:

Stop Loss & Take Profit CalculatorStock Average CalculatorStock Split CalculatorView all →
Home Page > Financial Calculators > Stock Calculators > Stock Profit Loss Calculator