CD Calculator

Rate is quoted as
Compounding frequency

Enter the rate exactly as the bank quotes it. An APY already includes compounding; an APR is compounded at the frequency you choose. Leave the early-withdrawal month empty to hold the CD until it matures.

Results

Enter your values and select Calculate.

A=P(1+rn)nt,APY=(1+rn)n−1A=P\left(1+\frac{r}{n}\right)^{nt},\quad\mathrm{APY}=\left(1+\frac{r}{n}\right)^{n}-1

About this tool

A certificate of deposit (CD) is a savings deposit that pays a fixed interest rate for a fixed term, such as 6 months or 5 years. In exchange for the fixed rate, you agree to leave the money untouched until the CD matures; withdrawing early usually costs a penalty. This CD calculator shows what your deposit will be worth at maturity, how much interest it earns before and after tax, and how much an early withdrawal would cost.

How it works

Enter the amount you plan to deposit, the interest rate and whether the bank quotes it as an APY or an APR, then choose how often interest compounds and the term in months. Add your tax rate on interest if you want an after-tax figure.

To see what happens if you need the money before maturity, enter the bank's penalty as a number of months of interest and the month in which you would withdraw. The calculator shows the penalty and the amount you would receive, which can be less than your deposit if the penalty is larger than the interest earned so far.

A=P(1+rn)nt,APY=(1+rn)n−1A=P\left(1+\frac{r}{n}\right)^{nt},\quad\mathrm{APY}=\left(1+\frac{r}{n}\right)^{n}-1

Example

You deposit 10,000 in a 12-month CD that pays 4.5% APY. Because the APY already includes compounding, the CD is worth 10,000×1.045=10,45010{,}000 \times 1.045 = 10{,}450 at maturity, so it earns 450 in interest. If that interest is taxed at 24%, you keep 450×0.76=342450 \times 0.76 = 342.

If the same bank quotes 4.5% as an APR compounded monthly instead, the CD grows to 10,000×(1+0.045/12)12≈10,459.4010{,}000 \times (1 + 0.045/12)^{12} \approx 10{,}459.40, an effective APY of about 4.59%.

Assumptions and limits

The calculator assumes a fixed rate, no additional deposits and that interest stays in the CD until maturity. It treats the penalty as simple interest on the deposit for the stated number of months; banks may calculate penalties differently, charge flat fees or cap them at the interest earned. Taxes are applied as a single flat rate on the interest. Deposit insurance limits, brokered-CD market pricing and step-up or callable CDs are not modeled.

Frequently asked questions

What is the difference between APY and APR on a CD?

APR is the nominal annual rate before compounding. APY is the effective yield after compounding over one year, so it is the better number for comparing CDs. A 4.5% APR compounded monthly equals about 4.59% APY.

How is interest on a CD calculated?

Interest compounds at the frequency stated by the bank, usually daily or monthly. The balance after tt years is P(1+r/n)ntP(1 + r/n)^{nt}, where PP is the deposit, rr the APR and nn the number of compounding periods per year.

How much is the penalty for withdrawing a CD early?

Penalties are set by each bank and are often stated as a number of months of interest, for example 3 months for terms under a year and 6 to 12 months for longer terms. Check your account agreement and enter that number to estimate the cost.

Is CD interest taxable?

In many countries, including the United States, CD interest is taxed as ordinary income in the year it is credited, even if you leave it in the CD. Enter your marginal tax rate to estimate the interest you keep.

Does compounding frequency matter if the bank quotes an APY?

No. An APY already reflects compounding, so a 4.5% APY produces the same one-year result whether interest compounds daily or monthly. Compounding frequency only changes the result when the rate is quoted as an APR.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
depositDeposit amountamount without a currency symbol; allowed > 0 – 1000000000000required
apy_pctInterest ratepercent: 6.5 means 6.5%; allowed 0–50required
apr_pctInterest ratepercent: 6.5 means 6.5%; allowed 0–50required
compoundingCompounding frequencyone of: daily, monthly, quarterly, yearlydefault daily
term_monthsTerm in monthswhole number; allowed 1–600required
tax_rate_pctTax rate on interestpercent: 6.5 means 6.5%; allowed 0–100counted as 0
penalty_monthsEarly-withdrawal penalty in months of interestwhole number; allowed 0–600default 3
withdrawal_after_monthsWithdraw early after month (optional)whole number; allowed ≥ 0optional

Examples

  • ?deposit=25000&apy_pct=4.25&term_months=18&compounding=monthly
  • ?deposit=10000&apr_pct=4&term_months=24&withdrawal_after_months=12&penalty_months=6

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="cd_calculator"]