Enter a deposit, the APY and the term to see what a certificate of deposit earns. Add the penalty in months of interest and a withdrawal month to see what breaking the CD early would cost.
Helps you choose a term you can actually keep. Free, private and instant: nothing you type leaves your browser.

How the CD Calculator works
Earnings at maturity = deposit x ((1 + APY)^(months / 12) – 1). The penalty is estimated as deposit x monthly rate x penalty months, where the monthly rate = (1 + APY)^(1/12) – 1. For an early withdrawal at month w, you get the interest earned by month w minus the penalty. If the penalty is bigger than the interest earned, the difference comes out of your deposit.
Worked example
Here is what the calculator shows with its starting numbers. Change any value above to see your own result.
| Input | Value |
|---|---|
| Deposit | $10,000 |
| APY | 4% |
| CD term | 12 months |
| Early withdrawal penalty | 3 months of interest |
| Month you might withdraw early (0 if you keep it to maturity) | 0 months |
Interest earned at maturity: $400.00
| Result | Value |
|---|---|
| Balance at maturity | $10,400.00 |
| Penalty if withdrawn early | $98.21 |
What each input means
- Deposit: the amount you put in the CD.
- APY: the annual percentage yield the bank quotes. It already includes compounding.
- CD term: months until maturity, such as 6, 12, 24 or 60.
- Early withdrawal penalty: how many months of interest the bank charges if you withdraw before maturity. Find it in the account disclosure.
- Month you might withdraw early: enter 0 to keep the CD to maturity, or a month number to test an early exit.
Step by step
- Enter your deposit and the APY from the bank’s rate sheet.
- Enter the term in months.
- Enter the penalty in months of interest from the account disclosure.
- Leave the withdrawal month at 0 to see earnings at maturity.
- Then try a few early months to find when the penalty stops eating into your deposit.
Reading the result
With the starting numbers, $10,000 at 4% APY for 12 months earns $400.00, for a balance of $10,400.00. A 3-month interest penalty would be about $98.21. That penalty does not change if you withdraw in month 2 or month 10, but the interest you have earned by then does.
When a penalty can eat into your deposit
Withdraw very early and the penalty can be larger than the interest earned. Here is the same CD broken after 1 month:
| Input | Value |
|---|---|
| Deposit | $10,000 |
| APY | 4% |
| CD term | 12 months |
| Early withdrawal penalty | 3 months of interest |
| Month you might withdraw early (0 if you keep it to maturity) | 1 months |
Interest earned at maturity: $400.00
| Result | Value |
|---|---|
| Balance at maturity | $10,400.00 |
| Penalty if withdrawn early | $98.21 |
| Interest earned by month 1 | $32.74 |
| Net after the penalty | -$65.47 |
| You would get back | $9,934.53 |
After one month only $32.74 of interest has been earned, so the $98.21 penalty leaves the saver with $9,934.53, less than the $10,000 deposited. Waiting until month 4 would leave a small gain of $33.38 after the penalty.
A longer CD with a bigger penalty
Longer CDs often carry larger penalties. A $25,000 CD at 4.25% for 24 months earns $2,170.16 if held to maturity. With a 6-month penalty, withdrawing at month 12 still leaves $541.33 of net interest, because $1,062.50 had been earned. Run your own term to see where the break-even month falls.
How banks word penalties
Each bank sets its own penalty, and the rule is in the account agreement you get when you open the CD. Common forms are a number of days or months of interest, sometimes based on the amount withdrawn rather than the whole deposit. Some banks also allow penalty-free withdrawals in special cases, and some offer no-penalty CDs at a lower rate. This calculator uses months of interest on the full deposit, which is a common structure, so check your own disclosure.
CD or savings account?
A CD locks in a rate for the term, which helps when rates may fall. A high-yield savings account pays a variable rate but lets you withdraw anytime. If there is a real chance you need the money early, the penalty can wipe out the CD’s rate advantage. Many savers keep their emergency fund in savings and put money they will not touch for a set period in CDs. A CD ladder, several CDs with staggered maturities, gives regular access while keeping most money at fixed rates.
Safety and taxes
CDs at FDIC-insured banks are covered up to $250,000 per depositor, per insured bank, for each account ownership category, as of November 2026. Credit union certificates have similar coverage through the NCUA. CD interest is generally taxable in the year it is credited, even if you do not withdraw it. Any early withdrawal penalty is reported on Form 1099-INT; ask a tax professional how it affects your return.
Frequently asked questions
What is the difference between APY and the interest rate?
Can I lose money in a CD?
How is the penalty calculated?
What happens when the CD matures?
Is CD interest taxable?
Related calculators
- Compound Interest Calculator
- Savings Goal Calculator
- Emergency Fund Calculator
- Simple Interest Calculator
Related guides
- High-Yield Savings vs CD: Which Earns More on Your Cash
- CD Early Withdrawal Penalty: What It Costs and When It Is Worth Paying
- APR vs. APY: What’s the Difference and Why It Matters
Sources
- Investor.gov (SEC): Certificates of deposit (CDs)
- FDIC: National rates and rate caps
- FDIC: Your insured deposits at a glance
