Skip to content

Compound Interest Formulas With Contributions

Review compound interest formulas for periodic and continuous growth, effective annual rate, recurring deposits, contribution timing, and inflation.

How do the Compound Interest Calculator formulas work?

This formula page defines the variables used by the Compound Interest Calculator, shows how those values are combined, and explains the order of operations behind the result. Use the worked steps to verify an estimate, compare scenarios, and understand which assumptions or rounding rules can affect the displayed answer.

Formula Overview

The calculation has three layers. First, the nominal annual rate and compounding frequency determine an effective annual rate. Second, that annual rate is converted to an equivalent rate for each contribution interval. Third, the engine processes interest and contributions interval by interval.

This approach keeps annual, monthly, weekly, and other contribution schedules consistent even when contributions and interest use different frequencies.

Variable Definitions

SymbolMeaningUnit or convention
PInitial principal or investmentCurrency
AFuture balanceCurrency
rNominal annual interest rateDecimal rate
mCompounding periods per year1, 2, 4, 12, 24, 26, 52, or 365
tInvestment lengthWhole years
EAREffective annual rateDecimal rate
pContribution periods per year1, 4, 12, 24, 26, or 52
iEquivalent rate per contribution intervalDecimal rate
CRegular contributionCurrency per interval
gAnnual contribution increaseDecimal rate
fAnnual inflation assumptionDecimal rate
nTotal contribution intervalsp x t

Periodic Compound Interest Formula

With no additional deposits, periodic compound growth is:

A=P(1+rm)mtA=P\left(1+\frac{r}{m}\right)^{mt}

The corresponding effective annual rate is:

EAR=(1+rm)m−1EAR=\left(1+\frac{r}{m}\right)^m-1

For a positive nominal rate, increasing m generally raises the effective annual rate. The account agreement controls the actual frequency and balance method.

Continuous Compounding Formula

For continuous compounding, the principal-only formula is:

A=PertA=Pe^{rt}

The effective annual rate becomes:

EAR=er−1EAR=e^r-1

Recurring contributions remain discrete because the calculator adds them at the selected annual, quarterly, monthly, twice-monthly, biweekly, or weekly intervals.

Equivalent Contribution-Period Rate

The engine converts the effective annual rate to an equivalent rate for each of the p contribution intervals:

i=(1+EAR)1/p−1i=(1+EAR)^{1/p}-1

After p intervals, compounding by i reproduces the same effective annual growth:

(1+i)p=1+EAR(1+i)^p=1+EAR

Recurring Contribution Formulas

For a fixed end-of-period contribution C, n intervals, and nonzero period rate i, the ordinary-annuity future value is:

FVend=C((1+i)n−1i)FV_{end}=C\left(\frac{(1+i)^n-1}{i}\right)

Beginning-of-period contributions receive one additional interval of growth:

FVbegin=FVend(1+i)FV_{begin}=FV_{end}(1+i)

When i = 0, the contribution future value is simply Cn. The total future balance combines principal growth and contribution growth.

Annual Contribution Increase

The production engine processes each interval so the deposit can change at the beginning of each modeled year. For contribution interval k, the year index is:

yk=⌊k−1p⌋y_k=\left\lfloor\frac{k-1}{p}\right\rfloor
Ck=C(1+g)ykC_k=C(1+g)^{y_k}

For beginning timing, Ck is added before that interval's interest. For end timing, it is added after the interest. Processing the intervals directly avoids assuming a single fixed annuity when deposits grow annually.

Inflation-Adjusted Balance

The calculator discounts the nominal future balance with the constant inflation rate entered:

Real balance=A(1+f)tReal\ balance=\frac{A}{(1+f)^t}

This is a scenario estimate of present purchasing power. It is not a CPI forecast and does not change the nominal balance.

Worked Calculation

For the default scenario, P = $10,000, C = $100 monthly, t = 10, r = 5%, monthly compounding, end-of-month deposits, no annual contribution increase, and f = 2.5%.

  1. Monthly compounding gives an effective annual rate of 5.116%.
  2. The equivalent monthly rate is 0.417%.
  3. There are 10 x 12 = 120 monthly contribution intervals.
  4. The initial investment plus recurring deposits equals $22,000.00.
  5. Interval-by-interval growth produces a future balance of $31,998.32.
  6. Modeled interest is $9,998.32.
  7. Discounting at 2.5% for 10 years produces an inflation-adjusted balance of $24,997.04.

Assumptions and Exclusions

  • The annual rate stays constant for the full projection.
  • The selected compounding and contribution schedules repeat consistently.
  • The annual contribution increase occurs at the start of each modeled year.
  • The inflation assumption stays constant and is used only for the real-balance estimate.
  • Taxes, fees, withdrawals, employer matching, rate changes, market volatility, and account-specific posting rules are excluded.
  • Calculations retain full numeric precision and displayed currency is rounded to cents.
  • A negative entered rate models loss, not interest income.

Formula FAQ

Why convert to an effective annual rate first?

It provides a common annual growth factor before the engine maps growth to the contribution schedule. For a useful Compound Interest Calculator formula result, enter realistic values, compare relevant scenarios, check the calculation details, and review the definitions, assumptions, and limitations before using the estimate for an important decision.

What happens when contribution and compounding frequencies differ?

The effective annual growth factor is converted to an equivalent rate for each contribution interval, so the schedules remain mathematically consistent. For a useful Compound Interest Calculator formula result, use realistic inputs, compare relevant scenarios, and review the stated assumptions before making a decision.

Why is the beginning contribution result higher?

Each beginning-of-period deposit receives one extra interval of growth compared with the same end-of-period deposit. For a useful Compound Interest Calculator formula result, enter realistic values, compare relevant scenarios, check the calculation details, and review the definitions, assumptions, and limitations before using the estimate for an important decision.

Does the inflation formula predict future inflation?

No. It applies the constant rate entered by the user to illustrate purchasing power. For a useful Compound Interest Calculator formula result, enter realistic values, compare relevant scenarios, check the calculation details, and review the definitions, assumptions, and limitations before using the estimate for an important decision.

References

Use the worked compound interest examples to reproduce the formulas with complete scenarios.