Last updated:
TL;DR: This tool computes both total ROI and CAGR from a starting value, ending value, and holding period, so you can judge performance both in raw percentage terms and on an annualized basis. Use CAGR whenever you are comparing investments held for different lengths of time.
Understanding ROI and CAGR
An investment return calculator turns a raw dollar gain into numbers you can actually compare: total ROI and CAGR. Think of it as an ROI calculator and a CAGR calculator working together, since measuring performance accurately takes more than looking at the raw dollar profit. A $10,000 gain on a $50,000 investment is a 20 percent return, but whether that is good depends heavily on how long it took to earn. This tool computes both total ROI, the overall percentage gain, and CAGR, the compound annual growth rate, to give a complete picture of how an investment performed relative to time.
Total ROI answers a simple question, namely what percentage did I gain or lose overall. CAGR answers a more useful comparison question, namely what steady annual rate would have produced this same result. A single stock return figure can look impressive without context, but expressing it as an annualized rate makes it directly comparable to a savings account rate, a bond yield, or the broad stock market.
The Investment Return Formula Explained
The formula for total ROI is the ending value minus the starting value, divided by the starting value, multiplied by 100. The formula for CAGR is the ending value divided by the starting value, raised to the power of one divided by the number of years, minus one, then multiplied by 100 to express it as a percentage. Knowing how to calculate investment return by hand for at least one example builds confidence that the calculator's output is trustworthy, and it only takes a minute once you have the two formulas in front of you. This is exactly the math running behind the scenes on this investment return calculator, an ROI calculator and CAGR calculator rolled into one, so hand-checking a single example confirms the tool is doing its job correctly.
Notice that neither formula requires knowing anything about what happened in between the starting and ending dates. A stock that fell 40 percent and then recovered to a new high produces the same total ROI and CAGR as one that rose steadily the entire time, as long as the starting and ending values match. This is both a strength and a limitation: the formulas are simple and universal, but they say nothing about volatility or the emotional experience of holding through a decline, which is why serious investors pair ROI and CAGR with a risk measure such as maximum drawdown or standard deviation before drawing firm conclusions about an investment's quality.
Walking through a full example makes the formulas concrete. Suppose you bought shares for $50,000 and they are worth $80,000 today, five years later. Total ROI is (80,000 minus 50,000) divided by 50,000, times 100, which equals 60 percent. CAGR is (80,000 divided by 50,000) raised to the power of one fifth, minus one, times 100, which equals approximately 9.86 percent. Both figures describe the same underlying investment, but they answer different questions: one tells you the total gain, the other tells you the annualized pace of that gain.
| Starting Value | Ending Value | Years Held | Total ROI | CAGR |
|---|---|---|---|---|
| $50,000 | $80,000 | 5 | 60.0% | 9.86% |
| $50,000 | $80,000 | 10 | 60.0% | 4.81% |
Notice how identical total ROI figures produce very different CAGR results depending on the holding period, which is exactly why CAGR, not raw ROI, is the correct metric for comparing two investments held for different lengths of time.
Investment Return Calculator for Stocks vs Real Estate
Running a stock holding and a real estate holding through the same investment return calculator uses identical ROI and CAGR formulas underneath, so the math never changes based on asset type. What changes is which numbers belong in the starting and ending value fields. For a stock, the starting value is simply the purchase price and the ending value is the current price plus any reinvested dividends. For a rental property, the starting value should include the full purchase price plus closing costs and any major capital improvements, not just the mortgage amount, and the ending value should reflect net sale proceeds after transaction costs, or current estimated market value plus any net rental income collected along the way.
Leaving out these adjustments is one of the most common reasons real estate returns look better than they actually are in casual conversation. For a rate that isolates the price growth component alone without reinvestment assumptions, our compound interest calculator can model a simplified constant-rate version of the same growth for comparison.
What Is a Good CAGR for an Investment?
The most common benchmark for U.S. stock investors is the S&P 500, which has delivered roughly 10.5 percent nominal CAGR and about 7 percent real, inflation-adjusted, CAGR over the past 50 years, according to the SEC's investor education resources. What counts as good depends heavily on the asset class and the risk taken to achieve it: a strong stock return for a diversified portfolio sits between 7 and 10 percent nominal over a full decade, while a bond-heavy portfolio delivering 4 to 5 percent may still be entirely appropriate for an investor prioritizing stability over growth. If your portfolio CAGR is below 7 percent over a long period, a low-cost index fund may be outperforming your current approach net of fees. If it is above 10 percent, your portfolio is beating the broad market, though that outperformance often comes bundled with higher volatility that is worth weighing against the raw return figure. Running the numbers through a CAGR calculator like this one before committing new capital keeps that comparison honest, whichever asset class you are evaluating.
Context matters as much as the number itself. According to the Federal Reserve's interest rate data, comparing your CAGR against the risk-free rate available from Treasury securities over the same period tells you how much extra return you earned for taking on additional risk, which is a more complete picture than comparing your CAGR to a stock index alone. To translate any nominal return into what it is actually worth after rising prices, our inflation calculator converts a nominal CAGR into a real, purchasing-power-adjusted rate for a more honest comparison across different eras of market history.
Who Should Use This Calculator
Anyone tracking the performance of a stock, mutual fund, rental property, or an entire portfolio benefits from converting a raw stock return or dollar gain into a standardized ROI and CAGR figure that can be compared across different holdings and different time periods. It is equally useful for evaluating a past decision to see whether it truly outperformed a simple index fund alternative, and for setting realistic expectations before committing new capital to an opportunity that has been pitched with an impressive-sounding but context-free dollar return. Even used purely as a fast ROI calculator before committing new capital, it turns a hoped-for outcome into a number worth trusting.
Financial advisors and fund managers use the identical CAGR formula when reporting performance to clients, precisely because it lets a five year track record and a twenty year track record be compared on equal footing. Individual investors benefit from the same discipline: recalculating CAGR once a year, using consistent starting and ending dates, turns vague impressions about how an account is doing into a specific number that can be tracked and compared over time.
Common Investment Return Mistakes
Many investors compare returns without accounting for risk, fees, or taxes. A 12 percent CAGR earned in a high-volatility portfolio may actually be inferior to a steadier 9 percent CAGR once the emotional cost of large drawdowns and the tendency for investors to sell during downturns are factored in. Always calculate net-of-fees returns, since even a seemingly small 1 percent annual expense ratio compounds into a meaningfully lower ending balance over a multi-decade holding period. Running the same numbers through both an ROI calculator and a CAGR calculator, rather than eyeballing a single total ROI figure, is the simplest way to catch this kind of mistake before it skews a decision. Explore the full set of calculators on Quant Calculators to pair this return analysis with a broader savings and retirement plan. Revisiting the numbers once a year, using the same consistent method every time, turns a vague sense of how an account is performing into a specific, trackable figure you can act on with confidence rather than guesswork.