InvestingApril 20, 2026· 16 min read· By Salman Ahmed

What Is ROI (Return on Investment)? How to Calculate It With Real Examples

Learn what ROI means and how to calculate return on investment. Real examples for stocks, real estate, business, and education with formulas and a free ROI calculator.

What Is ROI (Return on Investment)?

ROI — Return on Investment — is the single most important number in investing. It tells you how much profit (or loss) you made relative to what you put in. Whether you're evaluating a stock, rental property, business decision, or even a college degree, ROI answers one question: was this worth it?

ROI is expressed as a percentage. A 30% ROI means you earned $30 for every $100 invested. A -10% ROI means you lost $10 for every $100. Simple, universal, and comparable across any type of investment.

Skip the manual math — our ROI Calculator handles any scenario instantly, including annualized returns (CAGR) so you can compare investments held for different time periods.

The ROI Formula

The basic ROI formula is straightforward:

ROI = ((Current Value - Cost of Investment) / Cost of Investment) x 100

Example 1: Stock Investment

  • You buy $5,000 of Apple stock
  • 3 years later, it's worth $7,500
  • ROI = (($7,500 - $5,000) / $5,000) x 100 = 50%

Example 2: Real Estate

  • You buy a rental property for $250,000 (total cost including closing)
  • 5 years later, you sell for $325,000 and earned $60,000 in net rental income
  • Total return = $325,000 + $60,000 - $250,000 = $135,000
  • ROI = ($135,000 / $250,000) x 100 = 54%

Example 3: Business Marketing

  • You spend $2,000 on a Facebook ad campaign
  • It generates $8,000 in revenue, with $4,000 in product costs
  • Net profit from campaign = $8,000 - $4,000 - $2,000 = $2,000
  • ROI = ($2,000 / $2,000) x 100 = 100%

Why Basic ROI Isn't Enough: Enter CAGR

The problem with basic ROI is that it ignores time. A 50% return over 1 year is excellent. A 50% return over 10 years is mediocre. To compare investments held for different periods, you need CAGR (Compound Annual Growth Rate):

CAGR = ((Final Value / Initial Value)^(1/Years) - 1) x 100

Comparing Two Investments

Investment A:

  • Cost: $10,000
  • Final value: $16,000
  • Held: 5 years
  • Simple ROI: 60%
  • CAGR: 9.9% per year

Investment B:

  • Cost: $10,000
  • Final value: $14,000
  • Held: 3 years
  • Simple ROI: 40%
  • CAGR: 11.9% per year

Investment B has a lower total ROI but a higher annual return. Given 5 years, Investment B at its CAGR would have returned $17,600 — beating Investment A. CAGR reveals the true winner.

Our CAGR Calculator converts any investment result into an annualized rate instantly, so you can compare apples to apples.

What Is a Good ROI?

"Good" ROI depends on the investment type, risk level, and time period. Here are benchmarks:

Investment Returns by Asset Class

Asset ClassAverage Annual ROIRisk LevelTime Horizon
High-yield savings / Money market4-5% (2026)Very lowShort-term
US Treasury bonds4-5%LowMedium-term
Corporate bonds5-7%Low-MediumMedium-term
S&P 500 index (historical)10-12% nominal, 7% realMediumLong-term (10+ years)
Real estate (national average)8-12% (with leverage)MediumLong-term
REITs8-12%MediumLong-term
Individual stocks-100% to 1000%+HighVaries
Crypto-90% to 1000%+Very highVaries
Private equity / Venture capital15-25% targetVery high7-10 years

Key insight: The S&P 500 has returned approximately 10% annually over the last 100 years (about 7% after inflation). Any investment claiming to consistently beat 12-15% annually should be viewed with extreme skepticism — it either involves significantly more risk or may not be legitimate.

See what any return rate does to your money over time with our Compound Interest Calculator.

Business ROI Benchmarks

Business ActivityGood ROIExcellent ROI
Email marketing200-400%4200% (industry average per DMA)
SEO / Content marketing100-300%500%+
Paid social ads200-400%500%+
Employee training100-200%300%+
Equipment purchase15-30% annually40%+

Real Estate ROI Benchmarks

MetricGoodExcellent
Cash-on-cash return8-10%12%+
Cap rate5-8%8%+
Total ROI (with appreciation)10-15%20%+

Evaluating a rental property? Our Rental Property Calculator calculates cash-on-cash return, cap rate, and total ROI including appreciation and tax benefits.

How to Calculate ROI for Different Investment Types

Stock Market ROI

For stocks, include dividends in your calculation — they're a significant portion of total return:

Total Stock ROI = ((Ending Price - Purchase Price + Dividends Received) / Purchase Price) x 100

Example:

  • Buy 100 shares at $50 = $5,000 invested
  • Sell at $65 = $6,500
  • Received $400 in dividends over holding period
  • Total return = $6,500 - $5,000 + $400 = $1,900
  • ROI = $1,900 / $5,000 = 38%

Without dividends, the ROI would be 30%. Dividends added 8 percentage points — this is why dividend reinvestment matters enormously over long periods.

Real Estate ROI (Complete Calculation)

Real estate ROI is more complex because of leverage (mortgage), operating expenses, and tax implications:

Cash-on-Cash Return = Annual Cash Flow / Total Cash Invested

Example:

  • Purchase price: $300,000
  • Down payment (20%): $60,000
  • Closing costs: $9,000
  • Total cash invested: $69,000
  • Monthly rent: $2,200
  • Monthly mortgage (P&I): $1,520
  • Monthly expenses (taxes, insurance, maintenance, vacancy): $550
  • Monthly cash flow: $2,200 - $1,520 - $550 = $130
  • Annual cash flow: $1,560
  • Cash-on-cash return: $1,560 / $69,000 = 2.3%

That looks low — but add appreciation (3-5%/year on $300K = $9,000-$15,000/year), principal paydown (roughly $5,000/year in early years), and tax benefits, and the total ROI is often 10-15% annually. Use our Real Estate Calculator to see the complete picture.

Education ROI

College and graduate school are investments too. Calculate education ROI like this:

Education ROI = (Increased Lifetime Earnings - Total Education Cost) / Total Education Cost

Example — Getting an MBA:

  • Tuition + fees: $120,000
  • Lost wages (2 years at $60K): $120,000
  • Total cost: $240,000
  • Pre-MBA salary: $60,000/year
  • Post-MBA salary: $95,000/year
  • Annual increase: $35,000
  • Payback period: $240,000 / $35,000 = 6.9 years
  • 20-year ROI: ($35,000 x 20 - $240,000) / $240,000 = 192%

Side Hustle / Freelance ROI

Calculate whether side income is worth the time investment:

Effective Hourly ROI = (Revenue - Expenses) / Hours Invested

If your side gig generates $2,000/month revenue with $300 in expenses and you spend 40 hours/month:

  • Net: $1,700 / 40 hours = $42.50/hour effective rate
  • Compare to your day job rate using our Hourly to Salary Calculator
  • If your day job pays $30/hour, the side gig has a higher ROI on your time

Freelancers should also factor in self-employment tax — the 15.3% SE tax reduces your effective hourly rate.

The 5 Limitations of ROI (And How to Account for Them)

1. ROI Doesn't Account for Time

A 50% return means very different things depending on whether it took 1 year or 10 years. Always convert to CAGR for comparison. Our CAGR Calculator does this instantly.

2. ROI Doesn't Measure Risk

Two investments with 10% ROI are NOT equal if one has a 5% chance of losing everything and the other has 0% chance. Government bonds at 5% and crypto at 5% are fundamentally different risk profiles.

Rule of thumb: Higher potential ROI always means higher risk. There are no exceptions. If someone offers "guaranteed 15% returns," run.

3. ROI Often Ignores Fees and Taxes

A mutual fund returning 8% with a 1.5% expense ratio has a true ROI of 6.5%. Over 30 years on $100,000:

  • 8% return: $1,006,000
  • 6.5% return: $661,000
  • Cost of fees: $345,000

Similarly, capital gains taxes reduce your actual return. A 15% long-term capital gains rate on a $100,000 gain means you keep $85,000. Always calculate ROI after fees and taxes.

4. ROI Doesn't Include Opportunity Cost

If your money is tied up in Investment A earning 6%, you can't put it in Investment B earning 10%. The opportunity cost is the 4% difference — the return you gave up by choosing A over B.

5. Past ROI Does NOT Predict Future ROI

A stock that returned 40% last year may return -20% this year. Historical returns are useful for context but are never guarantees. "Past performance is not indicative of future results" is not just a legal disclaimer — it's reality.

How to Improve Your ROI

For Investments

  • Minimize fees — Choose index funds (0.03-0.10% expense ratios) over actively managed funds (0.50-1.50%). The fee difference compounds against you.
  • Use tax-advantaged accounts — Max your 401(k) and Roth IRA before investing in taxable accounts. Tax-free compounding dramatically improves net ROI.
  • Reinvest dividends — Dividend reinvestment (DRIP) compounds your returns. Our Dividend Calculator shows the long-term difference.
  • Diversify — Don't put all your money in one stock. A total market index fund gives you instant diversification across thousands of companies.
  • Stay invested through downturns — The worst days in the market are often followed by the best days. Missing the 10 best days in a 20-year period can cut your return in half.
  • For Business

  • Track ROI on every marketing dollar — If Facebook ads return 300% and Google ads return 150%, shift budget toward Facebook.
  • Invest in retention over acquisition — Acquiring a new customer costs 5-25x more than retaining one. Retention spending typically has higher ROI.
  • Measure employee training ROI — If a $5,000 training program increases output by $15,000/year, that's a 200% annual ROI.
  • Calculate ROI before purchasing equipment — Will a $50,000 machine save $20,000/year in labor? That's a 40% annual ROI with a 2.5-year payback.
  • For Real Estate

  • Buy below market value — Instant equity = instant ROI boost. Look for motivated sellers, foreclosures, and estate sales.
  • Add value through renovation — A $15,000 kitchen update that increases property value by $30,000 is a 100% ROI.
  • Use leverage wisely — A 20% down payment on a property that appreciates 5% means your equity grows by 25% (5% appreciation on 5x leverage). But leverage amplifies losses too.
  • Reduce vacancy — Every month vacant is lost revenue. A property management fee of 10% is worth it if it keeps occupancy at 95% vs 85%.
  • Use our Rental Property Calculator to model different scenarios before buying.

    ROI Across Your Financial Life

    In Your 20s

    Focus on the highest-ROI decisions early:

    • 401(k) match: 50-100% instant ROI. Nothing beats this.
    • Paying off high-interest debt: Eliminating a 24% credit card balance is equivalent to a 24% guaranteed return. Use our Credit Card Payoff Calculator.
    • Career skills: A certification or skill that increases salary by $10K/year has infinite ROI within 2-3 years.

    In Your 30s-40s

    • Real estate leverage: Buying property with 20% down gives you 5x leverage on appreciation.
    • Income growth: A 10% raise from job-switching is the highest-ROI hour you'll spend all year. See the lifetime impact with our Salary Increment Calculator.
    • Tax optimization: Maxing tax-advantaged accounts saves thousands annually in taxes — each dollar saved is another dollar compounding.

    In Your 50s-60s

    • Catch-up contributions: $30,500 into a 401(k) (over-50 limit) at 7% for 15 years = $793,000. Late-stage compounding is still powerful.
    • Portfolio rebalancing: Shifting from growth to income (dividends, bonds) reduces risk while maintaining returns.
    • Social Security timing: Delaying from 62 to 70 increases benefits by 77%. On a $2,000/month benefit, that's $14,640/year more — for life.

    Calculate Your ROI Right Now

    The most powerful thing you can do after reading this article is calculate the ROI on your actual investments — not hypothetical ones:

  • Your 401(k): What's your total balance vs. total contributions? Our 401(k) Calculator projects forward.
  • Your stock portfolio: Pull your cost basis and current value from your brokerage. Our ROI Calculator converts to annualized returns.
  • Your home (if you own): Current value minus purchase price and all costs. Our Real Estate Calculator handles the complete calculation.
  • Your education: Current salary minus what you'd earn without your degree, divided by total education cost.
  • Knowing your actual ROI across all your "investments" (including your career, home, and education) gives you a clear picture of what's working, what's underperforming, and where to redirect your next dollar.

    Use our ROI Calculator to run any scenario — it takes 30 seconds and might change how you think about your next financial decision.

    #ROI#return on investment#what is ROI#how to calculate ROI#CAGR#investing#investment returns#ROI formula#ROI calculator
    SA

    Written by

    Salman Ahmed

    Software Developer & Creator of CalcMoney ·

    Salman is a software developer who built CalcMoney to make financial planning accessible to everyone. Every calculator is open-source, free, and updated for 2026 tax brackets, contribution limits, and rates using official IRS, SSA, and FHFA data.

    Share this article:

    Try These Calculators

    Related Articles

    Ready to Calculate?

    Use our free calculators to plan your finances.

    Explore Calculators