The formula
A = P(1 + r/n)^(nt)
Each term has a specific job:
- A is the final amount, including the original principal and all interest earned.
- P is the principal, the sum you start with.
- r is the annual interest rate written as a decimal. Eight percent becomes 0.08.
- n is the number of times interest is added to the balance each year. Yearly compounding uses 1, monthly uses 12, daily uses 365.
- t is the number of years the money stays invested or borrowed.
The term (1 + r/n) is the growth factor for one compounding period. Raising it to the power nt applies that factor once for every period over the whole time span. That repeated multiplication is what makes the growth compound.
Step by step with a worked example
The numbers below are illustrative assumptions chosen for arithmetic. They are not a rate offered by any account or product. Assume an 8% annual rate, compounded monthly, over 5 years.
Example in US dollars
- Start with the principal: P = $10,000.
- Convert the rate to a decimal: r = 0.08.
- Divide the rate by the number of periods: 0.08 / 12 = 0.006667.
- Add 1 to get the growth factor: 1 + 0.006667 = 1.006667.
- Calculate the total number of periods: n × t = 12 × 5 = 60.
- Raise the growth factor to that power: 1.006667 to the 60th power is approximately 1.48985.
- Multiply by the principal: $10,000 × 1.48985 ≈ $14,898.
The interest earned is about $4,898. Most of the calculator work is in step six, which is why a scientific or financial calculator with an exponent key is useful.
Same example in Indian rupees
The maths does not change with currency. Only the starting figure does.
- Principal: P = ₹1,00,000.
- Rate: r = 0.08. Monthly rate: 0.006667. Growth factor: 1.006667.
- Periods: nt = 60.
- Growth factor to the 60th power: approximately 1.48985.
- Final amount: ₹1,00,000 × 1.48985 ≈ ₹1,48,985.
The interest earned is about ₹48,985. The growth multiplier is identical in both currencies, which is a useful check: if your two results give different multipliers, one of the inputs has changed.
Seeing the effect of compounding frequency
The same $10,000 at 8% for 5 years, compounded yearly, uses n = 1 and gives $10,000 × 1.08^5, which is approximately $14,693. Monthly compounding produced about $14,898, a difference of roughly $205 in this illustration. The gap widens with larger sums, higher rates and longer periods.
Common mistakes
- Entering 8 instead of 0.08. Rates must be decimals in the formula.
- Forgetting to divide r by n. Using the full annual rate inside the bracket overstates growth.
- Mismatching n and t. If n is 12 (monthly), t must be in years, and nt gives the total number of monthly periods.
- Multiplying r by n in the exponent. The exponent is nt, not rt.
- Treating the output as guaranteed. The formula describes arithmetic under fixed assumptions. Real balances can differ.
Caveats and what the formula leaves out
The basic formula assumes a constant rate, a single deposit, no withdrawals, no fees, and no tax. Each of these can change the real outcome:
- Regular deposits need a different formula. See the monthly contributions guide in this series.
- Fees reduce the effective growth rate, and even small annual charges compound against you.
- Taxes on interest or gains may reduce the amount you keep, depending on where you live and the account type.
- Inflation reduces what the final amount can buy, so an after-inflation view is often more meaningful.
Rules on how interest is calculated and credited differ by product and jurisdiction. Check the terms of any account you use and the current official guidance from your local regulator or tax authority.
Related considerations
For a quick estimate without a calculator, the Rule of 72 approximates how long a sum takes to double. If you want to understand why compounding frequency matters, or how continuous compounding uses the number e, the related pages in this series go deeper. Different calculators can also produce slightly different answers because of conventions such as day counts and rounding, so it helps to know which formula a tool uses.
