ROI Calculator
Measure return on investment as a percentage and an annualized rate using the standard ROI formula.
About the ROI Calculator
The ROI (Return on Investment) calculator measures the profitability of an investment as a percentage of the initial cost. Enter what you paid, what it is worth now, and how long you held it, and the tool returns the total ROI, the multiple (e.g. 1.35x means your $1 became $1.35), and the annualized ROI that allows comparison across different holding periods. ROI is the most universal measure of investment performance and is the standard yardstick used in corporate finance, real estate, private equity, and personal investing.
The basic ROI formula is simple: (gain / cost) x 100. If you invest $10,000 and end with $13,500, your gain is $3,500 and your ROI is 35%. The challenge with this simple formula is that it ignores time. A 35% return over one year is excellent; the same 35% over 10 years is mediocre. To compare investments held for different periods, you need the annualized ROI, which converts the total return into an equivalent per-year compound rate.
The annualized ROI formula is ((final/cost)^(1/years) - 1) x 100. The same 35% return over 3 years gives an annualized ROI of ((13500/10000)^(1/3) - 1) x 100 = 10.52% per year. This is the geometric mean of the year-over-year growth factors, and it is the correct way to compare two investments held for different lengths of time.
ROI is a pre-tax, pre-fee measure unless you adjust the inputs. Real-world investment returns are reduced by trading commissions, fund expense ratios, advisory fees, and taxes on realised gains. The SEC's Investor.gov recommends disclosing the impact of fees explicitly because compounding fee drag over decades is material: a 1% annual fee on a 7% return reduces the effective return to about 6%, which over 30 years means roughly 25% less wealth. For real after-fee returns, subtract the expense ratio from the expected return before projecting.
How It Works
The total ROI formula is:
ROI = ((Final - Cost) / Cost) x 100
= (Gain / Cost) x 100
The annualized ROI (compound annual growth rate, CAGR) is:
Annualized ROI = ((Final / Cost)^(1/years) - 1) x 100
This is the geometric mean of the year-over-year growth factors. It is mathematically equivalent to the internal rate of return (IRR) for a single cash outflow at time 0 and a single cash inflow at time t. The multiple (e.g. 1.35x) is the simple ratio Final / Cost and is commonly used in venture capital and private equity to describe investment outcomes — "we returned 3.2x MOIC" (multiple on invested capital).
The calculator validates that the cost is greater than zero (to avoid division by zero), that the final value is non-negative, and that the holding period is greater than zero. If the final value is less than the cost, the ROI is negative — the calculator reports this directly rather than masking it.
The annualized ROI formula handles partial years correctly. A 6-month holding period (0.5 years) on a 10% gain produces ((1.10)^(1/0.5) - 1) x 100 = 21% annualized. A 10-year holding period on the same 10% gain produces ((1.10)^(1/10) - 1) x 100 = 0.96% annualized — the same total return over a much longer time produces a much lower annual rate.
Note that this calculator assumes a single investment at time 0 and a single liquidation at time t. It does not handle multiple contributions over time (dollar-cost averaging), which require the IRR formula with the Newton-Raphson numerical method — that is the subject of a separate APR/IRR calculator. For a one-shot buy-and-hold investment, this tool is sufficient.
Worked Examples
Using the default inputs: $10,000 cost, $13,500 final value, 3-year holding period. Gain = $3,500. Total ROI = (3500/10000) x 100 = 35.0000%. Multiple = 13500/10000 = 1.3500x. Annualized ROI = ((1.35)^(1/3) - 1) x 100 = 10.5196% per year. So the investment grew 35% in total, equivalent to about 10.52% per year compounded.
Real estate example: A property bought for $250,000 sold for $340,000 after 7 years. Total ROI = ((340000 - 250000) / 250000) x 100 = 36.0000%. Multiple = 1.3600x. Annualized ROI = ((1.36)^(1/7) - 1) x 100 = 4.5030% per year. Even though the total gain looks substantial in dollars ($90,000), the annualized return is modest — illustrating why real estate investors must consider both price appreciation and rental income when evaluating total return.
Loss example: $5,000 invested in a stock that is now worth $3,200 after 2 years. Gain = -$1,800. Total ROI = (-1800/5000) x 100 = -36.0000%. Annualized ROI = ((0.64)^(1/2) - 1) x 100 = -20.0000% per year. The investment lost 36% in total, equivalent to a 20% annualized loss — meaning the value halved and then halved again (more precisely, the geometric mean factor is 0.64^0.5 = 0.8, so each year saw 20% erosion).
Short-term example: $1,000 invested in a 6-month CD at 5% APY. Cost = $1,000, final = $1,025 (roughly), holding period = 0.5 years. Total ROI = (25/1000) x 100 = 2.5000%. Annualized ROI = ((1.025)^(1/0.5) - 1) x 100 = 5.0625% — slightly higher than the 5% nominal because of compounding within the year. This shows how annualized ROI converts a partial-year return into the equivalent annual rate.
When to Use This Tool
Use the ROI calculator when you need to:
- Compare the profitability of two or more investment opportunities.
- Calculate the annualized return on a real estate flip or rental property.
- Measure the total return on a stock, ETF, or mutual fund holding.
- Evaluate the outcome of a business investment or marketing campaign.
- Compare a one-shot investment against a benchmark like the S&P 500.
- Report investment performance in standard annualised terms for tax or accounting purposes.
- Teach the difference between total return and annualised return.
Limitations & Disclaimer
This calculator computes ROI for a single initial investment and a single final value, and does not handle multiple contributions, dollar-cost averaging, dividend reinvestment, taxes, fees, or inflation. Annualized ROI assumes constant compounding, which does not reflect real-world year-to-year volatility. For investments with multiple cash flows, use an IRR or XIRR calculator. For tax or accounting decisions, consult a licensed professional. See our disclaimer for full details.
Frequently Asked Questions
What is the difference between ROI and annualized ROI?
ROI is the total percentage gain or loss over the entire holding period. Annualized ROI (also called CAGR — compound annual growth rate) converts that total return into an equivalent per-year compound rate. A 50% ROI over 1 year is excellent; the same 50% over 10 years is only 4.14% annualized. Annualized ROI is the correct way to compare investments held for different lengths of time.
How is annualized ROI different from IRR?
IRR (internal rate of return) handles multiple cash flows at different times — for example, regular contributions to a retirement account. Annualized ROI handles only one cash outflow at the start and one cash inflow at the end. They are mathematically equivalent only for single-period investments. For dollar-cost-averaging or ongoing contributions, IRR (computed via Newton-Raphson) is the correct measure.
Does this calculator account for inflation?
No. The ROI is in nominal terms — the actual percentage change in dollar value. To compute the real (inflation-adjusted) ROI, use the Fisher equation approximation: <code>real ROI ≈ nominal ROI - inflation rate</code>. For precise real returns: <code>(1 + nominal) / (1 + inflation) - 1</code>. A 7% nominal ROI with 3% inflation gives a real ROI of about 3.88%, not 4%.
What is MOIC and how does it differ from ROI?
MOIC (multiple on invested capital) is the ratio <code>Final / Cost</code>, expressed as a multiple like '2.5x'. ROI is the same information expressed as a percentage: a 2.5x MOIC equals a 150% ROI. MOIC is the standard in private equity and venture capital because it is unambiguous and easy to compare across funds. Both convey the same information; the choice is a matter of convention.
How are taxes and fees handled?
They are not. This calculator returns gross ROI. For after-tax ROI on a taxable account, reduce the final value by the capital gains tax due on the profit (short-term gains taxed as ordinary income per IRC Sec. 1222, long-term gains at 0/15/20% per IRC Sec. 1(h)). For after-fee ROI on a fund investment, subtract the expense ratio from the return annually before computing. A 1% annual fee on a 7% return compounds to about 25% less wealth over 30 years.
Can ROI be negative?
Yes. If the final value is less than the cost, the gain is negative and ROI is negative. The annualized ROI is also negative, computed using the same formula. A 50% loss over 2 years gives an annualized ROI of <code>((0.5)^(1/2) - 1) x 100</code> = -29.29% per year — meaning you would need a +41.42% gain the following year just to break even, since 1 / 0.7071 = 1.4142.
Last updated: September 9, 2026 · Author: HT99 Tools Editorial Team