Calculating ROI: Return on Investment Formula
Learn how to calculate ROI with the standard return on investment formula, plus examples, limitations, and how to compare opportunities.
Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.
Searching calculating ROI usually means you want to measure how efficiently money produced a return. ROI stands for return on investment, and it is one of the most widely used metrics in business, marketing, and personal finance. It puts different-sized investments on a common scale so you can compare them fairly.
ROI Formula
ROI = (Net profit / Cost of investment) ร 100
You can also write net profit as:
Final value โ Initial cost
So the formula becomes:
ROI = ((Final value โ Cost) / Cost) ร 100
Example 1: Stock Investment
You invest $2,000 in stocks and later sell for $2,500.
Net profit = 2,500 โ 2,000 = $500
ROI = (500 / 2,000) ร 100 = 25%
Example 2: Marketing Campaign
A company spends $4,000 on a paid advertising campaign and generates $14,000 in revenue directly attributed to those ads. The cost of goods sold for those sales was $6,000.
Net profit = 14,000 โ 6,000 โ 4,000 = $4,000
ROI = (4,000 / 4,000) ร 100 = 100%
Every dollar spent on the campaign returned one dollar in profit.
Example 3: Equipment Purchase
A small business spends $12,000 on a machine. Over the next two years, the machine generates an extra $20,000 in revenue, and related operating costs are $3,000.
Net profit = 20,000 โ 3,000 โ 12,000 = $5,000
ROI = (5,000 / 12,000) ร 100 = 41.7%
Comparing Multiple Investments with ROI
ROI makes it easy to compare investments that have different sizes. Suppose you are considering two projects:
| Project | Cost | Return | ROI |
|---|---|---|---|
| Project A | $5,000 | $6,500 | 30% |
| Project B | $20,000 | $24,000 | 20% |
Project A has a higher ROI even though Project B returns more total dollars. If you only have $5,000 to invest, Project A is the better use of capital per dollar invested.
Annualized ROI
Basic ROI ignores time. A 25% ROI earned in one year is very different from a 25% ROI earned over five years.
To annualize ROI:
Annualized ROI = ((1 + ROI)^(1/n) โ 1) ร 100
Where n is the number of years.
Example:
25% ROI over 4 years:
Annualized ROI = ((1 + 0.25)^(1/4) โ 1) ร 100 = (1.0574 โ 1) ร 100 = 5.74% per year
Annualized ROI allows you to compare a 4-year investment with a 1-year investment on the same annual scale.
ROI in Different Contexts
Marketing ROI
Marketing ROI measures whether advertising spend generates enough revenue to justify the cost. A common benchmark is at least 5:1 revenue-to-spend ratio (400% ROI), though this varies by industry and margin.
Real Estate ROI
For rental property, ROI includes rental income and appreciation while accounting for purchase cost, mortgage interest, taxes, maintenance, and vacancy.
Business Project ROI
When evaluating a business project, ROI helps executives decide which initiatives to fund. Projects with higher ROI per dollar invested are typically prioritized.
Personal Finance ROI
ROI applies to personal decisions too โ education, home improvements, retirement contributions โ wherever you spend now expecting a measurable future return.
Limitations of ROI
ROI does not account for time. A longer investment period means more risk and opportunity cost. That is why annualized ROI is more useful for comparisons across different timelines.
ROI does not account for risk. Two investments with the same ROI may have very different risk profiles. A higher-risk investment should require a higher expected ROI to be worth considering.
ROI can be manipulated. If costs are excluded or revenue is overstated, the ROI figure becomes misleading. Always make sure you are capturing all relevant costs.
ROI does not show liquidity. Money tied up in a long investment is not available for other opportunities. This is the opportunity cost that raw ROI cannot reflect.
When ROI Is Enough โ and When It Is Not
Use ROI when:
- You want a quick comparison across options
- The time periods are similar
- The risk profiles are comparable
Consider other metrics when:
- Comparing investments of wildly different durations
- Evaluating risk-adjusted returns (use Sharpe ratio or similar)
- Analyzing cash flow timing (use NPV or IRR)
Quick ROI Reference Table
| ROI % | What It Means |
|---|---|
| Under 0% | Loss on investment |
| 0% | Broke even |
| 1โ10% | Low but positive |
| 10โ30% | Moderate return |
| 30โ100% | Strong return for most contexts |
| Over 100% | Exceptional โ verify all cost inputs |
The Bottom Line
To calculate ROI, subtract the cost from the final value, divide by the cost, and multiply by 100. It is a quick way to compare returns, but time and risk still matter. For longer comparisons, use annualized ROI to put everything on the same annual scale.
Use our Investment Calculator to project future value and compare ROI scenarios side by side.
How to Calculate: Step-by-Step Guide
Find net profit
Subtract the cost of the investment from the value or profit gained.
Divide by cost
Use the original investment cost as the denominator.
Convert to percent
Multiply by 100 to express ROI as a percentage.