📈 Return on Investment (ROI) Calculator

Calculate your total ROI and annualized ROI instantly — free, accurate, and 100% private (all calculations run in your browser).

💰 ROI Calculator

The initial amount you invested (cost basis)
The final value you received (including returns)

📊 Return on Investment

100.00%

📖 What Is Return on Investment (ROI)?

In finance, Return on Investment (ROI) is one of the most common and widely used metrics for evaluating the profitability of an investment. Before any serious investment opportunity is even considered, ROI provides a solid baseline from which to evaluate it. The metric can be applied to anything — stocks, real estate, employees, business projects, marketing campaigns, or even a sheep farm — anything with a cost that has the potential to generate gains can have an ROI assigned to it.

While much more intricate formulas exist to help calculate rates of return accurately, ROI is lauded and still widely used due to its simplicity and broad applicability as a quick-and-dirty evaluation method.

💡 Note: ROI may be confused with ROR (Rate of Return). Sometimes they can be used interchangeably, but there is a big difference: ROR typically denotes a period of time, often annually, while ROI does not.

The Basic ROI Formula

ROI = Gain from Investment − Cost of Investment
Cost of Investment

Example Calculation

Suppose Bob invested a total of $50,000 into a project and his total returns to date sum up to $70,000. His ROI would be:

ROI = $70,000 − $50,000
$50,000
= 40%

Bob's ROI on his investment is 40%. Conversely, the formula can be used to compute either gain from or cost of investment, given a desired ROI.

⚠️ Difficulty in Usage

It's true that ROI as a metric can be utilized to gauge the profitability of almost anything. However, its universal applicability is also the reason why it tends to be difficult to use properly. While the ROI formula itself may be simple, the real problem comes from people not understanding how to arrive at the correct definition for "cost" and/or "gain," or the variability involved.

Different investors use ROI differently.

The biggest nuance with ROI is that there is no timeframe involved. Consider an investor deciding between:

Right off the bat, the diamond seems like the no-brainer. But what if the diamond's ROI is calculated over 50 years, while the land's ROI is calculated over just several months? This is why ROI works well as a base for evaluating investments but must be supplemented with other, more accurate measures.

📅 Annualized ROI

Our ROI Calculator includes an Investment Time input to hurdle this weakness by using something called the Annualized ROI, which is a rate that's normally more meaningful for comparison. When comparing the results of two calculations, the annualized ROI figure is often more useful than the raw ROI figure — the diamond versus land comparison above is a perfect example.

Annualized ROI = [(1 + ROI)1/n − 1] × 100%
where n = number of years the investment was held

In real life, investment risk and other situations are not reflected in the ROI rate, so even though a higher annualized ROI is preferred, it's not uncommon to see lower ROI investments favored for their lower risk or other favorable conditions. Many times, ROI cannot be directly measured, such as in advertising investments. The ROI in such situations is normally estimated via marginal sales benefit or brand recognition.

📊 Common Types of ROI Analysis

1. Simple ROI

The most basic form of ROI — just the total gain divided by the total cost. Best used for quick, one-off calculations where time is not a significant factor.

2. Annualized ROI

Adjusts ROI to show the equivalent annual rate of return. Essential for comparing investments held for different durations. For example, a 100% ROI over 10 years is only about 7.18% annualized, while a 50% ROI over 1 year is 50% annualized — the latter is clearly better, even though its raw ROI is lower.

3. ROI for Marketing

Marketing ROI = (Revenue − Marketing Cost) / Marketing Cost × 100%. This is commonly used to evaluate the effectiveness of advertising campaigns, social media, and content marketing.

4. Social ROI (SROI)

Used by nonprofits and social enterprises to measure the social, environmental, and economic value created relative to the investment. It assigns monetary values to social outcomes.

5. Real Estate ROI

Calculated as (Annual Rental Income + Appreciation − Costs) / Total Investment. Includes factors like mortgage interest, property taxes, maintenance, and vacancy rates.

6. Stock Market ROI

Includes capital gains plus dividends, minus trading fees and taxes. It's often adjusted for inflation to get the "real" return.

✅ Uses and Limitations of ROI

When ROI Is Useful

⚠️ When ROI Falls Short

💡 Best Practice: Use ROI as a starting point, but always supplement it with additional metrics like Net Present Value (NPV), Internal Rate of Return (IRR), Payback Period, and Risk-adjusted returns for a complete picture.

💼 Real-World ROI Examples

Example 1: Stock Investment

You buy 100 shares of Company XYZ at $50 each ($5,000 total). Two years later, you sell them at $75 each ($7,500 total). You also received $200 in dividends during the holding period.

MetricValue
Total Cost$5,000
Total Return (Sale + Dividends)$7,700
Gain$2,700
Simple ROI54%
Annualized ROI~24.1%

Example 2: Real Estate

You buy a rental property for $200,000. Over 5 years, you collect $60,000 in rent and the property appreciates to $250,000. Total expenses (taxes, maintenance, insurance) are $15,000.

MetricValue
Total Investment$200,000
Rental Income$60,000
Appreciation$50,000
Expenses−$15,000
Net Gain$95,000
Simple ROI47.5%
Annualized ROI~8.1%

Example 3: Marketing Campaign

You spend $5,000 on a Google Ads campaign that generates $12,000 in sales.

MetricValue
Campaign Cost$5,000
Revenue Generated$12,000
Gain$7,000
ROI140%
ROAS (Return on Ad Spend)2.4x

❓ Frequently Asked Questions

What is a good ROI?
It depends on the investment type and risk level. Generally: stocks historically return 7–10% annually (inflation-adjusted), real estate averages 8–12%, and small business investments might target 15–30%. The key is that higher ROI usually comes with higher risk. Compare your ROI against similar investments with similar risk profiles.
What's the difference between ROI and ROR?
ROI (Return on Investment) measures the total percentage gain or loss on an investment, without any specific timeframe. ROR (Rate of Return) typically refers to an annual or periodic rate. When ROR is annualized, it's usually called Annualized ROI or CAGR (Compound Annual Growth Rate).
How do I calculate annualized ROI?
Annualized ROI = [(1 + total ROI as decimal)^(1/years) − 1] × 100%. For example, a 100% ROI over 4 years = [(1 + 1)^(1/4) − 1] × 100% = 18.92% annualized.
Can ROI be negative?
Yes. A negative ROI means you lost money on the investment. For example, if you invested $1,000 and got back $800, your ROI is −20%. The calculator will display negative ROI in red.
Does ROI account for taxes and fees?
The basic ROI formula doesn't automatically include taxes and fees. To get a more accurate picture, subtract all costs (including taxes, commissions, and fees) from your returns before calculating. Different investors define "cost" differently, so be consistent.
Why is annualized ROI more useful?
Annualized ROI normalizes returns to a per-year basis, making it possible to compare investments held for different durations. A 100% return over 10 years (7.18% annualized) is very different from a 50% return over 1 year (50% annualized), even though the raw ROI looks higher in the first case.
What is ROAS and how does it differ from ROI?
ROAS (Return on Ad Spend) = Revenue from Ads / Ad Cost. It's expressed as a ratio (e.g., 4:1) rather than a percentage. ROI includes all costs, not just ad spend, so it's typically lower than ROAS for the same campaign.
Is this calculator accurate?
Yes, it uses standard financial formulas for ROI and annualized ROI. However, real-world investments involve factors like risk, taxes, inflation, and opportunity cost that this calculator doesn't capture. Use it as a starting point for analysis.
Is my data safe?
Absolutely. This calculator runs 100% in your browser. None of your financial data is sent to any server. We don't store, log, or track any of your inputs.

💡 Smart ROI Analysis Tips

  1. Always compare like with like. Don't compare a 5-year real estate ROI with a 5-month stock ROI without annualizing.
  2. Consider the time value of money. For major decisions, use NPV or IRR instead of simple ROI.
  3. Factor in all costs. Taxes, fees, transaction costs, opportunity cost — they all matter.
  4. Adjust for risk. A 20% ROI with 5% risk is often better than a 30% ROI with 50% risk.
  5. Use inflation-adjusted returns. $1,100 in 10 years is not worth $1,100 today.
  6. Benchmark against alternatives. Compare your ROI to index funds, bonds, or other low-risk options.
  7. Don't chase high ROI blindly. High returns often come with high risk, scams, or unrealistic assumptions.
  8. Review regularly. ROI changes over time as markets move and circumstances shift.
  9. Use multiple metrics. ROI + NPV + IRR + Payback Period gives a complete picture.
  10. Consult a financial advisor for large or complex investments.