
How to Calculate ROI on an Investment Step by Step (With Real Examples)
Return on investment Calculator is the most commonly cited financial metric in the US — and one of the most commonly miscalculated. Most people know the formula exists. Far fewer apply it correctly, accounting for all costs and using the right variant (simple ROI vs annualized return) for their comparison. This guide shows you the exact calculation steps across five real investment scenarios.
The ROI Formula — Two Versions You Need to Know
Version 1 — Simple ROI (total gain over the full period):
ROI = (Net Profit ÷ Total Cost) × 100
Where Net Profit = Final Value + Income Received − Total Cost Invested
Where Total Cost = Purchase Price + All Fees + Additional Capital
Version 2 — Annualized ROI / CAGR (equivalent annual return):
CAGR = (Final Value ÷ Initial Investment)^(1 ÷ Years) − 1
Use simple ROI when comparing investments of identical duration. Use CAGR when comparing investments held for different time periods — it is the only fair basis for comparison. A 5-year ROI of 60% (CAGR: 9.9%) is worse than a 5-year ROI of 70% (CAGR: 11.2%). A 2-year ROI of 40% (CAGR: 18.3%) beats both.
Free ROI calculator — calculates both simple ROI and CAGR simultaneously: 1onlinecalculator.com/roi-investment-calculator/
Step-by-Step Worked Examples
Example 1: Stock Investment — Simple ROI
Scenario: You invest $8,000 in an S&P 500 index fund. Three years later it is worth $11,200. You paid $0 in commission (most platforms are commission-free). You received $320 in total dividends over the period.
Step 1: Calculate net profit. Final value $11,200 + Dividends $320 − Initial investment $8,000 = Net profit $3,520.
Step 2: Calculate simple ROI. $3,520 ÷ $8,000 × 100 = 44.0% simple ROI over 3 years.
Step 3: Calculate CAGR. ($11,520 ÷ $8,000)^(1/3) − 1 = 1.44^0.333 − 1 = 12.94% per year.
Result: 44.0% total ROI. 12.94% annualized return. This is slightly above the S&P 500’s historical 10-year average of 10–13%, which is a strong result for a 3-year period.
Example 2: Real Estate — All-In Cost Calculation
Scenario: You buy a house for $280,000. Closing costs: $8,400 (3%). Renovations before selling: $22,000. You sell 4 years later for $355,000. Agent commission at sale: $21,300 (6%). No rental income during the period.
Step 1: Calculate total investment cost. $280,000 + $8,400 + $22,000 = $310,400 total invested.
Step 2: Calculate net proceeds. $355,000 − $21,300 agent commission = $333,700 net sale proceeds.
Step 3: Calculate net profit. $333,700 − $310,400 = $23,300 net profit.
Step 4: Simple ROI. $23,300 ÷ $310,400 × 100 = 7.5% total ROI over 4 years.
Step 5: CAGR. ($333,700 ÷ $310,400)^(1/4) − 1 = 1.075^0.25 − 1 = 1.83% per year annualized.
Critical insight: the headline “$75,000 gain” ($355K − $280K) overstates the real return by $51,700. When all costs are included, the annualized return of 1.83% does not beat the current HYSA rate of 4.5%. The investment looks good on the headline number but underperforms risk-free savings on a true all-in basis.
Example 3: Rental Property — Cash-on-Cash ROI
Scenario: Down payment $60,000. Monthly rent $2,000 ($24,000/year). Annual expenses: Mortgage $14,400, Property tax $3,000, Insurance $1,400, Maintenance $2,000, Vacancy allowance $1,200, Management $1,920. Total annual expenses $23,920.
Step 1: Calculate annual net cash flow. $24,000 − $23,920 = $80 net cash flow (essentially breakeven).
Step 2: Cash-on-Cash ROI. $80 ÷ $60,000 × 100 = 0.13%. This is a breakeven rental — not a good cash-on-cash investment.
Step 3: Add appreciation (3% estimate) and principal paydown (~$2,400/year). Total annual return: $80 + $7,500 appreciation + $2,400 equity = $9,980. Total ROI on $60,000: 16.6% annually.
The lesson: cash-on-cash and total ROI tell very different stories for the same property. Use both metrics together.
Calculate rental property ROI using all three metrics with the free ROI investment calculator: 1onlinecalculator.com/roi-investment-calculator/
Example 4: Small Business Investment
Scenario: You invest $20,000 in equipment and initial inventory for a small business. Over 2 years you generate $68,000 in revenue and spend $41,000 in operating costs (wages, supplies, rent). Net profit over 2 years: $27,000.
Simple ROI: $27,000 ÷ $20,000 × 100 = 135% total ROI over 2 years.
Annualized ROI: ($47,000 ÷ $20,000)^(0.5) − 1 = 2.35^0.5 − 1 = 53.3% per year.
A 53.3% annualized return is an excellent business ROI. The benchmark comparison: this investment returned 53.3% annually vs 10–13% for the S&P 500. The additional risk and time commitment of running the business must be weighed against this premium — but the financial return is strong.
Example 5: CD / Bond Investment
Scenario: You invest $10,000 in a 4-year CD at 5.1% APY. At maturity you receive $10,000 × (1.051)^4 = $12,185.
Simple ROI: $2,185 ÷ $10,000 × 100 = 21.85% over 4 years.
Annualized ROI: ($12,185 ÷ $10,000)^(0.25) − 1 = 5.1% per year (which is the APY — the calculation confirms the advertised rate).
Benchmark: 5.1% annualized, FDIC-insured, zero risk. Compare this against any riskier investment to assess whether the additional risk premium is justified.
The 5 Most Common ROI Calculation Mistakes
- Forgetting all costs. The purchase price is not the total investment. Add closing costs, transaction fees, renovation costs, carrying costs, and capital improvements. On real estate and business investments, these often represent 10–30% of the purchase price.
- Using simple ROI to compare investments of different durations. A 5-year 60% return and a 2-year 40% return are not directly comparable using simple ROI. CAGR is required for a fair comparison.
- Counting unrealised gains as realised. An investment worth $150,000 that you paid $100,000 for has not yet produced a 50% ROI — it has produced a 50% paper gain that becomes realised ROI only when sold.
- Ignoring inflation adjustment. A 6% nominal annualized return at 3% inflation equals a 3% real return. In high-inflation environments, even positive nominal ROI can mean losing purchasing power.
- Not accounting for time cost. A 10% total ROI means different things over 1 year vs 10 years. Always calculate CAGR to understand the annualized equivalent.
Frequently Asked Questions
Q: What is a good ROI for a stock investment?
The S&P 500 has produced an average annualized return of approximately 10–13% over the past 30 years. Individual stock picking historically underperforms this benchmark for most retail investors. As a general rule: an annualized stock ROI above 10% is considered strong. Any annualized return below 4.5% (current HYSA rate) does not justify the risk premium of equity investing.
Q: How do you calculate ROI for a rental property?
Rental property ROI uses two primary metrics. Cash-on-cash ROI = annual net cash flow ÷ total cash invested × 100. Total ROI = (cash flow + appreciation + principal paydown) ÷ total cash invested × 100. The cash-on-cash metric measures how efficiently your invested cash generates annual income. The total ROI metric captures all ways a rental property builds wealth. US investors typically target 6–8% cash-on-cash as a minimum threshold for single-family rentals.
Q: Is a higher ROI always better?
Higher ROI is better only when comparing investments of equivalent risk. A 20% annualized return on a highly leveraged speculative investment is not necessarily better than a 5% FDIC-insured CD — the risk-adjusted return may be lower. The Sharpe ratio (return divided by volatility) is the technically correct risk-adjusted comparison, but for practical purposes: compare investments at the same risk level. Within the same category (e.g., all equity investments), higher annualized ROI is better.
Q: Can you calculate ROI without knowing the time period?
You can calculate simple ROI without a time period — it is simply net profit divided by cost. But you cannot calculate annualized ROI (CAGR) without duration, and the simple ROI figure is only meaningful for comparisons when the duration is the same for all options being compared. If you know the investment start date and end date, the duration in years = (end date − start date) ÷ 365.25.
Disclaimer: All calculations are for educational purposes only. ROI figures do not account for taxes, inflation, or the time value of money beyond the CAGR formula. Past investment returns do not guarantee future results. Consult a licensed financial advisor before making investment decisions.