How to Calculate CD Interest: Formulas, Examples and Excel

Learn how to calculate interest on a certificate of deposit using APY or the interest rate, for 3-month to 5-year terms, with taxes, monthly interest and early withdrawal penalties.
Table of Contents 17 sections
- What you need to know before you calculate
- Method 1: calculate CD interest from the APY
- Method 2: calculate CD interest from the interest rate and compounding
- How to convert between interest rate and APY
- How to calculate CD interest for 3, 6 and 12 months
- How to calculate monthly interest on a CD
- How to calculate daily interest on a CD
- How to calculate CD interest in Excel
- How taxes affect CD interest
- How to calculate an early withdrawal penalty
- How to calculate a CD ladder
- How to calculate the real return on a CD
- Is a longer CD always better?
- Example: comparing three CD offers
- Common mistakes
- How to use this guide
- Frequently asked questions
A certificate of deposit (CD) pays a fixed rate for a fixed term, so you can work out exactly what it will earn before you open it. This guide shows how to calculate CD interest by hand, with the formulas for APY and for interest rates with daily, monthly or quarterly compounding, worked examples for 3-month, 6-month, 1-year and multi-year CDs, the Excel formulas and how taxes and early withdrawal penalties change what you keep.
What you need to know before you calculate
- Principal: the amount you deposit.
- APY or interest rate: banks advertise the APY (annual percentage yield), which already includes compounding. The account disclosure also lists the interest rate.
- Compounding frequency: how often interest is added to the balance, usually daily or monthly.
- Term: how long the money stays in the CD.
- Whether interest stays in the CD: some CDs let you take interest out monthly, which means it no longer compounds.
Method 1: calculate CD interest from the APY
This is the easiest and most accurate method when you know the APY.
Interest = Balance - P
P is the deposit and t is the term in years (months divided by 12).
12-month CD: $10,000 at 4.50% APY. Balance = 10,000 x 1.045 = $10,450. Interest = $450.
18-month CD: $25,000 at 4.25% APY. Balance = 25,000 x 1.0425^1.5 = $26,610.57. Interest = $1,610.57.
5-year CD: $20,000 at 4.25% APY. Balance = 20,000 x 1.0425^5 = $24,626.93. Interest = $4,626.93. Compare that with simple interest of 20,000 x 0.0425 x 5 = $4,250: compounding adds about $377.
Method 2: calculate CD interest from the interest rate and compounding
If you have the nominal interest rate (r) and compounding frequency (n times a year), use the compound interest formula:
Example, compounded monthly: $5,000 at 4.00% for 6 months. n = 12 and t = 0.5. Balance = 5,000 x (1 + 0.04 / 12)^6 = $5,100.84. Interest = $100.84.
Example, compounded daily: $10,000 at 4.50% for 1 year. Balance = 10,000 x (1 + 0.045 / 365)^365 = $10,460.25. Interest = $460.25. The APY here is 4.60 percent.
How to convert between interest rate and APY
r = n x ((1 + APY)^(1/n) - 1)
A 4.50 percent rate compounded monthly has an APY of (1 + 0.045 / 12)^12 - 1 = 4.594 percent. When comparing CDs, always compare APY to APY.
How to calculate CD interest for 3, 6 and 12 months
For terms under a year, raise (1 + APY) to the fraction of a year. On $10,000 at 4.50 percent APY:
For related numbers, try the Compound Interest Calculator, Interest Calculator and 401(k) Calculator.
| Term | Calculation | Interest |
|---|---|---|
| 3 months | 10,000 x (1.045^0.25 - 1) | $110.65 |
| 6 months | 10,000 x (1.045^0.5 - 1) | $222.52 |
| 9 months | 10,000 x (1.045^0.75 - 1) | $335.64 |
| 12 months | 10,000 x (1.045 - 1) | $450.00 |
A quick approximation is deposit x APY x months / 12. For 6 months: 10,000 x 0.045 x 0.5 = $225, close to the exact $222.52. For short terms the difference is small; for longer terms, use the exact formula.
How to calculate monthly interest on a CD
If your CD pays interest out each month rather than compounding, the monthly payment is roughly deposit x interest rate / 12. A $50,000 CD at 4.80 percent pays about 50,000 x 0.048 / 12 = $200 a month. Some banks pay the exact daily interest for each month, so a 31-day month pays slightly more than a 30-day month.
How to calculate daily interest on a CD
Daily interest is the balance times the rate divided by 365 (some banks use 360). $10,000 at 4.50 percent earns about 10,000 x 0.045 / 365 = $1.23 a day. Over 90 days that is roughly $111, which is a common early withdrawal penalty on a 1-year CD.
How to calculate CD interest in Excel
- From APY:
=A2*(1+B2)^(C2/12)-A2with deposit in A2, APY in B2 and months in C2. - From rate and compounding:
=A2*(1+B2/D2)^(D2*C2/12)-A2with compounding periods per year in D2. - Future value function:
=FV(B2/12, C2, 0, -A2)for monthly compounding. - APY from rate:
=EFFECT(B2, D2); rate from APY:=NOMINAL(B2, D2).
How taxes affect CD interest
CD interest counts as ordinary income. Multiply the interest by your combined tax rate to estimate the tax: $1,000 of interest at a 24 percent federal and 5 percent state rate costs about $290, leaving $710. Interest is taxable in the year it is credited, so a multi-year CD creates a tax bill each year. Your after-tax yield is roughly APY x (1 - tax rate): a 4.5 percent APY becomes about 3.2 percent after 29 percent tax.
Ways to reduce tax on CD interest include holding CDs inside a traditional or Roth IRA, or comparing with Treasury bills, which are exempt from state and local income tax.
How to calculate an early withdrawal penalty
Most penalties are a number of months of interest. Multiply your deposit by the APY, divide by 12 and multiply by the penalty months:
Example: $20,000 in a 2-year CD at 4.25 percent APY with a 6-month penalty. Penalty ≈ 20,000 x 0.0425 / 12 x 6 = $425. If you close the CD after 4 months, you have earned only about $280, so the penalty would cut into your principal by about $145. Check your bank's disclosure, because some calculate the penalty on the amount withdrawn and some use simple interest.
How to calculate a CD ladder
A CD ladder splits one sum across several terms. Suppose you divide $25,000 into five $5,000 CDs maturing in 1, 2, 3, 4 and 5 years at 4.40, 4.20, 4.00, 3.90 and 3.80 percent APY. Calculate each rung on its own with P x (1 + APY)^t: the 1-year rung earns $220, the 2-year rung about $429, the 3-year rung about $624, the 4-year rung about $827 and the 5-year rung about $1,025. When each CD matures, reinvest it in a new 5-year CD to keep the ladder going. After the first cycle, every rung earns a 5-year rate, yet one CD still matures every year.
How to calculate the real return on a CD
To see what your CD earns after tax and inflation, use: real return ≈ APY x (1 - tax rate) - inflation. At 4.50 percent APY, a 24 percent tax rate and 2.5 percent inflation, that is 4.50 x 0.76 - 2.5 = 0.92 percent a year. For an exact figure, use (1 + after-tax APY) / (1 + inflation) - 1.
Is a longer CD always better?
Not necessarily. Longer CDs lock in a rate, which is good if rates are falling but costly if rates rise. They also tie up your money longer. Calculate the total interest for each option and weigh it against when you might need the cash. A CD ladder, with CDs maturing every 6 or 12 months, balances higher long-term rates with regular access.
Example: comparing three CD offers
You have $15,000 and three choices: a 6-month CD at 4.60 percent APY, a 1-year CD at 4.40 percent APY and a 3-year CD at 4.00 percent APY. Over one year, the 6-month CD earns 15,000 x (1.046^0.5 - 1) = $341.12 for the first half; if you can renew at the same rate, a full year gives $690. The 1-year CD earns $660. The 3-year CD earns $600 in year one but guarantees 4.00 percent for three years, totaling $1,873. Which is best depends on whether you expect rates to fall and when you need the money.
Run all three in the CD calculator side by side to see the exact difference for your deposit.
Common mistakes
- Comparing one bank's APY with another bank's interest rate.
- Using the annual rate for a short term without adjusting for the fraction of a year.
- Forgetting that interest withdrawn monthly does not compound.
- Ignoring taxes and inflation when judging the real return.
- Letting a CD auto-renew at a low rate after the grace period ends.
To skip the arithmetic, use the CD calculator. It converts APY and APR, handles any term and compounding, and estimates tax and early withdrawal penalties.
How to use this guide
Work through the steps in order with your own numbers, writing each result down as you go, then check your answer against the matching calculator on this site. If your hand calculation and the calculator disagree, the usual culprits are unit conversions, rounding, and a percentage typed as a whole number instead of a decimal. The examples are illustrations, not recommendations, and your situation may call for different assumptions. For important financial or health decisions, confirm your plan with a licensed professional who knows your circumstances. This article is reviewed periodically and was last updated in November 2026.
Frequently asked questions
How do you calculate interest on a CD?
Multiply the deposit by (1 + APY) raised to the term in years, then subtract the deposit. $8,000 at 4% APY for 2 years earns 8,000 x (1.04^2 - 1) = $652.80.
How do I calculate CD interest per month?
For a quick estimate, multiply the deposit by the annual rate and divide by 12. $30,000 at 4.5% earns about $112.50 a month.
How do I calculate CD interest for 6 months?
Multiply the deposit by (1 + APY)^0.5 - 1. $10,000 at 4.5% APY earns about $222.52 in 6 months.
How do I calculate the APY of a CD?
APY = (1 + r / n)^n - 1, where r is the interest rate and n the number of compounding periods per year. 4.5% compounded daily is 4.60% APY.
How is CD interest calculated if compounded daily?
Use P x (1 + r / 365)^(365 x t). If the bank quotes an APY, simply use P x (1 + APY)^t.
How do I calculate CD interest in Excel?
Use =A2*(1+B2)^(C2/12)-A2 with the deposit in A2, APY in B2 and term in months in C2.
How much interest does a $50,000 CD earn?
At 4.5% APY, a $50,000 CD earns $2,250 in one year, about $1,113 in six months and about $4,601 over two years, with interest left in the CD to compound.
CD terms, compounding and early withdrawal penalties vary by bank and credit union. Check the account disclosure for the exact APY, compounding method and penalty before you open a CD. Deposits at FDIC-insured banks and NCUA-insured credit unions are protected up to $250,000 per depositor, per institution, per ownership category.

About the author
Sawera Shahid is the founder and lead writer of Calculators360. She builds the site's free online calculators and writes clear, step-by-step guides on finance, math and health, with every formula explained and worked examples you can check by hand.



