Skip to main content
CalculoraCalculora

Financial & Business

Finance CalculatorsInvestment & PlanningPersonal FinanceReal Estate InvestingBusiness ToolsStartup & SaaS

Math & Technology

Math CalculatorsEngineering ToolsPhysics ToolsDeveloper ToolsSchool Tools

Health & Life

Medical ToolsSmart UtilityRandomizers

Creator & Specialty

Creator EconomyIslamic ToolsSustainabilityGames

Converters

Unit ConverterLength ConverterWeight ConverterTemperature Converter→ Unit Converters

Randomizers

Random Number GeneratorPassword Strength CheckerSpin the WheelCoin Flip SimulatorDice RollerTimezone Overlap Calculator→ Randomizers
File Converter

PDF Tools

Convert PDF to JPGConvert PDF to PNGExtract Text from PDFConvert PDF to GIFConvert PDF to WebPConvert PDF to SVGConvert PDF to WordConvert PDF to ExcelConvert PDF to PowerPointConvert PDF to HTMLConvert PDF to MarkdownConvert PDF to TIFF

Image Converter

Convert JPG to PNGConvert PNG to JPGConvert PNG to WebPConvert WebP to PNGConvert WebP to JPGConvert JPG to WebPConvert SVG to PNGConvert SVG to JPGConvert SVG to WebPConvert BMP to PNGConvert BMP to JPGConvert BMP to WebP

Advanced Images

Convert HEIC to JPGConvert HEIC to PNGConvert TIFF to JPGConvert TIFF to PNGConvert JPG to TIFFConvert PNG to TIFFConvert JPG to ICOConvert PNG to ICOConvert JPG to AVIFConvert PNG to AVIF

GIF & Animation

Convert GIF Frames to PNGConvert GIF Frames to JPGGIF Frame ExtractorConvert PNG to GIFConvert JPG to GIFConvert GIF to WebP

Editing

Add WatermarkImage Object RemoverResize images instantly in your browserCompress images online — reduce file size, keep quality
Math Speed ChallengeMental Math ChallengeWordleBint WaladSudoku2048
Currency Converter
CalculoraCalculora

Your all-in-one calculator platform. Free, fast, and accurate tools for every need.

100% private — all calculations happen in your browser, no data sent to any serverFree forever — no paywalls, no subscriptions, no accounts needed

Popular

  • BMI Calculator
  • Loan Calculator
  • Age Calculator
  • Mortgage Calculator
  • Percentage Calculator
  • Scientific Calculator
  • View All →

Categories

  • Math
  • Finance
  • Health & Life
  • Financial & Business
  • Developer Tools
  • Engineering
  • Categories →

More

  • Currency Converter
  • File Converter
  • Games & Fun Tools

Legal

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

Languages

enEnglisharالعربيةesEspañoldeDeutschfrFrançaishiहिन्दीidBahasa IndonesiaitItalianoja日本語ko한국어ptPortuguêsruРусскийtrTürkçeviTiếng Việtbnবাংলাzh中文nlNederlandsplPolskiukУкраїнськаmsBahasa Melayuthภาษาไทย

© 2026 Calculora. All rights reserved.

Built with — 100% free

No servers — fully static site, zero data collection

  1. Home
  2. Investment & Planning
  3. Stock Profit/Loss Calculator

Stock Profit/Loss Calculator

Calculate your net profit, ROI, and total returns including broker commissions on both buy and sell sides. Free stock trading calculator.

Loading calculator...
Did this calculator help you?

What is Stock Profit/Loss Calculator?

Understanding your true profit or loss on stock trades requires accounting for more than just the price difference. Broker commissions, fees, and other transaction costs can significantly impact your returns, especially for frequent traders or smaller positions. Our stock profit/loss calculator computes both gross profit (the raw price difference) and net profit (after all commissions). It supports both percentage-based and fixed-dollar commission models, so you can accurately model your broker's fee structure. The ROI calculation helps you compare the efficiency of different trades regardless of position size. Whether you're evaluating a completed trade, planning an exit, or comparing different entry/exit scenarios, this calculator gives you the complete financial picture including the often-overlooked impact of transaction costs.

Steps:

  1. Enter the price per share you paid to buy the stock.
  2. Enter the price per share you plan to sell (or already sold) at.
  3. Input the number of shares in your position.
  4. Set your broker's buy and sell commission rates (percentage or fixed).
  5. Review your gross profit, net profit, ROI, and break-even price.

Formula

Gross Profit = (Sell Price − Buy Price) × Shares Buy Commission Amount = Buy Price × Shares × Buy Commission % (or fixed amount) Sell Commission Amount = Sell Price × Shares × Sell Commission % (or fixed amount) Total Cost = Buy Price × Shares + Buy Commission Total Revenue = Sell Price × Shares − Sell Commission Net Profit = Gross Profit − Buy Commission − Sell Commission ROI = (Net Profit ÷ Total Cost) × 100 Break-Even Price = (Buy Price × Shares + Buy Commission + Sell Commission) ÷ Shares

Use Cases

  • Stock traders evaluating completed trade performance
  • Investors planning exit strategies with commission awareness
  • Day traders calculating net returns after frequent trading fees
  • Portfolio managers comparing trade efficiency across positions

Key Benefits

  • See true net profit after all transaction costs
  • Compare percentage vs fixed commission models
  • Calculate ROI for trade efficiency comparison
  • Identify break-even price for risk management

Pro Tips

  • Always calculate net profit, not just gross profit
  • Use ROI to compare trades of different sizes fairly
  • Factor in all fees — commissions, SEC fees, exchange fees
  • Track your break-even price before entering any trade

Common Mistakes to Avoid

  • Ignoring commissions when calculating trade profitability
  • Using gross profit instead of net profit for performance tracking
  • Not accounting for both buy and sell side fees
  • Comparing trades without normalizing for position size (use ROI)

Key Terms Explained

  • Gross Profit: Price difference × shares before commissions
  • Net Profit: Actual profit after all transaction costs
  • ROI: Return on Investment as a percentage of total cost
  • Break-Even Price: Minimum sell price to cover all costs

Related Concepts

  • Stock Break-Even Calculator – Find minimum sell price
  • Stock Average Down Calculator – Lower your cost basis
  • ROI Calculator – Enterprise-grade return analysis

Example

You bought 100 shares at $150 each with a 0.5% buy commission. You sell at $175 with a 0.5% sell commission. Gross Profit = ($175−$150) × 100 = $2,500. Buy Commission = $15,000 × 0.5% = $75. Sell Commission = $17,500 × 0.5% = $87.50. Net Profit = $2,500 − $75 − $87.50 = $2,337.50. ROI = $2,337.50 ÷ $15,075 × 100 = 15.51%.

Frequently Asked Questions

What is the difference between gross profit and net profit?
Gross profit is simply (sell price − buy price) × shares — the raw price difference. Net profit subtracts all commissions and fees from the gross profit. Net profit is what you actually keep. For example, a $500 gross profit with $25 in buy commissions and $25 in sell commissions equals $450 net profit.
How are broker commissions calculated?
Commissions can be charged as a percentage of the trade value (e.g., 0.5% of the total) or as a fixed flat fee per trade (e.g., $5 per trade). This calculator supports both methods. Many modern brokers offer zero-commission trading, but some still charge fees, especially for international markets or options.
What is ROI and how is it calculated?
ROI (Return on Investment) = (Net Profit ÷ Total Cost) × 100. Total Cost includes your purchase price plus buy commission. A positive ROI means you made money; negative means you lost. For example, investing $5,000 and earning $500 net profit gives an ROI of 10%.
Do I need to pay taxes on stock profits?
In most countries, yes. Short-term capital gains (held less than a year) are typically taxed as ordinary income. Long-term gains (held over a year) often receive preferential tax rates. Always consult a tax professional for your specific situation, as tax laws vary by jurisdiction.
How does this calculator handle short selling?
This calculator is designed for long positions (buy first, sell later). For short selling, the math is reversed — you profit when the price drops. Use the same inputs but expect a negative gross profit if sell price is below buy price.
What break-even price do I need?
Break-even price = (Buy Price × Shares + Buy Commission + Sell Commission) ÷ Shares. This is the minimum price you need to sell at to cover all costs. The calculator shows this automatically in the results.
Are there hidden costs beyond commissions?
Yes. Additional costs may include: SEC fees (small fraction of sale value), exchange fees, spread costs (difference between bid and ask), slippage (difference between expected and actual fill price), and margin interest if trading on borrowed money.
How do I calculate profit percentage vs dollar profit?
Dollar profit = Net Profit (shown in currency). Profit percentage = ROI (shown as %). Both are important — a $100 profit on a $1,000 investment (10% ROI) is better than $100 profit on a $10,000 investment (1% ROI), even though the dollar amount is the same.
Can I use this for mutual funds or ETFs?
Yes, the calculator works for any tradable security — stocks, ETFs, mutual funds, REITs, or even cryptocurrency. Just enter the buy/sell prices, number of shares/units, and any applicable fees.
What is the impact of commissions on frequent trading?
Commissions compound with each trade. If you pay $10 per round trip and trade 100 times per year, that's $1,000 in commissions. You need to earn at least $1,000 just to break even on fees. This is why low-commission brokers are essential for active traders.
How do dividends affect my profit calculation?
Dividends are separate from capital gains and are not included in this calculator. To get your total return, add all dividends received to your net profit. For example, $500 capital gain + $200 dividends = $700 total return. Dividends may also have different tax treatment than capital gains.

Related Tools

Explore more tools

Dividend Calculator

Investment Growth Calculator

Monte Carlo Retirement Simulator

Sequence of Returns Risk Calculator

Safe Withdrawal Rate Calculator

DCA Calculator

Similar Tools

Dividend Calculator
Investment & Planning
Investment Growth Calculator
Investment & Planning
Monte Carlo Retirement Simulator
Investment & Planning
Sequence of Returns Risk Calculator
Investment & Planning
Buy Price per Share
Sell Price per Share
Number of Shares
Commission Type
Buy Commission
%
Sell Commission
%
Net Profit
—
Gross Profit
—
Return on Investment
—
Total Commissions
—
$0.00
$1.00$1,000.00
0 shares
1 shares10000 shares