How to use the cd calculator
- Enter your initial deposit amount in dollars.
- Type the annual interest rate offered by the bank as a percentage.
- Set the term length in months (for example, 12 for a one-year CD).
- Choose the compounding frequency: daily, monthly, quarterly or annually.
- Optionally enter an early withdrawal penalty in months of interest and the month you would withdraw to see what you would get back.
How the certificate of deposit formula works
A certificate of deposit grows according to the standard compounding formula. The maturity value A equals P multiplied by (1 + r/n) raised to the power of n times t, where P is the principal, r is the annual rate as a decimal, n is the number of compounding periods per year and t is the time in years.
For example, a $10,000 deposit at 5 percent annual interest compounded monthly for 12 months uses n = 12 and t = 1. The calculation is 10000 x (1 + 0.05/12)^12 = 10511.62. The total interest earned is $511.62.
The Annual Percentage Yield (APY) shows the effective yearly return accounting for compounding. It is calculated as (1 + r/n)^n - 1. For the same 5 percent rate compounded monthly, the APY is (1 + 0.05/12)^12 - 1 = 0.05116, or 5.116 percent. This cd calculator performs both computations automatically.
Compounding frequency comparison
More frequent compounding produces slightly higher returns because interest begins earning interest sooner. Here is how a $10,000 deposit at 5.00 percent for exactly one year compares across frequencies:
| Compounding | n (periods/year) | Maturity value | Interest earned | APY |
|---|---|---|---|---|
| Annually | 1 | $10,500.00 | $500.00 | 5.000% |
| Quarterly | 4 | $10,509.45 | $509.45 | 5.095% |
| Monthly | 12 | $10,511.62 | $511.62 | 5.116% |
| Daily | 365 | $10,512.67 | $512.67 | 5.127% |
The difference between annual and daily compounding on this example is about $12.67. While that seems small, it scales proportionally with larger deposits and longer terms.
Understanding early withdrawal penalties
Banks charge a penalty if you withdraw before maturity, usually worded as a number of months of interest, for example 3 months on a CD of a year or less and 6 to 12 months on longer ones. Actual amounts vary by bank, so read your account agreement.
This certificate of deposit calculator models the penalty as that many months of simple interest on your deposit at the stated rate, and takes it from the balance you have built up at the month you choose to withdraw. Withdraw early enough and the penalty can exceed the interest earned, in which case you get back less than you deposited. The result then says so.
If you may need the money, a CD ladder of several maturities avoids locking everything into one long term.
CDs compared to other fixed-income options
Certificates of deposit offer guaranteed returns backed by FDIC insurance up to $250,000 per depositor per institution. Unlike stocks or bonds, the interest rate is locked in when you open the account.
When comparing CDs to other tools, note that a savings calculator assumes variable rates and ongoing deposits, whereas a CD has a fixed rate and a single lump-sum deposit. If you are evaluating housing costs rather than savings, a mortgage calculator handles amortized loan payments instead of deposit growth.
For long-term planning, pairing a cd calculator with an inflation calculator helps you determine whether your real purchasing power actually increases after accounting for rising prices.
Common mistakes when calculating CD returns
One frequent error is confusing the nominal interest rate with the APY. Banks advertise both, but the APY is always higher when compounding occurs more than once per year. Always compare accounts using APY for an apples-to-apples evaluation.
Another mistake is forgetting that the term must be converted to years in the formula. A 18-month CD uses t = 1.5, not t = 18. Entering the wrong time value will drastically overstate or understate your returns.
Finally, some people assume interest compounds continuously. Standard CDs use discrete compounding (daily at most). Continuous compounding uses the formula A = P x e^(rt), which yields slightly more than daily compounding but is rarely used in consumer banking.
Method and sources
Worked example: $10,000 at 5% for 12 months, compounded monthly, ends at the maturity value shown above. If you cash out at month 6 and the penalty is 3 months of interest, the balance at withdrawal is $10,252.62, the penalty is $125.00 (3 x $10,000 x 5% / 12) and you receive $10,127.62.
Method: maturity value = deposit x (1 + rate / n)^(n x years). The early-withdrawal penalty is modelled as N months of simple interest on the deposit at the stated rate, which is how most banks word it; your account agreement may instead use the interest earned, a flat fee or a different base, so check it. Not financial advice.
Worked examples
| Example | Input | Result |
|---|---|---|
| 1-year CD, monthly compounding | Initial deposit ($): 10000; Annual interest rate (%): 5; Term (months): 12; Compounding frequency: monthly; Early withdrawal penalty (months of interest): 0 | Maturity value: $10,511.62; Total interest: $511.62; APY: 5.116% |
| 5-year CD, daily compounding | Initial deposit ($): 25000; Annual interest rate (%): 4.5; Term (months): 60; Compounding frequency: daily; Early withdrawal penalty (months of interest): 0 | Maturity value: $31,307.63; Total interest: $6,307.63; APY: 4.602% |
| 6-month CD with early withdrawal | Initial deposit ($): 5000; Annual interest rate (%): 5.25; Term (months): 6; Compounding frequency: monthly; Early withdrawal penalty (months of interest): 3 | Maturity value: $5,132.69; Total interest: $132.69; APY: 5.378%; Balance at withdrawal: $5,132.69; Penalty for early withdrawal: $65.63; Value if withdrawn early: $5,067.07; Net interest after penalty: $67.07 |
| Jumbo CD, quarterly compounding | Initial deposit ($): 100000; Annual interest rate (%): 4.75; Term (months): 24; Compounding frequency: quarterly; Early withdrawal penalty (months of interest): 0 | Maturity value: $109,904.36; Total interest: $9,904.36; APY: 4.835% |
FAQ
What is a CD calculator?
A cd calculator estimates the maturity value, total interest and APY of a certificate of deposit based on your deposit amount, interest rate, term length and compounding frequency.
How is APY different from the interest rate on a CD?
The stated interest rate is the nominal annual rate before compounding. APY (Annual Percentage Yield) reflects the actual return you earn over one year after compounding is applied. APY is always equal to or higher than the nominal rate.
Does compounding frequency matter much?
It matters more with larger deposits and longer terms. Daily compounding yields slightly more than monthly, which yields more than quarterly or annual. On a $10,000 one-year CD at 5 percent, the difference between annual and daily compounding is roughly $12.67.
What happens if I withdraw from a CD early?
Most banks charge an early withdrawal penalty, often expressed as several months of interest. This tool lets you enter a penalty in months to estimate how it reduces your final payout.
Are CD earnings taxable?
Yes. Interest earned on a certificate of deposit is generally taxed as ordinary income in the year it is credited, even if you do not withdraw it until maturity.
Is my CD deposit insured?
In the United States, CDs at FDIC-insured banks are protected up to $250,000 per depositor, per ownership category, per institution. Credit union share certificates have similar coverage through the NCUA.
How is the early withdrawal penalty calculated here?
As a number of months of simple interest on your deposit at the stated rate, taken from the balance at the month you withdraw. If that is more than the interest earned so far, the penalty comes out of principal and the result row says so.