ToolSpotAI
โ† Back to blog

How to Calculate ROI for Any Investment

ROI is one of the most widely used metrics in business and investing โ€” but it is often misapplied. Here is the formula, worked examples across different scenarios, and the limitations you need to know.

ToolSpot AI Team

May 26, 2026

Use our free ROI Calculator to calculate your return on investment instantly โ€” no signup needed.

How to Calculate ROI โ€” Formula, Examples and What It Means

Return on investment is one of the most quoted numbers in business and finance. Executives use it to justify projects. Investors use it to compare opportunities. Marketers use it to defend budgets. Yet it is also one of the most frequently misused metrics โ€” applied inconsistently, stripped of context, and compared across situations where it has no business being compared.

This guide covers the ROI formula properly, works through examples across several different scenarios, explains what makes a good ROI in different contexts, and flags the limitations that make ROI misleading when used carelessly.

What is ROI?

Return on investment is a percentage that expresses how much you gained or lost relative to what you put in. It answers one question: for every dollar I spent, how many dollars did I get back above what I invested?

A positive ROI means you made more than you spent. A negative ROI means you lost money relative to your investment. An ROI of zero means you got back exactly what you put in โ€” no gain, no loss.

The ROI formula

ROI = ((Net Return / Cost of Investment) x 100)

Where: Net Return = Final Value minus Cost of Investment

So the full formula written out is:

ROI = ((Final Value - Cost of Investment) / Cost of Investment) x 100

The result is a percentage. A result of 25% means you earned 25 cents for every dollar invested, on top of getting your original dollar back.

Worked example โ€” stock investment

You buy shares worth $5,000. Two years later you sell them for $6,800.

Net return = $6,800 - $5,000 = $1,800 ROI = (1,800 / 5,000) x 100 ROI = 36%

You earned a 36% return on your original investment. This does not account for how long you held the investment โ€” we will come back to that.

Worked example โ€” business project

A company spends $12,000 on a marketing campaign. The campaign generates $31,000 in revenue directly attributed to it. The cost of goods for those sales was $14,000.

Net return = $31,000 - $14,000 - $12,000 = $5,000 Total investment = $12,000 ROI = (5,000 / 12,000) x 100 ROI = 41.7%

Note that the cost of goods sold is subtracted before calculating net return. A common mistake is using revenue instead of profit in the numerator, which inflates ROI significantly.

Worked example โ€” real estate

You purchase a rental property for $280,000. Over 5 years you collect $96,000 in rental income. You spend $22,000 on maintenance and repairs. You sell the property for $340,000.

Total inflows = $96,000 + $340,000 = $436,000 Total outflows = $280,000 + $22,000 = $302,000 Net return = $436,000 - $302,000 = $134,000 ROI = (134,000 / 302,000) x 100 ROI = 44.4%

Real estate ROI calculations should include all costs โ€” purchase price, closing costs, repairs, property management fees, insurance, and taxes โ€” or the number is meaningless.

Worked example โ€” negative ROI

You invest $8,000 in equipment for a side business. The business generates $5,500 in revenue over its first year before you close it.

Net return = $5,500 - $8,000 = -$2,500 ROI = (-2,500 / 8,000) x 100 ROI = -31.25%

A negative ROI means you lost money. In this case you recovered 68.75 cents for every dollar you invested and lost the remaining 31.25 cents.

The problem with basic ROI โ€” it ignores time

The single biggest limitation of basic ROI is that it does not account for how long the investment took to generate its return. A 36% ROI sounds the same whether it took 2 years or 10 years โ€” but those are very different outcomes.

A 36% ROI over 2 years is excellent. A 36% ROI over 10 years is poor โ€” it works out to roughly 3.1% per year, which barely keeps up with inflation.

To account for time use annualised ROI:

Annualised ROI = ((1 + ROI as decimal) ^ (1 / years)) - 1 x 100

For the stock example above โ€” 36% ROI over 2 years: Annualised ROI = ((1 + 0.36) ^ (1/2)) - 1 x 100 Annualised ROI = (1.36 ^ 0.5) - 1 x 100 Annualised ROI = 1.1662 - 1 x 100 Annualised ROI = 16.6% per year

Always use annualised ROI when comparing investments held for different time periods.

What counts as a good ROI?

There is no universal answer โ€” it depends entirely on the context, the risk involved, and what alternatives are available.

Stock market investing โ€” the S&P 500 has historically averaged around 10% annually before inflation, or roughly 7% after inflation. An investment that consistently beats this over the long term is considered strong.

Real estate โ€” total returns including rental income and appreciation vary by market but many investors target 8% to 12% annually on a well-selected property.

Business projects โ€” most companies use a hurdle rate โ€” the minimum ROI a project must achieve to be approved. Common hurdle rates range from 10% to 20% depending on the company and industry.

Marketing โ€” benchmarks vary enormously by channel and industry. A 4:1 return (300% ROI) on marketing spend is often cited as a reasonable target for many businesses, though some channels routinely achieve much higher.

Savings accounts โ€” with high-yield savings accounts currently offering 4% to 5% annually, any investment taking meaningful risk should target significantly higher ROI to justify that risk.

What ROI does not measure

ROI is a simple ratio. It leaves out a lot.

Risk โ€” two investments with the same ROI can have completely different risk profiles. A 15% return on a government bond and a 15% return on a speculative startup are not equivalent.

Time value of money โ€” a dollar today is worth more than a dollar in five years. Basic ROI does not discount future cash flows. For longer-term investments use Net Present Value (NPV) or Internal Rate of Return (IRR) instead.

Opportunity cost โ€” an investment with a 12% ROI looks good in isolation. It looks less good if the alternative investment would have returned 20%.

Qualitative benefits โ€” brand awareness, employee morale, customer satisfaction, and strategic positioning all have value that ROI cannot capture. A project that scores poorly on ROI may still be the right decision.

Hidden costs โ€” ROI is only as accurate as the cost figure in the denominator. Forgetting to include staff time, overhead allocation, or indirect costs produces an inflated and misleading result.

When to use ROI and when to use something else

ROI is best for: Simple, short-term comparisons where all costs and returns are clear Quick screening of multiple options before deeper analysis Communicating results to non-financial stakeholders who find the percentage intuitive

Consider alternatives when: Comparing investments held over different time periods โ€” use annualised ROI or IRR Evaluating long-term projects with cash flows spread over many years โ€” use NPV Assessing risk-adjusted returns โ€” use Sharpe ratio or risk-adjusted ROI The investment has significant qualitative benefits that resist quantification

Try the free ROI calculator

Use ToolSpotAI's free ROI Calculator to calculate return on investment for any scenario. Enter your investment cost and final value and the calculator returns your ROI percentage, net return, and annualised ROI based on your holding period.

No signup required. Everything runs in your browser.

  • ROI Calculator

  • Profit Margin Calculator

  • Compound Interest Calculator

  • Business Valuation Calculator

  • SIP Calculator

Frequently asked questions

It depends entirely on the context and the risk involved. For stock market investments, matching or beating the historical average of around 7% to 10% annually after inflation is considered good. For business projects many companies require a minimum of 10% to 20% ROI to approve spending. For marketing, a 300% ROI (4:1 return) is often cited as a reasonable benchmark. Higher risk should demand higher ROI to compensate.

ToolSpotAI

Free online calculators and tools

No sign-up. Instant results. Finance, health, and daily tasksโ€”all in your browser.

Browse all tools