How to Calculate ROI
Return on Investment measures how much you gained or lost relative to what you put in. The formula is straightforward and powers nearly every comparison of one financial outcome against another. In code form: ROI = (Net Profit / Cost) * 100. Net profit is the final value of the investment minus the cost, where cost includes the original purchase price plus any fees, commissions or carrying costs.
The same formula in MathML notation:
Annualized ROI, also called the compound annual growth rate or CAGR, is needed whenever you want to compare investments held for different lengths of time. The formula is:
where n is the number of years. A doubling over five years is roughly fourteen point nine percent annualized, while the same doubling over one year is one hundred percent annualized. The simple ROI does not distinguish between those two outcomes, which is why the time-adjusted view always matters once horizons differ.
Key Concepts and Definitions
Initial investment
The amount you committed at the start. This should always include transaction costs such as brokerage commissions, bid-ask spread for thinly traded assets, closing costs for real estate, or onboarding fees. Excluding them inflates the ROI you report and makes the asset look better than it really was.
Final value
What the position is worth today, net of selling costs you would incur to realize the gain. For dividend-paying stocks, the most defensible final value either includes dividends reinvested at the prevailing share price or treats dividends as a separate cash flow that gets added to net profit.
Net profit
The difference between final value and initial investment. Negative values are legitimate and important — they tell you the project lost money. For tax-aware analysis, you may want to use after-tax profit by subtracting capital gains tax.
Annualized ROI (CAGR)
The constant annual growth rate that would have produced the same final value from the same starting point. It is the right metric when comparing investments with different time horizons. A high simple ROI can hide a poor annualized rate if it took many years to achieve.
Multiplier
Final value divided by initial investment, expressed as a number with the letter x. A multiplier of three means tripling, which is a two hundred percent ROI. Venture capital deals are usually discussed in terms of multipliers because they are intuitive at extremes — a ten x return is much clearer than nine hundred percent ROI.
ROI by Asset Class
Reference points for what investors have historically earned, as historical averages and not predictions:
| Asset class | Typical annualized return | Risk profile |
|---|---|---|
| US large-cap stocks (S and P 500) | about 7 to 10 percent | Volatile, decade-long drawdowns possible |
| US bonds (aggregate index) | about 3 to 5 percent | Interest-rate sensitive |
| Residential real estate (price only) | about 3 to 5 percent | Illiquid, regional |
| High-yield savings | tracks short-term Treasury rate | FDIC insured |
| Private business equity | highly variable | Concentration, illiquidity |
| Venture capital (fund average) | about 15 to 25 percent gross | Power-law distribution, long lockup |
The right benchmark for any single investment is usually the passive index in the same category. Comparing the ROI on a single stock pick against the broad market over the same window tells you whether your active decision added value.
Comparison Table — ROI vs IRR vs NPV vs Payback
| Metric | What it answers | Best for | Limitation |
|---|---|---|---|
| ROI | Profit per dollar invested | Quick comparisons, simple deals | Ignores time and risk |
| Annualized ROI / CAGR | Effective yearly growth rate | Comparing different horizons | Assumes smooth compounding |
| IRR | Discount rate that zeroes NPV | Multi-period projects with cash flows | Can have multiple solutions, may mislead with non-conventional flows |
| NPV | Dollar value created today | Accept-or-reject decisions | Sensitive to discount rate choice |
| Payback period | Time to recover cost | Liquidity-constrained decisions | Ignores everything after payback |
Limitations of ROI
It ignores time
A fifty percent ROI in one year is excellent. A fifty percent ROI over ten years is roughly four point one percent annualized, which a savings account might have matched. Always pair raw ROI with the holding period, or use the annualized figure in the calculator above.
It ignores risk
An investment that returned thirty percent could have been a coin flip with a fifty percent chance of zero. Without standard deviation, drawdown or downside metrics, ROI alone tells you nothing about how lucky you got.
It ignores opportunity cost
A ten percent ROI looks acceptable until you notice the broad market index returned twenty percent the same year. Always pick a benchmark; the right one is usually a passive fund in the same risk bucket.
It ignores liquidity
The headline ROI on private equity does not account for the years during which you could not access the money. Use a higher discount rate for illiquid positions to reflect that lockup cost, or look at IRR rather than total ROI.
Common Mistakes
Several traps recur often enough that they are worth spelling out. First, double-counting reinvested distributions: if dividends were already reinvested into more shares and the final value reflects that, do not add them again as separate profit. Second, forgetting taxes when comparing accounts: an ROI inside a Roth IRA is not directly comparable to a taxable brokerage ROI because the after-tax outcomes differ. Third, comparing nominal ROI across long periods without inflation adjustment, since five percent in a low-inflation environment beats seven percent during high inflation. Fourth, ignoring fees, especially the management expense ratio on funds, which compounds against you year after year.
Marketing ROI and SROI
Marketing ROI applies the same formula with a twist: the cost is the campaign spend, and the return is the incremental gross profit attributable to that campaign. The hard part is attribution — knowing which conversions would have happened without the campaign. Best-practice approaches use holdout testing, geo experiments or marketing mix modelling rather than relying on last-click attribution, which systematically overstates digital channels and understates brand-building work.
SROI, Social Return on Investment, monetizes the social and environmental outcomes a project produces, divides by cost and reports a ratio. A SROI of four to one means four dollars of blended social and financial value per dollar invested. SROI is widely used by impact investors and nonprofits, but the proxies used to value outcomes such as improved health or reduced recidivism vary widely, so SROI figures are most useful when reported alongside the assumptions.
Edge Cases and Advanced Scenarios
Negative initial investment
Sometimes deals are structured so the investor receives cash up front, for example a sale-leaseback. The ROI formula breaks down because the denominator is negative or zero. In that case use IRR over the full cash flow series instead.
Multi-stage capital calls
Private equity, venture capital and real estate development typically draw capital across several years. Aggregating those calls into a single "cost" loses information about timing. Use the total invested as the denominator for headline ROI, but always pair it with IRR for the timing-aware view.
Cost savings projects
For an efficiency project the return is the cumulative future savings. Decide whether to discount those savings to present value before computing ROI; the unadjusted version inflates results when savings stretch over many years. The compound interest calculator can help you reason about the time value side.
Capital expenditures with residual value
When you sell equipment at the end of its useful life, add the salvage value to the cumulative savings before subtracting cost. Forgetting salvage is one of the most common errors in capital-budgeting spreadsheets.
What To Do With Your Result
- Benchmark against a passive index. If your ROI underperformed a basic index fund over the same window, the active decision did not add value. The average return calculator can help you frame this comparison.
- Adjust for inflation. A nominal ROI of seven percent during five percent inflation is roughly two percent real. Use real returns when comparing periods.
- Project forward. If you reinvest the proceeds at the same ROI, what does the investment calculator show in ten or twenty years? Compounding turns small edges into large gaps.
- Check tax efficiency. Reach for tax-advantaged accounts where possible — Roth IRA, 401(k), HSA — and compare with what a taxable account would have produced. Use the retirement calculator to model this.
- Rebalance. A position that grew much faster than your portfolio target may now be over-concentrated. Trimming back to target captures gains and reduces single-asset risk.
Related calculators
For ongoing planning, pair this ROI calculator with the profit margin calculator, the savings calculator, the loan calculator and the mortgage calculator. To project future values from a given rate of return, the compound interest calculator is the natural next step. To explore time value of money in the opposite direction, look at the present value calculator.