Enter your coverage type, what you and your employer plan to put in, and your tax rates. The calculator checks your 2027 HSA limit and estimates the income and payroll tax you keep.
It also shows the effective cost of every $100 you put in, which is a quick way to see how much the account really gives back. Free, private and instant: nothing you type leaves your browser.

How the HSA Tax Savings Calculator works
The calculator first sets your 2027 limit: $4,500 for self-only coverage or $9,000 for family coverage, plus a $1,000 catch-up if you are 55 or older (IRS Rev. Proc. 2026-24 and Publication 969). It subtracts any employer contribution, because employer money counts toward the same limit. Your contribution is capped at the room left.
Tax saved = contribution x (federal bracket + state rate) + contribution x 7.65% when you contribute through payroll. The 7.65% is the employee share of Social Security and Medicare tax, which you skip only on contributions made through an employer cafeteria plan.
Figures as of November 2026.
Worked example
Here is what the calculator shows with its starting numbers: self-only coverage, a $500 employer contribution and $4,000 from you through payroll.
| Input | Value |
|---|---|
| Coverage type (1 = self-only, 2 = family) | 1 |
| Age 55 or older by year end? (1 = yes, 0 = no) | 0 |
| Employer contribution for 2027 | $500 |
| Amount you plan to contribute | $4,000 |
| Your federal income tax bracket | 22 % |
| State income tax rate (0 if your state taxes HSA money) | 5 % |
| Contributing through payroll? (1 = yes, 0 = no) | 1 |
Estimated tax saved in 2027: $1,386
| Result | Value |
|---|---|
| 2027 limit for your coverage | $4,500 |
| Room left after employer money | $4,000 |
| Contribution counted | $4,000 |
| Federal and state income tax saved | $1,080 |
| Social Security and Medicare tax saved | $306 |
| Effective cost of each $100 you put in | $65.35 |
What the example shows
With a 22% federal bracket and a 5% state rate, the $4,000 contribution saves $1,080 in income tax. Because it goes in through payroll, it also skips $306 of Social Security and Medicare tax, for $1,386 in total. Put another way, each $100 that lands in the account costs about $65.35 of take-home pay.
The employer’s $500 plus the $4,000 equals the full $4,500 self-only limit for 2027, so this household has no room left to add more. If the same $4,000 went in directly from a bank account instead of through payroll, the calculator shows $1,080 saved, because the payroll tax break is lost.
What each input means
- Coverage type: type 1 for self-only HDHP coverage or 2 for family coverage. Family means the plan covers at least one other person.
- Age 55 or older: type 1 if you turn 55 by the end of 2027. That adds the $1,000 catch-up to your own limit.
- Employer contribution: money your employer puts in for 2027, including any wellness rewards paid into the HSA. It counts toward your limit.
- Amount you plan to contribute: what you expect to put in for the 2027 tax year.
- Federal income tax bracket: your top marginal federal rate, such as 12%, 22% or 24%.
- State income tax rate: your state rate. Enter 0 if you live in a state with no income tax or one that does not allow the HSA deduction.
- Contributing through payroll: type 1 if the money comes out of your paycheck before tax, 0 if you contribute on your own and deduct it on your return.
How to use the HSA Tax Savings Calculator step by step
- Coverage type: type your own figure.
- Age 55 or older: type your own figure.
- Employer contribution: type your own figure.
- Amount you plan to contribute: type your own figure.
- Federal income tax bracket: type your own figure.
- State income tax rate: type your own figure.
- Contributing through payroll: type your own figure.
- Read the headline result first, then the detail lines under it to see what drives the number.
- Change one input at a time to see which assumption matters most, and write down the result you plan to act on.
Four more worked examples
These runs use the calculator’s own formulas and 2027 limits. Compare the rows to see which input moves the answer.
| Inputs | 2027 limit | Room after employer money | Counted | Estimated tax saved |
|---|---|---|---|---|
| Family, 55 or older, 24% federal, 4% state, $1,000 employer, $6,000 payroll | $10,000 | $9,000 | $6,000 | $2,139 |
| Same inputs, contributed on your own | $10,000 | $9,000 | $6,000 | $1,680 |
| Self-only, 12% federal, no state tax, $2,000 payroll | $4,500 | $4,500 | $2,000 | $393 |
| Self-only, 22% federal, 5% state, $1,500 employer, $4,000 planned | $4,500 | $3,000 | $3,000 | $1,040 |
The first two rows differ only in the payroll switch: the same $6,000 saves $2,139 through payroll and $1,680 on your own, a difference of $459, which is 7.65% of $6,000. The third row shows a low bracket: the income tax layer is small, but the payroll layer still adds a large share. The fourth row shows the limit at work: the planned $4,000 is trimmed to $3,000 because the employer already used $1,500 of the $4,500 limit.
Reading the effective cost line
The result “effective cost of each $100 you put in” is $100 minus the tax saved per $100. If the line shows $65.35, each $100 you move into the HSA reduces your take-home pay by about $65.35 and puts the full $100 in the account. It is a quick way to compare contributing through payroll, contributing on your own and not contributing at all. Remember it is an estimate: your real bracket can change if the deduction moves you across a bracket line, and your state may treat the deduction differently.
What the calculator leaves out
- Investment growth. It shows tax saved on contributions only.
- Your plan’s deductible and premiums. A tax break is only part of the cost of a high-deductible plan. Use the health plan comparison calculator to compare totals.
- Phaseouts and credits. Other tax rules can change your real bracket.
- Partial-year eligibility. If you were eligible for only part of the year, your limit can be lower, as described in the 2027 limits guide.
- Excess contributions. If you enter more than the room left, the tool counts only the room and tells you that the rest would be an excess contribution.
When to run it again
Run the calculator at open enrollment, after a raise or a change of bracket, when coverage changes from self-only to family, when you turn 55, and near the end of the year to decide whether to top up. Each run takes a minute, and it can show whether a mid-year change leaves room under the limit.
Sanity checks before you rely on a result
- Is the coverage type the one on your insurance card?
- Is the employer figure the full-year total, including any wellness deposits?
- Is the bracket your top marginal rate, not your average rate?
- Did you use 0 for the state rate if your state does not allow the deduction?
- Does the payroll switch match how you will really contribute?
Who can contribute to an HSA
To contribute you need to be covered by a high deductible health plan and have no other disqualifying coverage. For 2027 an HDHP must have a deductible of at least $1,750 for self-only or $3,500 for family coverage, with out-of-pocket costs capped at $8,700 or $17,400 (Rev. Proc. 2026-24). Once you enroll in Medicare you can no longer contribute, although you can still spend the money already in the account.
Why payroll contributions save more
An HSA deduction you claim on your tax return lowers income tax only. Money that goes in through an employer cafeteria plan also avoids Social Security and Medicare tax, so the same contribution keeps more of your pay. If your employer offers payroll HSA contributions, they are usually the better route.
Common mistakes with HSA contributions
- Forgetting that employer money uses up part of the limit, then contributing too much on your own.
- Assuming a spouse with a separate HSA has a separate family limit; spouses with family coverage share one.
- Contributing for months after Medicare starts. Contributions stop once you are enrolled.
- Treating the account like an FSA and spending it all each year. Unused HSA money stays yours, and receipts for qualified expenses can be kept to reimburse yourself later.
Running the calculator with the exact employer figure from your benefits portal avoids the first mistake, which is the most common.
Things to know before you decide
- Excess contributions face a 6% excise tax each year they stay in the account unless you withdraw them in time (Publication 969).
- Withdrawals for qualified medical expenses are tax free. Other withdrawals before 65 are taxed and generally carry an extra 20% tax.
- The money is yours and rolls over every year, unlike most FSA balances.
- The calculator does not estimate investment growth; any growth is a bonus on top of the tax savings shown.
When to use this calculator
Use it during open enrollment when you choose a payroll contribution, or near year end when you decide whether to top up. Run it a second time with your spouse’s numbers if you both have HSAs, because a family limit is shared between spouses.
Frequently asked questions
What are the HSA limits for 2027?
Does my employer contribution count toward the limit?
Do HSA contributions avoid payroll tax?
What if I put in too much?
Is the effective cost per $100 exact?
Why does the calculator count less than I entered?
Should I use my top bracket or my average rate?
Related calculators
- FSA Carryover Calculator: See how much of your FSA you could lose at year end.
- Health Insurance Plan Comparison Calculator: Compare total yearly costs of two health plans.
- Medical Bill Out-of-Pocket Calculator: Estimate what you owe on a bill after the deductible and coinsurance.
Related guides
Sources
- IRS Rev. Proc. 2026-24 (2027 HSA limits)
- IRS Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans
