2026-09-22 7 min read

Stock Return Calculator

All-in total return on a stock trade including fees 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

Total Return

18.75%

Profit divided by true cost, including fees and dividends.

Net Profit

$3,000

Price Return (ex-fees, ex-dividends)

18.75%

Total Cost

$16,000

Net Proceeds

$19,000

Breakeven Price

$80.00

Live results update as you type — currently showing total return of 18.75%. Replace the defaults with your own prices, payouts and share counts for an exact answer.

Visualizations

Return Decomposition

18.8%Price return
18.8%Total return

Total Return (Higher Is Better)

18.8%
-100200

Formula

All-in return divides net profit by true cost; price return divides the bare price move by the buy price. The gap between them is exactly fees and dividends.

Total return = (Proceeds − Cost) ÷ Cost

Alternative Form

Price return = (Sell − Buy) ÷ Buy

Variables

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

Explanation

This percent is the all-in performance per dollar of true cost — the comparable figure across trades.

Step-by-Step Calculation

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

Step 1

Measure the price move alone.

(Sell − buy) ÷ buy
Buy:$80.00
Sell:$95.00
Result: 18.75%
Step 2

Add commissions and dividends for the true all-in return.

(Proceeds − cost) ÷ cost
Proceeds:$19,000
Cost:$16,000
Result: 18.75%
Step 3

Attribute the gap between price return and total return to fees and dividends.

Drag = price return − total return
Fees:$0.00
Dividends:$0.00
Result: $3,000 net on 200 shares
Final Answer
18.75%

Worked Examples

See how the calculator works with different scenarios.

Scenario

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

Inputs

Buy Price (per share):$80
Sell Price (per share):$95
Number of Shares:200
Buy Commission & Fees:$0

Calculation

1. Measure the price move alone. → 18.75% 2. Add commissions and dividends for the true all-in return. → 18.75% 3. Attribute the gap between price return and total return to fees and dividends. → $3,000 net on 200 shares

Result

Total Return: 18.75%

Interpretation

This percent is the all-in performance per dollar of true cost — the comparable figure across trades.

Understanding Your Result

Your Result: Total Return: 18.75%

What This Means

This percent is the all-in performance per dollar of true cost — the comparable figure across trades.

Why It Matters

Total 18.75% vs price-only 18.75% — fees $0.00, dividends $0.00.

Professional Interpretation

Total 18.75% vs price-only 18.75% — fees $0.00, dividends $0.00.

How this is calculated

All-in return divides net profit by true cost; price return divides the bare price move by the buy price. The gap between them is exactly fees and dividends.

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

  • •Annualise multi-year returns before comparing with yearly benchmarks.
  • •Reinvested dividends compound — price return alone understates buy-and-hold wealth.

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

  • •Quote total return externally; use price return only for chart diagnostics.
  • •Annualise anything held over a year.

Common Mistakes

Comparing a 3-month return with a yearly benchmark
Scale time consistently or the comparison is meaningless.

Assumptions

This calculator makes the following assumptions to provide estimates:

One holding period, no interim cash flows: Intra-period dividends are summed, not timed.

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 do two returns appear?
Price return isolates the quote move; total return shows what you keep. Fees drag it down, dividends lift it.
How do I compare returns over different periods?
Annualise into CAGR — total percents without time mislead.
Who uses the stock return 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 return 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.

Total return
Profit divided by true cost, capturing price moves plus income minus fees.
Profit
Proceeds minus cost, including commissions and any dividends received while holding.
CAGR
Compound annual growth rate: the smooth yearly rate that turns a starting value into an ending value.

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.