The compound interest formula shows how a balance grows when interest is added to the account and later interest is calculated on both the original amount and the interest already earned. The standard formula is A = P(1 + r/n)nt. Here, A is the ending balance, P is the starting principal, r is the annual interest rate written as a decimal, n is the number of compounding periods per year and t is the time in years.
For example, $1,000 earning 5% a year compounded monthly for three years becomes about $1,161.47 before fees, taxes or other changes. The result depends on the rate, compounding frequency, time and any deposits or withdrawals. Use the formula as a calculation method, not as a promise of investment returns.
The compound interest formula
A = P(1 + r/n)nt
The formula assumes a fixed annual nominal rate that compounds at regular intervals and no additional deposits or withdrawals. The exponent counts the total number of compounding periods. If the interest rate changes, the account has fees, or deposits occur during the term, adjust the calculation or use a more detailed model.
| Symbol | Meaning | Example |
|---|---|---|
| A | Ending amount after interest | The balance at the end of the period |
| P | Principal or starting balance | $1,000 at the beginning |
| r | Annual interest rate as a decimal | 5% becomes 0.05 |
| n | Compounding periods per year | 12 for monthly compounding |
| t | Time in years | 3 years |
The interest earned over the full period is I = A − P. In the example above, that is approximately $161.47. If an account has fees, taxes, changing rates or minimum-balance conditions, the actual amount can differ.
How to use the formula step by step
- Write the initial amount as P.
- Convert the annual percentage rate into a decimal by dividing it by 100.
- Identify how many times per year the account compounds and use that number as n.
- Enter the number of years as t.
- Calculate the periodic rate r/n.
- Calculate the total number of periods nt.
- Evaluate the growth factor (1 + r/n)nt.
- Multiply the growth factor by the principal P.
- Subtract P from A if the question asks for interest earned rather than the final balance.
Keep percentage and time units consistent. If a rate is annual and the period is measured in months, either convert the time to years or use monthly periods correctly. A common mistake is to divide the annual rate by 12 but raise the exponent to only the number of years instead of 12 times the years.
Worked example: annual compounding
Suppose $1,000 is deposited at 5% per year, compounded once each year, for three years. Then P = 1,000, r = 0.05, n = 1 and t = 3.
A = 1,000(1 + 0.05/1)1 × 3
A = 1,000(1.05)3 = $1,157.63 (rounded to the nearest cent).
The interest earned is $1,157.63 − $1,000 = $157.63. After the first year, interest is calculated on $1,050 rather than only the original $1,000. The additional interest in later years comes from including previously credited interest in the balance.
Worked example: monthly compounding
Now suppose the same $1,000 earns 5% per year, but the account compounds monthly for three years. The periodic rate is 0.05/12, and the total number of periods is 12 × 3 = 36.
A = 1,000(1 + 0.05/12)36
A ≈ $1,161.47. The interest is approximately $161.47. With the same nominal annual rate, monthly compounding produces a slightly higher amount than annual compounding because interest is credited more often.
This comparison assumes the same stated annual rate, no account fees, no withdrawals and consistent terms. Real products may quote rates differently, impose balance conditions or calculate interest daily while crediting it monthly. Read the product terms before comparing actual accounts.

Common compounding frequencies
The compounding frequency is the number of times interest is added to the balance each year. Common examples include annual, semi-annual, quarterly, monthly and daily. The value of n in the formula must match the frequency specified by the account or question.
| Frequency | n | Periodic rate if annual rate is r |
|---|---|---|
| Annual | 1 | r |
| Semi-annual | 2 | r/2 |
| Quarterly | 4 | r/4 |
| Monthly | 12 | r/12 |
| Daily (365-day convention) | 365 | r/365 |
Some products calculate interest daily but credit it at another interval. The timing and balance method can affect the result. Use the institution’s stated method for a precise estimate rather than assuming the general formula captures every account rule.
Effective annual rate
The effective annual rate, sometimes called the effective annual yield or effective annual interest rate, expresses the effect of compounding over one year. When a nominal annual rate r compounds n times per year, the effective annual rate is:
Effective annual rate = (1 + r/n)n − 1
At a nominal rate of 5% compounded monthly, the effective annual rate is (1 + 0.05/12)12 − 1, or about 5.12%. This allows a like-for-like comparison between rates with different compounding frequencies, provided fees and other terms are also considered.
Financial institutions may use terms such as effective interest rate, annual percentage yield or annualised yield in different ways and under different disclosure rules. Check how a quoted measure is defined. A headline rate alone may not reflect fees, eligibility conditions or promotional periods.
Why compounding frequency changes the result
With the same nominal annual rate, more frequent compounding usually produces a slightly higher effective annual rate because interest is added to the balance sooner. The difference becomes larger as the nominal rate or length of time increases, though changing from monthly to daily compounding often has a smaller effect than changing the rate itself.
Compare like with like. If one provider quotes an effective annual rate and another quotes a nominal rate compounded monthly, convert them to the same basis before drawing a conclusion. Also compare fees, minimum balances, promotional periods and access conditions.
Compound interest versus simple interest
Simple interest is calculated only on the original principal. If principal P earns annual simple interest at rate r for t years, the total amount is A = P(1 + rt). Compound interest instead applies interest to the balance after prior interest has been added.
For $1,000 at 5% for three years, simple interest is $1,000 × 0.05 × 3 = $150, so the ending amount is $1,150. Annual compounding gives about $1,157.63 under the same nominal rate and period. The difference grows with time because each year’s interest can contribute to later interest.
Neither method is automatically better in every context. Compounding can increase savings growth, but it can also increase the amount owed on a debt when unpaid interest is added to the balance. For loans, the contract determines how interest accrues, how payments are applied and whether unpaid interest is capitalised.
Formula for continuous compounding
When a mathematical problem assumes interest compounds continuously, use the formula A = Pert, where e is the mathematical constant approximately 2.71828. This is a limiting model as compounding periods become increasingly frequent.
For $1,000 at a continuous rate of 5% for three years, A = 1,000e0.05×3, which is approximately $1,161.83. This is a mathematical illustration. Most everyday deposit products do not literally compound continuously, so use the account’s actual method for practical comparisons.

Formula with regular contributions
The basic compound interest formula covers one starting principal with no additional deposits. If the same contribution is added at the end of every period and earns interest afterward, the future value of an ordinary annuity is:
FV = PMT × [((1 + i)N − 1) / i]
Here PMT is the payment made each period, i is the interest rate per period, and N is the total number of contributions. If payments occur at the beginning of each period instead, multiply the result by (1 + i); this is an annuity due.
For example, depositing $100 at the end of each month into an account earning a nominal 5% annual rate compounded monthly for 10 years gives i = 0.05/12 and N = 120. Under the formula, the ending value is about $15,528.23 before fees, taxes and rate changes. Contributions total $12,000, so the remainder represents growth under the stated assumptions.
Regular deposits are not all invested for the same length of time. The first contribution compounds for longer than the last one. That is why multiplying the final monthly contribution by the single-deposit formula would not calculate the total correctly.
Finding the starting principal
If you know a future goal and want to estimate how much money must be deposited now, rearrange the formula:
P = A / (1 + r/n)nt
This is a present-value calculation. It answers the mathematical question: what starting amount would grow to A under the assumed rate, frequency and time? It does not determine whether the assumed rate is available or suitable for a person’s goals.
For example, if a future value target is $5,000 in five years at 4% compounded annually, P = 5,000/(1.04)5, which is approximately $4,109.63. Actual savings products can change rates and terms, so treat the answer as an estimate based on stated assumptions.
Solving for time or interest rate
Sometimes the question gives the starting amount and target balance and asks how long the growth will take. For periodic compounding, solve for t using logarithms:
t = ln(A/P) / [n × ln(1 + r/n)]
The formula assumes A is greater than P, the rate is positive and all inputs use the same compounding convention. Round time carefully: if a result is 4.2 years, the balance reaches the target after four years and a portion of the fifth under a continuous timeline, but an account may credit interest only on scheduled dates.
To solve for the rate, algebra becomes more involved because the rate appears inside the base and exponent. A spreadsheet, financial calculator or numerical solver can help, but state your assumptions and verify the result by substituting it into the original equation.
Rule of 72 as a rough estimate
The Rule of 72 provides a quick approximation of doubling time: divide 72 by the annual percentage rate. At an assumed 6% annual rate, 72 ÷ 6 suggests about 12 years to double. This shortcut is not an exact result and works best as a rough mental estimate for moderate rates; use the compound interest equation for precise calculations.

How compounding affects debt
Compound interest can work against a borrower when interest is added to a debt balance and future interest is charged on that larger amount. The exact process depends on the loan contract, billing cycle, payment timing, fees and local rules. Credit cards, mortgages, student loans and personal loans do not all calculate interest in the same way.
For a debt, a headline annual rate may not show the total borrowing cost. Check the effective cost, fees, minimum payment rules, whether interest accrues daily, and how payments are allocated. Paying more than the required minimum may reduce a balance faster, but the specific effect depends on the contract and any prepayment terms.
MoneySense explains that compounding can help savings grow or allow debt to snowball. Its guide to the effects of compounding interest is a useful Singapore-specific resource for understanding the concept.
How to use a compound interest calculator
A calculator can speed up arithmetic, but it cannot fix incorrect inputs. Confirm whether the rate is annual or per period, whether it is entered as 5 or 0.05, how often interest compounds, and whether time is entered in years or months.
- Enter the starting principal.
- Enter the annual rate in the format requested by the calculator.
- Choose the compounding frequency.
- Enter the total time and its unit.
- Add regular contributions only if the tool supports them.
- Check whether deposits occur at the beginning or end of a period.
- Compare the calculator’s output with a rough estimate to catch input errors.
For financial products, use the provider’s own calculator or statement when it accounts for product-specific rules. A general compound interest tool is suitable for education and rough projections, not for confirming the exact amount a bank or lender will credit.
Common mistakes when applying the formula
- Leaving the rate as a percentage: Convert 5% to 0.05 before substituting.
- Using the wrong n: Monthly compounding means 12 periods per year, not one.
- Using the wrong exponent: The total number of periods is n × t.
- Mixing months and years: Keep the rate period and time unit consistent.
- Calling the whole ending balance interest: Interest earned is A − P.
- Ignoring regular deposits: Use an annuity formula when payments are added throughout the term.
- Assuming continuous compounding: Use it only when the problem or contract specifies it.
- Ignoring fees or withdrawals: The standard formula does not include them.
- Rounding too early: Keep extra digits during the calculation and round the final result.
Understanding the assumptions behind a projection
A compound interest result is only as dependable as its inputs. The standard equation assumes the stated rate stays constant and that the account compounds on a regular schedule. It does not automatically account for service fees, taxes, changing rates, inflation, missed contributions or early withdrawals.
For investment returns, the formula does not represent a guaranteed yield. Market values can rise or fall, returns vary over time, and costs reduce results. A smooth line in a calculator is a mathematical scenario, not a prediction of what an investment will earn.
For deposits, read the product’s terms for how the bank defines the interest rate, qualifying balances, bonus conditions and crediting dates. In Singapore, the MoneySense guide to bank accounts explains account types and considerations such as early withdrawal from fixed deposits.
If a rate changes during the term, calculate each segment separately. Find the balance at the date of the change using the first rate, then use that balance as the starting principal for the next segment. This approach is still an estimate if the account credits interest on particular dates or applies tiered rates, so match the product’s actual calculation rules where possible.
For example, if a balance grows at one rate for two years and a different rate for the next three, do not apply the second rate to the original principal for all five years. First compound the principal through the initial two-year segment, then compound the resulting balance through the later segment. This preserves the effect of interest already credited before the rate changed.
Inflation and purchasing power
The formula calculates a nominal balance in currency units. It does not show how much that money can buy in the future. If prices rise over time, the real purchasing power of the ending balance can be lower than the number suggests.
A simplified way to estimate a real return is to compare the effective growth rate with inflation, although an exact calculation uses the ratio of one plus the nominal rate to one plus the inflation rate. If the nominal effective rate is i and inflation is π, the real rate is approximately (1+i)/(1+π) − 1.
This comparison is useful for long-term planning, but inflation and returns are uncertain. Avoid treating a historical average as a guaranteed future value. Use a range of assumptions when comparing scenarios.

Quick reference: which formula should I use?
| Situation | Formula | Key assumption |
|---|---|---|
| One deposit, periodic compounding | A = P(1 + r/n)nt | Fixed nominal rate and regular compounding |
| One deposit, continuous compounding | A = Pert | Continuous model is specified |
| Simple interest | A = P(1 + rt) | Interest applies only to original principal |
| Equal end-of-period contributions | FV = PMT × [((1+i)N−1)/i] | Equal deposits and fixed rate each period |
| Present value of a future amount | P = A/(1+r/n)nt | Rate and term are known |
Frequently asked questions
What is the compound interest formula?
The standard periodic formula is A = P(1 + r/n)nt. It calculates an ending balance from principal, annual rate, compounding frequency and time.
How do I calculate compound interest manually?
Convert the rate to a decimal, divide by the compounding frequency, calculate the total periods, apply the exponent and multiply by the starting principal. Subtract principal from the ending amount to find interest earned.
What does n mean in the formula?
n is the number of times interest compounds per year. For monthly compounding, n is 12; for quarterly compounding, it is 4.
Is compound interest better than simple interest?
For savings at the same nominal rate and term, compounding usually produces a larger balance because interest can earn later interest. For debt, compounding can increase what a borrower owes.
How do I calculate monthly compound interest?
Use n = 12 and calculate A = P(1 + r/12)12t, with r written as a decimal and t measured in years.
How do regular monthly deposits change the calculation?
Use a future-value annuity formula rather than the single-deposit formula. The result also depends on whether deposits are made at the beginning or end of each period.
What is the effective annual rate?
It is the one-year growth rate after compounding is included. For nominal rate r compounded n times, calculate (1 + r/n)n − 1.
Does the formula include fees and taxes?
No. The basic formula assumes no fees, taxes, withdrawals or rate changes. Add those separately or use a product-specific calculator.
Is a compound interest projection guaranteed?
No. It is a mathematical estimate based on the inputs. Savings rates can change, and investment returns are not guaranteed.
Use the formula with clear assumptions
The compound interest formula is a practical way to calculate how a balance changes when interest is added over time. Identify the principal, rate, frequency and time, then check whether you need a formula for regular contributions or continuous compounding.
For real financial products, compare effective rates, fees, conditions and risks rather than relying on the formula alone. Explore more Singapore financial education in the Finance section of Lion City Herald or visit the Lion City Herald homepage.
Check the result before using it
After calculating a balance, do a quick reasonableness check. A positive rate with no withdrawals should make the balance larger than the principal, while a zero rate should leave it unchanged. If your result is far larger than expected, check that the percentage was converted to a decimal and that the exponent uses the number of periods rather than the number of years alone.
Use the same rounding convention throughout the problem. Keep several decimal places in intermediate steps, then round the final currency amount to cents if the question asks for a monetary value. When a calculator gives a slightly different last digit, small differences may come from rounding or from a different day-count assumption; show your formula and inputs so the method remains clear.
Sources
- MoneySense: Effects of compounding interest
- MoneySense: Planning for retirement
- MoneySense: Costs of borrowing and EIR
- MAS: Singapore Savings Bonds calculator
- Investor.gov: Compound interest calculator

