How the calculators work
Last reviewed November 15, 2026
Every calculation runs on your device. These are the formulas, in plain arithmetic, so you can check any result by hand.
Balance at maturity
With an APY: balance = deposit × (1 + APY)t, where t is the term in years (months ÷ 12, or days ÷ 365). With a stated rate r compounded n times a year: balance = deposit × (1 + r ÷ n)n × t. Daily compounding uses n = 365. Simple interest is deposit × (1 + r × t). Interest is assumed to stay in the CD.
APY
APY = (1 + r ÷ n)n − 1, the formula in Regulation DD, Appendix A, for accounts with a one-year compounding cycle. The reverse is r = n × ((1 + APY)1/n − 1). Monthly deposits in the APY calculator earn the monthly equivalent of the APY, (1 + APY)1/12 − 1, and are added at the end of each month.
Early withdrawal penalty
Penalty = deposit × stated rate × penalty months ÷ 12, simple interest at the CD's rate, which is how most banks write it. Interest earned so far uses the APY for the months held. The switch comparison grows what you'd walk away with at the new APY for the months left, and the break-even is the APY at which that equals keeping the CD. If you leave the penalty blank, we use 1, 3, 6 or 12 months depending on the term; your bank's agreement may differ.
CD ladder
The total is split evenly across the rungs. Each rung earns its own APY until it matures, then renews into the longest term at the longest rung's rate until the end of the comparison period. Rates are assumed not to change. Values at the end include accrued interest on CDs that haven't matured yet.
CD vs savings or money market
The CD earns its APY for the term. The other account earns its current APY until the month you choose, then the later APY, both compounded monthly. The average shown is the single APY that would give the same result.
Tax
Tax = interest × (federal bracket + state rate). The Treasury equivalent is the CD's APY × (1 − federal − state) ÷ (1 − federal), since Treasury interest is exempt from state tax. We don't include the 3.8% net investment income tax or local taxes.
How we test it
Automated tests check the engine against hand-worked values before every release: APY conversions, maturity balances for each compounding method, penalties that cut into principal, and ladder renewals. A failing test stops the site from building.
Rate data
National averages come from the FDIC's monthly National Rates and Rate Caps, currently the October 2026 release. We update the table when a new month is published. We don't show individual bank rates.
Spot an error? Email hello@cdcalculator.live with your inputs.