Return on Investment (ROI) is one of the most widely used financial metrics in the world. Whether you're evaluating a stock purchase, deciding on a real estate deal, or measuring the success of a marketing campaign, ROI gives you a simple, universal way to answer one question: Was this investment worth it?
In this guide, we'll break down the ROI formula, walk through real-world examples across different asset classes, and show you how to avoid the common pitfalls that lead to misleading results.
What Is ROI?
ROI measures the profitability of an investment as a percentage of its original cost. A positive ROI means you made money; a negative ROI means you lost money. It's expressed as a ratio or percentage, which makes it easy to compare different investments on an equal footing — even when their dollar amounts are completely different.
For example, a $1,000 profit on a $5,000 investment yields the same ROI (20%) as a $10,000 profit on a $50,000 investment. That comparability is what makes ROI so powerful.
The Basic ROI Formula
Where:
- Net Profit = Total Returns − Total Costs
- Cost of Investment = The total amount you initially invested
This is the simplest and most common form of the ROI calculation. Let's see it in action.
ROI Examples Across Different Scenarios
Example 1: Stock Investment
You buy 100 shares of a company at $50 each ($5,000 total). One year later, you sell them at $62 each ($6,200 total). You also received $200 in dividends.
- Total Returns: $6,200 + $200 = $6,400
- Net Profit: $6,400 − $5,000 = $1,400
- ROI: ($1,400 / $5,000) × 100% = 28%
Example 2: Real Estate
You purchase a rental property for $300,000 with $60,000 down. Over five years, you collect $120,000 in rental income and spend $30,000 on maintenance and taxes. You sell the property for $350,000.
- Total Returns: $120,000 (rent) + $350,000 (sale) = $470,000
- Total Costs: $300,000 (purchase) + $30,000 (expenses) = $330,000
- Net Profit: $470,000 − $330,000 = $140,000
- ROI: ($140,000 / $300,000) × 100% = 46.7%
Note: This is a simplified calculation. A more precise analysis would factor in the mortgage interest, opportunity cost of the down payment, and the time value of money over five years.
Example 3: Marketing Campaign
Your company spends $15,000 on a digital advertising campaign. The campaign generates $52,000 in new revenue directly attributed to the ads.
- Net Profit: $52,000 − $15,000 = $37,000
- ROI: ($37,000 / $15,000) × 100% = 246.7%
Annualized ROI
The basic ROI formula doesn't account for time. A 50% return over one year is far better than a 50% return over ten years. To compare investments fairly, use the annualized ROI:
Where n is the number of years the investment was held. If your basic ROI is 46.7% over 5 years, the annualized ROI is approximately 7.96% — a very different picture.
Advanced: Factoring in All Costs
The biggest mistake people make with ROI is underestimating costs. A thorough ROI calculation should include:
- Transaction costs: Brokerage fees, closing costs, commissions
- Ongoing costs: Maintenance, property management, subscriptions
- Taxes: Capital gains tax, income tax on dividends
- Inflation: Real ROI adjusts for purchasing power erosion
- Opportunity cost: What you could have earned elsewhere
For a deeper look at how inflation affects your returns, check out our guide on how inflation erodes your savings.
ROI vs. Other Metrics
| Metric | What It Measures | Best For |
|---|---|---|
| ROI | Total return relative to cost | Quick comparisons |
| IRR | Annualized rate of return | Multi-year projects |
| NPV | Dollar value of future cash flows | Capital budgeting |
| Profit Margin | Revenue efficiency | Business operations |
Common Pitfalls
- Ignoring time: Always annualize when comparing investments of different durations.
- Forgetting hidden costs: Fees, taxes, and inflation quietly eat into returns.
- Sunk cost fallacy: Past losses shouldn't influence future ROI calculations.
- Using ROI in isolation: Combine ROI with risk assessment for better decisions.
Use Our Free ROI Calculator
Stop doing manual math. Use our free ROI Calculator to instantly compute your return on investment with detailed breakdowns of costs, returns, and annualized figures.
Key Takeaways
- ROI = (Net Profit / Cost) × 100% — simple but powerful.
- Always annualize ROI when comparing investments held for different time periods.
- Include all costs (fees, taxes, maintenance) for an accurate picture.
- ROI is a starting point — pair it with risk analysis and other financial metrics.