What ROI measures and how to calculate it

ROI measures how much you gained or lost relative to what you put in. The formula is: (returned amount minus invested amount) divided by the invested amount, expressed as a percentage. If you invest 10,000 and receive 12,500, your profit is 2,500 and your ROI is 25 percent.

The calculator produces three outputs: total ROI, annualized ROI, and the absolute profit or loss in your selected currency. Total ROI is the straightforward percentage. Annualized ROI converts that percentage into a yearly growth rate, which allows you to compare investments that ran for different lengths of time. The absolute profit figure lets you anchor the percentage to a real money amount.

What ROI does not tell you is equally important. It says nothing about duration, so a 25 percent return earned in 6 months is not equivalent to 25 percent earned in 4 years. It says nothing about risk: two investments with the same ROI can have very different volatility profiles. And it says nothing about purchasing power: a nominal gain of 25 percent is not 25 percent in real terms if inflation was running at 4 percent per year. Each of these gaps requires an additional step beyond the basic calculation.

Total ROI vs annualized ROI: when each applies

Total ROI shows the full result over the entire holding period. It is the right number to report for a single, completed investment when the holding period is either fixed or already known. The problem arises when you try to compare two total ROI figures from investments that ran for different lengths of time.

Consider two investments: Investment A returned 30 percent in 8 months. Investment B returned 38 percent in 18 months. Comparing 30 to 38 suggests B was better. But when annualized, A converts to approximately 48 percent per year and B converts to approximately 24 percent per year. A is nearly double on an annualized basis. The total ROI comparison was actively misleading.

The annualized ROI formula is: (returned divided by invested) raised to the power of (1 divided by years), minus 1. For a 30 percent total return over 8 months (0.667 years), this gives (1.30 raised to the power of 1.5) minus 1, which equals roughly 48 percent per year. For 38 percent over 18 months (1.5 years), it gives (1.38 raised to the power of 0.667) minus 1, which equals roughly 24 percent per year.

The rule of thumb is simple: use total ROI when comparing investments with the same fixed holding period. Use annualized ROI any time holding periods differ. The calculator always shows both, so there is no reason to rely on total ROI alone for a comparison.

Dates mode vs Length mode

The ROI calculator has two modes. Dates mode takes a start date and an end date and derives the exact holding period automatically. Length mode takes a duration you enter directly, such as 2.5 years or 18 months. Both produce the same outputs; the difference is in how the duration is determined and how precisely it is measured.

Dates mode is better for realized investments where you know the exact transaction dates. It eliminates duration-rounding errors, which matter more than people expect. The difference between 14 months and 12 months may seem minor, but it changes the annualized ROI on a 25 percent total gain by about 3 percentage points. For positions you have closed, use the exact dates.

Length mode is better for modelling scenarios or for quick comparisons when calendar dates are not the point. If you are comparing a hypothetical 2-year investment to a 4-year one to illustrate the effect of holding period, Length mode is faster and sufficient.

Dates mode

  • Best for: closed positions with known transaction dates, broker statement reviews, historical performance analysis.
  • You enter: start date, end date, invested amount, returned amount.
  • Duration: calculated automatically from the dates, no rounding error.
  • Use when: precision matters and you have the actual dates available.

Length mode

  • Best for: scenario modelling, hypothetical comparisons, back-of-the-envelope analysis.
  • You enter: holding period in years or months, invested amount, returned amount.
  • Duration: exactly as you enter it, no date resolution.
  • Use when: calendar dates are not known or not relevant to the comparison.

Nominal return vs real purchasing power

Every number the ROI calculator produces is nominal. It measures the gain in currency units, not in purchasing power. When inflation is low and the holding period is short, the difference between nominal and real return is small enough to ignore for most purposes. When inflation is elevated or the holding period is long, the gap becomes significant.

The formula for converting nominal return to real return is the Fisher equation: real return equals (1 plus nominal rate) divided by (1 plus inflation rate), minus 1. At 8 percent nominal return and 4 percent annual inflation, the real return is (1.08 divided by 1.04) minus 1, which equals 3.85 percent, not 4 percent. The difference is small in year one but compounds over time.

Over 20 years, 100,000 invested at an 8 percent nominal return grows to approximately 466,000. That looks like a 366,000 gain. But if inflation averaged 4 percent per year over that same period, the real value of 466,000 in today's purchasing power is approximately 213,000 (dividing by 1.04 raised to the power of 20, which equals about 2.19). The real gain is roughly 113,000, not 366,000. Both numbers are factually correct. One tells you what happened to the currency balance; the other tells you what happened to your ability to buy things.

For investments lasting more than three years, or in any environment where inflation is above 3 percent, compare your annualized ROI to the prevailing inflation rate to check whether you are growing in real terms. Subtract expected annual inflation from your nominal annualized ROI to get a rough estimate of real return. Use the Inflation Calculator linked from the HERO to model this precisely.

Worked examples with complete calculations

Stock position: 2-year hold

Invested: 10,000. Returned: 13,200. Holding period: 2 years.

Total ROI: (13,200 minus 10,000) divided by 10,000 = 32 percent. Annualized ROI: (1.32 raised to the power of 0.5) minus 1 = approximately 14.9 percent per year. Absolute profit: 3,200. Use Dates mode for this calculation to avoid rounding the 2-year period.

Property: sale after 18 months

Invested: 80,000 (purchase price plus renovation costs). Returned: 98,000 (sale price minus transaction costs). Holding period: 18 months.

Total ROI: 22.5 percent. Annualized ROI: (1.225 raised to the power of 0.667) minus 1 = approximately 14.6 percent per year. Note: if you financed the purchase with a mortgage, the invested amount should reflect only your equity contribution, not the total property value, which would make the ROI figure substantially higher but also more leveraged.

ETF: 4-year accumulation

Invested: 12,000 (lump sum at start). Returned: 17,500 after 4 years.

Total ROI: 45.8 percent. Annualized ROI: (1.458 raised to the power of 0.25) minus 1 = approximately 9.9 percent per year. This annualized figure is close to the long-run historical average for broad equity index funds, which makes it a useful sanity check. If your own ETF shows significantly lower annualized ROI over a comparable period, fund costs or timing of entry are likely explanations to investigate.

Loss: crypto position

Invested: 2,500. Returned: 1,900 after 5 months.

Total ROI: (1,900 minus 2,500) divided by 2,500 = negative 24 percent. Annualized ROI: (0.76 raised to the power of 2.4) minus 1 = approximately negative 45 percent per year. The annualized figure for a loss position illustrates how quickly short-period drawdowns compound when annualized. Reporting the absolute loss of 600 alongside the percentage often communicates more clearly in practice.

Short-period business campaign

Marketing spend: 5,000. Attributed revenue increase: 7,800. Duration: 6 weeks.

Total ROI: 56 percent. Annualized: (1.56 raised to the power of 8.67) minus 1 = over 3,000 percent. The annualized figure is mathematically correct but practically useless: no marketing program sustains 3,000 percent annualized. For sub-6-month business ROI, report total ROI only, or state explicitly that the annualized figure is shown for comparison only and does not imply repeatability.

Five mistakes that produce wrong conclusions

Comparing total ROI across different holding periods: as shown in the annualization example above, Investment A at 30 percent in 8 months and Investment B at 38 percent in 18 months look like B wins by 8 points. On an annualized basis, A returns roughly 48 percent per year and B roughly 24 percent. The total comparison inverted the conclusion. Any time holding periods differ by more than 2 or 3 months, annualize before comparing.

Ignoring inflation on long holding periods: a 20-year investment at 8 percent nominal shows 100,000 growing to 466,000, a gain of 366,000 that sounds large. With 4 percent average inflation over the same period, the real purchasing power of that balance is only about 213,000 in today's terms. The nominal gain of 266 percent becomes a real gain of roughly 113 percent. For any investment horizon beyond 5 years, check real return alongside nominal.

Mixing gross and net values across scenarios: Fund A reports 20 percent gross with a 1.2 percent annual expense ratio, giving approximately 18.8 percent net. Fund B is quoted at 16 percent net. If you compare Fund A's 20 percent gross to Fund B's 16 percent net, you overstate A's advantage by nearly 4 percentage points. The true net difference is 18.8 versus 16 percent. Before any comparison, decide upfront whether you are using gross or net values, and apply that choice consistently across all scenarios.

Annualizing very short holding periods without flagging it: a project returning 10 percent in 2 months annualizes to approximately 77 percent (using 1.10 raised to the power of 6, minus 1). The math is correct, but the figure implies a rate that no asset maintains reliably. Presenting it as a planning benchmark is misleading. For holding periods shorter than 6 months, report total ROI as the primary figure and flag the annualized rate as a mathematical conversion only.

Treating ROI as a complete picture without risk context: two portfolios can both show 10 percent annualized over 5 years while being completely different investments. If Portfolio A had a maximum drawdown of 43 percent in year 2 and Portfolio B had a maximum drawdown of 9 percent, the same ROI tells very different stories about the investor experience. When comparing ROI across options, pair it with a risk or volatility measure; otherwise, high-risk and low-risk strategies appear interchangeable.

How to enter consistent inputs

The single most common input error is applying different accounting rules to the invested and returned amounts. If you include transaction fees in the invested amount (correct practice), also deduct them from the returned amount. If you include dividend income in the returned amount, make sure it is not also already included in the price-based return. Mixing rules between the two numbers distorts every metric the calculator produces.

For currency: the calculator does not convert between currencies. If your invested amount was in one currency and the returned amount in another, convert both to the same currency before entering. Exchange rate movements are a return component in cross-currency investments and should be reflected in the returned amount you enter.

For leveraged positions such as a mortgaged property or a margin account, enter only your equity contribution as the invested amount, not the total asset value. A 20 percent gain on a property worth 400,000 is very different from a 20 percent gain when your equity was only 80,000. The ROI on equity in the second case is 100 percent. Make clear in any comparison whether leverage is included.

What makes an ROI comparison meaningful

Consistent treatment of costs: decide before you start whether to compare gross or net returns. Include fund expense ratios, transaction costs, and management fees on the same basis across all scenarios. A 1 percent annual cost difference compounds to approximately 10 percent less ending balance over 10 years on a static investment, and more over longer periods with contributions.

Annualization for differing durations: as demonstrated throughout this guide, total ROI is only a fair comparison tool when holding periods are identical. For everything else, annualized ROI is required. The calculator shows both; default to annualized for any comparison where periods differ.

Inflation context for long horizons: for planning purposes, any investment lasting more than 3 years should be evaluated in real as well as nominal terms. Subtract your expected average inflation from the annualized ROI as a first approximation, or use the Fisher equation for a precise calculation.

Risk alongside return: ROI captures the upside result but not the path taken. A volatile investment that recovered after a large drawdown may show the same ROI as a stable one. When comparing strategies or asset classes, note the maximum drawdown or standard deviation alongside annualized ROI to avoid comparing fundamentally different risk profiles.

Attribution for business ROI: investment ROI is relatively clean because it covers a defined purchase and sale. Business ROI (for marketing campaigns, capital expenditures, or software investments) requires attributing revenue correctly to the investment. Inconsistent attribution windows, double-counting, or ignoring baseline growth will inflate or deflate business ROI in ways that investment ROI does not face. Define the attribution rule before calculating, and apply it consistently across periods.

Frequently Asked Questions (FAQ)