CD interest is the money a bank or credit union pays you for leaving a deposit in a certificate of deposit until a set maturity date. The amount depends on four things: the deposit, the interest rate, how often interest compounds and how long the term lasts. Once you know those, the maturity value is one formula away.
This guide shows that formula, works through a $10,000 example over 1, 3 and 5 years, explains the APY figure on a CD disclosure and shows how an early withdrawal penalty stated in months of interest cuts your return. Examples use US dollars and round numbers, but the same math works in any currency.
The CD interest formula
When a CD compounds interest, each interest payment is added to the balance and then earns interest itself. The maturity value uses the standard compound interest formula:
A = P × (1 + r / n)^(n × t)
- A is the maturity value: deposit plus all interest.
- P is the deposit (the principal).
- r is the annual interest rate as a decimal, so 4% is 0.04.
- n is the number of compounding periods per year, such as 12 for monthly or 365 for daily.
- t is the term in years.
The CD interest earned is simply A minus P. The compound interest formula guide shows each step. The formula assumes you leave all interest in the CD until maturity. If interest is paid out to another account instead, the balance does not grow and the result is closer to simple interest.
Worked example: $10,000 for 1, 3 and 5 years
Take a $10,000 deposit at a 4% annual rate, compounded monthly. The rate is an example only, not a current offer. For a 1 year term, the math is $10,000 × (1 + 0.04 / 12)^12, which gives about $10,407.42.

The table repeats the calculation for 3 and 5 years and compares it with simple interest, where interest is never added to the balance.
| Term | Maturity value | CD interest earned | Simple interest | Extra from compounding |
|---|---|---|---|---|
| 1 year | $10,407.42 | $407.42 | $400.00 | $7.42 |
| 3 years | $11,272.72 | $1,272.72 | $1,200.00 | $72.72 |
| 5 years | $12,209.97 | $2,209.97 | $2,000.00 | $209.97 |
All values are rounded to the cent. The gap grows with time, because each year starts from a larger balance. To test other deposits, rates or terms, the compound interest calculator runs the same formula. For a quick sense of scale, the Rule of 72 says money at 4% doubles in about 72 / 4 = 18 years.
APY on a CD: what the yield tells you
Under the Truth in Savings Act, Regulation DD section 1030.4 says a US bank’s account disclosures must state the “annual percentage yield” (APY) and the “interest rate,” using those terms. The regulation says the APY “measures the total amount of interest paid on an account based on the interest rate and the frequency of compounding.” That makes it the fairest number for comparing two CDs.

The Regulation DD formula
Appendix A of Regulation DD gives the general formula:
APY = 100 × [(1 + Interest / Principal)^(365 / Days in term) − 1]
It also says banks must assume all principal and interest stay on deposit for the whole term. For the 1 year example above, interest is $407.42 on $10,000 over 365 days. So APY = 100 × [(1 + 407.42 / 10,000)^(365 / 365) − 1], which is about 4.07%.
How compounding changes the APY
The same 4% rate gives a different APY depending on how often it compounds:
- Compounded once a year: APY 4.00%.
- Compounded monthly: APY about 4.07%.
- Compounded daily: APY about 4.08%.
So the APY, not the headline rate, is the figure to compare. The APY calculation guide covers the conversion in more detail, and the savings account interest guide covers interest on a regular savings account.
Fixed rate and what happens at maturity
A fixed-rate CD pays the same rate for the full term, so the maturity value is known on day one. A variable rate account is different, because its rate can change during the term. Not every CD is fixed. The SEC’s Investor.gov page on CDs says the disclosure should state “if the rate is fixed or variable,” along with the maturity date.
For time accounts, Regulation DD requires the disclosure to state the maturity date and, for fixed-rate accounts, how long the rate is in effect. It must also say whether the account renews automatically at maturity and, if it does, whether a grace period applies. If interest compounds during the term and can be withdrawn before maturity, the disclosure must also say that the APY assumes interest stays on deposit until maturity and that a withdrawal will reduce earnings.
Early withdrawal penalty in months of interest
A CD pays its quoted CD interest only if you keep the money in until maturity. Taking it out early usually triggers a penalty. HelpWithMyBank.gov says federal law sets a minimum penalty but “there is no maximum penalty.” If you withdraw within the first six days after deposit, the penalty is at least seven days of simple interest.
Beyond that minimum, each bank sets its own rule. Regulation DD requires the disclosure to state that a penalty will or may apply, how it is calculated and the conditions for charging it. One way to state the penalty is as a number of months of interest, which is the form used below.
Example penalty
This is an illustration only, since rules vary by bank and term. Suppose a 5 year CD at 4% charges 6 months of interest for early withdrawal, worked out as simple interest on the deposit:
- Penalty: $10,000 × 0.04 × 6 / 12 = $200.00.
- Interest earned after 1 year: about $407.42.
- Net interest if you withdraw then: $407.42 minus $200.00 = about $207.42.
A 3 month penalty on the same deposit would be $100.00. A very early withdrawal can cost more than the interest earned: after 3 months the CD has earned only about $100.33, less than a $200.00 penalty. Whether the shortfall comes out of the deposit depends on the account agreement.
Insurance, and CD interest in the UK and Canada
The FDIC says deposit insurance “covers $250,000 per depositor, per FDIC-insured bank, for each account ownership category,” and lists CDs as covered deposits.
UK fixed-rate bonds
In the UK the closest product is a fixed-rate savings bond. MoneyHelper says these bonds offer “a set interest rate over a specified term,” usually tie up money for six months to five years and can carry big penalties for early withdrawal.
Canada GICs
In Canada the equivalent is a GIC, Canada’s fixed-term deposit. The Financial Consumer Agency of Canada says GICs and term deposits are different names for similar products. It says most pay a fixed rate, and that if you withdraw before the term ends the institution may refuse or charge a penalty. The same maturity value formula applies to both products when interest compounds and stays in the account.
Conclusion
To work out CD interest, plug the deposit, rate, compounding frequency and term into A = P × (1 + r / n)^(n × t), then subtract the deposit. At 4% compounded monthly, $10,000 earns about $407.42 in 1 year and about $2,209.97 in 5 years. The APY gives a fair basis for comparing CDs, and the disclosure sets out the rate type, renewal terms and early withdrawal rule.


