Your immediate tax savings from HSA contributions are primarily based on your marginal federal income tax rate, state income tax rate (if applicable), and FICA (Social Security and Medicare) taxes. The calculation is an estimate of the taxes you avoid paying on the money you contribute:
Estimated Tax Savings = (Contributions × Federal Tax Rate) + (Contributions × State Tax Rate) + (Contributions × FICA Tax Rate)
This calculation provides an estimate of the upfront tax savings. The tax-free growth and withdrawals offer additional long-term benefits not included in this immediate calculation.