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

Example value. Enter the APY your bank offers
Enter 0 if your state has no income tax
Balance at maturity
—
Interest earned
—
Interest after taxes
—

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.

TreasuryYield (APY equivalent)No state tax5% state tax9.3% state tax
6-month Treasury bill4.55%4.55%4.87%5.17%
1-year Treasury4.66%4.66%4.98%5.29%
2-year Treasury4.74%4.74%5.06%5.37%
5-year Treasury4.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

  1. Deposit, APY and term: enter the amount you plan to put in and the APY and term the bank offers.
  2. Taxes: pick your federal tax bracket and enter your state and local income tax rate to see what you actually keep.
  3. 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