The Formula for Compound Interest

Compound interest grows your money faster than simple interest because you earn interest on the interest you've already accumulated. The formula is:

A = P(1 + r/n)^(nt)

Here's what each letter means: A is your final amount, P is what you started with (principal), r is the annual interest rate as a decimal (so 4% becomes 0.04), n is how many times per year interest compounds, and t is the number of years. The caret symbol (^) means you raise the number to a power.

Most savings accounts compound daily or monthly. Daily compounding means the bank calculates and adds interest 365 times a year. Monthly means 12 times. The more often interest compounds, the more you earn, though the difference between daily and monthly is usually small for typical savings balances.

Key Takeaways

  • Compound interest uses the formula A = P(1 + r/n)^(nt), where P is your starting amount, r is the annual rate as a decimal, n is how many times per year interest compounds, and t is years.
  • Daily compounding (365 times per year) earns slightly more than monthly (12 times), but most savings accounts use one or the other.
  • You can calculate by hand using the formula, or use an online calculator or your bank's tools to avoid arithmetic errors.
  • The APY (annual percentage yield) your bank shows already includes the effect of compounding, so you can use it to estimate your earnings without the formula.
  • Checking your math against your bank statement helps you spot errors or confirm the rate is what you were promised.

Working Through a Real Example

Say you deposit $5,000 in a savings account with a 4.5% annual interest rate that compounds daily. You want to know how much you'll have after two years.

Plug in: P = 5000, r = 0.045, n = 365, t = 2. The calculation becomes A = 5000(1 + 0.045/365)^(365×2), which is A = 5000(1.000123288)^730. That equals roughly $5,472.79.

If the same account compounded monthly instead, n would be 12, and the result would be about $5,471.53—roughly $1.26 less. Over two years, the difference is small, but over decades it compounds into real money.

The easiest way to verify this is to use your bank's online calculator or a free compound interest tool. Enter the same numbers and check that your result matches. This catches arithmetic mistakes before you rely on the number.

Using APY to Skip the Formula

Your bank publishes an APY (annual percentage yield), which is the interest rate after compounding is already factored in. This number is simpler to use than the full formula because it shows your true yearly return.

If your account shows 4.5% APY, you can use a shorter formula: A = P(1 + APY)^t. With $5,000 at 4.5% APY for two years, that's A = 5000(1.045)^2, which equals $5,461.13. This is close to the daily-compounding result because the bank calculated the APY by compounding daily first.

The APY method works well for quick estimates. The full formula matters more if you're comparing accounts with different compounding schedules or if you need precision for tax or financial planning purposes.

Checking Your Bank Statement Against the Math

After a few months, compare what your bank actually paid you to what the formula predicts. Pull your statement and note the starting balance, the interest deposited, and the date range.

If your bank shows $5,000 starting balance and $56.25 in interest after three months at 4.5% APY, you can check this: three months is 0.25 years, so A = 5000(1.045)^0.25, which equals $5,055.28. The interest earned would be $55.28. The bank's $56.25 is close—the small difference comes from daily compounding and rounding.

If the number is far off, contact your bank. Errors are rare, but they happen. Having the math on your side makes the conversation easier.

Why Compounding Frequency Matters Over Time

The difference between daily and monthly compounding looks tiny in year one. Over 10 or 20 years, it grows. A $10,000 deposit at 4% compounded daily versus monthly will differ by roughly $50 after 10 years—not huge, but real money you earned by choosing the right account.

This is why it's worth reading the account disclosure to see whether your bank compounds daily, monthly, or quarterly. High-yield savings accounts almost always compound daily. Traditional savings accounts vary. If two accounts offer the same APY but one compounds daily and one compounds monthly, the daily one will pay slightly more over time.

For very large balances or very long time horizons, this difference becomes significant. For most people with modest savings, the APY difference between accounts matters far more than the compounding frequency within a single account.

Tools and Calculators You Can Use

Doing the math by hand works, but it's easy to make mistakes with exponents. Most banks offer a savings calculator on their website—enter your starting amount, rate, and time, and it shows your final balance. These are free and built into the account details page.

Online calculators like those from the Federal Reserve or financial education sites let you compare multiple scenarios. You can test what happens if you deposit $5,000 versus $10,000, or if rates change, without doing the arithmetic yourself.

Spreadsheet software like Excel or Google Sheets can also calculate compound interest. Use the formula =P*(1+r/n)^(n*t) and replace the letters with your numbers. This is useful if you want to track multiple accounts or run many scenarios at once.

Whatever tool you use, write down your inputs (starting amount, rate, time, compounding frequency) so you can explain your numbers later if needed.

Frequently Asked Questions

Does compound interest work the same way for loans as it does for savings?

Yes, the math is identical, but it works against you. A loan compounds interest on what you owe, so you pay more the longer you wait. Savings compounds interest on what you own, so you earn more the longer you wait. The formula is the same; the direction of money flow is opposite.

What if my bank changes the interest rate mid-year?

You calculate in chunks. If your rate is 4% for six months, then 3.5% for the next six months, calculate the first six months, then use that ending balance as the starting balance for the second six months at the new rate. Your bank does this automatically, but you can verify it by breaking the year into pieces.

Is the APY the same as the interest rate?

No. The interest rate (APR or stated rate) is what the bank advertises before compounding. The APY includes the effect of compounding, so it's always equal to or higher than the stated rate. Use APY to compare accounts fairly, because it shows your true return.

Can I calculate compound interest for deposits I make throughout the year?

The basic formula assumes one lump sum. If you deposit money monthly, you need to calculate each deposit separately from its deposit date, then add them together. Most bank calculators handle this automatically if you enter a monthly deposit amount—use that feature instead of doing it by hand.

How often should I check if my bank is calculating interest correctly?

Once or twice a year is reasonable. Pull a statement, note the interest paid over a three- or six-month period, and run the numbers. If it matches the formula within a dollar or two, your bank is doing it right. Exact matches are rare because of rounding, but large discrepancies should be reported.