Project the maturity value of a Certificate of Deposit at fixed APY, model an early-withdrawal penalty in months of interest, and compare CD returns to a high-yield savings account over the same period.
Inputs: initial deposit, APY, term in months, compounding frequency (daily through annual), penalty in months of interest, optional early-withdrawal month, and an HYSA APY for comparison. Outputs maturity value, total interest, effective annual yield, and an early-withdrawal scenario. The HYSA comparison shows the dollar gap so you can weigh the trade-off of locking in vs staying liquid.
Disclaimer: APYs change frequently and the FDIC insures up to $250,000 per depositor per bank. Penalty rules vary by bank and term length - read the disclosure before depositing. Brokered CDs on the secondary market price differently.
Loading calculatorโฆ
Calculator information
๐ How to use this calculator
- Enter your initial deposit amount.
- Set the CD's APY - top US 12-month CDs pay 4.0-4.5% as of May 2026.
- Choose term in months: short (3-12 mo), medium (1-3 yr), or long (4-5 yr).
- Pick compounding frequency - daily is most common for online CDs.
- Set the early-withdrawal penalty in months of interest (typical: 3 months for terms โค1 yr, 6 months for 2-3 yr, 12 months for 5 yr).
- Optional: enter an early-withdrawal month to see the penalty impact, and an HYSA APY for side-by-side comparison.
๐งฎ CD Maturity Value
A = P x (1 + r/n)^(nt)
- A: maturity value
- P: principal (initial deposit)
- r: APY as decimal
- n: compounding periods per year (365 for daily, 12 for monthly)
- t: term in years
- Effective yield = (A/P)^(1/t) - 1
- Early withdrawal: penalty = (monthly interest at APY) x penalty months, capped at earned interest
FDIC insurance covers CDs up to $250,000 per depositor per bank. CD rates lock at deposit; APY does not change during term. After maturity most banks auto-renew at the prevailing rate - mark your calendar to redeem or shop around.
๐ก Worked example: 12-Month CD vs HYSA Trade-off
Given:- Principal: $10,000
- CD APY: 4.5%, daily compounding, 12-month term
- Penalty: 3 months of interest
- HYSA APY: 4.0% (variable)
- Scenario A: hold to maturity. Scenario B: withdraw at month 6
Steps:- Scenario A - Hold to maturity:
- A = $10,000 x (1 + 0.045/365)^(365 x 1) = $10,000 x 1.04602 = $10,460.20
- Interest earned: $460.20
- Effective annual yield: 4.60%
- Scenario B - Withdraw at month 6:
- Earned interest at month 6 โ $10,000 x 0.0225 = $225
- Penalty = ($10,000 x 0.045 / 12) x 3 months = $112.50
- Net = $10,000 + $225 - $112.50 = $10,112.50
- HYSA comparison (12 months at 4.0%):
- Approximate balance: $10,000 x (1.04) = $10,400, interest $400
- CD advantage at maturity: $460 - $400 = $60 ($60 better than HYSA)
- Conclusion: CD wins by $60 if you definitely will not need the cash for 12 months
Result: Hold the CD to maturity: $10,460 ($60 better than HYSA). Withdraw early at month 6: $10,113 (penalty eats most of earned interest).
โ Frequently asked questions
How does a Certificate of Deposit work?
A CD is a fixed-term, fixed-rate deposit account. You commit your money for a set period (3 months to 5 years), and the bank pays you a guaranteed APY for the entire term. Withdrawing before maturity incurs an early-withdrawal penalty, usually 3 to 12 months of interest depending on term length. At maturity you get principal plus all earned interest. CDs are FDIC-insured up to $250,000 per depositor per bank.
What is a CD ladder and should I build one?
A CD ladder splits your money across multiple CDs of staggered maturities. A classic 5-year ladder buys equal amounts in 1-yr, 2-yr, 3-yr, 4-yr, and 5-yr CDs. Each year one CD matures and you renew it as a fresh 5-year CD. The result: you always have 20% maturing within a year (liquidity) while capturing the higher end of the rate curve. Ladders work best when long-term rates are higher than short-term (a normal yield curve).
When should I open a CD instead of using an HYSA?
Three conditions: (1) you have money you definitely will not need before maturity, (2) you believe rates are at or near a peak (a 4.5% CD locked today beats taking a 3% HYSA six months later if rates fall), and (3) the CD APY exceeds your best HYSA rate by enough to justify locking in. In a rising-rate environment, a no-penalty CD or an HYSA usually wins because they capture upward moves.
Can I deduct CD early-withdrawal penalties on my taxes?
Yes. Early-withdrawal penalties on CDs are deductible from your gross income on Schedule 1 of your federal tax return (line 18 in recent years), regardless of whether you itemize. This is an above-the-line deduction, so you can still take the standard deduction and still get the benefit. Your bank reports the penalty on the same 1099-INT that reports the interest income.
What is a brokered CD vs a bank CD?
A bank CD is purchased directly from the issuing bank. A brokered CD is purchased through a brokerage (Fidelity, Schwab, Vanguard) on the secondary market. Brokered CDs trade like bonds: price fluctuates with rates, and you can sell before maturity without an early-withdrawal penalty (but you may sell at a loss). Brokered CDs often pay slightly higher APYs because brokers source from many banks. Both are FDIC-insured if held to maturity. Brokered CDs are better for sophisticated savers comfortable with mark-to-market pricing.
๐ Sources & references
Last updated: May 13, 2026