Calculators Converters Generators Developer Tools Finance Tools Writing Tools SEO Tools Image Tools Network Tools Productivity Tools Social Media Tools
Blog About Contact
FinanceMay 18, 20267 min read

How to Calculate ROI: Formula, Examples & What It Really Tells You

How to Calculate ROI: Formula, Examples & What It Really Tells You

ROI — Return on Investment — is one of the most used and most misused metrics in finance. Used correctly, it gives you a clean, comparable percentage that tells you how efficiently money was deployed. Used carelessly, it gives you a number that looks precise but masks important context.

This guide covers exactly how to calculate ROI, walks through examples across investment types, explains the limitations you need to know, and shows you when a high ROI number might still indicate a bad decision.

What Is ROI?

Return on Investment (ROI) is a performance metric that measures the gain or loss from an investment relative to its cost. It's expressed as a percentage, making it easy to compare investments of different sizes.

At its core, ROI answers one question: for every dollar I put in, how much did I get back above what I spent?

An ROI of 20% means you made $20 for every $100 invested. An ROI of -15% means you lost $15 per $100. An ROI of 0% means you broke even.

ROI is used across contexts — stock investments, real estate, business decisions, marketing campaigns, education — because its simplicity makes it universally applicable. That same simplicity is also its biggest limitation, which we'll cover in detail.

How to Calculate ROI — Step by Step

The standard ROI formula is:

ROI = rac{Net Profit}{Cost of Investment} imes 100

Where:

* Net Profit = Final Value of Investment − Cost of Investment

* Cost of Investment = The total amount you put in (purchase price plus any additional costs)

This can also be written as:

ROI = rac{Final Value - Initial Cost}{Initial Cost} imes 100

Both formulas produce the same result. Let's work through each step.

Step 1: Identify your initial investment cost

Include everything you paid to make the investment — not just the purchase price. For stocks, this includes brokerage commissions. For real estate, it includes closing costs, legal fees, and renovation expenses. For a business investment, it includes all capital deployed.

Step 2: Determine the final value

This is what the investment is currently worth, or what you received when you exited. For a sold investment, it's the sale price. For an ongoing investment, it's the current market value.

Step 3: Calculate net profit

Net Profit = Final Value - Initial Cost

If the result is positive, you made money. Negative means a loss.

Step 4: Divide by the initial cost

Net Profit div Cost of Investment = ROI (as a decimal)

Step 5: Multiply by 100 to express as a percentage

ROI % = (Net Profit div Cost) imes 100

→ Use our free Investment Calculator to calculate ROI on any investment instantly — no sign-up needed.

ROI Examples Across Different Investment Types

Example 1: Stock Investment

* Bought 50 shares at $40 each = $2,000 invested

* Sold at $54 per share = $2,700 received

* Brokerage fee: $10

* Net Profit: $2,700 − $2,000 − $10 = $690

* ROI: ($690 ÷ $2,010) × 100 = 34.3%

Example 2: Real Estate

* Purchase price: $280,000

* Renovation and closing costs: $20,000

* Total investment: $300,000

* Sale price after 3 years: $370,000

* Net Profit: $370,000 − $300,000 = $70,000

* ROI: ($70,000 ÷ $300,000) × 100 = 23.3%

* *Note: This ROI doesn't account for rental income received during ownership, mortgage interest paid, or property taxes — all of which affect the true return. Full real estate ROI calculations require accounting for all cash flows.*

Example 3: Business Marketing Campaign

* Campaign cost: $5,000

* Revenue generated attributable to campaign: $18,000

* Net Profit: $18,000 − $5,000 = $13,000

* ROI: ($13,000 ÷ $5,000) × 100 = 260%

Example 4: Education / Upskilling

* Cost of professional certification: $1,200

* Annual salary increase after certification: $6,000

* First-year ROI: ($6,000 − $1,200) ÷ $1,200 × 100 = 400%

ROI by the Numbers: Benchmarks to Know

Investment TypeTypical Annual ROI RangeNotes
US stock market (S&P 500)8–10% (long-run average)Before inflation; historical average since 1957
Real estate (US, appreciation only)3–5% annuallyDoes not include rental yield
Real estate (including rental yield)7–12%Highly location-dependent
Corporate bonds3–6%Lower risk than equities
Government bonds (US Treasuries, 2026)4–4.5%Near risk-free rate
High-yield savings4–5%Capital-guaranteed, FDIC insured
Business investmentsHighly variableTypically 15–30%+ required to justify risk

*Long-run S&P 500 data sourced from Robert Shiller's CAPE dataset (Yale, updated 2025). All figures are illustrative averages.*

The Critical Limitation: ROI Ignores Time

The most important flaw in the basic ROI formula is that it doesn't account for how long the money was invested.

Consider two investments:

* Investment A: 30% ROI in 1 year

* Investment B: 30% ROI in 5 years

The basic ROI formula gives them the same score. But Investment A is dramatically superior — it returned 30% annually, while Investment B returned roughly 5.4% per year (annualised).

To compare investments fairly across different timeframes, use Annualised ROI (also called CAGR — Compound Annual Growth Rate):

Annualised ROI = left[ left( rac{Final Value}{Initial Cost} ight)^{ rac{1}{n}} - 1 ight] imes 100

Where $n$ = number of years.

For Investment B above: $[(1.30)^{1/5} - 1] imes 100 = extbf{5.4% per year}$

Always annualise ROI when comparing investments held for different periods.

Common Mistakes to Avoid

* Not including all costs: A stock investment that ignores brokerage fees, a real estate investment that ignores closing costs and maintenance, or a business investment that ignores staff time — all produce an artificially inflated ROI. Always include the full cost of capital deployed.

* Comparing non-annualised ROIs across different time periods: A 50% ROI over 10 years sounds impressive until you annualise it to 4.1% per year — which barely beats a high-yield savings account. Always convert to annualised figures before comparing investments with different holding periods.

* Ignoring risk: Two investments with identical ROI are not equivalent if one is guaranteed and the other is highly volatile. A 7% return from a government bond involves virtually no principal risk; a 7% return from a single small-cap stock carries enormous risk. ROI tells you the return but says nothing about the risk taken to achieve it.

* Confusing gross revenue with profit: In business contexts especially, people sometimes calculate ROI using revenue rather than profit — producing wildly inflated figures. ROI must be calculated on net gain (revenue minus all associated costs), not on top-line revenue.

* Using ROI in isolation for major decisions: ROI is one input, not a complete decision framework. A real estate investment with a 15% ROI that required full-time management involvement and significant stress is not comparable to a 12% passive index fund return. Qualitative factors — liquidity, time commitment, risk, opportunity cost — all matter alongside the number.

The Bottom Line

ROI is one of the most useful tools in financial decision-making — and one of the easiest to misuse. Calculate it correctly (include all costs), annualise it when comparing across timeframes, and always pair it with a measure of risk before making a decision. A number without context is just a number.

*Investment Calculator gives you the answer in under 30 seconds — try it free at globalutilityhub.com/calculators/investment-calculator/ to calculate and compare ROI across any investment scenario.*


✍️ Written by the GlobalUtilityHub Editorial Team|📅 Last reviewed: May 2026|Fact-checked for accuracy
Ready to try it yourself?

Use our free Investment Calculator to apply what you have learned.

Open Investment Calculator

Frequently Asked Questions

It depends on the asset class and risk involved. For stock market investments, 8–10% annualised is considered strong, in line with historical S&P 500 returns. For real estate, 7–12% total return is typical. For business investments, most operators target 20% or more to justify the risk and effort involved.
Yes. A negative ROI means the investment lost money. For example, if you invested $5,000 in a stock that fell to $3,800, your ROI is negative 24%. Negative ROI is a loss.
ROI measures returns relative to total capital invested. ROE measures returns relative to shareholders' equity — relevant primarily in corporate finance and stock analysis. For individual investors, ROI is the more applicable metric.
ROI as typically calculated is a simple measure of total return, not compounded. Compound Annual Growth Rate (CAGR) is the compounded version — it represents the steady annual rate at which an investment would have grown to reach its final value, accounting for reinvestment of returns each year.
IRR is a more sophisticated metric used for investments with multiple cash flows over time, such as real estate with annual rental income. It calculates the annualised return accounting for the timing of each cash flow. For simple one-time investments, ROI or CAGR is sufficient; for complex multi-cash-flow investments, IRR is more accurate.
Significantly. A 20% pre-tax ROI in a country with 30% capital gains tax becomes an after-tax ROI of approximately 14%. Always consider after-tax ROI when comparing investments held in taxable accounts. Tax-advantaged accounts shelter returns from this reduction.
No. Profit margin measures profit as a percentage of revenue. ROI measures profit or gain as a percentage of the cost of investment. Both are useful but they answer different questions.
Yes — but use annualised ROI and include all costs and income streams for both. Stock ROI should include dividends; real estate ROI should include rental income minus all expenses. Comparing raw purchase-to-sale gains between different asset classes produces a misleading comparison.