Skip to main content
Financial

CD Calculator

Calculate exactly how much interest your Certificate of Deposit (CD) will earn. Free CD calculator for APY, compounding frequency, and early withdrawal.

MD Abu Hanif Mia

Engineered & Verified by MD Abu Hanif Mia • Nexus Quantitative Engineering Team (CFPB Reg Z & Standard Actuarial Conventions)

Institutional Formula & Benchmark Verification • Last Verified: 2026-11-19

Formula at a Glance

Compound Interest & Future Value Formula

Verified Formula
A=P(1+rn)nt+PMT⋅(1+rn)nt−1r/nA = P\left(1 + \frac{r}{n}\right)^{nt} + \text{PMT} \cdot \frac{\left(1 + \frac{r}{n}\right)^{nt} - 1}{r/n}

Key Formula Variables:

AFuture Value: Total accumulated balance including principal, contributions, and compounded gains
PInitial Principal: Starting lump-sum deposit or investment
rAnnual Return Rate: Nominal annual rate in decimal form (e.g. 8% = 0.08)
nCompounding Periods/Year: Frequency interest compounds per year (12 monthly, 1 annually)
tTime Horizon (Years): Total number of years the capital stays invested
Calculation Methodology: 1. Divide nominal annual rate r by compounding periods n. 2. Raise (1 + r/n) to the power nt. 3. Multiply by initial deposit P and add the compounded series of recurring contributions PMT.
Try a 1-Click Scenario:
Continue Your Calculation Workflow

What to Calculate After CD Calculator

The Math Behind It

Calculations for this tool are based on the standard Compound Interest & Future Value Formula:

A=P(1+rn)nt+PMT⋅(1+rn)nt−1r/nA = P\left(1 + \frac{r}{n}\right)^{nt} + \text{PMT} \cdot \frac{\left(1 + \frac{r}{n}\right)^{nt} - 1}{r/n}
  • A = Future Value (Total accumulated balance including principal, contributions, and compounded gains)
  • P = Initial Principal (Starting lump-sum deposit or investment)
  • r = Annual Return Rate (Nominal annual rate in decimal form (e.g. 8% = 0.08))
  • n = Compounding Periods/Year (Frequency interest compounds per year (12 monthly, 1 annually))
  • t = Time Horizon (Years) (Total number of years the capital stays invested)

1. Divide nominal annual rate r by compounding periods n. 2. Raise (1 + r/n) to the power nt. 3. Multiply by initial deposit P and add the compounded series of recurring contributions PMT.

Quick Reference Matrix

High-Yield Savings & CD Interest Matrix (4.5% APY, Monthly Compounding)

Interactive Presets

Guaranteed cash interest earned in Year 1 plus ending balances after 1, 3, and 5 years at 4.5% APY.

High-Yield Savings & CD Interest Matrix (4.5% APY, Monthly Compounding)
Deposit BalanceYear 1 Interest1-Year Balance3-Year Balance5-Year BalanceAction
$5,000$230$5,230$5,721$6,259
$10,000$459$10,459$11,442$12,518
$25,000$1,148$26,148$28,606$31,295
$50,000$2,297$52,297$57,212$62,590
$100,000$4,594$104,594$114,425$125,180

Click any row to test these numbers in the interactive calculator above.

The Ultimate Guide to Certificates of Deposit (CDs)

When the stock market is volatile, investors flock to safe-haven assets. One of the absolute safest, most reliable ways to grow your money is through a Certificate of Deposit (CD).

Unlike the stock market, where returns are unpredictable, a CD offers a guaranteed, fixed return on your investment.

Our Free CD Calculator is designed to show you exactly how much money you will earn by the time your CD matures, helping you compare rates and terms across different banks.

What is a Certificate of Deposit (CD)?

A Certificate of Deposit is a specialized savings account offered by banks and credit unions.

When you open a CD, you agree to deposit a lump sum of money and leave it untouched for a specific period of time (known as the "term"). In exchange for giving up access to your money, the bank pays you a fixed interest rate that is typically much higher than a standard savings account.

Because the interest rate is locked in the day you open the account, you are completely shielded from interest rate drops. If the federal reserve cuts rates, your CD continues to pay the high rate you secured.

How to Calculate CD Interest

To calculate the final value of a CD, you need four key pieces of information:

  1. Initial Deposit (Principal): The amount of money you are depositing on day one.
  2. Term Length: How long the money will be locked away (usually ranging from 1 month to 5 years).
  3. Interest Rate (APY): The Annual Percentage Yield the bank is paying you.
  4. Compounding Frequency: How often the bank pays you interest (daily, monthly, or annually).

Because CDs use compound interest (where you earn interest on your interest), calculating the exact return manually is complex. Our CD Calculator uses the standard compound interest formula:

A = P (1 + r/n)^(nt)

  • A = Total amount at maturity
  • P = Principal amount
  • r = Annual interest rate (decimal)
  • n = Number of times interest is compounded per year
  • t = Time in years

For example, if you put $10,000 into a 5-year CD with a 4% APY that compounds monthly, our calculator instantly shows that you will earn $2,209.96 in pure interest, for a final balance of $12,209.96.

CD vs. High-Yield Savings Account (HYSA)

Many people struggle to choose between a CD and a High-Yield Savings Account (HYSA). Here is how they compare:

High-Yield Savings Account (HYSA)

  • Pros: Total liquidity. You can deposit and withdraw money at any time without penalty.
  • Cons: Variable interest rates. The bank can (and will) lower your interest rate at any time without warning if the economic environment changes.

Certificate of Deposit (CD)

  • Pros: Fixed, guaranteed returns. Even if the economy crashes, your interest rate is locked in by a legal contract. CDs generally offer higher rates than HYSAs.
  • Cons: No liquidity. You cannot withdraw the money before the term ends without paying a harsh penalty.

The CD Ladder Strategy

If you want the high interest rates of a 5-year CD, but you don't want to lock all your money away for 5 years, financial advisors recommend building a CD Ladder.

Instead of putting $50,000 into one 5-year CD, you split the money into five $10,000 chunks:

  1. Buy a 1-year CD
  2. Buy a 2-year CD
  3. Buy a 3-year CD
  4. Buy a 4-year CD
  5. Buy a 5-year CD

When the 1-year CD matures, you take that money (plus the interest) and buy a new 5-year CD. You repeat this every year.

Eventually, you will own a portfolio consisting entirely of high-yielding 5-year CDs, but one of them will mature and become liquid every single year!

Warning: Early Withdrawal Penalties

The golden rule of CDs is simple: Do not deposit money you might need tomorrow.

If you experience an emergency and are forced to withdraw your money before the "Maturity Date", the bank will charge an Early Withdrawal Penalty.

This penalty is usually calculated by taking away several months of interest. For example, the penalty for a 1-year CD might be "90 days of interest". If you withdraw the money after only 60 days, the bank will actually dip into your initial principal to cover the penalty, meaning you will walk away with less money than you started with.

Frequently Asked Questions

What is the mathematical formula used by the CD Calculator?
The CD Calculator uses the Compound Interest & Future Value Formula: A = P(1 + r/n)^(nt) + PMT × [((1 + r/n)^(nt) - 1) / (r/n)]. Where: A = Future Value (Total accumulated balance including principal, contributions, and compounded gains); P = Initial Principal (Starting lump-sum deposit or investment); r = Annual Return Rate (Nominal annual rate in decimal form (e.g. 8% = 0.08)); n = Compounding Periods/Year (Frequency interest compounds per year (12 monthly, 1 annually)); t = Time Horizon (Years) (Total number of years the capital stays invested). 1. Divide nominal annual rate r by compounding periods n. 2. Raise (1 + r/n) to the power nt. 3. Multiply by initial deposit P and add the compounded series of recurring contributions PMT.
What is a Certificate of Deposit (CD)?
A Certificate of Deposit (CD) is a low-risk savings product offered by banks and credit unions that pays a fixed interest rate for a specific, predetermined period of time (the term).
How does a CD calculator work?
Our CD calculator takes your initial deposit amount, the annual percentage yield (APY), the length of the term, and the compounding frequency to calculate exactly how much total interest you will earn by the maturity date.
Is a CD better than a high-yield savings account?
A CD usually offers a higher interest rate than a savings account because you are locking your money away for a fixed term. However, savings accounts offer liquidity (you can withdraw anytime), whereas CDs charge an early withdrawal penalty.
What happens if I withdraw my CD early?
If you need to access your money before the maturity date, banks will charge an early withdrawal penalty. This is usually calculated as a certain number of months' worth of interest (e.g., 3 months of interest for a 1-year CD).
Are CDs safe from stock market crashes?
Yes. CDs are one of the safest investments in the world. They are completely immune to stock market volatility, and in the US, they are FDIC-insured up to $250,000, meaning you cannot lose your principal.

Community Discussions & Real Scenarios

Ask specific questions, compare edge cases, and get advice from people calculating the same scenario.