2026-09-22 7 min read

Stock ROI Calculator

Return on investment: gain per dollar of cost on a stock position. Live calculator with worked steps and charts.

Calculator

Total Gain ($)
$
Total Cost ($)
$

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

Return on Investment

27.50%

Gain Counted

$2,200

Cost Base

$8,000

Ending Value (cost + gain)

$10,200

Money Multiple (MOIC)

1.27×

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

Visualizations

Cost vs Gain

Cost78%
Gain22%

ROI (Higher Is Better)

27.5%
-100500

Formula

Gain relative to cost base, the money-multiple lens without time adjustment.

ROI = Gain ÷ Cost × 100

Variables

SymbolNameUnitDescription
GainGain countedcurrencyPrice gain (plus income in dividend-ROI)
CostCost basecurrencyDollars risked

Explanation

This is gain per dollar risked — the efficiency of the capital deployed.

Step-by-Step Calculation

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

Step 1

Confirm the gain includes everything: price appreciation plus any income.

Gain = end value − cost
Gain:$2,200
Cost:$8,000
Result: $2,200
Step 2

Divide the gain by the cost base.

ROI = gain ÷ cost × 100
Gain:$2,200
Result: 27.50%
Step 3

Add one to get the money multiple.

MOIC = 1 + ROI
ROI:27.50%
Result: 1.27×
Final Answer
27.50%

Worked Examples

See how the calculator works with different scenarios.

Scenario

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

Inputs

Total Gain ($):$2200
Total Cost ($):$8000

Calculation

1. Confirm the gain includes everything: price appreciation plus any income. → $2,200 2. Divide the gain by the cost base. → 27.50% 3. Add one to get the money multiple. → 1.27×

Result

Return on Investment: 27.50%

Interpretation

This is gain per dollar risked — the efficiency of the capital deployed.

Understanding Your Result

Your Result: Return on Investment: 27.50%

What This Means

This is gain per dollar risked — the efficiency of the capital deployed.

Why It Matters

27.50% ROI ($2,200 on $8,000).

Professional Interpretation

27.50% ROI ($2,200 on $8,000).

How this is calculated

Gain relative to cost base, the money-multiple lens without time adjustment.

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

  • •State the holding period alongside ROI — 30% in one year beats 50% in five.
  • •Use CAGR, not ROI, when comparing multi-year investments.

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

  • •Always state the period next to any ROI.
  • •Include income for dividend payers or ROI understates.

Common Mistakes

Comparing ROIs over different horizons
Annualise first — 50% in five years trails 30% in one.

Assumptions

This calculator makes the following assumptions to provide estimates:

Gain and cost consistently defined: Mixing pre- and post-fee figures corrupts the ratio.

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.

ROI vs CAGR — which to use?
ROI for single-period wins; CAGR once time spans years.
Who uses the stock roi 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 roi 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.

ROI
Return on investment: gain divided by cost, usually without annualising for time.
CAGR
Compound annual growth rate: the smooth yearly rate that turns a starting value into an ending value.
Total return
Profit divided by true cost, capturing price moves plus income minus fees.

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.