HSA Contribution Calculator

    Estimate the federal, FICA, and state tax savings from contributing to a Health Savings Account (HSA) with this free calculator. Built for US workers enrolled in an HDHP, it applies the 2026 IRS limits ($4,400 self-only / $8,750 family, plus $1,000 catch-up at age 55+) and shows your real out-of-pocket cost after the triple tax advantage. If you contribute through payroll, we also factor in the 7.65% Social Security and Medicare savings — a benefit you don't get when contributing directly. Add your state marginal rate for a complete picture, and instantly see how much each dollar in your HSA actually costs you.

    How This Calculation Works

    We start with the 2026 IRS contribution limit based on your HDHP coverage type ($4,400 self-only or $8,750 family), adding the $1,000 catch-up if you're 55 or older. Your eligible contribution (capped at the limit) is multiplied by your marginal federal tax bracket — derived from your gross income minus the standard deduction — to estimate federal income tax savings. If you contribute through your employer's payroll/cafeteria plan, we add the 7.65% FICA savings, which is unavailable on direct contributions deducted on your tax return. Finally, we apply your state marginal rate. The result is the true after-tax cost of every dollar you put into your HSA — typically 25–40% less than the gross amount.

    HDHP Eligibility Rules and 2026 Thresholds

    To contribute to an HSA, you must be covered by a qualifying high-deductible health plan (HDHP) and have no other disqualifying coverage — including a general-purpose FSA, being claimed as a dependent, or being enrolled in Medicare. For 2026, the IRS defines an HDHP as a plan with a minimum annual deductible of $1,700 for self-only coverage or $3,400 for family coverage, and a maximum out-of-pocket limit (deductibles, copays, and coinsurance combined) of $8,650 for self-only or $17,300 for family plans. If your plan's deductible or out-of-pocket cap falls outside these bands, it doesn't qualify as an HDHP for HSA purposes, even if your insurer calls it "high-deductible."

    A few coverage types don't disqualify you: dental, vision, disability, and long-term care insurance can run alongside an HDHP without affecting HSA eligibility. Preventive care must also be covered by the plan before the deductible is met, per IRS Notice guidance, without counting against your deductible.

    The Triple Tax Advantage, Explained

    No other account in the US tax code offers three layers of tax benefit the way an HSA does. First, contributions reduce your taxable income — either pre-tax through payroll or as an above-the-line deduction if you contribute directly. Second, any interest, dividends, or capital gains earned inside the account are never taxed, no matter how long the money grows. Third, withdrawals used for qualified medical expenses come out completely tax-free at any age. Compare that to a 401(k) or Traditional IRA, where withdrawals are taxed as ordinary income, or a Roth IRA, where contributions aren't deductible — the HSA is the only vehicle that wins on all three fronts simultaneously.

    Payroll Contributions vs. Direct Contributions

    How you contribute changes how much you actually save. Contributions made through an employer's Section 125 cafeteria plan are deducted from your paycheck before federal income tax, state income tax (in most states), and FICA payroll taxes (Social Security 6.2% and Medicare 1.45%, totaling 7.65%) are calculated. If you instead write a check or transfer money directly to your HSA provider, you can still deduct the contribution on Schedule 1 of Form 1040, but that deduction only offsets income tax — FICA has already been withheld from your paycheck and can't be recovered. Over a working career, routing contributions through payroll instead of after-tax transfers can save several hundred dollars a year for the median earner, simply from avoiding the FICA bite.

    Last-Month Rule, Testing Period, and Partial-Year Proration

    If you're not HDHP-eligible for the entire calendar year, your contribution limit is normally prorated based on the number of months you were eligible on the first day of that month. For example, someone with self-only HDHP coverage for only 6 months of 2026 would generally be limited to roughly half of the $4,400 annual maximum, not the full amount.

    The "last-month rule" is an exception: if you become HDHP-eligible by December 1, you can contribute the full annual limit for the year, regardless of how many months you were actually covered. The catch is the testing period — you must remain HDHP-eligible for the entire following calendar year (through December 31). If you lose eligibility early (other than due to death or disability), the extra amount you contributed becomes taxable income plus a 10% additional tax in the year eligibility was lost.

    Family Coverage and Married-Couple Coordination

    When you have family HDHP coverage, the full $8,750 family limit applies to the household, and spouses must divide it between their own HSAs however they agree — the IRS doesn't force an even split. If both spouses are 55 or older, each spouse can add their own $1,000 catch-up contribution, but only to an HSA in their own name; catch-up amounts cannot be combined into one account. If one spouse has self-only coverage and the other has family coverage that also covers the first spouse, the family limit generally governs the household. Coordinating contributions early in the year avoids one spouse over-contributing while the other has room to spare.

    HSA vs. FSA: Key Differences

    • Ownership: HSAs are owned by you and stay with you when you change jobs; FSAs belong to your employer's plan.
    • Rollover: HSA balances roll over indefinitely with no "use it or lose it" deadline; most FSAs cap carryover at a few hundred dollars or require spending by March 15.
    • Eligibility: HSAs require HDHP enrollment; a general-purpose FSA is available with almost any employer health plan (but disqualifies you from also contributing to an HSA).
    • Investing: HSA balances above a cash threshold can typically be invested; FSA balances cannot.
    • Portability: Leaving a job means forfeiting unused FSA funds in most cases; HSA money is yours permanently.

    Investing Your HSA for Retirement

    Because HSA funds never expire, many savers treat the account less like a spending wallet and more like a stealth retirement account. Once your cash balance clears the provider's investment threshold (often $1,000–$2,000), you can typically invest the remainder in mutual funds or ETFs. After age 65, HSA withdrawals for non-medical reasons are taxed like a Traditional IRA (ordinary income, no penalty), while medical withdrawals remain completely tax-free at any age — including reimbursement for decades-old receipts you saved. Many financial planners recommend paying current medical bills out of pocket when affordable, letting the HSA balance compound for a tax-free income stream in retirement.

    Qualified Expenses, Non-Qualified Withdrawals, and Medicare

    Qualified medical expenses include most doctor visits, prescriptions, dental and vision care, mental health services, and even certain over-the-counter items and menstrual products. Withdrawals for non-qualified expenses before age 65 trigger both ordinary income tax and a steep 20% additional penalty on top — a much harsher rule than early 401(k) withdrawals. Once you enroll in any part of Medicare, you're no longer allowed to make new HSA contributions, even though you can keep using existing HSA funds tax-free for qualified expenses (including Medicare premiums, though not Medigap). Many people who delay Social Security also delay Medicare Part A to keep contributing longer, since Part A enrollment is often automatically triggered once Social Security benefits begin.

    State Tax Quirks: California and New Jersey

    While HSAs are tax-advantaged at the federal level in every state, California and New Jersey do not conform to federal HSA rules for state income tax purposes. Residents of these two states must pay state income tax on HSA contributions (no state deduction) and on any investment growth inside the account each year, similar to a regular taxable brokerage account. Qualified withdrawals are still state-tax-free once the underlying contributions and growth have already been taxed. If you live in California or New Jersey, your HSA calculator results should generally exclude a "state savings" line for contributions, and you may want to track cost-basis carefully for state tax reporting.

    Frequently Asked Questions

    Related Calculators

    FiscalData.us provides estimates for informational purposes only and is not financial or tax advice.