What Is a CD and How APY Works, With Examples
A CD at 4.00% compounded daily has a 4.0808% APY and turns $10,000 into $10,408.08 in a year. Compounding, penalties and a five-rung ladder, computed.
A certificate of deposit (CD) is a deposit you agree to leave with a bank or credit union for a fixed term, such as 6 months or 5 years, in exchange for a stated interest rate, usually with a penalty if you take the money out early. The number to compare between CDs is the APY, the annual percentage yield, because it includes compounding. A CD at a 4.00% rate compounded daily has an APY of 4.0808% and turns $10,000 into $10,408.08 in one year. The same 4.00% rate compounded once a year is exactly 4.00% and gives $10,400.00. All rates here are illustrative, not offers, and this is general information, not financial advice.
APY versus the stated rate
A CD’s stated (nominal) rate says how much interest is credited per period before compounding. APY is the rate you actually earn over a full year once interest is added to the balance and starts earning interest itself:
APY = (1 + r ÷ m)^m − 1
where r is the nominal annual rate and m is the number of compounding periods a year. When m is 1, APY equals the nominal rate. The more often interest compounds, the higher the APY for the same rate.
For $10,000 at a 4.00% nominal rate for one year:
| Compounding | Periods a year | APY | Value after 1 year | Interest |
|---|---|---|---|---|
| Annually | 1 | 4.0000% | $10,400.00 | $400.00 |
| Quarterly | 4 | 4.0604% | $10,406.04 | $406.04 |
| Monthly | 12 | 4.0742% | $10,407.42 | $407.42 |
| Daily (365-day year) | 365 | 4.0808% | $10,408.08 | $408.08 |
The effect is real but small at CD-sized rates: daily compounding adds $8.08 over annual in the first year. Over five years on $10,000, the totals are $12,166.53 (annual), $12,209.97 (monthly) and $12,213.89 (daily), so daily is $47.36 ahead of annual.
Because APY includes compounding, it can reverse a comparison. A CD at 4.05% compounded annually has an APY of 4.05% and returns $10,405.00 in a year. A CD at a lower 4.00% compounded daily returns $10,408.08. The lower headline rate wins. Always compare APY with APY, and the term and penalty rules along with it.
Going the other way, an APY of 4.00% corresponds to a nominal rate of about 3.9223% if compounded daily, or 3.9285% if compounded monthly. You may also see APR, a stated yearly rate most often quoted for loans. It is not an APY, and a nominal rate without its compounding schedule cannot be compared with one that has it. For deposits, use the APY.
What the term does
A longer term locks your money up for longer. At 4.00% compounded annually, $10,000 is $10,400.00 after one year and $12,166.53 after five. Whether longer terms pay a higher rate depends on the market when you buy, so compare the APY for each term on offer. Interest paid out instead of left in the CD does not compound, which lowers what you actually earn.
Early-withdrawal penalties
If you take money out before maturity, the bank usually charges a penalty. Penalties are set by each bank, differ by term, and are often expressed as a number of months of interest, so read the account disclosure before opening a CD. The amounts below are not any bank’s rule. They show the idea, using one simple model: penalty = balance × rate × months ÷ 12, with the APY credited once a year and simple interest inside the year.
Take a $10,000 two-year CD at 4.00% APY, with a penalty of 3 months of interest:
| Withdrawal | Balance | Penalty | You receive |
|---|---|---|---|
| End of month 12 | $10,400.00 | $104.00 | $10,296.00 |
| End of month 2 | $10,066.67 | $100.67 | $9,966.00 |
In month 12 the penalty eats part of the interest you earned. In month 2 it is bigger than the $66.67 earned so far, so you get back $34.00 less than you deposited. Whether a penalty can reach your principal depends on the bank’s terms. Keep an emergency fund outside the CD, and lock up only money you will not need before maturity.
Laddering
A CD ladder splits money across CDs with different terms so that one matures at regular intervals. Each time one matures you can spend the money or reinvest it in a new long-term CD at the then-current rate.
Here is a $50,000 ladder of five $10,000 CDs with these illustrative APYs:
| Rung | Term | APY | Value at maturity | Interest |
|---|---|---|---|---|
| 1 | 1 year | 3.8% | $10,380.00 | $380.00 |
| 2 | 2 years | 3.9% | $10,795.21 | $795.21 |
| 3 | 3 years | 4.0% | $11,248.64 | $1,248.64 |
| 4 | 4 years | 4.1% | $11,743.65 | $1,743.65 |
| 5 | 5 years | 4.2% | $12,283.97 | $2,283.97 |
If each rung is held to maturity and each matured payout is held as cash that earns nothing, the combined value after five years is $56,451.47, which is $6,451.47 of interest. After the first year, $10,380.00 becomes available.
For comparison, putting all $50,000 in a single 5-year CD at 4.2% would grow to $61,419.83, which is $4,968.36 more at these rates. That gap is partly the price of access and partly because the simplified ladder leaves matured money idle. Reinvesting matured rungs would change the result, depending on rates that are unknown today. A ladder trades some yield for flexibility; it is not a way to earn more.
Before you open a CD
Check the account terms for whether the CD renews automatically at maturity, how interest is paid, the exact early-withdrawal penalty, and whether and up to what amount deposit insurance covers your deposit.
Try it
Use the CD calculator to enter a deposit, an APY or a rate with its compounding, a term and a penalty, and to plan a ladder of up to five rungs. For other balances and regular contributions, use the compound interest calculator, and for a plain-language walkthrough read how compound interest works. Every figure above was computed with exact arithmetic.
Updated 2026-11-04