Calculation methods

Compound interest: formula, assumptions and worked example

Compound interest adds interest to a balance so future interest is calculated on a larger amount. The expression A = P × (1 + r/n)^(n × t) describes fixed-rate growth with equal compounding periods and no extra deposits or withdrawals.

Worked example · Updated

Compound interest equation showing principal, annual rate, compounding frequency and time.
An illustration of fixed-rate growth. Illustration, not a live result.

Define the inputs

P is the starting principal. The nominal annual rate r is written as a decimal, so 5% becomes 0.05. The number n is compounding periods per year, and t is elapsed time in years. Monthly compounding uses n = 12.

Do not substitute an effective annual yield for a nominal annual rate without adjusting the formula. They are different measures.

Work through the illustration

Set P = 1000, r = 0.05, n = 12 and t = 10. The monthly rate is 0.05/12 and there are 120 periods. The calculation gives approximately 1647.00949769, or 1647.01 rounded to two decimal places.

The illustrative increase is the final amount minus the starting principal, about 647.01. This is a mathematical example, not a forecast or a product quote.

What this formula leaves out

Fees, tax, inflation, changing rates, rounding per payment period and additional contributions are not included. The timing of deposits also matters. Use a model that matches the actual schedule for a real decision.

Open the prefilled formula and press Evaluate. Saving is optional; selecting this example does not submit or save anything by itself.

Inputs for the worked illustration
SymbolMeaningValue
PStarting principal1000
rNominal annual rate0.05
nPeriods each year12
tYears10
AIllustrative final amount1647.01 (rounded)
Check the assumptions. These are educational examples. A conversion or formula does not validate its inputs or replace professional advice. Read the limitations.
All calculation guides