ROI Calculator
Calculate return on investment (ROI), net profit, and annualized ROI for any investment — stocks, real estate, business, or savings. Enter your initial cost, final value, and holding period to see your full return picture.
What Is ROI and Why Does It Matter?
Return on Investment (ROI) is the most fundamental metric in financial decision-making. It measures how much money you gained (or lost) relative to what you invested — expressed as a percentage. ROI allows you to compare opportunities of any size: whether a $500 stock trade, a $50,000 rental property investment, or a $5 million business acquisition, ROI puts them on the same comparative scale.
The simplicity of ROI is its greatest strength and its main limitation. The basic formula captures total return but ignores time — and time is critical to investment decisions. A 50% return over 25 years is terrible. A 50% return in 6 months is outstanding. This is why this calculator also computes annualized ROI (CAGR), which normalises any return to an annual figure, making all investments directly comparable.
The ROI Formula — All Variations
| Metric | Formula | Use case |
|---|---|---|
| Basic ROI | [(Final Value – Cost) ÷ Cost] × 100 | Any single investment |
| Net profit | Final Value – Initial Cost | Dollar gain/loss |
| Annualized ROI (CAGR) | [(FV/PV)^(1/years) – 1] × 100 | Comparing different time periods |
| After-tax ROI | ROI × (1 – tax rate) | Real return after capital gains tax |
| Real ROI (inflation-adj.) | [(1+nominal)/(1+inflation)] – 1 | Purchasing power return |
Full worked example: You buy 100 shares of a stock at $85/share (cost: $8,500). After 4 years, the shares are worth $132/share ($13,200). Basic ROI = [(13,200 – 8,500) / 8,500] × 100 = 55.3%. Annualized ROI = [(13,200/8,500)^(1/4) – 1] = 1.1185^0.25 – 1 = 11.6% per year. With 15% capital gains tax: after-tax net = $4,700 × 0.85 = $3,995; after-tax ROI = 47.0%. With 3% average inflation: real annualized ROI = [(1.116/1.03) – 1] = 8.3% per year in real purchasing power.
Why Annualized ROI (CAGR) Changes Everything
Without annualising, ROI comparisons are meaningless. Consider these four investments — all with identical 40% total ROI:
| Investment | Total ROI | Time held | Annualized ROI | Verdict |
|---|---|---|---|---|
| Real estate deal | 40% | 1 year | 40.0% | Exceptional |
| Stock portfolio | 40% | 4 years | 8.8% | About average |
| Business investment | 40% | 8 years | 4.3% | Below average |
| Savings account | 40% | 15 years | 2.3% | Poor — below inflation |
Same total return, wildly different annualised performance. Anyone comparing these investments on total ROI alone would draw completely wrong conclusions. Always use annualised ROI when comparing investments held for different periods.
What Is a Good ROI? Benchmarks by Asset Class
| Asset class | Historical annualised return | Risk level | Notes |
|---|---|---|---|
| Cash / savings account | 0.5%–5.5% | None | Rate-dependent; currently higher due to Fed policy |
| US Treasury bonds (10yr) | 3%–5% | Very low | The "risk-free rate" benchmark |
| Investment-grade bonds | 4%–6% | Low | Suitable for capital preservation |
| Residential real estate | 3%–6% (price) | Low-medium | Plus rental yield of 4%–8% gross |
| REITs | 7%–9% | Medium | Includes dividends; highly liquid vs direct real estate |
| S&P 500 index | ~10% nominal, ~7% real | Medium-high | Historical average 1926–2023; not guaranteed |
| Small-cap stocks | 11%–12% | High | Higher long-term return; higher volatility |
| International developed markets | 7%–9% | Medium-high | Lower than US over past decade; diversification value |
| Private equity | 12%–15% target | Very high | Illiquid; minimum investments typically $250k+ |
| Angel/startup investing | -100% to +1000% | Extreme | Most investments lose everything; rare winners dominate |
The appropriate benchmark depends on the risk level. A 7% ROI on a real estate investment is excellent; on a venture capital fund it would be dismal. Always compare against alternatives with similar liquidity, time horizon, and risk profile.
ROI in Business Context: Marketing, Projects, and Hiring
ROI is as important in business decision-making as in investment analysis. Any expenditure that generates measurable return can be evaluated with ROI:
- Marketing ROI: (Revenue from campaign – Campaign cost) ÷ Campaign cost. A $10,000 Google Ads campaign generating $45,000 in revenue = 350% ROI. Typical marketing ROI benchmarks: email marketing (~4,200%), SEO (~1,400% over 3 years), paid social (~50%–200%).
- Hiring ROI: Revenue contribution of new hire – Total cost of hire (salary + benefits + recruiting + training + overhead). A $120,000 total cost hire who generates $400,000 in attributable revenue = 233% ROI.
- Technology investment: Operational savings + revenue enabled – Technology cost. A $50,000 automation system saving $30,000/year in labor and enabling $40,000/year in additional revenue = 40% ROI in year 1, compounding with each additional year.
The Difference Between ROI, IRR, and NPV
ROI is the simplest but not always the most appropriate return metric. Here is when to use which:
| Metric | Best for | Handles cash flows? | Time-adjusted? |
|---|---|---|---|
| ROI | Simple buy-and-sell investments | No | Only via CAGR variant |
| CAGR | Comparing different holding periods | No | Yes |
| IRR | Investments with multiple cash flows | Yes | Yes |
| NPV | Project analysis with discount rate | Yes | Yes |
| Payback period | Capital budgeting, liquidity focus | Partially | No |
For a rental property, IRR is better than ROI because it accounts for ongoing rental income, vacancies, maintenance costs, and sale proceeds — all at different points in time. For a simple stock purchase and sale with no dividends, basic ROI and CAGR are sufficient.
Taxes and Inflation: The ROI Destroyers
Headline ROI figures are almost always before taxes and inflation. The real return you actually keep and can spend is often significantly lower:
| Scenario | Nominal ROI | After 20% tax | After 3% inflation (5yr) | Real after-tax ROI |
|---|---|---|---|---|
| Strong investment year | 30% | 24% | –14% | ~10% |
| Average S&P 500 year | 10% | 8% | –14% | ~-6% |
| 5-year stock hold (10%/yr) | 61% | 48.8% | –14% | 34.8% |
| 30-year retirement account (7%/yr) | 661% | Deferred | –59% | Varies by tax treatment |
This table illustrates why holding periods, tax-advantaged accounts, and inflation management are so important. A 10% nominal annual return in a taxable account with 20% capital gains tax and 3% inflation leaves you with approximately 4%–5% in real spending power annually — still good, but half the headline figure.
Every investment has an implicit competitor: the risk-free rate. If the US 10-year Treasury currently yields 4.5%, any investment carrying more risk needs to offer a meaningful return above 4.5% to be worth taking on. This premium above the risk-free rate is called the risk premium — and evaluating ROI means always asking: "Is this return sufficient compensation for the additional risk compared to simply buying Treasury bonds?" An 8% ROI on a volatile startup investment may be poor; an 8% ROI on a stable rental property in a strong market may be excellent.
Frequently Asked Questions
What is the ROI formula?
Basic ROI = [(Final Value – Initial Cost) / Initial Cost] × 100. Example: invest $5,000, receive $8,000 back. ROI = [(8,000 – 5,000) / 5,000] × 100 = 60%. For time-adjusted comparison, use annualized ROI (CAGR): [(Final/Initial)^(1/years) – 1] × 100. The same $5,000 → $8,000 over 3 years = CAGR of [(8000/5000)^(1/3) – 1] = 16.96% annually.
What is a good ROI for stocks?
The S&P 500 has returned approximately 10% annually (7% inflation-adjusted) over the long term. Individual stocks vary enormously — some return 30%+ annually for years while others go to zero. For a diversified stock portfolio, an 8%–12% annualized return over a 10+ year period is generally considered solid. Short-term returns (1–3 years) are less meaningful because of normal market volatility.
How is ROI different from profit margin?
ROI measures return relative to the capital invested. Profit margin measures profit relative to revenue. A business selling $1M with $100k profit has a 10% margin. If it required $500k of investment capital, its ROI is 20%. If it required $2M of capital, its ROI is 5%. ROI is about capital efficiency; profit margin is about revenue efficiency. Both matter, but ROI is more useful for investment decisions.
Does ROI account for taxes?
Basic ROI does not. To calculate after-tax ROI, apply your marginal capital gains tax rate to the profit portion: After-tax ROI = ROI × (1 – tax rate). In the US, long-term capital gains (assets held 12+ months) are taxed at 0%, 15%, or 20% depending on income. Short-term gains (held less than 12 months) are taxed as ordinary income. Investments held in Roth IRAs are never taxed, making their true ROI equal to their nominal ROI — a significant advantage.
What is CAGR vs simple ROI?
Simple ROI is the total percentage gain from start to finish, regardless of time. CAGR (Compound Annual Growth Rate) is the equivalent steady annual rate that would produce the same total return over the same period — it shows what "annualized" means for a specific investment. A $10,000 investment that grows to $16,000 over 6 years has a simple ROI of 60% and a CAGR of [(16,000/10,000)^(1/6) – 1] = 8.15% per year. CAGR enables apples-to-apples comparison across different time horizons.