CD Calculator
Enter a deposit, APY and term to see your balance at maturity, your interest after taxes, and whether a Treasury of the same term would earn more.
CD calculator
Assumes the APY stays fixed for the term and interest stays in the CD. CD interest is taxed by federal, state and local governments; Treasury interest is exempt from state and local tax. Treasury yields are approximate annual equivalents as of November 27, 2026. Withdrawing early usually costs a penalty set by your bank.
What a CD needs to pay today to beat a Treasury
Treasury interest is exempt from state income tax, so the higher your state tax rate, the more a CD must pay to keep up. Here's the CD APY that would leave you with the same after-tax interest as a Treasury of the same term, assuming a 22% federal bracket. Updated automatically with Treasury yields as of November 27, 2026.
| Treasury | Yield (APY equivalent) | No state tax | 5% state tax | 9.3% state tax |
|---|---|---|---|---|
| 6-month Treasury bill | 4.55% | 4.55% | 4.87% | 5.17% |
| 1-year Treasury | 4.66% | 4.66% | 4.98% | 5.29% |
| 2-year Treasury | 4.74% | 4.74% | 5.06% | 5.37% |
| 5-year Treasury | 4.80% | 4.80% | 5.09% | 5.38% |
Bills are converted from the discount rate and notes from the semiannual bond-equivalent yield. If your CD offer beats the number in your column, it pays more after taxes.
How to use it
- Deposit, APY and term: enter the amount you plan to put in and the APY and term the bank offers.
- Taxes: pick your federal tax bracket and enter your state and local income tax rate to see what you actually keep.
- Treasury comparison: for terms that match a Treasury bill or note (3 and 6 months, 1, 2, 3 and 5 years), the calculator compares your CD with today's Treasury yield after taxes and shows the CD APY you'd need to match it.
The CD interest formula
Because APY already includes compounding, the math is simple: balance = deposit × (1 + APY)years.
Interest earned is the balance minus your deposit. After taxes, you keep interest × (1 − federal rate − state rate).
Treasury interest is exempt from state and local income taxes, so its after-tax value is interest × (1 − federal rate).
Examples
- $10,000 for 12 months at 4.50% APY: $450 in interest, for a balance of $10,450. With a 22% federal and 5% state tax rate, you keep $328.50.
- $10,000 for 5 years at 4.25% APY: about $2,313.47 in interest, for a balance of $12,313.47.
- CD vs. Treasury in a high-tax state: if a 1-year Treasury yields 4.50% and you pay 22% federal and 9.3% state tax, a 1-year CD needs about 5.11% APY to leave you with the same after-tax interest.
Set the calculator to the first example's values to see the same results.
Before you open a CD
- Check the early withdrawal penalty. On a 12-month, $10,000 CD at 4.50%, a penalty of three months' interest would cost about $110.
- Make sure it's insured. CDs at FDIC-insured banks are covered up to $250,000 per depositor, per bank, per ownership category. See What is FDIC insurance?
- Keep your emergency fund liquid. A high-yield savings account is better for money you might need suddenly. Compare in T-Bills vs. savings.
Sources: Treasury yields from the Federal Reserve via FRED; Consumer Financial Protection Bureau, Regulation DD § 1030.4 (account disclosures, including early withdrawal penalties).
Related guides
Frequently asked questions
How much does a $10,000 CD earn in a year?
At 4.50% APY, a 12-month CD earns $450, for a balance of $10,450. If you pay 22% federal and 5% state income tax, you keep about $328.50 of that interest.
How do you calculate CD interest?
Balance at maturity = deposit × (1 + APY) raised to the number of years. The APY already includes compounding, so you do not need to know how often the bank compounds. For an 18-month CD, use 1.5 years.
Is a CD or a Treasury better?
Compare them after taxes. CD interest is taxed by your state, while Treasury interest is not, so in a high-tax state a Treasury can earn more even at a slightly lower yield. Today the 1-year Treasury yield is 4.61%.
What happens if I withdraw from a CD early?
Most banks charge an early withdrawal penalty, often a set number of months of interest. Banks must tell you whether a penalty applies and how it is calculated before you open the account, under the Truth in Savings Act (Regulation DD).
This content is for educational purposes only and isn't financial, tax or investment advice. Rates change daily; confirm current terms with your bank, broker or TreasuryDirect before making decisions. See our full disclaimer.
More free calculators
Mortgage Payment Calculator
Estimate your monthly payment with taxes and insurance, pre-filled with this week's average mortgage rate.
How Much House Can I Afford? Calculator
Estimate the home price your income supports with the 28/36 rule and this week's mortgage rate.
Auto Loan Calculator
Estimate your monthly car payment and total interest, pre-filled with the Federal Reserve's average new-car loan rate.
Credit Card Payoff Calculator
See how long it takes to pay off a card balance and how much interest a bigger payment saves.
Rule of 72 Calculator
Find how many years it takes to double your money, or the rate you need, with the exact answer alongside.
Compound Interest Calculator
See how savings grow with interest on interest, plus monthly contributions.
Inflation Calculator
Find what a dollar from any year since 1913 is worth today, using official CPI data.
T-Bills vs. Savings Calculator
Compare Treasury bills and high-yield savings after federal and state taxes.