Stock Investing Tool

Stock Profit Calculator

Calculate stock trading profit, loss, profit percentage, and ROI from entry price, exit price, share count, and brokerage fees.

Last Updated: May 2026
Compute gross and net trading profit View profit percentage and ROI Factor in brokerage and trading fees Mobile-friendly stock calculator

Stock Profit Formula Breakdown

Gross Profit = (Exit Price - Entry Price) x Number of Shares
Net Profit = Gross Profit - Brokerage Fees
Profit Percentage = ((Exit Price - Entry Price) / Entry Price) x 100
ROI = (Net Profit / Total Investment Cost) x 100

Example Stock Profit Calculation

Suppose you buy 100 shares at $100 and sell them at $120 with $10 in brokerage fees. The gross profit is $2,000, while the net profit is $1,990 after fees.

This example shows why a stock profit calculator should separate gross profit, net profit, profit percentage, and ROI. A winning price move can still have a lower real return after costs.

  1. Enter the buy price as the entry price.
  2. Enter the sell price as the exit price.
  3. Add share count and total brokerage fees.
  4. Review gross profit, net profit, profit percentage, and ROI.

Stock Profit Example Comparison

The table below shows how the same 100-share trade changes when the exit price changes. It helps compare gain, loss, and ROI examples before using custom inputs.

Entry PriceExit PriceSharesGross Result
$100$90100-$1,000
$100$110100$1,000
$100$125100$2,500

How to Interpret the Result

A positive net profit means the exit value exceeded the entry cost and fees. A negative result means the trade lost money after the entered costs.

ROI is usually more useful than raw dollar profit when comparing trades of different sizes because it relates the gain or loss to capital used.

What This Calculator Does Not Include

This calculator does not include taxes, slippage, bid-ask spread, margin interest, currency conversion, or partial fills.

It is best for one trade example at a time. If you have multiple entries or exits, combine them carefully or calculate each lot separately.

How to Use This Calculator

Calculate stock trading profit, loss, profit percentage, and ROI from entry price, exit price, share count, and brokerage fees.

  • Enter realistic values from your own notes or a sample stock scenario.
  • Compare the result with the formula section so the calculation is easy to audit.
  • Use the result as an educational reference, not as a buy, sell, or hold signal.

Important Limits

Stock Profit Calculator does not predict market direction, future returns, liquidity, taxes, slippage, or personal suitability. Real results can differ because prices, fees, tax rules, and order execution may change.

Learn the Concepts Behind the Numbers

After using this calculator, use the learning checks to review whether the underlying stock terms, risk ideas, and market basics are clear.

Educational Review

Last updated: May 2026. StockCalcLab tools are built for financial education and calculation practice only. They do not provide personalized financial, tax, legal, or investment advice.

Stock Profit Calculator FAQ

What is a stock profit calculator used for?

A stock profit calculator estimates profit or loss on a sample stock trade using entry price, exit price, share count, and trading fees.

Why should I include brokerage fees?

Brokerage fees reduce actual net profit. Including them gives a clearer educational estimate of trade return.

What is the difference between profit percentage and ROI?

Profit percentage focuses on price movement, while ROI compares net profit with the total amount invested, including fees.

Can this calculator show a loss?

Yes. If the exit price is below the entry price or fees exceed the price gain, the result can show a loss.

Does this include taxes?

No. Capital gains taxes and local trading taxes are not included unless you adjust the inputs manually.

How do I calculate stock profit with fees?

Subtract the entry cost and brokerage fees from the exit value. This calculator separates gross profit from net profit so fee impact is easier to see.

Can this calculator be used for multiple trades?

It is designed for one sample trade at a time. For multiple trades, calculate each trade separately or combine the weighted average entry and exit assumptions manually.

Disclaimer: This calculator is for educational stock profit examples only. It is not financial, tax, trading, or investment advice.