Investment
Compound interest (periodic compounding)
The general form. Divide the annual rate by compounding periods per year, add 1, raise it to the number of years times periods per year, multiply by principal. Interest earned equals A − P.
Last updated
The Formula
A = P (1 + r/n)^(nt)
The general form. Divide the annual rate by compounding periods per year, add 1, raise it to the number of years times periods per year, multiply by principal. Interest earned equals A − P.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| P | Starting principal | currency | The amount deposited or invested at the start. Assumes no additional contributions. |
| r | Annual nominal interest rate as a decimal | decimal | Divide the quoted percentage by 100. An 8% rate is 0.08 in the formula, not 8. |
| n | Compounding periods per year | count/year | 1 annually, 2 semiannually, 4 quarterly, 12 monthly, 365 daily. |
| t | Time in years | years | Must be in years when r is annual. Convert months by dividing by 12. |
| A | Final amount | currency | Principal plus all accumulated interest. |
What Each Symbol Means
Pcurrency
Starting principal
The amount deposited or invested at the start. Assumes no additional contributions.
rdecimal
Annual nominal interest rate as a decimal
Divide the quoted percentage by 100. An 8% rate is 0.08 in the formula, not 8.
ncount/year
Compounding periods per year
1 annually, 2 semiannually, 4 quarterly, 12 monthly, 365 daily.
tyears
Time in years
Must be in years when r is annual. Convert months by dividing by 12.
Acurrency
Final amount
Principal plus all accumulated interest.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate compound interest page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Compound Interest, filed under Finance. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Compound interest (periodic compounding)?
The formula for Compound interest (periodic compounding) is A = P (1 + r/n)^(nt). The general form. Divide the annual rate by compounding periods per year, add 1, raise it to the number of years times periods per year, multiply by principal. Interest earned equals A − P.
What does each symbol in Compound interest (periodic compounding) stand for?
P is starting principal; r is annual nominal interest rate as a decimal; n is compounding periods per year; t is time in years; A is final amount.
What units should I use with Compound interest (periodic compounding)?
Substitute P in money (any currency, as long as every money input uses the same one), r in decimal, n in count/year, t in years, A in money (any currency, as long as every money input uses the same one). Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Compound interest (periodic compounding)?
Entering the rate as a percentage instead of a decimal. Using 8 rather than 0.08 multiplies the result by an enormous factor. Always divide by 100 first, and sanity-check: the final amount should never exceed the principal by more than a few multiples at ordinary rates.