Calculate cumulative gain and percent return from an initial investment, annual rate and years, or solve for rate, time, CAGR or growth with contributions.

Constant annual compounding, without deposits or withdrawals.

Optional settings


Calculator Functions

FunctionWhat it doesWhat it requires
Cumulative gainFinds the total dollar gain and percent return on a single investment that compounds once a yearRequires the initial investment, the annual rate and the number of years
Initial investmentFinds the starting amount that produces a given gainRequires the cumulative gain, the annual rate and the number of years
Annual gain rateFinds the constant yearly rate that turns a starting amount into a given gainRequires the initial investment, the cumulative gain and the number of years
Time periodFinds how many years a starting amount takes to earn a given gainRequires the initial investment, the cumulative gain and the annual rate
CAGRFinds the compound annual growth rate between a beginning value and an ending valueRequires the beginning value, the ending value and the number of years
With contributionsFinds the gain when equal deposits are added at the end of every periodRequires 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 = P ร— ((1 + r)t โˆ’ 1) [1]
GCumulative gain ($): the final value minus the initial investment
PInitial investment ($)
rAnnual rate as a decimal, so 5% is 0.05
tTime (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

P = G รท ((1 + r)t โˆ’ 1)

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

r = (1 + G รท P)1 รท t โˆ’ 1

A $628.89 gain on $1,000 over 10 years is a rate of 1.628890.1 โˆ’ 1 = 5.00% a year.

Time period

t = ln(1 + G รท P) รท ln(1 + r)

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

CAGR = (EV รท BV)1 รท t โˆ’ 1

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

FV = P ร— (1 + i)n +
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