HYSA vs CD: break-even calculator
Side-by-side after-tax return on a high-yield savings account versus a certificate of deposit, including the early-withdrawal penalty math and the HYSA rate-drop scenario.
Last updated:
Your savings amount and tax profile
Variable APY. Avg 4.50% over the 18 months .
Fixed 4.85% APY for the full 18 months. Locked.
The CD outperforms the HYSA by $76 after tax over the 18-month term (0.38% of principal). That gap assumes the HYSA rate holds steady. Winner on yield alone: CD.
The early-withdrawal trap: if you pull the CD before maturity, the typical penalty is ≈ 6 months of interest on the principal, or roughly $344 after tax at this rate. That is more than the gross gain in many cases — if you might need the money mid-term, the HYSA wins regardless of the yield differential.
The choice between a high-yield savings account and a certificate of deposit is one of the most common cash-allocation decisions a US consumer faces, and it is mostly mismodeled in popular advice. The standard framing presents it as "HYSA = liquid + lower APY" vs "CD = locked + higher APY", and then suggests the consumer pick based on whether they expect to need the money during the term. The framing is correct in outline but obscures the two factors that actually drive the after-tax decision: the trajectory of HYSA rates over the CD term (which you do not know with certainty but can estimate), and the magnitude of the early-withdrawal penalty if your liquidity assumption turns out to be wrong.
What the calculator is computing
Compound interest at each product\'s APY for the specified term length, then federal and state tax on the gross interest at your specified brackets, then a side-by-side comparison. The HYSA APY is averaged over the term using a linear drop assumption: if you expect a 1.00 percentage point drop, the HYSA earns the current APY at the start of the term and the current minus 1.00 at the end, with the midpoint as the effective averaged rate. The CD APY is fixed for the entire term by definition.
The early-withdrawal cost is shown separately because it is the dominant consideration when the consumer might need the money mid-term. The typical CD early-withdrawal penalty is several months of interest on the principal, calculated at the CD\'s APY. For a $20,000 18-month CD at 4.85% APY with a 6-month penalty, breaking the CD costs about $485 after tax — which is more than the after-tax yield advantage the CD offers over the HYSA in many scenarios. The break-even on whether the CD is worth the lock is therefore not just "what is the rate differential" but "what is the rate differential minus the probability-weighted penalty cost".
When the CD wins decisively
Two conditions make the CD a clear winner. First, when the consumer has high confidence that the funds will not be needed during the term — a known purchase date for a house, a planned college payment, a deferred compensation lump sum that needs to sit until a fixed date. Second, when the rate environment is expected to fall meaningfully over the term — the CD locks today\'s rate, while the HYSA will follow the Federal Reserve down. In both cases the locked-rate guarantee captures value that the HYSA cannot.
A common scenario in mid-2026 is a consumer with cash from a home sale that will fund the next down payment 12 to 24 months out. The CD rate at, say, 4.85% for 18 months is locked the day they open it; the HYSA at 4.50% with an expected 0.75 percentage point drop over the term averages to about 4.13%. The CD\'s 0.72 percentage point after-rate-drop advantage compounds to a few hundred dollars on a $20,000 balance over 18 months — small in absolute terms, but a guaranteed step up without taking on any additional risk.
When the HYSA wins despite the lower yield
The HYSA wins whenever the early-withdrawal penalty is more likely than the yield gain. For a consumer with an undefined liquidity timeline — money sitting in savings for a target down payment that might happen in 9 months or in 30 months — the option value of being able to pull funds without penalty is worth more than the rate differential. The CD only outperforms if the consumer actually holds to maturity; any meaningful probability of early withdrawal flips the math toward the HYSA. The calculator makes the early-withdrawal cost visible so you can compare it to the after-tax yield advantage and judge which side of the trade-off matters more for your specific case.
The HYSA also wins in a sustained rate-rising environment, because the variable APY follows the Fed up while the CD is locked at the lower starting rate. For consumers expecting rate hikes, locking a CD sacrifices upside; the HYSA captures it. The "expected HYSA APY drop" input can take a negative-equivalent interpretation if you expect rates to rise: enter a small drop (say 0.25) to model a scenario where the HYSA holds roughly steady, and remember that any rate rise will tilt further toward the HYSA than the calculator shows.
Why tax brackets matter
Both HYSA and CD interest is taxed as ordinary income at federal, state, and local levels, so the calculator applies a combined tax rate to both products equally. The reason to enter your specific brackets is that the absolute dollar amount of after-tax interest depends on them, and the relative ranking does not change (HYSA wins or CD wins on the same threshold regardless of bracket). The tax treatment becomes a decision driver when comparing either product to Treasury bills, which are exempt from state and local tax — a comparison this calculator does not run but the where-your-dollars-earn guide covers in detail.
A consumer in a high state-tax state (California 13.3% top marginal, New York 10.9% top marginal) comparing a 4.50% HYSA against a 4.40% T-bill ends up choosing the T-bill on after-tax yield despite the lower nominal rate, because the state-tax exemption makes up the gap. A consumer in a no-income-tax state (Texas, Florida, Tennessee, etc.) compares on nominal yield alone. The HYSA-vs-CD calculator assumes both products are bank deposits subject to identical tax treatment.
Frequently asked
Why does the calculator default to a CD APY higher than the HYSA APY?
Because in a typical rate environment, certificates of deposit pay a small premium over high-yield savings accounts at the same bank. The bank receives certainty about the deposit term in exchange and can match it against longer-duration assets, so it shares some of that value with the depositor. In an inverted-yield-curve environment the premium can be larger; in a flat-curve environment it can be near zero. The defaults assume a typical mid-2026 spread of roughly 25 to 50 basis points between top-tier HYSA and 1-to-2-year CD offers.
What does "expected HYSA APY drop" actually model?
It is a linear straight-line decay from the current HYSA APY to a lower rate at the end of the term. If you set it to 0, the HYSA holds its current rate for the whole term — which is unrealistic across multi-year horizons, because variable rates always reset with the Federal Reserve. If you set it to 1.00, the HYSA APY ends the term 1.00 percentage point lower than today, and the calculator uses the midpoint as the effective averaged APY. For a quick rule of thumb: if you think the Fed is in a cutting cycle, expect HYSA APYs to fall over your CD term and set this above zero.
Is the early-withdrawal penalty really that punishing?
Yes, on shorter CDs and any time you exit early in the term. The typical penalty for breaking a CD is 3 months of interest on the principal for terms under a year, 6 months for 1-to-3-year CDs, and up to 12 months for 5-year CDs. If you break the CD in the first quarter of the term, the penalty can be larger than the interest you have earned, so it comes out of principal — you literally end up with less than you started. The calculator models the typical penalty against current CD APY so you can see the dollar cost relative to the yield differential.
Does the calculator handle Treasury bills?
Not directly. T-bills behave similarly to a CD in that the yield is locked at purchase, but they have two structural differences this calculator does not model: state and local tax exemption (which can swing the after-tax winner in high-tax states like California or New York), and the secondary-market sale option that avoids the rigid early-withdrawal penalty structure CDs impose. For T-bill comparisons specifically, see the worked example in the where-your-dollars-earn guide.
What is missing from this calculator?
Three known limitations. First, FDIC insurance treatment is identical for HYSA and CD at any bank, so the calculator does not distinguish — but balances above $250,000 at a single bank are not fully insured and should be split or routed to Treasuries. Second, the calculator does not model brokered CDs, which trade on a secondary market and behave somewhat differently from bank-issued CDs at maturity. Third, the calculator assumes you are comparing the same dollar amount across both products at the same bank; comparing across banks with different APYs is just two separate runs of the same calculator.