Return Calculator

Investors often look at a single percentage on their brokerage statement and assume they know how their portfolio performed. But a reported 12% gain over three years tells you almost nothing without knowing whether that figure accounts for additional deposits, inflation, or reinvested dividends. A return calculator removes the ambiguity by computing standardized metrics – ROI, CAGR, and total return – from the numbers you actually entered.

What does a return calculator do?

A return calculator takes your initial investment, ending value, time period, and optional inputs like additional contributions or dividends, then outputs one or more standard measures of investment performance. Instead of relying on a broker’s summary, you see exactly how your money grew.

The calculator above supports three core metrics: simple return (ROI), annualized return (CAGR), and total return including cash flows. You can compare the results side by side to get a full picture.

Types of investment return

Each return metric answers a slightly different question. Choosing the right one depends on what you want to measure.

Simple return (ROI)

Return on Investment is the most basic measure. It tells you the percentage gain or loss relative to the amount you put in.

ROI formula:

$$ROI = \frac{\text{Ending Value} - \text{Beginning Value}}{\text{Beginning Value}} \times 100$$

If you invested $5,000 and sold for $6,500, your ROI is:

$$(6{,}500 - 5{,}000) / 5{,}000 \times 100 = 30\%$$

Limitation: ROI ignores time. A 30% return in 6 months is very different from the same return over 10 years.

CAGR (Compound Annual Growth Rate)

CAGR smooths out volatility and expresses the return as a steady annual growth rate. It answers: what constant annual rate would have produced this result?

CAGR formula:

$$CAGR = \left(\frac{\text{Ending Value}}{\text{Beginning Value}}\right)^{\frac{1}{n}} - 1$$

Where n is the number of years. Taking the previous example over 3 years:

$$(6{,}500 / 5{,}000)^{1/3} - 1 = 9.1\%$$

That 30% total gain translates to roughly 9.1% per year compounded – a meaningful difference for long-term planning.

Total return

Total return includes all sources of profit: capital gains, dividends, and interest. It also accounts for reinvested earnings, which compound over time.

A stock that gained 8% in price but paid a 2% dividend delivered a 10% total return. Over a decade, reinvested dividends alone can add 25–40% to the ending balance, according to historical S&P 500 data.

Annualized total return with contributions

When you make periodic deposits or withdrawals, simple formulas break down. The money-weighted rate of return (MWRR) uses the same logic as the internal rate of return (IRR) to find the discount rate that makes the net present value of all cash flows equal to zero.

This is the metric the calculator uses when you enter additional contributions or withdrawals.

How to calculate investment returns step by step

Follow this process whether you use a calculator or a spreadsheet:

  1. Gather your data – initial investment, date of purchase, ending value, date of sale or current date, all dividends or interest received, and any additional deposits or withdrawals with dates.
  2. Choose the metric – use ROI for a quick snapshot, CAGR to compare across time periods, and MWRR when money moved in or out of the investment.
  3. Apply the formula – plug numbers into the relevant equation. The calculator above handles all three automatically.
  4. Adjust for inflation – subtract the inflation rate from the nominal return to get the real return. In 2026, U.S. inflation runs near 3%.

Adjusting for inflation: nominal vs. real return

Nominal return is what you see on paper. Real return reflects purchasing power.

Real return approximation:

$$\text{Real Return} \approx \text{Nominal Return} - \text{Inflation Rate}$$

A $10,000 investment growing to $12,000 over 5 years has a nominal CAGR of 3.7%. With 3% average inflation, the real CAGR is only about 0.7% – the rest of the gain was eaten by rising prices.

For precise results, use the exact formula:

$$\text{Real Return} = \frac{1 + \text{Nominal}}{1 + \text{Inflation}} - 1$$

Common mistakes when calculating returns

  • Ignoring dividends. Price-only returns understate stock performance by 2–3% per year on average for equity indices.
  • Confusing average annual return with CAGR. Volatile investments can show a positive average return but a negative CAGR. A fund that rises 50% in year one and falls 40% in year two averages +5% per year, yet its CAGR is −4.2%.
  • Forgetting transaction costs. Brokerage fees, taxes, and fund expense ratios reduce your actual return. Always calculate net of costs.
  • Using the wrong time frame. Comparing a 1-year return to a 5-year return without annualizing is misleading.

How to compare investment returns

MetricBest forTime-sensitive?Accounts for cash flows?
ROIQuick comparison of two investmentsNoNo
CAGRComparing returns over different periodsYesNo
Total returnMeasuring all income sourcesYesNo
IRR / MWRRPortfolios with deposits and withdrawalsYesYes

Use CAGR when comparing a 3-year bond to a 7-year stock position. Use IRR when you regularly add money to a retirement account. The return calculator computes all of these so you can select the metric that matches your situation.

S&P 500 historical returns for context

The S&P 500 has delivered an average annualized return of approximately 10.3% since 1926 (before inflation). Over rolling 20-year periods, it has never produced a negative total return. These figures include reinvested dividends and serve as a common benchmark for equity investors.

Keep in mind that individual years vary sharply – the index lost 37% in 2008 and gained 32% in 2013. Long-term averages smooth out these swings, which is exactly what CAGR is designed to do.

This information is for educational purposes only and does not constitute investment advice. Past performance does not guarantee future results.

Frequently Asked Questions

What is a good annual return on investment?
A 7–10% annualized return is considered solid for stock market investments, matching the long-term S&P 500 average. Bonds typically return 3–5%, while savings accounts offer 4–5% in 2026. “Good” depends on the asset class and the level of risk you accepted.
What is the difference between CAGR and average annual return?
CAGR measures the smoothed annual growth rate accounting for compounding, while the average annual return is the arithmetic mean of yearly returns. CAGR gives a more accurate picture of actual wealth growth over time. For example, returns of +25% and −20% average 2.5% per year but produce a CAGR of 0%.
Should I include dividends when calculating stock returns?
Yes. Dividends are a major component of total return, historically contributing about 40% of the S&P 500 total return. Ignoring them understates your actual gain. Always use total return figures when comparing investments over multiple years.
How do I calculate a return with multiple cash deposits and withdrawals?
Use the money-weighted rate of return (MWRR) or internal rate of return (IRR), which accounts for the timing and size of each cash flow. Simple ROI will be misleading when money enters or leaves the portfolio at different times. A spreadsheet IRR function or a dedicated calculator handles this automatically.
What is the difference between nominal and real return?
Nominal return is the raw percentage gain without adjusting for inflation. Real return subtracts the inflation rate, showing your true increase in purchasing power. In 2026, with inflation around 3%, a 10% nominal return translates to roughly a 7% real return.
Can a return calculator predict future performance?
No. A return calculator measures past performance based on numbers you enter. Past returns do not guarantee future results. However, understanding historical return rates helps set realistic expectations and compare investment options.
  1. Rate of Return Calculator (2026)
  2. Investment Calculator: Project Your Future Wealth (2026)
  3. CAGR Calculator: Compound Annual Growth Rate
  4. Dividend Calculator
  5. Increase of Percentage Calculator
  6. Monthly Interest Calculator