Skip to content

ROI Calculator

Calculate return on investment and annualized returns for any investment.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
ROI Calculator

Used to annualize the return โ€” leave at 1 if you only want the total ROI.

๐Ÿ“Š
Enter your values and click Calculate

About

Return on Investment (ROI) is the simplest measure of how much money an investment has made relative to the amount you put in. The basic formula โ€” profit divided by cost, expressed as a percentage โ€” works intuitively for any single-period investment, but it ignores how long your money was tied up. A 50% gain realized in one year is a very different outcome from the same 50% gain spread across a decade, which is why analysts almost always report an annualized ROI, also called the Compound Annual Growth Rate (CAGR). Annualization uses a geometric mean โ€” the n-th root of the total multiple, minus one โ€” so it correctly handles compounding and produces a percentage that can be compared directly to interest rates, inflation, and other investment returns. The combination of total ROI (how much you actually made) and annualized ROI (the implied yearly rate) gives a complete picture of any investment's performance, whether it is a stock, a real estate flip, a small business, or even a marketing campaign.

How to Use

  1. Enter the initial amount you invested (your cost basis, including any fees paid to acquire the asset).
  2. Enter the current or final value of the investment (gross proceeds before selling costs if you want gross ROI).
  3. Enter the holding period in years โ€” decimals are allowed (e.g., 18 months = 1.5).
  4. The total ROI, total profit, and annualized return update automatically as you type.

Formula

Total ROI is the percentage gain or loss on the original investment:

ROI = (Final โˆ’ Initial) / Initial ร— 100

Annualized ROI (Compound Annual Growth Rate) accounts for the holding period:

Annualized ROI = [(Final / Initial)(1/years) โˆ’ 1] ร— 100

  • Final = ending value of the investment
  • Initial = amount originally invested
  • years = holding period in years (may be fractional)

Note: this geometric-mean formula is only valid when years > 0 and Final/Initial > 0. It does not account for cash flows during the holding period; use IRR / XIRR for that.

Worked Example

You invest $10,000 in a stock and sell it 5 years later for $15,000.

  • Profit = $15,000 โˆ’ $10,000 = $5,000
  • Total ROI = $5,000 / $10,000 ร— 100 = 50.00%
  • Multiple = $15,000 / $10,000 = 1.500ร—
  • Annualized ROI = (1.5)(1/5) โˆ’ 1 = 0.08447 = 8.45%
  • So the same gain looks modest per year โ€” about 8.45% compounded โ€” even though the total return is 50%.

Tips

  • Always include any commissions, fees, and reinvested dividends in your initial and final figures โ€” omitting them inflates ROI noticeably.
  • For holdings of less than a year, annualizing can give misleading numbers; consider reporting the simple ROI alongside the annualized figure.
  • Compare annualized ROI to a benchmark (e.g., S&P 500 historical ~10%) to know whether your investment actually beat a passive alternative.
  • Subtract inflation from your annualized ROI to get a real (inflation-adjusted) return โ€” a 6% nominal return with 3% inflation is only a 3% real return.
  • For investments with multiple cash flows in and out, switch to the XIRR function in a spreadsheet โ€” the simple ROI formula doesn't handle timing properly.

Common Mistakes

  • Reporting total ROI as if it were annualized โ€” "I made 50%!" sounds great until you learn it took 12 years.
  • Arithmetic-averaging annual returns: a 100% gain followed by a 50% loss averages to +25% per year, but the actual result is breakeven.
  • Comparing a stock's ROI to a savings account's APY without adjusting for risk or volatility.
  • Forgetting to subtract taxes owed on the gain when computing after-tax ROI.
  • Using ending market value as "final" before actually selling โ€” unrealized gains can vanish.

Frequently Asked Questions

What is the difference between ROI and IRR?
ROI is a simple, single-period measure: profit รท cost. IRR (Internal Rate of Return) handles multiple cash flows at different times and finds the discount rate that makes net present value zero. For a one-time investment with no interim cash flows, annualized ROI equals IRR. For an investment with deposits, withdrawals, dividends, or partial sales, only IRR (or its date-aware cousin XIRR) gives a correct annualized return.
What is a good ROI?
It depends entirely on context and risk. Broad US stock market indexes have historically returned about 10% nominal per year (โ‰ˆ7% after inflation). Real estate leveraged with a mortgage can produce higher nominal returns but with additional risk. A risk-free US Treasury might return 4โ€“5% in a high-rate environment. Any ROI should be compared to a relevant benchmark and adjusted for the risk and effort required.
How do dividends factor into ROI?
Dividends, interest, distributions, and any other cash received from the investment should be added to the final value when computing ROI. Excluding dividends understates the return substantially โ€” over long horizons dividends often account for 30โ€“40% of total stock-market returns.
Can ROI be negative?
Yes โ€” if the final value is less than the initial investment, profit is negative and ROI is negative. For example, investing $10,000 and selling for $8,000 gives a โˆ’20% ROI. Annualized ROI of a losing position is still mathematically valid but harder to interpret intuitively.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

ROI Calculator โ€” Return on Investment & Annualized Gain