Skip to main content

    Certificate of deposit calculator

    CD Calculator

    This CD calculator shows the interest a certificate of deposit earns and its balance at maturity, from your deposit, rate and term. Use it as a CD interest calculator with an APY or a stated rate compounded daily, monthly, quarterly or yearly, and see what taxes and an early withdrawal penalty would take.

    Free to use. No account or sign-up needed.

    Your numbers

    The amount you put in the CD.

    From 1 to 120. A 1-year CD is 12 and a 5-year CD is 60.

    Rate type

    The annual percentage yield the bank quotes, with compounding counted.

    Your tax rate on interest, federal plus state. Use 0 to skip.

    Compounding

    The APY already counts compounding, so this sets the stated rate shown in the results and the penalty figured on it.

    Months of interest the bank keeps if you cash out early. 90 days is about 3. Use 0 to skip.

    With a penalty set, shows what you would get back that month, before the CD ends.

    Results

    ResultValue
    Interest earned$400.00
    Balance at maturity$10,400.00
    Interest rate, compounded daily3.92%
    Penalty at month 6$98.06
    Cashed out at month 6$10,099.98

    At a 4% APY, a $10,000 CD earns $400.00 of interest over 12 months and matures at $10,400.00. Cashing out at month 6 costs a $98.06 penalty, so you would get back $10,099.98.

    Interest by month

    The dashed line is the interest you keep if you cash out that month. Below 0, the penalty takes part of your deposit.

    Month by month

    MonthTotal interestBalance
    1$32.74$10,032.74
    2$65.58$10,065.58
    3$98.53$10,098.53
    4$131.59$10,131.59
    5$164.76$10,164.76
    6$198.04$10,198.04
    7$231.42$10,231.42
    8$264.92$10,264.92
    9$298.52$10,298.52
    10$332.24$10,332.24

    Total interest is what the CD has earned so far, and Interest is what it earned that month. If cashed out is the balance minus the penalty, and the full balance at maturity.

    How CD interest compounds

    A certificate of deposit, or CD, pays a fixed rate on money you leave with a bank or credit union for a set term, from a few months to several years. Interest is added to the balance on a schedule, from daily to yearly, and from then on it earns interest too.

    To calculate CD interest, the calculator grows the deposit by the APY for each month: balance = deposit x (1 + APY)^(months / 12), and the interest is the balance minus the deposit. That makes it a CD compound interest calculator for any term from 1 to 120 months.

    On $10,000 in a 12-month CD at a 4% APY, the first month earns $32.74 and the last month earns $33.94, because each month's interest is figured on a larger balance.

    The calculator leaves the interest in the CD until it matures. If your CD pays interest out to another account instead, that interest stops compounding and you earn a little less.

    APY vs APR

    APY, the annual percentage yield, is what a deposit earns in a year with compounding counted. The interest rate is the yearly rate before compounding, which some sites call the APR. Under the Truth in Savings Act, US banks and credit unions show the APY for CDs and savings accounts, so it is the number to compare.

    A 4% interest rate is a 4.08% APY compounded daily, 4.07% compounded monthly, 4.06% quarterly and 4.00% yearly.

    Choose Interest rate to enter a stated rate and see its APY. Choose APY to enter the yield a bank quotes, and the results show the stated rate for the compounding you pick. An APY earns the same whatever the compounding, so that choice changes only the stated rate and the penalty figured on it.

    A worked example

    Say you put $10,000 in a 12-month CD with a 4% APY that compounds daily. The APY already counts the compounding, so the CD earns $400.00 of interest and matures at $10,400.00. Compounded daily, that APY is a 3.92% stated interest rate.

    Now say you need the money at month 6. The CD has earned $198.04 by then, and its penalty is 3 months of simple interest on the deposit, $98.06. You get back $10,099.98 and keep $99.98 of the interest.

    Cash out at month 1 instead and only $32.74 has built up, less than the penalty, so you get back $9,934.68: $65.32 less than you deposited. From month 3 on, the interest earned covers the penalty.

    Interest is taxed as income. At a 22% tax rate, $88.00 of the $400.00 goes to tax and you keep $312.00.

    Early withdrawal penalties

    Most CDs charge a penalty for taking the money out before the term ends. The CD's terms set it, usually as a number of days or months of simple interest.

    Enter the penalty in months of interest (90 days is about 3 months) and the month you would cash out. The calculator takes simple interest on the deposit at the stated rate for that many months from the balance at that month. Early in a CD, the penalty can be more than the interest earned so far, and the rest comes out of the deposit.

    A no-penalty CD lets you take the money out early without that charge, so set the penalty to 0 for one, and the month table shows what you could take out each month. A brokered CD bought through a brokerage usually cannot be cashed in early: you sell it at the market price instead, which can be more or less than you paid.

    An early withdrawal penalty shows on the Form 1099-INT the bank sends, and the IRS lets you deduct it from your income.

    CDs vs T-bills and savings

    CDs, Treasury bills and high-yield savings accounts all pay short-term rates on cash. A CD locks its rate for the term, so the rate cannot fall, but the money sits behind the penalty. A savings account lets you withdraw at any time, and the bank can change its rate whenever it chooses.

    Bank CDs and savings deposits are FDIC insured up to $250,000 per depositor, per bank, for each account ownership category, and credit union certificates carry the same limit through the NCUA. T-bills are backed by the US government and pay their face value at maturity, 4 to 52 weeks after they are issued.

    CD and savings interest is taxed by your state as well as federally. T-bill interest is exempt from state and local income tax, so at similar rates a T-bill can leave you more after tax.

    To work out a T-bill's price, yield and interest, use the T-bill calculator.

    To compare a CD with a T-bill after federal and state tax, use the taxable equivalent yield calculator.

    To set a CD rate next to savings, T-bills and dividend funds, with the risk of each, use the passive income calculator.

    What the calculator assumes

    • The rate stays the same for the whole term.
    • Interest stays in the CD and compounds until it matures, with no money added or taken out along the way.
    • Each month earns one twelfth of a year of growth at the APY. Banks that count actual days can differ slightly.
    • The penalty is simple interest on the whole deposit at the stated rate. Your CD's terms decide the real penalty and how it is figured.
    • The tax rate applies once to the interest earned by maturity. On a CD longer than a year, tax is usually due on each year's interest, and the penalty deduction is not counted.
    • There are no fees and no renewal at maturity. Results are estimates, not a quote from any bank.

    CD calculator FAQ

    How do you calculate CD interest?

    Multiply the deposit by (1 + APY) raised to the term in years, then subtract the deposit. $5,000 at a 4.5% APY for 18 months earns about $341. For a stated rate r with n compounding periods a year, the APY is (1 + r/n)^n - 1.

    How much interest does $10,000 earn in a CD?

    It depends on the APY and the term. At a 4% APY, $10,000 earns $400 in 12 months and about $2,167 over 5 years, before tax. At a 5% APY it earns $500 in 12 months and about $2,763 over 5 years.

    What is the difference between APY and the interest rate?

    The interest rate, sometimes called APR, is the yearly rate before compounding. The APY adds the interest earned on interest during the year, so it is higher when interest compounds more than once a year: 5% compounded monthly is a 5.12% APY.

    Is CD interest compounded daily or monthly?

    It depends on the CD, so check its terms. The APY already counts the compounding, so two CDs with the same APY and term earn the same interest whether they compound daily or monthly. The schedule matters only when you compare stated rates.

    What happens if you cash out a CD early?

    The bank keeps a penalty set in the CD's terms, often a number of months of simple interest. On $25,000 at a 4.5% interest rate, 6 months of interest is $562.50. If the penalty is more than the interest earned so far, the rest comes out of your deposit.

    How is CD interest taxed?

    CD interest is taxed as ordinary income, federal and state. The bank reports it on Form 1099-INT, and on a CD longer than a year you usually owe tax on each year's interest before it matures. At a 24% tax rate, $1,000 of interest leaves $760.

    Is this CD calculator free?

    Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Portfolio Tracker, where you can follow your own holdings.

    Track your own holdings in the Portfolio Tracker and backtest a portfolio with a free GNG account.

    Sign Up Free

    This calculator is for education and is not tax or investment advice. Results are estimates that depend on the numbers you enter. Read our disclosures.