Skip to main content
Formula Derivation Series

The Compound Interest Formula: Derivation & Proof

From first-principles arithmetic recurrence relations to continuous exponential limits and finite geometric series.

1. Discrete Compounding Formula

Mathematical Specification
Discrete Formula
A(t) = P * (1 + r/n)^(n * t)

Variable Breakdown & Definitions

SymbolParameterEngineering DefinitionExample
A(t)Final Accumulated ValueTotal capital at horizon t$100,626 (USD ($))
PPrincipal CapitalStarting initial balance$10,000 (USD ($))
rNominal Annual RateAnnual interest rate expressed in decimal form0.08 (Rate (decimal))
nCompounding FrequencyNumber of compounding sub-intervals per year12 (Periods / yr)
tTimeDuration in years30 (Years)

*Note: Derived by setting Balance_k = Balance_{k-1} * (1 + r/n). Expanding iteratively yields Balance_k = P * (1 + r/n)^k, where k = n*t.

2. The Continuous Compounding Limit (Euler's e)

As the compounding frequency n approaches infinity (continuous compounding), we evaluate the limit:

lim_(n->∞) P * (1 + r/n)^(n * t) = P * [ lim_(n->∞) (1 + r/n)^(n/r) ]^(r * t) = P * e^(r * t)

Where e ≈ 2.718281828... represents Euler's constant. Continuous compounding provides the theoretical upper bound of returns for a given nominal rate.

3. Incorporating Regular Periodic Payments (Annuity)

When regular monthly or annual cash additions (PMT) occur, the total future value is the sum of the principal compounding plus the sum of a finite geometric series for all recurring contributions:

FV = P(1 + i)^N + PMT * [ ((1 + i)^N - 1) / i ]

where i = r / n (periodic rate) and N = n * t (total periods).

4. Worked Canonical Example

Evaluating the closed-form recurrence with initial principal $10,000, monthly addition $1,000, nominal annual return 8% (r = 0.08, n = 12), across a 20-year horizon (t = 20):

Projected Value
$638,288
Principal Contributed
$250,000
Compound Interest
$388,288
Multiplier
2.6x
2% (Conservative)8% (illustrative, nominal)15% (high, not a forecast)

Illustrative projection. Assumes a constant annual return, contributions at the end of each month, and no taxes, fees, or inflation. Actual returns vary and can be negative. Educational content, not financial advice.

Looking for runnable code implementations?

View our zero-dependency TypeScript and Python implementations of these exact formulas.