How to Calculate ROI — Formula, Examples, and Common Pitfalls

Learn how to calculate return on investment (ROI) with the formula, real-world examples across marketing, real estate, and stocks, and understand when ROI is the wrong metric.

The Quick Answer

ROI (Return on Investment) measures how much profit or loss you made relative to what you spent. The formula is:

ROI = ((Final Value − Cost) ÷ Cost) × 100

If you invested $1,000 and received $1,400 back, your ROI is 40%. That means you earned $0.40 in profit for every $1 invested.

ROI is expressed as a percentage, making it easy to compare investments of different sizes.

Why ROI Matters

ROI answers a simple but critical question: "Was this worth the money?"

Every dollar spent — on marketing, equipment, education, or investments — has an opportunity cost. ROI gives you a standardized way to measure whether that dollar was well spent.

Without ROI:

  • "We spent $10,000 on ads and made $30,000 in sales." (Sounds great, but what about the product costs?)
  • "Our stock went up $500." (Relative to what? A $1,000 investment or a $100,000 one?)

With ROI, you get a single comparable number that works across contexts.

The ROI Formula Explained

ROI = ((Final Value − Cost) ÷ Cost) × 100

The formula has three components:

  1. Final Value — the total amount you received back (not just profit)
  2. Cost — the total amount you invested or spent
  3. The result — a percentage that can be positive (profit) or negative (loss)

An equivalent way to express this:

ROI = (Net Profit ÷ Cost) × 100

Where Net Profit = Final Value − Cost. Both formulas produce the same result.

Worked Examples

Example 1: Marketing Campaign

You spend $5,000 on a Google Ads campaign. The campaign generates $18,000 in revenue, with $8,000 in product costs.

First, determine what counts as "Final Value." Since product costs are separate from the marketing investment, many analysts calculate marketing ROI on the gross profit the campaign generated:

Net return attributable to ads = $18,000 − $8,000 = $10,000

ROI = ((10,000 − 5,000) ÷ 5,000) × 100
ROI = (5,000 ÷ 5,000) × 100
ROI = 100%

Result: 100% ROI — you doubled your marketing spend. For every $1 in ads, you got $1 in profit.

Example 2: Stock Investment

You buy shares for $3,200 and sell them 18 months later for $4,160.

ROI = ((4,160 − 3,200) ÷ 3,200) × 100
ROI = (960 ÷ 3,200) × 100
ROI = 30%

Result: 30% ROI over 18 months. But how does this compare to a 25% return over 12 months? That's where annualized ROI helps (covered below).

Example 3: Equipment Purchase

A bakery buys a $12,000 oven that generates $3,500 in additional monthly revenue with $1,200 in added monthly costs (ingredients, energy). After the first year:

Additional profit = ($3,500 − $1,200) × 12 = $27,600

ROI = ((27,600 − 12,000) ÷ 12,000) × 100
ROI = (15,600 ÷ 12,000) × 100
ROI = 130%

Result: 130% ROI in the first year alone. The oven paid for itself in about 5.2 months.

Example 4: Negative ROI (Loss)

You invest $8,000 in a product launch. After six months, total returns are $5,200.

ROI = ((5,200 − 8,000) ÷ 8,000) × 100
ROI = (−2,800 ÷ 8,000) × 100
ROI = −35%

Result: −35% ROI. You lost $2,800, or 35 cents on every dollar invested.

Annualized ROI: Comparing Different Time Periods

Basic ROI ignores time. A 50% return in 1 year is far better than 50% over 10 years, but the basic formula treats them identically.

Annualized ROI converts total return to a yearly rate, making fair comparisons possible.

Formula:

Annualized ROI = ((1 + ROI)^(1/years) − 1) × 100

Example: Comparing Two Investments

Investment A Investment B
Cost $10,000 $10,000
Final value $15,000 $18,000
Duration 2 years 5 years
Total ROI 50% 80%
Annualized ROI 22.5% 12.5%

Investment B has a higher total ROI (80% vs. 50%), but Investment A performed better on a per-year basis (22.5% vs. 12.5%). Annualized ROI reveals which investment was more efficient with your time.

The ROI Multiple

Another useful way to express returns is the multiple (also called MOIC — Multiple on Invested Capital):

Multiple = Final Value ÷ Cost

Multiple Meaning
0.5x Lost half your money
1.0x Broke even
2.0x Doubled your money (100% ROI)
3.0x Tripled your money (200% ROI)
10x Ten times your money (900% ROI)

Multiples are common in venture capital and startup investing, where returns are often discussed as "a 3x return" rather than "200% ROI."

ROI Benchmarks by Context

What counts as a "good" ROI depends entirely on context:

Context Typical ROI Notes
Stock market (S&P 500) 7–10% per year Historical average; inflation-adjusted ~7%
Real estate 8–12% per year Includes rental income and appreciation
Digital marketing 200–500% Varies by channel and industry
Email marketing 3,600–4,200% High ROI due to very low marginal costs
Bonds 2–5% per year Lower risk, lower return
Venture capital 20–30% per year (target) High failure rate offsets large wins

These are general ranges. Individual results vary significantly based on timing, skill, market conditions, and risk tolerance.

Common Mistakes When Calculating ROI

1. Forgetting Hidden Costs

ROI is only as accurate as your cost figure. Common costs people forget:

  • Time spent (especially for solo projects and small businesses)
  • Opportunity cost (what else could that money have earned?)
  • Maintenance and ongoing fees (subscriptions, hosting, insurance)
  • Transaction costs (broker fees, shipping, payment processing)

An investment that looks like 40% ROI might be 15% after accounting for all real costs.

2. Comparing ROI Across Different Time Periods

A 60% ROI over 5 years is not comparable to a 20% ROI over 1 year. Always annualize before comparing.

3. Ignoring Risk

Two investments with identical ROI can have vastly different risk profiles. A savings account earning 4% and a speculative stock that returned 4% are not equivalent, even though the ROI number is the same.

4. Using ROI for Ongoing Cash Flows

Basic ROI assumes a single investment and a single return. If an investment generates ongoing irregular cash flows (monthly revenue, dividends at different rates, partial exits), ROI becomes misleading. Use IRR (Internal Rate of Return) or NPV (Net Present Value) instead.

5. Survivorship Bias

When looking at ROI benchmarks, published numbers often reflect successful outcomes. Failed investments are rarely reported, which can skew expectations.

When ROI Is Not the Right Metric

ROI is useful but limited. Consider alternatives when:

Situation Better metric Why
Ongoing cash flows over time IRR (Internal Rate of Return) Accounts for when cash flows occur
Comparing projects of different sizes and durations NPV (Net Present Value) Accounts for the time value of money
Evaluating total shareholder returns CAGR (Compound Annual Growth Rate) Shows steady-state growth rate
Marketing with delayed effects Customer Lifetime Value (LTV) Captures long-term revenue, not just immediate return
Capital-constrained decisions Payback period Shows when you recover your investment

ROI works best for simple, bounded investments where you can clearly define the cost and the return.

ROI in Different Industries

Marketing ROI

Marketing ROI (sometimes called ROMI — Return on Marketing Investment) typically measures revenue or profit generated per dollar of marketing spend. The challenge is attribution: which sales were actually caused by the marketing?

Common approach: compare periods with and without the campaign, or use tracking pixels and conversion attribution.

Real Estate ROI

Real estate ROI combines two components:

  • Rental yield: Annual rental income ÷ Property cost
  • Capital appreciation: Increase in property value over time

A property bought for $200,000 that generates $18,000/year in rent (after expenses) and appreciates to $230,000 after 2 years:

Total return = ($18,000 × 2) + ($230,000 − $200,000) = $66,000 ROI = ($66,000 ÷ $200,000) × 100 = 33% over 2 years (annualized: ~15.3%)

Education ROI

Education ROI compares the cost of a degree or certification against the expected increase in lifetime earnings. This is harder to calculate because:

  • The time horizon is decades
  • Earnings depend on many factors beyond education
  • Opportunity cost includes years of lost wages

Despite these complexities, the concept is useful for comparing educational investments at a high level.

Frequently Asked Questions

What is ROI?

ROI (Return on Investment) is a percentage that measures how much profit or loss you made relative to your initial investment. An ROI of 50% means you earned half of your original investment as profit.

What is a good ROI?

It depends on the context. For stock market investments, 7–10% annually is considered average. For marketing campaigns, a 5:1 return (400% ROI) is a common target. Real estate typically targets 8–12% annually. There is no universal "good" number.

Can ROI be over 100%?

Yes. An ROI of 100% means you doubled your money. An ROI of 200% means you tripled it. Email marketing regularly reports ROI above 3,000% because the costs are very low relative to the revenue generated.

Can ROI be negative?

Yes. Negative ROI means you lost money. An ROI of −25% means you lost a quarter of your investment.

What is the difference between ROI and profit?

Profit is an absolute number (dollars). ROI is a relative number (percentage). A $10,000 profit on a $20,000 investment (50% ROI) is more efficient than a $10,000 profit on a $100,000 investment (10% ROI), even though the dollar profit is the same.

How do I calculate ROI on a rental property?

Add up all rental income and subtract all expenses (mortgage interest, taxes, insurance, maintenance, vacancy costs). Divide by your total investment (down payment + closing costs + renovation). For a more complete picture, include property appreciation.

What is annualized ROI?

Annualized ROI converts total return to a yearly rate, making it possible to compare investments of different durations. A 50% return over 5 years equals about 8.4% per year annualized.

What is the difference between ROI and IRR?

ROI gives a total return percentage over the entire period. IRR (Internal Rate of Return) accounts for the timing and size of individual cash flows. IRR is more accurate for investments with multiple payments or irregular returns. ROI is simpler and works well for single-in, single-out investments.

Does ROI account for inflation?

No. Standard ROI is a nominal figure. To find the real (inflation-adjusted) ROI, subtract the inflation rate. If your ROI is 10% and inflation is 3%, your real return is approximately 7%.

How do I improve ROI?

There are two levers: increase returns or reduce costs. In marketing, this means improving conversion rates, targeting better audiences, or reducing ad spend waste. For investments, this means finding higher returns or lowering fees and transaction costs.

What is ROI in marketing?

Marketing ROI measures the revenue or profit generated per dollar spent on marketing. A marketing ROI of 500% means every $1 in marketing spend generated $5 in profit. The main challenge is accurately attributing revenue to specific marketing activities.

Is a higher ROI always better?

Not necessarily. Higher ROI often comes with higher risk. A 50% ROI from a speculative venture is not inherently better than a 5% ROI from a government bond if capital preservation is the priority. Always consider ROI alongside risk tolerance, time horizon, and liquidity needs.

Related Tools

Related Tools