HomeGuides › How to calculate CD interest: APY, the formula, and what banks rarely tell you

How to calculate CD interest: APY, the formula, and what banks rarely tell you

To calculate CD interest, use the compound interest formula A = P(1 + r/n)^(nt), where P is your deposit, r is the annual interest rate as a decimal, n is the number of times interest compounds per year, and t is the term in years. Subtract P from A to get total interest earned. For a $10,000 CD at 4.50% APY for 2 years compounding daily, you earn about $940.45 in interest, ending at roughly $10,940.45. The fastest way to skip the math is to plug your numbers into a free CD calculator and read the maturity value instantly.

Most banks advertise APY (annual percentage yield) instead of the raw interest rate because APY already bakes in the compounding effect. That single number tells you what the CD actually pays over a full year if you leave the money alone. But APY hides several things banks rarely spell out in plain English: how compounding cadence changes results, how early withdrawal penalties can erase months of growth, and how taxes on CD interest hit your return before you ever touch the cash. This guide walks through the math step by step, shows where the gotchas live, and gives you a reusable framework you can apply to any CD offer in 2026.

What CD interest actually is (and why APY is the number that matters)

CD interest is the money a bank pays you for locking a deposit into a certificate of deposit for a fixed term, ranging from 3 months to 10 years. The bank guarantees a rate in writing, your principal is FDIC-insured up to $250,000 per depositor per bank, and the only real condition is that you do not pull the money out early.

The headline number on a CD ad is the APY, not the interest rate. APY is the effective annual return after compounding is factored in. The nominal interest rate (sometimes called the coupon rate) is always slightly lower than the APY whenever compounding happens more than once per year. A 4.42% nominal rate compounded daily becomes a 4.52% APY, and that 0.10% gap is real money over a five-year term.

This is the same APY vs APR distinction you see on loans, but flipped. On a loan, APR understates the true cost because it ignores compounding in your favor as a borrower. On a deposit, APY tells the truth and the nominal rate understates your gain. If you want a deeper walkthrough on the broader concept, our guide to what compound interest is covers the mechanics in detail.

The CD interest formula, explained line by line

The CD interest formula is the standard compound interest equation: A = P(1 + r/n)^(nt). Here is what each variable means in CD context.

  • A is the final amount, also called the maturity value.
  • P is the principal, the dollar amount you deposit on day one.
  • r is the nominal annual interest rate written as a decimal (4.50% becomes 0.045).
  • n is the number of compounding periods per year (365 for daily, 12 for monthly, 4 for quarterly, 1 for annual).
  • t is the term length in years (an 18-month CD is t = 1.5).

Total interest earned is simply A minus P. If your CD already quotes APY instead of a nominal rate, you can use the simpler shortcut: A = P(1 + APY)^t. APY already absorbs the compounding frequency, so you do not need n. This shortcut is why a CD maturity calculator only asks for APY, deposit, and term: those three inputs are enough.

One trap to avoid: never plug APR into the compound formula. APR on savings products usually means the simple nominal rate without compounding, and treating it as APY will overstate your earnings. When in doubt, read the disclosure box on the CD offer document and use whichever number is labeled APY.

How to calculate CD interest in 6 steps

Here is the exact process to calculate CD interest by hand or in a spreadsheet. The same six steps work for any term, any rate, and any compounding frequency.

  1. Confirm the APY and the term. Find both on the CD disclosure. Convert the APY to a decimal (4.75% becomes 0.0475) and express the term in years (9 months is 0.75).
  2. Pick the right formula. If the bank gave you APY, use A = P(1 + APY)^t. If they only gave you a nominal rate and a compounding frequency, use A = P(1 + r/n)^(nt).
  3. Plug in your principal. Use the actual deposit, not a planned future contribution. CDs almost never allow add-on deposits after opening.
  4. Compute the maturity value (A). A calculator or spreadsheet handles the exponent. In Excel, the formula is =P*(1+APY)^t.
  5. Subtract principal to get interest earned. Interest = A minus P. This is the pre-tax dollar amount the bank will pay you at maturity.
  6. Adjust for taxes and any early withdrawal risk. CD interest is taxed as ordinary income at the federal level, and possibly state level too. If there is any chance you will break the CD early, subtract the early withdrawal penalty from your projected interest to see the worst-case return.

Once you have done this once by hand, you understand why everyone uses a CD calculator for the next twenty offers they compare. The math is identical every time, only the inputs change.

Worked examples: three real CD scenarios in 2026 dollars

Numbers make the formula concrete. Here are three scenarios you can copy directly into your own planning. All examples assume daily compounding, which is the most common cadence for online banks and credit unions in 2026.

ScenarioDepositAPYTermInterest earnedMaturity value
Short-term emergency parking$5,0004.25%6 months$105.16$5,105.16
Mid-term savings goal$10,0004.50%2 years$940.45$10,940.45
Long-term safe yield$25,0004.10%5 years$5,565.83$30,565.83

Notice how the 5-year CD earns more than 5x what the 6-month CD earns, even though the APY is slightly lower. That is compounding doing its job over time, which is exactly the same dynamic explained in the Rule of 72: at 4.10% your money doubles in roughly 17.5 years if you keep rolling it. CDs do not match stock returns, but for the cash portion of a portfolio they are dramatically better than a checking account paying 0.01%.

If you are choosing between a CD and other low-risk parking spots, our savings calculator lets you model a high-yield savings account against the same deposit, and the APY calculator converts any rate into its effective yield so you can compare apples to apples.

The compounding frequency trick banks rarely explain

Compounding frequency is the cadence at which earned interest gets added back to your principal so future interest is calculated on a bigger base. Banks describe this in fine print as daily, monthly, quarterly, semi-annual, or annual compounding. The more frequent the compounding, the higher the effective APY for the same nominal rate.

Here is a $10,000 deposit at a 4.50% nominal annual rate for one year under four different compounding schedules.

Compounding frequencynEffective APYInterest after 1 year
Annual14.500%$450.00
Quarterly44.577%$457.65
Monthly124.594%$459.39
Daily3654.602%$460.25

The gap between annual and daily is only $10.25 on a $10,000 one-year CD, but it compounds dramatically on longer terms and larger deposits. On a $100,000 five-year CD, the daily-vs-annual gap is more than $530. Always check which cadence the CD uses and prefer daily compounding when the rate is equal.

Early withdrawal penalties: the math banks bury in fine print

The early withdrawal penalty (EWP) is the single biggest hidden cost of a CD. If you break the CD before maturity, the bank takes back a chunk of the interest, usually expressed as a number of months of interest. Typical EWPs in 2026 look like this.

  • Terms under 12 months: 90 days of interest.
  • Terms of 12 to 36 months: 180 days of interest.
  • Terms of 3 to 5 years: 365 days of interest.
  • Terms longer than 5 years: 540 days of interest at some banks.

The cruelest version of this rule is that some banks will dig into principal if the accrued interest is smaller than the penalty. Suppose you open a 5-year CD at 4.10% APY with a 365-day EWP and break it after 3 months. You have earned about $250 in interest on a $25,000 deposit, but the penalty is $1,025. The bank can legally hand you back $24,225 instead of your original $25,000. Read the disclosure carefully and run the worst-case math before locking in long terms.

If liquidity is a concern, you have two cleaner options. First, build a CD ladder, which staggers maturity dates so a portion of your money becomes accessible every few months. Second, hold a true emergency fund in a high-yield savings account and only CD the money you genuinely will not need. Our guide to building a 6-month emergency fund walks through the right split between liquid cash and locked savings.

Building a CD ladder: a smarter way to capture yield

A CD ladder is a strategy where you split a lump sum across several CDs with staggered maturity dates so that one rung matures every year (or every few months). The point is to keep most of your money earning long-term rates while always having a near-term maturity coming up for liquidity or rate reinvestment.

Here is a classic 5-rung ladder built with $25,000.

RungDepositTermAssumed APYInterest at maturity
1$5,0001 year4.60%$235.34
2$5,0002 years4.50%$460.13
3$5,0003 years4.40%$689.49
4$5,0004 years4.20%$894.46
5$5,0005 years4.10%$1,113.17

When the 1-year rung matures, you reinvest it into a fresh 5-year CD, which becomes your new top rung. After five years of doing this, every rung is a 5-year CD earning the highest available rate, but one rung matures every year. That is the best of both worlds: long-term yield with annual liquidity.

Laddering is also a hedge against interest rate risk. If rates rise after you open the ladder, the next maturing rung gets reinvested at the new higher rate. If rates fall, four of your five rungs are still locked in at the older, higher rates. This is conceptually similar to how dollar-cost averaging smooths investment risk, which we cover in our SIP calculator and investment calculator walkthroughs.

Mistakes that quietly cost CD savers money

The CD math itself is simple, but the surrounding decisions are where most people lose yield. Here are the five mistakes worth avoiding.

  • Confusing rate with APY. Always compare APYs across offers. A 4.55% nominal rate compounded monthly is worse than a 4.50% APY compounded daily.
  • Letting CDs auto-renew silently. Most banks default to auto-renewal at whatever rate they happen to be offering on maturity day, which is often lower than the original rate. Set a calendar reminder 14 days before maturity.
  • Ignoring the EWP before locking long terms. A 5-year CD only beats a 1-year CD if you actually hold it to maturity.
  • Forgetting taxes. CD interest is taxed as ordinary income in the year it accrues, even on multi-year CDs where you have not received the cash yet. This is called phantom income and it surprises a lot of first-time CD buyers.
  • Stretching for the highest rate at an unstable bank. Always verify the institution is FDIC-insured (or NCUA-insured for credit unions). Yield-chasing only pays if your principal is safe.

If you are weighing CDs against paying down high-interest debt instead, run the comparison through our loan interest guide and debt payoff calculator. Carrying a 22% APR credit card while holding a 4.5% CD is mathematically a losing trade.

Related savings concepts that change how you use CDs

CDs sit inside a broader cash-management toolkit. Understanding the neighbors helps you decide how much of your savings actually belongs in a CD.

  • High-yield savings. Same FDIC insurance, fully liquid, but the rate can change at any time. Better for emergency funds, worse for known goals 12+ months out.
  • Money market accounts. Similar to high-yield savings with limited check-writing. APYs are usually a hair lower than top CDs.
  • Treasury bills. Backed by the US government, exempt from state and local income tax, and frequently competitive with CD rates on terms under 1 year.
  • Brokered CDs. Sold through a brokerage, often higher yields than bank-direct CDs, but with secondary-market price risk if you sell before maturity.
  • Bond ladders. Same laddering idea, applied to Treasury or corporate bonds. Higher potential yield, but more rate risk and credit risk.

For longer-horizon money, CDs are almost never the right answer. Once your time horizon stretches past 5 years, the conversation shifts to tax-advantaged accounts. Our compound interest guide and the 401(k) calculator show why even a 4.50% CD loses to a diversified tax-advantaged portfolio over 20 years. CDs are for the cash bucket, not the growth bucket. If you also want to think about energy-cost savings as a parallel low-risk return, our partner site at greencalcs.com covers solar payback and heat pump ROI in similar detail.

How to put this into practice today

The right way to use this guide is to take one specific CD offer you are considering, write down its APY, term, compounding frequency, and EWP, and then run the numbers using the formula above. Compare the maturity value against the equivalent savings calculator output for a high-yield account, against any credit card debt you might pay down instead, and against your liquidity needs for the next 12 months. If the CD still wins after all three comparisons, lock it in.

Skip the spreadsheet and just open the CD calculator now. Plug in your deposit, APY, and term, then run the same numbers for a 1-year, 3-year, and 5-year version of the same offer so you can see exactly how much extra interest the longer terms produce. If you want more context on adjacent decisions, browse the full savings calculator hub or read about how much to save per month to reach a goal next.

Try it yourself

Run your own numbers in the free CD Calculator — instant, private, no sign-up.

Open the CD Calculator →

Frequently asked questions

How do I calculate CD interest by hand?
Use the formula A = P(1 + r/n)^(nt), where P is your deposit, r is the nominal annual rate as a decimal, n is the number of compounding periods per year, and t is the term in years. Subtract P from A to get the interest earned. If your bank quotes APY instead of a nominal rate, use the shortcut A = P(1 + APY)^t.
What is the difference between APY and the interest rate on a CD?
The interest rate is the nominal annual rate before compounding. APY (annual percentage yield) is the effective return after compounding. APY is always equal to or higher than the nominal rate. Compare CDs using APY only.
How much interest will $10,000 earn in a CD?
At 4.50% APY compounded daily, $10,000 earns roughly $460 in one year, $940 over two years, and about $2,461 over five years. The exact amount depends on the APY and compounding cadence of your specific CD.
Is CD interest taxed?
Yes. CD interest is taxed as ordinary income at the federal level in the year it accrues, even on multi-year CDs where you do not receive the cash until maturity. Most states tax it too, except where state income tax does not exist.
Is APY the same as APR for a CD?
No. APR usually describes the cost of borrowing and ignores compounding. APY describes the return on savings and includes compounding. For CDs, you always want to compare APY to APY, never APR.
What is a CD ladder and how does it work?
A CD ladder splits a lump sum across multiple CDs with staggered maturity dates, typically 1 through 5 years. As each CD matures, you reinvest it into a new long-term CD. This gives you regular liquidity while still capturing higher long-term rates.
What is a CD early withdrawal penalty?
The early withdrawal penalty is the interest the bank claws back if you break the CD before maturity. It is usually expressed as a number of months of interest, often 90 days for short CDs and 365 days or more for 5-year CDs.
Can a CD early withdrawal penalty eat into my principal?
Yes. If you break a CD before it has earned enough interest to cover the penalty, the bank can legally take the shortfall out of your principal. This is most common on long-term CDs cashed out in the first few months.
How often do CDs compound interest?
Most banks and credit unions compound CD interest daily, though some compound monthly, quarterly, or annually. Daily compounding produces the highest APY for any given nominal rate, so prefer it when offers are otherwise equal.
Are CDs better than a high-yield savings account?
CDs usually pay a slightly higher rate than savings accounts, but the money is locked. CDs win when you have a known time horizon and the extra yield outweighs the loss of liquidity. Savings accounts win for emergency funds and short-term flexibility.
Is a CD safe?
Yes. CDs at FDIC-insured banks are protected up to $250,000 per depositor per bank, and credit union CDs carry equivalent NCUA insurance. The principal is among the safest holdings in personal finance.
What happens when my CD matures?
On the maturity date, the bank either deposits the principal plus interest into a linked account or auto-renews the CD into a new term at the current rate. Set a reminder 10 to 14 days before maturity so you can choose actively instead of getting auto-renewed at a lower rate.
Can I add more money to an existing CD?
Usually no. Standard CDs only accept the opening deposit. A small number of banks offer add-on CDs that allow additional deposits, but rates on those are typically lower. For ongoing savings, a high-yield savings account is more flexible.
What is the best CD term in 2026?
The best CD term depends on the yield curve and your liquidity needs. When short and long CDs pay similar rates, 12 to 24 months gives good yield with limited lock-up. When long CDs pay noticeably more, a 5-year laddered approach captures yield while preserving annual liquidity.

Related guides

What Is Compound Interest? A Simple Explanation · How much to save per month to reach your goal: formula, examples, and shortcut · How to build a 6-month emergency fund: the complete step-by-step plan · How to Build a CD Ladder: Strategy, Steps, and a $25,000 Example

Muhammad Zohaib AmeerFounder & Personal Finance Researcher

Muhammad Zohaib Ameer is the founder of The Money Calcs. He personally builds, tests and researches every calculator and guide on the site — translating the standard financial formulas used by banks and lenders into free, plain-English tools. His focus is accuracy and clarity: helping everyday people understand mortgages, loans, savings, investing, retirement and debt without jargon, sign-ups or sales pitches.