Finance

What Is ROI and How Do You Calculate It?

Updated 11 May 20268 minReviewed for accuracy

Return on investment, or ROI, is the most widely used measure of whether a financial decision worked. It is also one of the easiest metrics to misuse, because the basic formula ignores time. A 50% ROI over six months is great. The same 50% over five years is mediocre. Both look identical on paper unless you annualize.

Key Takeaways

  • ROI = (Net Gain / Cost) × 100, expressed as a percentage.
  • A positive ROI means the investment made money; negative means it lost money.
  • Basic ROI ignores time; a high ROI over a long period can underperform a small ROI over a short one.
  • Annualized ROI (CAGR-equivalent) makes investments of different durations comparable.
  • ROI applies to financial investments, business projects, marketing spend, and capital expenditures.

The Basic Formula

ROI = [(Final Value − Initial Cost) / Initial Cost] × 100

Or equivalently:

ROI = (Net Profit / Investment Cost) × 100

A $10,000 investment that returns $13,500 has:

ROI = (13,500 − 10,000) / 10,000 × 100 = 35%

The same formula works for any context where you can identify a cost and a return:

  • Stocks: buy price vs sell price (plus dividends)
  • Real estate: purchase + improvements vs sale (plus rental income)
  • Marketing: campaign cost vs revenue attributed
  • Capital projects: project cost vs profit generated
  • Education: tuition vs incremental lifetime earnings

The denominator is the only thing that requires care: include all costs, not just the visible ones.

Worked Example: Stock Investment

You buy 100 shares at $50 each: cost $5,000. Over three years you receive $400 in dividends. You sell at $62 per share: proceeds $6,200.

Total return: ($6,200 + $400) − $5,000 = $1,600 ROI: 1,600 / 5,000 × 100 = 32%

Sounds great, until you ask "over how long?"

Why Time Matters: Annualized ROI

The 32% above is total ROI, not annual. To make it comparable to other investments, you need to annualize:

Annualized ROI = [(1 + Total ROI)^(1/years)] − 1

For the example:

Annualized ROI = (1.32)^(1/3) − 1 = 1.0969 − 1 = 9.69% per year

That is the same as CAGR (Compound Annual Growth Rate). A 9.69% annual return is solid but ordinary, significantly less impressive than a raw 32% might suggest.

Total ROITimeAnnualized ROI
32%1 year32.0%
32%3 years9.69%
32%5 years5.71%
32%10 years2.82%

Always look at the time component. ROI is comparing dollars; annualized ROI is comparing rates.

Worked Example: Marketing Campaign

A campaign costs $25,000 in ad spend, $5,000 in creative production, and $2,000 in attributable agency fees. Total cost: $32,000.

The campaign drives 800 new customers with a $90 average order value, generating $72,000 in revenue. Gross margin is 40%, so attributable gross profit is $28,800.

Marketing ROI calculation depends on whether you use revenue or profit in the numerator:

Revenue-based ROAS (return on ad spend) = 72,000 / 32,000 = 2.25x or 125% ROI Profit-based ROI = (28,800 − 32,000) / 32,000 = −10%

This is the most important lesson in marketing ROI: a campaign with strong ROAS can still lose money. Profit-based ROI is the real test.

Including Hidden Costs

Most ROI mistakes come from understating the denominator. A complete cost basis includes:

  • Purchase price or initial outlay
  • Transaction costs (commissions, closing costs, taxes)
  • Ongoing carrying costs (interest, insurance, maintenance, storage)
  • Opportunity cost (what the same money could have earned elsewhere)
  • Time cost (your hours, if relevant)

For investments held over years, ignoring carrying costs can cut "true" ROI in half. A rental property that returns 8% on the surface might return 3–4% after maintenance, vacancy, property management, and time spent.

ROI vs Other Return Metrics

MetricWhat It MeasuresWhen to Use
ROISimple percentage returnQuick comparison of similar-length investments
Annualized ROI / CAGRCompounded annual returnComparing investments of different durations
IRRDiscount rate that makes NPV = 0Projects with multiple cash flows over time
NPVPresent value of all future cash flowsCapital projects, real estate
ROASRevenue per dollar of ad spendMarketing campaigns (top-line view)
ROICReturn on invested capitalComparing business operating efficiency

Each metric trades off simplicity against accuracy. ROI is the most readable; IRR and NPV are the most accurate for multi-period analysis with irregular cash flows.

Common Mistakes

Ignoring time. The same 30% ROI over 1 year and over 10 years are wildly different investments. Always annualize for comparison.

Cherry-picking the cost basis. Excluding fees, taxes, or maintenance inflates ROI artificially. Be consistent and conservative.

Confusing ROAS with profit ROI. ROAS is revenue-based and ignores margin. A 4× ROAS at 20% margin is essentially break-even.

Comparing ROI across asset classes without risk adjustment. A 12% ROI on a Treasury bond is impossible. A 12% ROI on a junk bond is normal. Risk-adjusted return (Sharpe ratio) is the right cross-asset comparison.

Not accounting for inflation. A 5% nominal ROI in a 3% inflation environment is only 2% real return.

Treating projected ROI as guaranteed. Forecasts are forecasts. Build sensitivity analysis showing best, base, and worst-case scenarios.

Forgetting taxes. After-tax ROI is what you actually keep. A 10% gain on a short-term holding is often 7–8% after federal and state taxes.

Practical Scenarios

Scenario 1: Real estate flip. Purchase $300,000, $50,000 in renovations, $15,000 in closing/holding costs, sale at $410,000. Total cost: $365,000. Profit: $45,000. ROI: 45,000 / 365,000 = 12.3%. If the flip took 9 months, annualized ROI = (1.123)^(12/9) − 1 ≈ 16.7%.

Scenario 2: Equipment purchase. A small bakery buys a $40,000 oven that increases capacity, generating $18,000 in incremental annual profit. ROI per year: 18,000 / 40,000 = 45%. Payback period: about 2.2 years.

Scenario 3: Employee training. A company spends $8,000 training a sales rep whose productivity increases by $35,000 in the year after training. ROI: (35,000 − 8,000) / 8,000 = 337.5%. Highly favorable, which is why training programs survive budget cuts.

Scenario 4: SaaS subscription. A team adopts a $12,000/year project management tool that saves an estimated 200 hours of labor at a fully-loaded cost of $80/hour. Savings: $16,000. ROI: (16,000 − 12,000) / 12,000 = 33%.

ROI as a Decision Tool

Use ROI for:

  • Comparing similar-duration investments
  • Ranking projects competing for the same capital
  • Communicating return clearly to non-technical stakeholders
  • Quickly filtering opportunities

Use more sophisticated metrics (NPV, IRR, payback period) for:

  • Multi-year projects with irregular cash flows
  • Capital allocation decisions across many alternatives
  • Decisions where time-value-of-money assumptions are important

ROI is the right answer to "did this work?" It is not always the right answer to "should we do this next?"

FAQ

What is a good ROI? Depends entirely on context. Stock market historical real returns average 6–8% annually; long-term bonds 2–4%. Business investments often target 15%+ to justify risk. Marketing ROI varies wildly by channel and stage of growth.

How do I calculate ROI for a multi-year investment? Use annualized ROI: [(1 + Total ROI)^(1/years)] − 1. This converts cumulative return into the equivalent constant annual rate.

What is the difference between ROI and ROAS? ROAS uses revenue in the numerator; ROI uses profit. ROAS is bigger but less meaningful; a 4× ROAS at thin margins can still lose money.

Is ROI the same as profit? No. Profit is a dollar amount; ROI is a percentage relative to cost. A $1 million project with $200,000 profit has the same ROI (20%) as a $1,000 project with $200 profit, but very different absolute outcomes.

How does inflation affect ROI? Nominal ROI is unadjusted; real ROI subtracts inflation. A 7% nominal return in a 3% inflation environment is a 4% real return: what you can actually buy with the gain.

Can ROI be negative? Yes. A negative ROI means the investment lost money. A −50% ROI means half the principal was lost.

Does ROI account for risk? No. ROI is a backward-looking return calculation. To incorporate risk, use risk-adjusted metrics like Sharpe ratio or compare against the risk-free rate.

Related Tools

The ROI Calculator computes both basic and annualized ROI from cost and return inputs. The CAGR Calculator gives you compounded growth rate directly. For long-term scenarios, the Compound Interest Calculator is the right model. To check if the ROI implies a sustainable margin, run the Profit Margin Calculator.

Related Articles

Final Thoughts

ROI is the universal language of investment decisions because it strips a complex calculation into a single percentage anyone can read. That simplicity is also the trap. A 100% ROI over a decade is mediocre. A 15% ROI over six months is excellent. The number on its own means nothing without time, risk, and a complete cost basis. Compute it carefully, annualize it, and compare like with like, and ROI becomes one of the most useful tools in any financial conversation.