
How to Calculate ROI on Your Investments
Learn how to calculate return on investment (ROI) for stocks, real estate, and retirement accounts with formulas, examples, and common mistakes to avoid.
Return on Investment (ROI) is the most fundamental metric for measuring how well your money is working for you. Whether you are evaluating a stock purchase, a rental property, or your 401(k), ROI tells you the percentage gain or loss relative to what you invested. Understanding ROI helps you compare opportunities, spot underperforming assets, and make better financial decisions.
The Basic ROI Formula
The simplest ROI formula is:
ROI = (Current Value - Cost of Investment) / Cost of Investment x 100
If you bought $10,000 of stock and it is now worth $13,500, your ROI is:
($13,500 - $10,000) / $10,000 x 100 = 35%
This basic formula works for quick comparisons but does not account for time. A 35% return over 2 years is very different from 35% over 10 years.
Annualized ROI: The Better Metric
To compare investments over different time periods, use annualized ROI (also called CAGR — Compound Annual Growth Rate):
Annualized ROI = ((Current Value / Cost) ^ (1 / Years)) - 1) x 100
Using the same example — $10,000 growing to $13,500 over 3 years:
((13,500 / 10,000) ^ (1/3) - 1) x 100 = 10.5% annualized
This tells you the equivalent yearly return, making it easy to compare against benchmarks like the S&P 500 average of roughly 10% per year.
ROI Examples Across Asset Classes
Different investments produce very different returns over time. Here is what historical averages look like:
| Asset Class | Average Annual ROI | $10,000 After 10 Years | $10,000 After 30 Years |
|---|---|---|---|
| S&P 500 Index | 10.0% | $25,937 | $174,494 |
| Bonds (Aggregate) | 4.5% | $15,530 | $37,453 |
| Real Estate (REITs) | 8.5% | $22,610 | $115,583 |
| High-Yield Savings | 4.0% | $14,802 | $32,434 |
| Crypto (Bitcoin, 10yr) | 25%+ | Highly variable | Highly variable |
These are averages. Individual years vary dramatically — the S&P 500 returned 26% in 2023 but dropped 18% in 2022.
How to Calculate ROI on Stocks
For individual stocks, your true ROI must include dividends plus price appreciation:
Total Stock ROI = ((Ending Price + Dividends Received - Purchase Price) / Purchase Price) x 100
Example: You buy 100 shares at $50 each ($5,000 total). After 2 years, shares are worth $62 and you received $3.50 per share in dividends ($350 total).
- Ending value: 100 x $62 = $6,200
- Plus dividends: $350
- Total return: $6,200 + $350 - $5,000 = $1,550
- ROI: $1,550 / $5,000 x 100 = 31%
- Annualized: ((6,550 / 5,000) ^ (1/2) - 1) x 100 = 14.5% per year
Do not forget to subtract fees and commissions. If you paid $10 in trading fees, your actual cost basis is $5,010.
How to Calculate ROI on Real Estate
Real estate ROI is trickier because you need to account for multiple income streams and costs:
Real Estate ROI = (Annual Rental Income - Annual Expenses + Property Appreciation) / Total Cash Invested x 100
Example: You buy a rental property for $300,000, putting $60,000 down:
- Annual rent collected: $24,000
- Annual expenses (mortgage interest, taxes, insurance, maintenance, vacancy): $18,500
- Annual cash flow: $5,500
- Property appreciated 4% in year one: $12,000
Total return: $5,500 + $12,000 = $17,500 on $60,000 invested = 29.2% ROI
This includes leverage — you only invested $60,000 but benefit from appreciation on the full $300,000 asset. Leverage amplifies both gains and losses.
Common ROI Mistakes to Avoid
Many investors calculate ROI incorrectly by forgetting these factors:
- Ignoring inflation: A 7% nominal return with 3% inflation is only 4% real return. Always think in real (inflation-adjusted) terms for long-term planning.
- Forgetting fees: Mutual fund expense ratios, advisory fees, and trading costs reduce your actual ROI. A 1% annual fee on a $500,000 portfolio costs $5,000 per year.
- Cherry-picking time periods: Starting your calculation at a market bottom inflates returns. Use consistent measurement periods.
- Ignoring taxes: Capital gains taxes reduce your take-home ROI by 15% to 37% depending on your bracket and holding period.
- Not accounting for your time: If you spend 10 hours per week managing a rental property, factor in the value of your time.
ROI vs Other Performance Metrics
ROI is not the only way to measure investment performance. Here is when to use each metric:
| Metric | Best For | What It Measures |
|---|---|---|
| ROI | Quick comparisons | Total percentage gain/loss |
| CAGR | Multi-year investments | Annualized compounding return |
| IRR | Irregular cash flows | Time-weighted return with cash flows |
| Sharpe Ratio | Risk-adjusted returns | Return per unit of volatility |
| Cap Rate | Real estate | Income yield on property value |
For most personal investment tracking, CAGR and simple ROI are sufficient. Use IRR when you make regular contributions (like monthly 401(k) deposits) since the timing of cash flows affects your true return.
How Compound Interest Amplifies ROI
The real power of investing comes from compounding — earning returns on your previous returns. A 10% annual ROI does not just add 10% of your original investment each year. It compounds:
- Year 1: $10,000 x 1.10 = $11,000
- Year 5: $10,000 x 1.10^5 = $16,105
- Year 10: $10,000 x 1.10^10 = $25,937
- Year 20: $10,000 x 1.10^20 = $67,275
- Year 30: $10,000 x 1.10^30 = $174,494
After 30 years at 10% ROI, your $10,000 turns into $174,494 — a 1,645% total return. This is why starting early matters more than investing large amounts later.
[Try our Compound Interest Calculator](/compound-interest-calculator) to see how different ROI assumptions affect your long-term wealth.
The Bottom Line
Calculate ROI on every investment you make, but always use annualized figures for fair comparisons. Factor in fees, taxes, and inflation to get your real return. For retirement planning, assume 7% real returns (10% nominal minus 3% inflation) as a conservative baseline. Track your portfolio ROI quarterly, and do not panic over short-term dips — focus on your annualized return over 5+ year periods. The most reliable way to maximize ROI is to minimize fees, diversify across asset classes, and let compounding do the heavy lifting over decades.
Try it yourself
Run the numbers with our interactive calculator — drag a slider and watch the chart update instantly.
Open calculatorThis article is for educational purposes only and does not constitute financial advice. Consult a licensed financial advisor for decisions specific to your situation.