calculate-loan

01 Loan payments

CD Interest Calculator: How It Works

Calculator No. 01-28700 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

A CD interest calculator works out how much your certificate of deposit will earn by maturity. You enter the deposit amount, the annual percentage yield (APY) or interest rate, the term length, and the compounding frequency, and it returns the total interest earned and the final balance. The result assumes you make no withdrawals and that the rate stays fixed for the whole term.

Formula

The calculator uses the compound interest formula for a fixed-rate CD:

Balance = P × (1 + r / n) ^ (n × t)

  • P = your initial deposit (in dollars)
  • r = annual interest rate as a decimal (APY divided by 100)
  • n = number of compounding periods per year (12 for monthly, 4 for quarterly, 1 for annually)
  • t = term length in years

Total interest is simply the maturity balance minus your original deposit.

Worked Example

Using the default values: deposit $10,000, APY 4.5%, term 5 years, compounded monthly.

  1. Convert APY to decimal: r = 4.5 / 100 = 0.045
  2. Set n = 12 (monthly compounding)
  3. Calculate the exponent: n × t = 12 × 5 = 60
  4. Compute the bracket: (1 + 0.045 / 12) = 1.00375
  5. Raise to the 60th power: 1.00375^60 ≈ 1.2518
  6. Multiply by deposit: $10,000 × 1.2518 = $12,518.00 (rounded)
  7. Total interest = $12,518.00 − $10,000 = $2,518.00

The calculator shows a maturity balance of $12,518.00 and total interest of $2,518.00, matching the worked steps.

Assumptions

  • The interest rate (APY) is fixed for the entire term.
  • Interest is compounded at the frequency you select (monthly, quarterly, or annually).
  • No deposits or withdrawals are made after the initial deposit.
  • Interest is not withdrawn early; it stays in the CD and compounds.
  • No early withdrawal penalties, fees, or taxes are modeled.

How to Use the Calculator

Enter your deposit amount, the APY your bank or credit union quotes, the term length in years, and the compounding frequency. The result shows the final balance and the interest earned. Use it to compare different term lengths or rates: for example, a 3-year CD at 4% will earn less than a 5-year CD at 4% because the money compounds for fewer periods. You can also see how a higher rate or more frequent compounding boosts the final balance.

Keep in mind that the APY already accounts for compounding, so if you enter the APY, the result matches what the bank advertises. If you enter a nominal annual rate instead, the actual yield will be slightly higher due to compounding.

Common Mistakes

  • Using APR instead of APY: APR is the simple rate; APY includes compounding. If you use APR, your result will be slightly lower than the bank’s stated yield.
  • Ignoring compounding frequency: Monthly compounding earns more than annual compounding at the same nominal rate. Always check how your bank compounds.
  • Mixing up months and years: If your term is 18 months, convert to 1.5 years, not 18 years.
  • Forgetting early withdrawal penalties: If you cash out before maturity, the penalty can eat into your interest, sometimes even your principal. This calculator assumes you hold to maturity.
  • Rounding too early: Do all calculations with full precision, then round the final dollar amount.

Choosing a CD Term

CDs come in terms from a few months to several years. Longer terms usually offer higher rates, but they lock up your money for longer. Use the calculator to see how much extra interest a longer term earns. For example, a $5,000 deposit at 4% for 2 years (compounded monthly) earns about $415, while the same deposit at 4.5% for 5 years earns about $1,259. The difference reflects both the higher rate and the longer time.

Also consider your cash flow needs: if you might need the money before maturity, a shorter term or a no-penalty CD (if available) might be more suitable, even if the rate is lower.

Compounding Frequency Explained

Compounding frequency determines how often interest is added to your balance. More frequent compounding means your interest earns interest sooner. For example, at a 4% nominal rate, a $10,000 deposit over 5 years earns:

  • Annually: $10,000 × (1.04)^5 = $12,166.53
  • Quarterly: $10,000 × (1.01)^20 = $12,201.90
  • Monthly: $10,000 × (1.003333)^60 = $12,209.97

The differences are small for short terms but grow with larger deposits and longer terms. Most banks compound daily or monthly, so your actual result will be close to the monthly figure.

Frequently Asked Questions

What is the difference between APY and APR on a CD? APY (annual percentage yield) reflects the true return after compounding, while APR (annual percentage rate) is the simple interest rate. Banks advertise APY for CDs because it’s the actual amount you earn. Use APY in this calculator for an accurate result.

Can I lose money on a CD? CDs are generally low-risk if you hold them to maturity and the bank is FDIC- or NCUA-insured. However, if you withdraw early, you’ll pay a penalty that can reduce your interest or even your principal. Also, if inflation is higher than your APY, your purchasing power may decline.

How do I calculate interest if I make monthly deposits? This calculator assumes a single lump-sum deposit. If you plan to add money monthly, you need a different formula (like a savings calculator) because the balance grows with each deposit.

What happens if I withdraw early? Most CDs charge an early withdrawal penalty, typically a few months’ interest. For example, a 12-month CD might charge 3 months of interest. This calculator does not include penalties, so your actual return will be lower if you withdraw early.

Are CD interest earnings taxable? Yes, interest earned on CDs is generally taxable as ordinary income at the federal level, and often at the state level too. This calculator shows pre-tax amounts; your after-tax return will be lower.

Can I use this calculator for a brokered CD? Yes, the math is the same. However, brokered CDs may have different early withdrawal rules and may be callable (the bank can redeem them early). Check the terms with your broker.

The result from this calculator is an estimate based on the inputs you provide; your bank’s final disclosure will show the exact maturity value and any fees or penalties.

Related

Formula used
in p | Deposit amount | $ | 10000 | 1 | 10000000
in apr | Interest rate (APY) | % | 4.5 | 0.01 | 100
in yrs | Term length | years | 5 | 0.0833 | 50
in comp | Compounding | Monthly=12, Quarterly=4, Annually=1 | 12 | 1 | 12
out bal | Maturity balance | $ | p * (1 + apr / 100 / comp) ^ (comp * yrs) | 2
out int | Total interest earned | $ | bal - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →