Everyday tool

ROI and CAGR Calculator

Enter the starting and ending values and the number of years held.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—

About this tool

ROI and CAGR Calculator made simple.

This reports historical mathematical rates only. It does not include deposits, withdrawals, fees, taxes or imply future returns.

Guide

Using ROI and CAGR Calculator

The ROI and CAGR Calculator takes a starting value, an ending value and the number of years held. It returns the total return as a percent, the compound annual growth rate as a percent, and the change in value. It only looks back at one start and one end figure. It does not include deposits, withdrawals, fees or taxes, and it is not investment advice.

How to use it

  1. Type the starting value in the first box. It must be greater than zero.
  2. Type the ending value. It can be zero but not negative. Use the same currency or unit as the start.
  3. Type the years held. Decimals work, so 18 months is 1.5. The number must be greater than zero.
  4. Press Calculate. You get Total ROI, Annualized CAGR and the change in value, and the note that cash flows, fees and taxes are excluded. Copy result copies the text.

Worked examples

A gain over three years

You enter
Start
1000
End
1500
Years
3
You get
Total roi
50%
Cagr
14.4714%
Change in value
500.00

ROI is (1500 - 1000) / 1000 = 50%. CAGR is (1500 / 1000) to the power 1/3, minus 1, which is about 14.4714% a year.

Run through the tool’s own code.

A loss over two years

You enter
Start
10000
End
8000
Years
2
You get
Total roi
-20%
Cagr
-10.5573%
Change in value
-2000.00

Losing 20% over two years is a yearly rate of about -10.5573%, since (0.8) to the power 1/2 is about 0.8944.

Run through the tool’s own code.

Ending value of zero

You enter
Start
2000
End
0
Years
1
You get
Total roi
-100%
Cagr
not defined when ending value is zero
Change in value
-2000.00

Everything is lost, so ROI is -100%. The tool does not give an annual rate for a zero ending value.

Run through the tool’s own code.

A short period inflates the annual rate

You enter
Start
1000
End
2000
Years
0.5
You get
Total roi
100%
Cagr
300%
Change in value
1000.00

Doubling in half a year, repeated for a full year, would quadruple the money, which is a 300% annual rate. CAGR over short spans can look extreme.

Run through the tool’s own code.

Years set to zero

You enter
Start
1000
End
1100
Years
0
You get
Message
years held must be greater than zero.

The time period must be positive. A start of zero or a negative end also give an error message.

Run through the tool’s own code.

When it helps

  • Compare the total gain of two past investments over different time spans by looking at their yearly rate.
  • Turn a before-and-after figure for a business, a portfolio or a collection into an annual growth number.
  • Check a growth figure quoted in an article by recomputing it from the start and end values.
  • Learn how total return and annual growth rate relate for a school or finance course.

Limits to keep in mind

  • It reports historical mathematical rates for one start and one end value. It does not model deposits, withdrawals, dividends, fees or taxes, and these can change the true return a lot.
  • Past performance does not necessarily predict future results, so do not read a CAGR as a forecast or as a promise.
  • CAGR is an even yearly rate that smooths out ups and downs. Two investments with the same CAGR could have been much riskier or bumpier along the way.
  • The tool has no currency, so the change in value is a bare number with two decimals. It is an estimate for learning, not investment, tax or financial advice.

Tips

  • If you added or took out money during the period, the percentages will mislead, because the tool treats the gap between start and end as pure growth.
  • Compare CAGR figures only for similar time spans, since a short, lucky stretch can give a huge number.
  • Enter fee-adjusted ending values if you want to see the effect of costs, because the tool does not subtract them.

Sources

Common questions

About ROI and CAGR Calculator.

How do I calculate ROI and CAGR with this tool?

Enter the starting value, the ending value and the years held, then press Calculate. ROI is (ending - starting) / starting, as a percent. CAGR is (ending / starting) raised to 1 divided by the years, minus 1, as a percent.

What is the difference between ROI and CAGR?

ROI is the total change over the whole period. CAGR spreads that change into the single steady yearly rate that would produce it, which makes periods of different lengths easier to compare.

Does this tell me what my investment will earn?

No. It only describes what already happened between two values. Investor.gov notes that past performance does not necessarily predict future results, and performance claims should be checked for fees and method.

Why is CAGR not shown when the ending value is zero?

A zero ending value means a total loss, and the formula would give -100% a year for any period, which is not a useful rate. The tool shows that it is not defined and still gives ROI of -100%.

Are fees and taxes included?

No. The tool also ignores deposits, withdrawals and dividends. If you want to see costs, enter an ending value that is already after fees. Investor.gov explains that fees and expenses reduce investment returns.

Can I use months instead of years?

Yes, by entering decimals. Divide the months by 12, so 6 months is 0.5 and 18 months is 1.5. Very short periods can produce very large annual rates.

Is my data sent anywhere?

No. The calculation runs in your browser, and your values are not uploaded. This is an educational calculation, not financial advice.

How do I use ROI and CAGR calculator?

Enter the starting and ending values and the number of years held.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.