P/L

Finance & Money

Stock Profit Calculator

Calculate gross sale value, net proceeds, profit or loss, and return from executed buy and sell prices, share quantity, and fees on both sides. Follow a dedicated trade cash-flow bridge and identify costs that remain outside this transaction estimate.

Profit / loss$250.00
Return20.83%
Total proceeds$1,450.00
Profit / loss

Decision view

Trade cash-flow bridge

Purchase cost, gross sale value, entered fees, and net result are shown as distinct trade stages.
Gross purchase value$1,200.00
Gross sale value$1,450.00
Total fees$0.00
=
Net result$250.00

Return on entered cost: 20.83%

Stock trade profit ledgerCurrent inputs, formula path, and live output
QuantityCurrent inputsFormulaCurrent resultDecision use
Net proceedssell × shares − exit feeCash received before tax
Profit or loss(sell − buy) × shares − both feesNet modeled trade outcome
Returnprofit ÷ acquisition outlay × 100Return on modeled cash outlay

How to use Stock Profit Calculator

  1. Enter executed buy and sell prices, the traded share quantity, and the fee charged on each side.
  2. Review proceeds, net profit or loss, and return on entered cost as separate measures.
  3. Use the cash-flow bridge to confirm that both purchase and sale fees are represented before the net result.
  4. Add dividends, taxes, foreign-exchange effects, margin interest, or other cash flows separately when evaluating total investment return.

Calculator guide

Understanding Stock Profit Calculator

A stock trade result depends on the change in price, position size, and transaction costs. This calculator separates gross proceeds, fees, net profit or loss, and percentage return so the trade can be reviewed consistently.

Cost basis Purchase price multiplied by shares, plus applicable purchase costs.
Proceeds Sale price multiplied by shares before selling costs.
Net profit Sale proceeds minus purchase cost and entered fees.
Return Net profit or loss divided by the invested cost basis.

Calculation method

How the calculation works

Purchase cost = buy price x shares + buy fee; net sale proceeds = sell price x shares - sell fee; net profit = net sale proceeds - purchase cost; return (%) = net profit / purchase cost x 100. Calculate purchase cost and sale proceeds from price times shares. Subtract all entered transaction fees from the price gain or loss, then divide net profit by the invested cost to estimate percentage return.

Trade audit

Separate market movement from transaction friction

A profitable price move can still produce a weak or negative net result when position size is small relative to fees.

Purchase outlay Buy price multiplied by shares, plus the entered purchase-side fee.
Sale proceeds Sell price multiplied by shares, less the entered sale-side fee.
Net result Net sale proceeds minus the full purchase outlay.
Return denominator This page measures return against the entered purchase outlay, not against account equity or annualized time.

Worked situations

Practical examples

  • Measure the net result from buying 10 shares at $120 and selling at $145.
  • See when transaction fees erase a small price gain.
  • Compare the same price move at different position sizes.

Better inputs

Useful tips

  • Include both purchase and sale commissions or platform fees when they apply.
  • Use the executed average prices rather than an order limit price.
  • Evaluate return together with holding period and risk, not as a standalone performance measure.

Before relying on the result

Limitations and common mistakes

  • Taxes, dividends, currency conversion, bid-ask spread, and slippage are not automatically included.
  • The result is a transaction estimate, not an investment recommendation or brokerage statement.
  • Short sales, options, margin interest, and partial corporate actions require specialized calculations.

Reference

Key terms

Basis
The investment amount used to measure gain or loss.
Proceeds
Money received from selling the position before or after costs, as specified.
Return
Profit or loss expressed relative to invested capital.
Slippage
The difference between an expected trade price and the executed price.

Important note

Calculated from the entered values and stated financial terms. It is not a product quote, lending decision, tax filing, or investment recommendation.

Frequently asked questions

How is stock profit calculated?

Net profit is sale proceeds minus purchase cost and the transaction fees entered.

How is percentage return calculated?

The net profit or loss is divided by the invested cost basis and multiplied by 100.

Does the result include tax?

No. Capital-gains taxation depends on jurisdiction, account type, holding period, and individual circumstances.

Should dividends be included?

Add dividends separately when evaluating total return because this trade calculator focuses on price gain and entered fees.