Compound interest on a certificate of deposit is calculated with the formula A = P × (1 + r / n)^(n × t), where P is your initial deposit, r is the annual interest rate as a decimal, n is the number of compounding periods per year, and t is the term in years — the result A is the maturity value, and subtracting P gives the total interest earned. CDs use compound interest rather than simple interest because the bank adds each period's interest back to the principal before calculating the next period's interest, so your balance grows on top of previously earned interest rather than only on the original deposit.
CD rates are quoted as an annual percentage yield (APY), which already assumes a specific compounding frequency. A bank advertising "5.00% APY compounded monthly" is telling you the effective annual rate after monthly compounding is built in. Because APY standardizes comparisons across banks, you usually want to compare APYs head-to-head rather than nominal rates. Still, knowing how the underlying compounding works helps you spot the difference between a CD that compounds daily and one that compounds annually — both could advertise the same APY at a glance, but the underlying nominal rate will differ.
The fastest way to model a CD's growth is with a Compound Interest Calculator, where you set the compounding frequency directly and see how it shifts the maturity balance. Below is a practical walkthrough for using the tool, plus the math that runs behind it so you can sanity-check the numbers yourself.

The CD Compound Interest Formula Explained
The compound interest formula that banks and calculators use is:
A = P × (1 + r / n)^(n × t)
Where:
- P = the principal (initial deposit)
- r = the annual interest rate written as a decimal (5% becomes 0.05)
- n = the number of compounding periods per year (12 for monthly, 365 for daily)
- t = the term length in years
- A = the maturity value (principal plus compounded interest)
Total interest earned equals A − P. The exponent n × t represents the total number of times interest gets added over the life of the CD. For a 5-year CD compounded monthly, that's 12 × 5 = 60 compounding periods.
Banks quote the annual percentage yield (APY) using a related formula, APY = (1 + r/n)^n − 1, which is why two CDs can advertise the same APY even when their compounding schedules differ. The APY normalizes the compounding frequency into a single comparable number.
How to Use the Compound Interest Calculator for a CD
The Compound Interest Calculator handles the exponent math for any CD term and frequency combination. Set it up like this:
- Enter your starting principal — the amount you plan to deposit when you open the CD.
- Enter the annual interest rate as a percentage (for example, 4.5 for 4.5%). If the bank quotes APY instead of nominal rate, note which frequency they assume so the comparison matches.
- Pick the compounding frequency that matches the CD's terms: annually, semiannually, quarterly, monthly, or daily.
- Enter the term in years (or convert months to years — 18 months is 1.5 years).
- Read the final amount and the total interest earned, then switch the compounding frequency to see how the schedule alone changes the maturity value.
The last step is the most useful one for CD shopping. If two banks list the same APY but one compounds daily and the other annually, the calculator will show you the small but real difference at maturity. You can also flip the order: enter a target balance and back-calculate the rate you'd need.
Worked Example: 1-Year CD at 5%
Suppose you deposit $10,000 in a one-year CD paying a 5% nominal rate compounded monthly. Plug into the formula:
A = 10,000 × (1 + 0.05 / 12)^(12 × 1)
A = 10,000 × (1.004167)^12
A = 10,000 × 1.05116
A ≈ $10,511.62
Total interest earned = $10,511.62 − $10,000 = $511.62. The same CD compounded daily would produce a slightly larger balance — about $10,512.67 in interest — because daily compounding produces a marginally higher effective annual yield. For longer terms, that small annual gap compounds into a meaningful difference.
If you want to model a CD ladder or a multi-year deposit without doing each year by hand, the calculator runs the full term in one step. You can also use it alongside a Savings Calculator when comparing a long-term CD against a high-yield savings account that accepts additions.
APY vs. Nominal Rate: What CDs Actually Pay
The nominal rate is the raw interest rate without any compounding baked in. The APY is the rate you'd actually earn over one year after compounding is applied. For a CD advertised at "5.00% APY compounded monthly," the bank is doing the APY conversion for you, and the underlying nominal rate is slightly lower than 5%.
| Stated rate on the CD | Compounding frequency | Effective APY (approximate) |
|---|---|---|
| 5.00% nominal | Annually | 5.00% |
| 5.00% nominal | Quarterly | 5.09% |
| 5.00% nominal | Monthly | 5.12% |
| 5.00% nominal | Daily | 5.13% |
These APY equivalents are derived directly from the APY formula referenced above. The exact APY a bank advertises depends on how it rounds — most round to two decimals, which is why two banks can end up at 5.12% from slightly different nominal rates. Use the Compound Interest Calculator with the actual CD terms to confirm what you'll earn at maturity.
The practical takeaway: when comparing CDs from different banks, always line up the APYs and check what compounding frequency each one assumes. For an even longer-horizon view of what that compounding does, the Inflation Calculator shows how the real purchasing power of those interest earnings changes over time.
Compounding Frequency Compared Across Common CD Terms
Beyond the annual APY, the compounding frequency shifts the maturity balance. The earlier worked example produced a daily-compounded gain of roughly $1.05 more than monthly compounding on a single $10,000 deposit over one year. Across multi-year terms and larger deposits, that gap widens.
| CD term | Direction of compounding-frequency effect |
|---|---|
| 6 months | Negligible difference across frequencies at typical CD rates |
| 1 year | Daily noticeably beats annual on a given nominal rate |
| 3 years | The compounding-frequency gap roughly triples versus the 1-year result |
| 5 years | Frequency differences become a clear deciding factor between comparable CDs |
Specific maturity balances for each combination are easy to derive with the Compound Interest Calculator, and the tool also makes it simple to flip between frequencies side by side. If you're weighing a CD against a bond or Treasury, a Return on Investment Calculator can frame the CD return as an annualized ROI percentage for an apples-to-apples comparison.
Common CD Mistakes That Change the Math
Several details can quietly alter how much interest you actually take home from a CD. Watch for these before you fund the deposit.
- Mixing up APY and nominal rate. A 5% nominal rate compounded monthly is not the same APY as 5% compounded daily. Confirm which figure the bank lists.
- Ignoring the early withdrawal penalty. Most CDs charge a penalty — often several months of interest — if you withdraw before maturity. This can wipe out a year's worth of compounded earnings on short-term CDs.
- Forgetting about interest crediting vs. payout. Some CDs pay interest monthly to a linked account instead of compounding it inside the CD. The calculator assumes interest is reinvested; read the disclosure.
- Tax treatment. CD interest is taxable as ordinary income in the year it's credited, even if it stays inside the CD until maturity. The IRS covers CD interest reporting under interest income rules on irs.gov.
- Comparing different term lengths without normalizing. A 5-year CD's APY should be compared against other 5-year CDs, not against a 1-year CD's APY, because the compounding horizon differs.
Beyond CDs: Other Places Compound Interest Shows Up
The same math that powers CD growth also drives savings accounts, money market accounts, and most retirement contributions. Once you're comfortable with the formula, you can apply it to anything that compounds — and decide whether a CD's locked-in rate is worth the liquidity tradeoff. If you'd like a deeper dive into the basics, the Lizely guide on easy compound interest calculations walks through the same formula in a different context, and the Simple Interest Calculator is a quick way to see what you'd earn without compounding for comparison.
The takeaway: a CD's quoted APY plus its compounding frequency fully determine what you'll earn at maturity, and a Compound Interest Calculator lets you model any deposit, rate, or schedule in a few seconds.
For a deeper look, see How to Calculate Discount in Excel: The Right Formula.
For a deeper look, see How to Calculate Affordable Home Purchase Price.