HSA vs FSA Calculator
Compare Health Savings Accounts vs Flexible Spending Accounts: rollover rules, forfeiture risks, and tax savings.
Unpack the critical financial distinctions between Health Savings Accounts (HSA) and Healthcare Flexible Spending Accounts (FSA). Evaluate the use-it-or-lose-it forfeiture risk, the $680 FSA rollover cap, and the permanent portability of HSA assets.
How this calculator works
FSA Forfeiture Risk = max(0, FSA Contribution - Annual Actual Medical Spending - Statutory Rollover Limit of $680). HSA Rollover = 100% of Unspent Contribution Indefinitely.
Key benefits
- Identifies unspent dollar forfeiture risk under employer FSA use-it-or-lose-it rules
- Compares statutory contribution caps and investment growth allowances
- Clarifies job transition portability: HSA travels with you, FSA stays with employer
- Recommends optimal account selection based on health plan eligibility
Assumptions & exclusions
- The FSA rollover amount modeled is the IRS carryover cap; some employer plans offer a grace period instead of a rollover.
- Tax savings use your entered marginal rate plus FICA; your actual bracket may differ.
- HSA eligibility requires enrollment in a qualifying HDHP, which this comparison assumes you have.
Frequently asked questions
Can I have both an HSA and an FSA at the same time?
Generally no, unless the FSA is a specialized "Limited Purpose FSA" (restricted to vision and dental expenses only) or a Dependent Care FSA for childcare.
What happens to FSA money I do not spend by the end of the plan year?
A healthcare FSA is built around a use-it-or-lose-it rule. Depending on how your employer has set up the plan, a limited portion of an unspent balance may carry into the next plan year, or the plan may instead give you a short grace period to incur new expenses — plans offer one of these features or neither, never both. Whatever is left after that is forfeited to the plan. That is why the standard advice is to elect an amount based on spending you are confident will actually happen, rather than the most you might possibly spend.
What happens to unspent HSA money, and what if I change jobs?
Nothing is forfeited. An HSA has no year-end deadline: unspent money stays in the account, rolls forward indefinitely, and can be invested once your balance passes your provider's threshold. The account belongs to you personally rather than to your employer, so it moves with you when you change jobs or retire. After age 65 you can also withdraw money for non-medical purposes without penalty, paying ordinary income tax on those withdrawals, while withdrawals for qualified medical expenses remain tax-free at any age.
Do HSA and FSA contributions save the same amount of tax per dollar?
Through an employer's payroll, yes. Contributions to either account are made before tax, so each dollar avoids federal income tax at your marginal rate and also avoids the 7.65 percent Social Security and Medicare payroll tax — which is why this calculator values both contributions at the same combined rate. The accounts differ in what happens afterwards, not in the upfront saving: the HSA keeps everything you do not spend, while the FSA exposes unspent money to forfeiture. An HSA contribution made directly, outside payroll, is still deductible for income tax but does not avoid the payroll tax.
What are the 2026 contribution limits for an HSA and a health FSA?
For 2026, the HSA limit is $4,400 for self-only coverage and $8,750 for family coverage, with an extra $1,000 catch-up contribution allowed from age 55. The health FSA limit for 2026 is $3,400 of salary reduction per person; a spouse with access to their own employer's FSA can elect up to that amount separately. These are the ceilings on what you may put in — this calculator does not trim larger entries automatically, so check anything you type against the limit that applies to your coverage before relying on the savings figures.
When can an FSA be the better choice despite the forfeiture risk?
When your spending is high, predictable, and reliably consumes the full amount you elect — recurring prescriptions, planned dental work, or ongoing therapy, for example — there is little left unspent to forfeit, and the FSA's tax saving is fully realized. An FSA also does not require a high-deductible health plan, and the full annual election is typically available from the first day of the plan year, which suits a large expense coming early. If your spending is low or unpredictable, or you want money you do not spend to keep accumulating, the HSA's rollover usually makes it the stronger fit.
Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.
Methodology note: IRS Revenue Procedure 2025-32 (2026 carryover $680) and cafeteria plan regulations under IRC Section 125.
Related calculators
About this calculator
Choosing between a health savings account and a flexible spending account is mostly a decision about what happens to money you do not spend. Both accounts pay for medical care with pre-tax dollars taken from your paycheck, but they treat leftovers very differently: an HSA keeps every unspent dollar and rolls it forward year after year, while an FSA lets only a capped amount carry into the next plan year and forfeits the rest. This calculator puts the two side by side using your expected healthcare spending, the contribution you would make to each account, and your tax rate, so the trade-off appears as concrete figures — tax saved, money kept, and money at risk of being lost.
How it works
Enter the healthcare spending you expect this year, the amount you would contribute to an HSA, and the amount you would contribute to an FSA. The tool values each contribution at the same combined tax rate — your marginal income tax rate, which defaults to 24 percent when it is not set, plus the 7.65 percent payroll tax — because payroll contributions to either account avoid both taxes. It then subtracts your spending from each contribution. Whatever an HSA leaves unspent is reported in full as the rollover amount, kept indefinitely. Whatever an FSA leaves unspent is measured against the 2026 carryover cap of $680: any unspent balance above that cap is reported as your use-it-or-lose-it forfeiture risk, and a short verdict summarizes which account the numbers favor.
The formula, explained
Tax savings = Contribution × (Marginal tax rate % + 7.65%) ÷ 100; FSA forfeiture = max(0, FSA contribution − Spending − $680); HSA rollover = max(0, HSA contribution − Spending)
- Contribution — The annual amount you elect to put into the HSA or the FSA, entered separately for each account ($)
- Spending — Your expected annual healthcare out-of-pocket spending, subtracted from each contribution ($)
- $680 — The 2026 FSA carryover cap (IRS Rev. Proc. 2025-32): the most unspent FSA money that rolls into the next year ($)
- 7.65% — The FICA payroll tax rate added to your marginal income tax rate, because payroll contributions avoid both (%)
The engine first builds one combined tax rate: the marginal rate you supply — or 24 percent when that input is empty or zero — plus 7.65 percentage points, divided by 100. It floors spending and both contributions at zero, then multiplies each contribution by that combined rate to get the two tax-savings figures, so a dollar contributed saves exactly the same tax in either account. Next it computes unspent balances: FSA unspent is the FSA contribution minus spending, floored at zero, and the forfeiture risk is whatever remains after subtracting the $680 carryover cap, again floored at zero — unspent money at or below the cap forfeits nothing. HSA unspent is the HSA contribution minus spending, floored at zero, and the whole of it is reported as the rollover amount. Every reported figure is rounded to whole dollars.
Inputs and variables
| Variable | Meaning | Example |
|---|---|---|
| Expected Annual Healthcare Spending | The out-of-pocket medical spending you expect this year. It is subtracted from both contributions, so it decides how much of each account is left unspent — and, for the FSA, how much sits above the carryover cap. | $2,400 |
| HSA Contribution | The amount you would put into a health savings account for the year. For 2026 the IRS limit is $4,400 for self-only coverage and $8,750 for family coverage, but the engine itself does not cap the input, so entering more than the limit overstates the savings. | $4,400 |
| FSA Contribution | The amount you would elect into a healthcare flexible spending account for the year. Only the unspent portion above the $680 carryover cap is exposed to forfeiture; the rest is either spent or carried into the next year. | $3,400 |
| Marginal Tax Rate | Your marginal income tax rate, used by the engine with a default of 24 percent when unset. The engine adds the 7.65 percent payroll tax to it, because contributions through payroll escape both, and values HSA and FSA dollars at this same combined rate. | 24% |
Worked example
An employee with self-only coverage expects $2,400 of healthcare spending, contributes the 2026 self-only HSA maximum of $4,400 in one scenario and $3,400 to an FSA in the other, and sits in the 24 percent marginal bracket.
- Expected annual healthcare spending: $2,400
- HSA contribution: $4,400
- FSA contribution: $3,400
- Marginal tax rate: 24%
- Combined tax rate: 24% + 7.65% = 31.65%. Every pre-tax dollar contributed to either account is valued at this rate.
- HSA tax savings: $4,400 × 31.65% = $1,392.60, reported as $1,393. FSA tax savings: $3,400 × 31.65% = $1,076.10, reported as $1,076.
- FSA unspent balance: $3,400 contributed − $2,400 spent = $1,000 left at year end.
- FSA forfeiture: the 2026 carryover cap protects the first $680 of that unspent balance, so $1,000 − $680 = $320 is forfeited — the cap is doing real work here, since without it the whole $1,000 would be lost.
- HSA rollover: $4,400 − $2,400 = $2,000 unspent, and the full $2,000 rolls over with nothing forfeited.
- Net comparison: the FSA keeps $1,076 of tax savings but loses $320, an effective benefit of $756, while the HSA keeps its full $1,393 of savings and still holds the $2,000 rollover.
HSA tax savings of $1,393 and a $2,000 rollover kept in full, versus FSA tax savings of $1,076 with $320 of the $1,000 unspent balance forfeited above the $680 carryover cap.
The example shows why the two accounts diverge even though each contributed dollar saves identical tax. The FSA contribution was the smaller of the two, yet it is the only one that loses money, because its $1,000 leftover runs into the $680 carryover ceiling. The HSA turns the same underspending into a $2,000 asset that survives into next year. If the employee expected spending closer to the full FSA election, the forfeiture would shrink toward zero and the comparison would tighten — which is why this tool is worth re-running with your own realistic spending estimate rather than a hopeful one.
Understanding your results
Read the two tax-savings lines first: they differ only because the contributions differ. The engine values an HSA dollar and an FSA dollar identically — contribution times your marginal rate plus 7.65 percent — so neither account wins on the rate of tax saved. The contest is decided entirely by the other two lines: what an unspent balance becomes. The HSA rollover is simply everything you did not spend, preserved without a deadline. The FSA forfeiture line is the slice of your leftover that exceeds the $680 carryover cap, and it is the only figure on the page that represents money permanently lost.
The verdict line follows the same logic. In most cases it favors the HSA for its combination of equal tax savings, full rollover and zero forfeiture. It only leans toward the FSA in the narrow case the engine checks explicitly: your spending meets or exceeds your whole FSA contribution — so nothing is left to forfeit — and you are contributing nothing to an HSA at all. That is the profile of someone on a traditional plan with predictable expenses that reliably consume the election, which is exactly when an FSA forfeiture risk of zero makes the simpler account a reasonable fit.
Use the forfeiture line as a sizing tool rather than a warning label. If it shows a few hundred dollars at risk, lowering your FSA election by roughly that amount removes the exposure while barely changing your tax savings, because the dollars most likely to be forfeited are the last ones you elect. Conversely, a forfeiture of zero alongside a large unspent HSA rollover may mean you are over-contributing relative to your actual care needs — harmless in an HSA, since the money stays yours, but worth noticing when the same habit would be costly in an FSA.
Assumptions and limitations
This is a one-year, single-scenario comparison. It applies the $680 carryover treatment to every FSA, yet an individual employer plan may handle year-end balances differently or not offer a carryover feature at all, so check your own plan documents for the rule that actually governs your account. The engine does not enforce the statutory contribution limits, model investment growth inside an HSA, or account for the premium difference between the high-deductible plan an HSA requires and a traditional plan paired with an FSA. It also applies one combined federal and payroll tax rate to both accounts, with no state tax variation, employer contributions, or changes in your spending or coverage during the year.
Common mistakes to avoid
- Sizing an FSA election to a best-case spending year. Electing for the year you hope to have leaves any shortfall unspent, and everything above the $680 carryover cap is forfeited. Size the election to the spending you are confident will happen.
- Assuming an FSA dollar saves more tax than an HSA dollar. Both accounts are funded pre-tax through payroll and this engine values them at the identical combined rate. The real difference is rollover and forfeiture treatment, not the tax rate.
- Entering contributions above the IRS limits. The engine computes savings on whatever you type and does not trim the input to the 2026 HSA limits of $4,400 self-only or $8,750 family. Contributions above your real limit overstate the benefit.
- Ignoring the health plan attached to each account. An HSA requires enrollment in a qualifying high-deductible health plan, while an FSA is usually paired with a traditional plan. Premium and deductible differences between those plans can outweigh the account math shown here.
- Treating the carryover as unlimited protection. Only unspent FSA money up to the $680 cap carries into the next year under the rule this engine models. A large leftover still loses the excess, no matter how soon you plan to spend it.
- Judging the FSA only by its tax savings line. The savings figure is gross: it does not subtract what you forfeit. Compare the accounts on savings minus forfeiture for the FSA against savings plus the preserved rollover for the HSA.