Skip to content
OverCalculator
  1. Home
  2. Financial
  3. Stock Calculator (Profit/Loss)
Financial

Stock Calculator (Profit/Loss)

Estimate stock trade profit or loss after buy and sell commissions, including ROI, net proceeds, and the break-even selling price.

By OverCalculator Editorial Team, Updated

Profit or loss
Estimated stock profit
$680.02
Net buying cost
$2,509.99
Net selling proceeds
$3,190.01
Return on investment
27.09%
Break-even selling price
$25.20
Shares traded
100

Profit equals sale proceeds after commission minus purchase cost after commission. Break even is $25.20 per share.

$
$
$
$

Results update as you type.

Stock Calculator (Profit/Loss)

This stock calculator estimates the profit or loss on a single share trade after commissions. It is deliberately about the trade ticket: how much cash went out when shares were bought, how much came back when they were sold, and what return those cash flows produced. That makes it different from the dividend calculator, which projects income payouts, the dividend yield calculator, which compares annual dividend per share with price, and the market capitalization calculator, which measures company size from price and shares outstanding.

Use it for a completed sale, a planned exit, or a what-if price target. Enter the number of shares, the buy price per share, the buy commission, the sell price per share, and the sell commission. The form returns net buying cost, net selling proceeds, profit or loss, ROI, and the selling price that would break even after fees. The output is informational, not investment advice; it checks arithmetic but does not tell you whether to buy, hold, or sell a security.

Formula and what it means

The calculator treats commissions as real cash flows. Buying commission increases the amount invested in the position. Selling commission reduces the cash received when the position closes.

total cost=(shares×buy price)+buy commission\text{total cost} = \left(\text{shares} \times \text{buy price}\right) + \text{buy commission}

net proceeds=(shares×sell price)sell commission\text{net proceeds} = \left(\text{shares} \times \text{sell price}\right) - \text{sell commission}

profit=net proceedstotal cost\text{profit} = \text{net proceeds} - \text{total cost}

ROI=profittotal cost×100\text{ROI} = \frac{\text{profit}}{\text{total cost}} \times 100

break-even sell price=total cost+sell commissionshares\text{break-even sell price} = \frac{\text{total cost} + \text{sell commission}}{\text{shares}}

Profit is positive when net proceeds exceed total cost and negative when they do not. ROI expresses that dollar gain or loss as a percentage of the money required to enter the trade. Break-even price reverses the same math so you can see the exact per-share exit price that would recover the purchase and both commissions.

Worked example matching the calculator

Assume the default trade: 100 shares, a $25.00 buy price, a $9.99 buying commission, a $32.00 sell price, and a $9.99 selling commission.

StepCalculationResult
Gross buying cost100 shares × $25.00$2,500.00
Total cost$2,500.00 + $9.99$2,509.99
Gross sale value100 shares × $32.00$3,200.00
Net proceeds$3,200.00 - $9.99$3,190.01
Profit$3,190.01 - $2,509.99$680.02
ROI$680.02 ÷ $2,509.99 × 10027.09%
Break-even sell price($2,509.99 + $9.99) ÷ 100$25.20

Those values match the form output: estimated stock profit of $680.02, net buying cost of $2,509.99, net selling proceeds of $3,190.01, return on investment of 27.09%, and a break-even selling price of $25.20 per share. If the same shares were sold at $24.00 with the same commissions, the calculator would show a loss because net proceeds would be below total cost.

How investors use the result

The first use is trade review. Comparing profit with ROI prevents a large dollar gain from looking impressive when the required capital was even larger. A $1,000 gain on a $100,000 position is a 1% return; a $200 gain on a $1,000 position is a 20% return. The calculator shows both dollar and percentage perspectives.

The second use is planning. Break-even price is helpful before placing an order because fees raise the price needed to avoid a loss. That matters most for small trades, frequent trades, and low-priced shares where a flat commission is large relative to the position. Even if your broker charges $0 commission, the bid-ask spread and execution price can still matter.

The third use is comparison with other stock metrics. A profitable trade does not necessarily mean the company was cheap; valuation belongs on pages such as the price-to-earnings calculator and EPS calculator. A losing trade does not necessarily mean the business is bad; it may reflect timing, market-wide movement, taxes, position sizing, or a change in risk appetite. For non-stock business math, the profit calculator is a better fit.

Benchmarks and interpretation

There is no universal good ROI for a stock trade. Short holding periods usually need to be compared with similar time horizons, while long holding periods should be compared with broad market returns, cash alternatives, and the risk taken. A positive result after commissions means the trade made money before taxes. A negative result means the exit returned less cash than the entry cost.

For scenario work, test several sell prices rather than one target. A table of downside, base, and upside prices can show how quickly profit changes when the share price moves. If the break-even price is close to your expected sale price, the trade has little margin for fees, price slippage, or taxes.

Limitations and practical tips

This calculator does not include dividends, tax lots, wash-sale rules, margin interest, short-sale borrowing costs, foreign exchange, or option exercises. It also assumes the entered buy and sell prices represent actual average execution prices. If you filled an order in several pieces, use the weighted average price from your broker statement.

Keep separate notes for cash dividends and reinvested dividends. The dividend calculator can model income, and the dividend yield calculator can translate annual dividend per share into a yield. For valuation context, pair the trade result with P/E, EPS, and market capitalization rather than relying on price movement alone.

Before relying on the output, confirm the share count, commissions, and currency. Round only at the end, because rounding each intermediate step can make cents differ from the form. Treat the result as a clean transaction estimate and combine it with broader research, diversification rules, and personal financial goals.

Sources

  • SEC Investor.gov, Stocks — overview of common stock ownership and risks.
  • FINRA, Stocks — investor education on stock features, risks, and trading considerations.
  • FINRA, Investment Products — context for comparing stocks with other investment types.

Frequently asked questions

What does this stock calculator measure?
It measures the gain or loss on one stock trade after the entered buying commission and selling commission. The result is different from dividend income, valuation, or company size: it focuses on your transaction cash flows, net proceeds, ROI, and the share price needed to break even.
Do commissions affect stock ROI?
Yes. The calculator adds buying commission to the cost of entering the trade and subtracts selling commission from sale proceeds. Because ROI divides profit by total buying cost, even small fixed commissions can noticeably reduce returns on small positions or trades with thin price gains.
How is the break-even selling price calculated?
Break-even selling price is the sale price per share that would repay the share purchase cost plus both commissions. The calculator adds the total buying cost and selling commission, then divides by shares. A sale above that number produces a gain; a sale below it produces a loss.
Can I use it for fractional shares?
Yes. The share input accepts decimals, so fractional positions work the same as whole-share trades. Enter the exact quantity shown by your broker, the actual buy price, the actual sell price, and commissions. The result will still calculate net cost, net proceeds, profit, ROI, and break-even price.
Does the calculator include taxes or dividends?
No. It models the trade itself: shares, buy price, sell price, and commissions. Capital gains taxes, dividend payments, foreign withholding, bid-ask spread, and currency conversion can change your actual result. Add those separately when you need an after-tax or total-return view.
Is this result investment advice?
No. The calculation is informational, not investment advice. It can help you check the arithmetic of a completed or planned trade, but it does not evaluate business quality, valuation, risk tolerance, portfolio fit, diversification, or whether a security is appropriate for you.

Related calculators

Stock Calculator (Profit/Loss) updated at