ROI Formula: How to Calculate Return on Investment

The essential metric for evaluating any investment — from stocks and real estate to marketing campaigns and business decisions.

Business 2026-04-09 By Risetop Team 10 min read

Every time you spend money expecting to make money back, you're making an investment. The question is: did it work? Return on Investment (ROI) is the simplest, most universal way to answer that question. It's a single percentage that tells you how efficiently your money is working for you.

Whether you're evaluating a stock purchase, a marketing campaign, a rental property, or a new piece of equipment for your business, ROI is the common language. Here's how to calculate it, interpret it, and use it to make better decisions.

The Basic ROI Formula

ROI = (Net Profit ÷ Cost of Investment) × 100

Net Profit = Final Value of Investment − Cost of Investment

That's it. Two numbers: what you got back minus what you put in, divided by what you put in, expressed as a percentage.

Example: You buy a piece of equipment for $10,000. After a year, it generates $14,000 in additional revenue. Net profit = $14,000 − $10,000 = $4,000.

ROI = ($4,000 ÷ $10,000) × 100 = 40%

A 40% ROI means you earned 40 cents for every dollar invested. Not bad for a year. But to really evaluate whether that's good, you need context — which brings us to the nuances.

Annualized ROI: Time Matters

The basic ROI formula ignores time. A 50% return in 6 months is very different from a 50% return in 5 years. Annualized ROI accounts for this:

Annualized ROI = [(1 + ROI)1/n − 1] × 100

Where n = number of years the investment was held
Example: You invest $5,000 and sell for $7,500 after 3 years.
Basic ROI = ($2,500 ÷ $5,000) × 100 = 50%
Annualized ROI = [(1 + 0.50)1/3 − 1] × 100 = 14.5% per year

14.5% annually is solid but less impressive-sounding than 50%. Annualized ROI gives you an honest picture and lets you compare investments held for different periods. Our ROI calculator computes both basic and annualized ROI automatically.

ROI in Different Contexts

Stock Market ROI

For stocks, ROI includes both price appreciation and dividends:

Stock ROI = [(Sale Price − Purchase Price + Dividends) ÷ Purchase Price] × 100

You buy 100 shares at $50 ($5,000 total). Two years later, the price is $62 and you received $300 in dividends. Net gain = ($6,200 + $300) − $5,000 = $1,500. ROI = 30%. Annualized: about 14%.

For comparison, the S&P 500 has historically returned about 10% annually. Beating that consistently is the benchmark for stock-picking skill.

Real Estate ROI

Real estate ROI is more complex because of financing, ongoing costs, and leverage. The basic approach:

Real Estate ROI = (Annual Rental Income − Annual Expenses) ÷ Total Investment × 100

You buy a rental property for $200,000 with $50,000 down. Annual rent: $18,000. Annual expenses (mortgage, taxes, insurance, maintenance, vacancy): $14,000. Annual profit: $4,000.

Cash-on-cash ROI = $4,000 ÷ $50,000 = 8%. That's your return on the actual cash you invested, not the full property value. This is the most practical metric for real estate investors.

For total ROI (including property appreciation), add the change in property value to the profit. If the property appreciates to $215,000, that's another $15,000 in equity on a $50,000 investment.

Marketing ROI

In business, ROI is the go-to metric for evaluating marketing spend:

Marketing ROI = (Revenue from Campaign − Cost of Campaign) ÷ Cost of Campaign × 100

You spend $5,000 on a Google Ads campaign. It generates $25,000 in attributable sales. Marketing ROI = ($25,000 − $5,000) ÷ $5,000 × 100 = 400%.

A 400% marketing ROI means every dollar spent returned $5. Digital marketing typically sees ROIs of 200-500%, while traditional advertising (TV, print) often struggles to break 100%. This is why marketing budgets have shifted heavily toward digital channels.

Business Project ROI

When evaluating whether to invest in new software, hire additional staff, or expand into a new market, ROI helps justify the decision:

You're considering a $20,000 software upgrade. It's projected to save $8,000/year in labor costs and $3,000/year in reduced errors. Payback period: $20,000 ÷ $11,000 = 1.8 years. Over 5 years: ROI = ($55,000 − $20,000) ÷ $20,000 = 175%.

What ROI Doesn't Tell You

ROI is powerful, but it has blind spots:

ROI Benchmarks by Category

What counts as a "good" ROI varies widely:

Investment TypeTypical Annual ROIWhat's Considered Good
Savings Account1-5%4%+ (high-yield)
Government Bonds3-5%4%+
Stock Market (S&P 500)~10%12%+ (beating benchmark)
Real Estate (Rental)6-12%10%+ (cash-on-cash)
Business (SaaS)Varies20%+ year-over-year
Marketing (Digital)200-500%300%+
Venture CapitalVaries hugely25%+ IRR over fund life

The key takeaway: always compare ROI against the relevant benchmark, not against some arbitrary threshold. A 15% ROI on a stock is excellent. A 15% ROI on a venture capital investment would be disappointing.

Common Mistakes in ROI Calculations

  1. Forgetting hidden costs. Transaction fees, taxes, maintenance, insurance, and opportunity cost all reduce your real return. Include them.
  2. Confusing revenue with profit. A $50,000 campaign that generates $100,000 in revenue has a 100% ROI only if the product cost is zero. If your product costs $60,000 to produce, your actual profit is $40,000, and ROI is (40,000 − 50,000) ÷ 50,000 = −20%. Negative ROI.
  3. Using basic ROI for multi-year investments. A 100% return over 10 years (7.2% annualized) is very different from 100% in one year. Always annualize for fair comparison.
  4. Not accounting for inflation. A 5% ROI when inflation is 4% means your real return is only 1%. Always think in after-inflation terms for long-term investments.
  5. Sunk cost fallacy. Past money spent shouldn't influence future ROI calculations. If you've already lost $10,000, the relevant question is whether spending another $5,000 will generate a positive return going forward.

Calculate your ROI in seconds.

Our free ROI Calculator handles basic ROI, annualized ROI, and total profit — just plug in your numbers.

Advanced: ROI with Regular Cash Flows

Some investments generate regular cash flows (dividends, rental income, periodic business returns) rather than a single lump-sum payout. For these, a more sophisticated approach uses Net Present Value or Internal Rate of Return:

These are more complex but more accurate for investments with irregular cash flows. For straightforward investments (buy, hold, sell), the basic ROI formula is sufficient.

Conclusion

ROI is the most practical financial metric you'll ever learn. It's a single number that answers the fundamental question: "Was this worth it?" Whether you're investing $100 or $1 million, the formula is the same. The difference between people who build wealth and people who don't often comes down to consistently evaluating ROI and choosing investments that beat the alternatives.

Before your next financial decision — investing, spending, hiring, expanding — calculate the ROI. It takes 30 seconds and could save you from a costly mistake. Or confirm you're on the right track. Either way, you're making decisions based on data instead of gut feeling.