How it works
This I Bond vs CD calculator puts those moving pieces on a comparable, after‑tax basis. You enter an I Bond composite rate, a CD yield, your tax rates, and how long you plan to hold the investment. The calculator then estimates an after‑tax I Bond rate (including the early redemption penalty when applicable), an after‑tax CD rate, and labels which option has the higher effective yield over your chosen holding period.
You supply the current I Bond composite rate as a single annual percentage. This composite rate already reflects both the fixed and inflation components published by Treasury; the calculator treats it as a simple annualized rate for your holding period.
Because I Bonds are exempt from state and local income tax but still subject to federal income tax, the calculator computes an I Bond after‑tax rate as Composite rate × (1 − Federal tax rate). It ignores the timing of when federal tax is actually paid (often at redemption) and focuses on the eventual tax impact on the interest.
I Bonds redeemed before five years lose some interest as an early redemption penalty. The official rule is that you forfeit the last three months of interest if you cash out between 12 and 59 months. The calculator approximates this by translating the forfeited interest into a reduction in your effective annual rate, based on how many months you hold the bond.
In code, we determine how many penalty months apply: if you hold less than 60 months, we use up to three months of penalty interest (capped by your actual holding period), otherwise the penalty is zero. We then reduce the I Bond after‑tax rate proportionally: Effective rate ≈ After‑tax rate × (1 − Penalty months ÷ Months held).
For CDs, we assume the rate you enter is fully taxable at both the federal and state level in a regular taxable account. To approximate the combined tax impact, the calculator applies a standard combined tax factor: CD after‑tax rate ≈ CD yield × (1 − Federal − State + Federal × State), which corresponds to multiplying by one minus your combined marginal rate.
Once we have the penalty‑adjusted I Bond effective rate and the CD after‑tax yield, the calculator compares them and returns a label indicating which option—“i-bond”, “cd”, or “equal”—has the higher estimated after‑tax yield for your holding period.
The goal is not to model every nuance of tax timing or future rate resets, but to give you a clean apples‑to‑apples comparison on a percentage‑yield basis for the time frame you care about.