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:
- 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.
- 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.
- Apply the formula – plug numbers into the relevant equation. The calculator above handles all three automatically.
- 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
| Metric | Best for | Time-sensitive? | Accounts for cash flows? |
|---|---|---|---|
| ROI | Quick comparison of two investments | No | No |
| CAGR | Comparing returns over different periods | Yes | No |
| Total return | Measuring all income sources | Yes | No |
| IRR / MWRR | Portfolios with deposits and withdrawals | Yes | Yes |
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.