Return on Investment Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction: Using the Return on Investment Calculator

This return on investment calculator shows how an initial investment changed by the end of its holding period. Enter what you originally invested, what it is worth now, and how long you held the investment. The tool reports:

For the most realistic results, include all relevant costs in your Initial Investment (such as commissions, closing costs, or setup fees) and use the Final Value after subtracting any selling costs.

ROI Formula: Measuring Investment Gain or Loss

Return on investment compares an investment's change in value with the money committed at the start. It is a simple percentage that answers: “How much did I make (or lose) relative to what I spent?”

Let:

  • Vi = initial investment (starting value)
  • Vf = final value (ending value)

The ROI formula is:

ROI = (Vf − Vi) / Vi × 100%

In MathML, this can be written as:

ROI = Vf Vi Vi × 100 %

For an investment entered in this calculator, interpret ROI as follows:

  • Positive ROI – the final value is higher than the initial investment (a gain).
  • Zero ROI – the final value equals the initial investment (no gain or loss).
  • Negative ROI – the final value is less than the initial investment (a loss).

ROI is easy to understand and works well for quick comparisons, but it does not say anything about how long it took to earn that return. For that, you need CAGR.

CAGR Formula: Annualizing an Investment's Total Return

Compound annual growth rate (CAGR) answers a time-aware return question: “If my investment had grown at a steady rate each year, what annual rate would produce the same final value?”

Using the same notation as above and letting n be the number of years the investment was held, the CAGR formula is based on compound growth:

CAGR = (Vf / Vi)1/n − 1

In MathML form:

CAGR = Vf Vi 1 n 1

To convert CAGR to a percentage, multiply by 100%. A CAGR of 0.08 means an 8% average annual growth rate.

CAGR is especially useful when you want to compare investment options held for different lengths of time or when the timing of returns matters.

Worked Example: Calculating Investment ROI and CAGR

For this ROI and CAGR calculation, suppose you invest $3,000 in a startup and sell your shares three years later for $5,000.

1. Calculate the investment ROI

First, find the gain:

  • Gain = $5,000 − $3,000 = $2,000

Then divide by the initial investment and convert to a percentage:

  • ROI = ($2,000 / $3,000) × 100% ≈ 66.67%

This means your total return over the three-year period is about 66.67%.

2. Calculate the investment CAGR

Now include time. Here, Vi = 3,000, Vf = 5,000, and n = 3 years.

  • Step 1: Compute the ratio of final to initial value: 5,000 / 3,000 ≈ 1.6667.
  • Step 2: Take the 1/3 power (the cube root) of this ratio: 1.66671/3 ≈ 1.1856.
  • Step 3: Subtract 1: 1.1856 − 1 = 0.1856.

So the CAGR is about 0.1856, or 18.56% per year when expressed as a percentage.

This tells you that, even if actual yearly returns were uneven, they are equivalent to earning a steady 18.56% each year for three years.

ROI vs. CAGR: Choosing an Investment Return Measure

ROI and CAGR describe the same investment outcome from different perspectives: ROI measures the full holding-period result, while CAGR expresses that result as an annual compounded pace.

Metric What it measures Best use cases Main limitation
ROI Total gain or loss relative to initial cost, as a percentage. Quick comparisons across projects, campaigns, or purchases with similar time frames. Ignores how long it took to get that return.
CAGR Average annual rate that would compound to the same final value. Comparing investments held for different numbers of years; summarizing long-term performance. Suggests smooth growth, even if actual year-to-year returns were volatile.

In practice, you will often look at both numbers together. For example, a project with a high ROI but very long holding period may have a modest CAGR once time is factored in.

Interpreting Your ROI and CAGR Results

After this calculator produces investment ROI and CAGR, assess both return measures in the context of the decision:

  • Compare ROI to your target – Is the total percentage gain or loss acceptable given the risk you took?
  • Compare CAGR to benchmarks – How does the average annual rate stack up against alternatives, such as index funds, savings accounts, or borrowing costs?
  • Look at sign and magnitude – A small positive ROI might not justify the time and risk, while a modest negative ROI could still be acceptable if it served a strategic purpose (for example, a marketing test).
  • Consider inflation and taxes – The calculator shows a nominal return. After adjusting for inflation and taxes, your real return may be lower.

Remember that a higher ROI or CAGR is not automatically better. You should always weigh returns against risk, liquidity, and your broader financial goals.

Assumptions and Limitations of ROI and CAGR

The ROI and CAGR figures calculated from beginning value, ending value, and years held rely on several simplifying assumptions. Understanding them helps you use the numbers appropriately.

  • No interim cash flows – The formulas assume there are no additional deposits, withdrawals, dividends, coupons, or rental income between the start and end points. If there are, those should be incorporated into the initial or final value, or a more advanced method such as internal rate of return (IRR) may be more suitable.
  • Constant compounding for CAGR – CAGR treats growth as if it occurred smoothly at a single fixed annual rate, even though real investments often experience volatile, uneven returns.
  • Nominal returns only – The calculator does not adjust for inflation, currency changes, or taxes. To estimate real, after-tax performance, you would need to make additional adjustments outside of this tool.
  • Input quality – Results are only as accurate as the values you enter. Forgetting fees, maintenance costs, or transaction charges will typically overstate ROI and CAGR.
  • Educational use – This calculator is meant for informational and educational purposes only and does not provide financial, investment, or tax advice. Always consider consulting a qualified professional before making significant decisions.

These limitations do not make ROI or CAGR useless; they simply mean the numbers should be one input into your decision-making rather than the sole deciding factor.

Common Investment and Project Uses for ROI and CAGR

This ROI and CAGR calculator can summarize returns for many situations beyond stocks or funds:

  • Business projects – Compare the return from different product launches, software tools, or process improvements.
  • Real estate – Evaluate property purchases by including purchase price, closing costs, renovation expenses, and net sale proceeds.
  • Marketing campaigns – Weigh the revenue generated by a campaign against the ad spend and creative costs.
  • Equipment or technology – Measure time savings or extra revenue relative to the cost of new equipment.

In all cases, the quality of the result depends on how accurately you capture all relevant cash in and cash out in your initial and final values.

Further Reading on ROI, CAGR, and Investment Evaluation

To build on the ROI and CAGR results from this calculator, look for financial education material covering topics such as:

  • Formal definitions of return on investment and examples across different asset classes.
  • How compound annual growth rate is derived from compound interest formulas.
  • When to use more advanced measures like internal rate of return (IRR) or net present value (NPV).

Comparing multiple perspectives can help you develop a more complete understanding of how ROI and CAGR fit into long-term planning and project evaluation.

Enter the holding period in years. Use decimals for partial years such as 1.5.

Enter your investment details to see ROI.

Status messages will appear here.

Arcade Mini-Game: Return on Investment Calculator Calibration Run

Use this quick arcade run to practice separating useful scenario inputs from common planning mistakes before you rely on the calculator output.

Score: 0 Timer: 30s Best: 0

Start the game, then use your pointer or arrow keys to catch useful inputs and avoid bad assumptions.

Enter values to plot starting and ending amounts with ROI and CAGR.