Calculate cumulative gain and percent return from an initial investment, annual rate and years, or solve for rate, time, CAGR or growth with contributions.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Cumulative gain | Finds the total dollar gain and percent return on a single investment that compounds once a year | Requires the initial investment, the annual rate and the number of years |
| Initial investment | Finds the starting amount that produces a given gain | Requires the cumulative gain, the annual rate and the number of years |
| Annual gain rate | Finds the constant yearly rate that turns a starting amount into a given gain | Requires the initial investment, the cumulative gain and the number of years |
| Time period | Finds how many years a starting amount takes to earn a given gain | Requires the initial investment, the cumulative gain and the annual rate |
| CAGR | Finds the compound annual growth rate between a beginning value and an ending value | Requires the beginning value, the ending value and the number of years |
| With contributions | Finds the gain when equal deposits are added at the end of every period | Requires the initial investment, the annual rate, the number of years, the contribution per period and the periods per year |
The first four functions also show the cumulative return as a percentage and the final value. Cumulative gain and Initial investment include optional example presets that fill in a rate and a term: 10% for 10 years, 6% for 10 years, 5% for 10 years, 4% for 5 years and 3% for 10 years. A negative rate down to โ100% is accepted and gives a loss.
Cumulative Gain Formulas
| G | Cumulative gain ($): the final value minus the initial investment |
| P | Initial investment ($) |
| r | Annual rate as a decimal, so 5% is 0.05 |
| t | Time (years) |
An amount that earns a rate r each year grows to P ร (1 + r)t after t years [1]. Subtracting P leaves the gain. The cumulative return is G รท P ร 100.
Cumulative gain
The main formula applies directly. $1,000 at 5% for 10 years gains 1,000 ร (1.0510 โ 1) = $628.89, a cumulative return of 62.89% and a final value of $1,628.89. At โ10% for 3 years, $2,000 loses $542.
Initial investment
A gain of $628.89 at 5% over 10 years comes from 628.89 รท 0.628895 = $999.99, which is $1,000 apart from the rounding of the gain to cents. A rate of 0% or a time of 0 years has no answer, because any starting amount gives a gain of zero.
Annual gain rate
A $628.89 gain on $1,000 over 10 years is a rate of 1.628890.1 โ 1 = 5.00% a year.
Time period
A $628.89 gain on $1,000 at 5% takes ln(1.62889) รท ln(1.05) = 10.00 years. The rate cannot be 0% or โ100%.
CAGR
BV is the beginning value and EV is the ending value. $10,000 that becomes $15,000 in 5 years has a CAGR of 1.50.2 โ 1 = 8.447%, with a total gain of $5,000 and a total return of 50%. The annual percentage yield that U.S. banks must disclose on deposit accounts annualizes a return the same way, with the term measured in days [2].
With contributions
C ร ((1 + i)n โ 1) รท i
FV is the final value, C is the contribution per period, i is the annual rate divided by the periods per year, and n is the years times the periods per year. Each deposit is made at the end of its period and then grows by (1 + i) for every period that remains. The gain is FV โ P โ C ร n, so deposits are not counted as gain. $1,000 plus $100 a month at 6% for 10 years reaches $18,207.33. With $13,000 paid in, the gain is $5,207.33. When the rate is 0%, FV is simply P + C ร n.
Limits of This Estimate
- The rate is held constant for the whole period. Real investment returns change from year to year, and the same average return in a different order gives a different result once deposits are involved.
- Fees, taxes and inflation are left out, so the gain is a before-cost figure in future dollars.
- The example presets are round illustrations, not forecasts or historical averages for any asset.
- With contributions needs a whole number of periods, and it compounds once per contribution period. An account that compounds on a different schedule gives a slightly different result.
Sources
- NIST Handbook 135 (2020), Life Cycle Costing Manual for the Federal Energy Management Program, Equation 3-2: compound amount after t years at an annual rate
- Consumer Financial Protection Bureau, Regulation DD (12 CFR Part 1030), Appendix A: annual percentage yield formula that annualizes interest over a term
