Stock Profit Calculator

Calculate total cost, total proceeds, profit or loss, ROI, break-even price, and per-share result.

Buy details
$
$
%
Sell details
$
$
%
Enter either commission amount or commission %. The last one you edit is used as the source value.
Total buy cost
Total sell proceeds
Net buy price / share
Net sell price / share
Profit / Loss
ROI
Break-even sell price / share
Profit / Loss per share

Use this Stock Calculator to estimate the profit or loss from buying and selling shares. It includes optional buy and sell commissions and calculates total cost, net sale proceeds, ROI, break-even selling price, and profit or loss per share.

Important: This is a trade-return calculator, not a stock-price prediction or valuation tool. Taxes, dividends, market slippage, and investment holding period are not included.

Stock Profit Calculation

First calculate the value of the shares purchased:

Purchase value = number of shares × buy price per share

If a buy commission applies:

Total buy cost = purchase value + buy commission

For the sale:

Sale value = number of shares × sell price per share

Net sale proceeds = sale value − sell commission

The resulting profit or loss is:

Profit or loss = net sale proceeds − total buy cost

Return on Investment (ROI)

The calculator uses a simple trade-level return:

ROI = profit or loss ÷ total buy cost × 100

A positive result represents a gain, while a negative result represents a loss.

Profit or loss per share is:

Per-share result = profit or loss ÷ number of shares

Break-Even Share Price

The break-even price is the selling price needed for net sale proceeds to equal your total buy cost.

With a fixed selling commission:

Break-even price = (total buy cost + sell commission) ÷ number of shares

If the selling commission is percentage-based, the calculator also accounts for that percentage when solving for the required selling price.

Worked Example

Suppose you:

  • Buy 100 shares at $20 each
  • Pay a $10 buy commission
  • Sell the shares at $24 each
  • Pay a $10 sell commission

Purchase value:

100 × $20 = $2,000

Total buy cost:

$2,000 + $10 = $2,010

Sale value:

100 × $24 = $2,400

Net sale proceeds:

$2,400 − $10 = $2,390

Profit:

$2,390 − $2,010 = $380

ROI:

$380 ÷ $2,010 × 100 ≈ 18.91%

Profit per share:

$380 ÷ 100 = $3.80

The break-even selling price with the $10 selling commission is:

($2,010 + $10) ÷ 100 = $20.20 per share

Important Notes

  • The calculator includes entered transaction commissions when estimating the trade result.
  • If you enter commissions as percentages, they are calculated from the corresponding transaction value.
  • Brokerage fees, regulatory fees, bid-ask spreads, and market slippage may make actual proceeds different from the estimate.
  • Dividends and other distributions are not included, so this is not a total-return calculation.
  • Taxes on capital gains or losses are not calculated.
  • ROI is a simple percentage return and does not account for how long the investment was held. It should not be interpreted as an annualized return.
  • Stock prices can fluctuate significantly, and a calculated potential profit does not predict future investment performance.
  • The currency selection is for expressing the entered values consistently; do not mix amounts denominated in different currencies without first converting them.

Sources

More of our calculators...

Lottery Tax Calculator

Use our Lottery Tax Calculator to estimate lump-sum lottery payout after federal and state taxes, total tax, and net payout as a percentage of the jackpot.

Inflation Calculator

Calculate how inflation changes money value over time. Estimate future value, today’s purchasing power, cumulative inflation, and monthly inflation schedule.

Compound Interest Calculator

Compound Interest Calculator helps you estimate interest growth, future value, and savings over time with ease.

Credit Card Payoff Calculator

Use our Credit Card Payoff Calculator to estimate payoff time, payoff date, total interest, and monthly schedule for fixed or minimum credit card payments.

Car Finance Calculator

Use our Car Finance Calculator to estimate monthly car payments, amount financed, total interest, total loan payments, and vehicle cost.

Mortgage Calculator

Calculate monthly mortgage payment, total interest, payoff date, and amortization. Add down payment, taxes, insurance, PMI, and extra payments.

Lease Calculator

Use this lease calculator to estimate monthly auto lease payments, depreciation charge, finance charge, residual value, due at signing, tax, and total lease cost.

Savings Goal Calculator

Use this savings goal calculator to estimate how long it may take to reach a savings target, required monthly saving, projected value, and estimated interest growth.

Basis Point (BPS) Calculator

Basis Point (BPS) Calculator helps you convert basis points to percentages and measure rate changes quickly and accurately.