2026-09-22 7 min read

Stock Profit Calculator

Net profit on a round-trip stock trade after commissions and dividends. Live calculator with worked steps and charts.

Calculator

Buy Price (per share) Help
$

What you paid per share, before commissions.

Sell Price (per share) Help
$

What you sold (or could sell) each share for.

Number of Shares(shares) Help
shares

How many shares the trade covers.

Advanced options (3)
Buy Commission & Fees
$
Sell Commission & Fees
$
Dividends Received Help
$

Cash dividends collected while holding.

This stock profit & returns calculator runs on standard equity maths: price moves plus dividends minus costs drive returns, payouts drive income, and multiples or discounted cash drive value.

Results

Optimal

Net Profit

$1,500

After commissions and dividends on 100 shares.

Total Return

30.00%

Total Cost (incl. buy fee)

$5,000

Total Proceeds (net + dividends)

$6,500

Breakeven Sell Price

$50.00

Sell price that leaves profit at exactly zero.

Profit per Share

$15

Shares

100

Live results update as you type — currently showing net profit of $1,500. Replace the defaults with your own prices, payouts and share counts for an exact answer.

Visualizations

Cost vs Proceeds

5,000Cost
6,500Proceeds

Cost vs Profit

Cost77%
Profit23%

Formula

Net profit on a round-trip trade: everything received (sale net of commission plus dividends) minus everything paid (purchase plus commission). Return expresses that profit as a share of the true cost.

Profit = (Sell × Shares − Sell fee + Dividends) − (Buy × Shares + Buy fee)

Alternative Form

Return = Profit ÷ True cost

Variables

SymbolNameUnitDescription
PProfitcurrencyNet proceeds minus true cost
CTrue costcurrencyPurchase plus buy commission
RTotal returnpercentProfit ÷ true cost
nSharescountShares in the trade

Explanation

This is what the round trip keeps after commissions and dividends — the economic gain, not just the price move.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Add the buy commission to the purchase to get the true cost.

Cost = buy × shares + buy fee
Buy price:$50.00
Shares:100
Buy fee:$0.00
Result: $5,000 total cost
Step 2

Subtract the sell commission, then add any dividends, for net proceeds.

Proceeds = sell × shares − sell fee + dividends
Sell price:$65.00
Sell fee:$0.00
Dividends:$0.00
Result: $6,500 net proceeds
Step 3

Subtract cost from proceeds for profit, then divide by cost for return.

Profit = proceeds − cost · Return = profit ÷ cost
Proceeds:$6,500
Cost:$5,000
Result: $1,500 (30.0%)
Final Answer
$1,500

Worked Examples

See how the calculator works with different scenarios.

Scenario

The stock profit calculator run on the values above, showing the full calculation path rather than only the answer.

Inputs

Buy Price (per share):$50
Sell Price (per share):$65
Number of Shares:100
Buy Commission & Fees:$0

Calculation

1. Add the buy commission to the purchase to get the true cost. → $5,000 total cost 2. Subtract the sell commission, then add any dividends, for net proceeds. → $6,500 net proceeds 3. Subtract cost from proceeds for profit, then divide by cost for return. → $1,500 (30.0%)

Result

Net Profit: $1,500

Interpretation

This is what the round trip keeps after commissions and dividends — the economic gain, not just the price move.

Understanding Your Result

Your Result: Net Profit: $1,500

Typical range: A 30.0% round-trip beats the long-run ~10% yearly stock average only if earned in under a year; annualise it before comparing.

What This Means

This is what the round trip keeps after commissions and dividends — the economic gain, not just the price move.

Why It Matters

Net $1,500 on $5,000 (30.0%); breakeven $50.00/share.

Professional Interpretation

Net $1,500 on $5,000 (30.0%); breakeven $50.00/share.

How this is calculated

Net profit on a round-trip trade: everything received (sale net of commission plus dividends) minus everything paid (purchase plus commission). Return expresses that profit as a share of the true cost.

What drives the result

Profit is proceeds minus cost, and return is profit divided by cost. Time turns a total return into a CAGR via compounding, while averaging reshapes the cost base that every future return is measured against. Because fees and dividends hit cost and proceeds directly, the headline return always differs from the bare price move.

Recommendations

  • •Confirm the after-tax figure — short-term gains are taxed as ordinary income.
  • •Compare against simply holding: the return per year matters more than the total.

Educational Content

Introduction

Stock returns come from two sources: the price moving and cash paid out along the way. Every figure on this page — profit, return, CAGR, breakeven, average cost — is derived from that single relationship, which is why adding commissions or dividends shifts all of them at once.

Concept Explanation

Profit is proceeds minus cost, and return is profit divided by cost. Time turns a total return into a CAGR via compounding, while averaging reshapes the cost base that every future return is measured against. Because fees and dividends hit cost and proceeds directly, the headline return always differs from the bare price move.

Applications

▸Checking a round-trip trade after commissions and dividends
▸Annualising multi-year gains into a comparable yearly rate
▸Setting breakeven and target prices before entering a position
▸Averaging down or up without losing track of the true cost base

Benefits

  • •Separates price moves from all-in returns including fees and income
  • •Turns holding periods of any length into comparable yearly rates
  • •Makes breakeven and profit targets explicit before emotions intervene
  • •Keeps averaged positions honest about what recovery really needs

Limitations

  • •Ignores taxes, which split short-term gains from long-term rates
  • •Uses nominal dollars — inflation quietly takes 2–3% a year
  • •Past price paths do not predict future returns or volatility
  • •Corporate actions (splits, spinoffs) must be adjusted before comparing prices

Best Practices

  • •Always include both commissions when judging a trade
  • •Annualise before comparing with market benchmarks
  • •Write the exit (target and stop) before entering the position
  • •Recompute the average cost the same day any new lot settles

Common Misconceptions

Myth: Price return equals total return
Truth: Dividends and fees routinely add or subtract several points — price alone understates buy-and-hold wealth and overstates net trading gains.
Myth: A 50% loss needs a 50% gain to recover
Truth: From the lower base it needs 100%. Percentage losses always demand larger recovery gains.

Practical Tips

  • •Enter both commissions — the breakeven line moves more than most traders expect.
  • •Add collected dividends before calling a trade flat.
  • •Annualise multi-year profits before comparing with yearly benchmarks.

Common Mistakes

Judging trades on price difference alone
Net the fees and add dividends first; many “winning” scalps are net losers.
Forgetting the holding period
A 20% gain in five years trails the market — CAGR, not total profit, is the comparison.

Assumptions

This calculator makes the following assumptions to provide estimates:

Single round trip at fixed prices: No partial fills, price improvement or slippage beyond the fees entered.
Dividends entered are cash collected: Reinvested dividends need the DRIP calculator instead.

Limitations

Be aware of these limitations when using this calculator:

Limitation: Ignores taxes, which split short-term gains from long-term rates
Limitation: Uses nominal dollars — inflation quietly takes 2–3% a year
Limitation: Past price paths do not predict future returns or volatility
Limitation: Corporate actions (splits, spinoffs) must be adjusted before comparing prices

Frequently Asked Questions

Answers to common questions about this calculator.

Why is profit lower than (sell − buy) × shares?
Because both commissions come off and only collected dividends come back. On small trades or high-fee brokers the fee drag dominates.
Do dividends really belong in a profit figure?
Yes for total profit — cash received while holding is part of the economic return, which is why ex-dividend timing matters.
Who uses the stock profit calculator?
It is used by traders checking a round trip, by investors reviewing an exit, and by advisers sanity-checking a gain before tax. It sits in the Stock Profit & Returns group of the Stocks, Dividends & Equities section of Atlascalcs.
How accurate is the stock profit calculator?
Every figure follows directly from the inputs using standard equity mathematics, so it is accurate to the quality of the values you enter. Broker rounding, corporate actions and tax treatment explain small differences against a statement.
Should I compare total return or price return?
Total return — price plus dividends minus fees — is the wealth you actually keep. Price return alone understates buy-and-hold compounding and flatters active trading.
Does rounding change the results?
Every calculation runs on full precision and rounds only for display. Broker statements round to cents and apply their own corporate-action adjustments, so expect tiny differences.
Are taxes included?
No. Taxes depend on holding period, account type and jurisdiction, so every figure here is pre-tax. Short-term gains and non-qualified dividends are typically taxed as ordinary income.
What should I have ready before using these calculators?
Per-share prices, share counts, commissions on both legs, dividends received, and for valuation the earnings, book, sales, debt, cash and share-count figures from the latest filings.
How do splits affect historical prices?
Split-adjust old prices before computing multi-year returns — otherwise a 2-for-1 split looks like a 50% crash. Data providers usually publish adjusted closes for this reason.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

Profit
Proceeds minus cost, including commissions and any dividends received while holding.
Total return
Profit divided by true cost, capturing price moves plus income minus fees.
Cost basis
The all-in amount invested per share or in total, including commissions; the anchor for gains and taxes.
Breakeven price
The sell price where profit is exactly zero after fees and dividends.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

Returns computed pre-tax in nominal dollars; commissions and dividends included exactly as enteredCAGR uses discrete annual compounding; yields use trailing-twelve-month dividends over priceMultiples use diluted shares where share counts apply; EV adds debt and subtracts cashMoney rounded for display only; all calculations run at full precision

Was This Calculator Helpful?

Page Information

Last Updated:

2026-09-22

Version:

2.0.0

License:

Free to use for educational and professional purposes.