Paycheck Allocation Optimizer
Answers the FIRE-community's first question: after your paycheck hits, which bucket do you fill first — 401(k) match, HSA, Roth IRA, Traditional 401(k), or brokerage? The honest math on after-tax value per $1,000 for your income and horizon.
Your annual W-2 gross salary. Drives the marginal tax rate and the employer match dollar amount.
Employer 401(k) match rate. 100% means dollar-for-dollar (100¢ per $1 contributed); 50% means 50¢ per $1.
Percent of gross income the employer will match up to. Common: 4% (100% match) or 6% (50% match).
Your expected marginal federal tax rate at withdrawal. FIRE retirees often expect a much lower rate than today; use 22% as a reasonable default.
How long the money compounds before withdrawal. Longer horizons make tax-free growth (HSA / Roth) worth more relative to the up-front tax break of a Traditional 401(k).
Assumed real annual investment return. Used as the growth multiplier for the after-tax present value math.
- 1.Employer 401(k) Match
- 2.HSA (triple tax-advantaged)
- 3.Roth IRA
- 4.Traditional 401(k)
- 5.Taxable Brokerage
Bar width shows annual contribution capacity per bucket. The brokerage bar is a placeholder — that bucket has no annual limit; the point of the recommended order is to fill everything above it first.
- Value per $1,000 = after-tax present value at withdrawal, using the Years-to-Retirement horizon and Real Return slider as the growth multiplier.
- Employer match is treated as pre-tax, taxed at withdrawal — same treatment as your own Traditional 401(k) contributions.
- HSA is assumed to be used for qualified medical expenses (tax-free withdrawal). If you withdraw for non-medical after age 65, it becomes ordinary income — the value math for that case is closer to Traditional 401(k).
- Roth IRA above the phase-out is treated as always accessible via the “backdoor” (nondeductible IRA → immediate conversion). The pro-rata rule can complicate this if you already hold pre-tax IRA money — check with a tax professional.
- Traditional IRA is not modeled in v1 (workplace-plan deductibility phase-outs make it a niche case for FIRE users). Anyone with a 401(k) gets full Traditional benefit via that account.
- Brokerage LTCG uses a two-part approximation: assumes 60% of the ending balance is embedded gain, taxed at a flat 15% at withdrawal. 20% band and NIIT are not modeled.
- State tax not modeled — federal only. FICA is modeled correctly for the current marginal dollar (below/above SS wage base + additional Medicare threshold).
Estimation only. Not tax advice. Real bucket-order decisions depend on individual circumstances (existing pre-tax IRA balances, spouse plans, state tax, backdoor Roth pro-rata issues) that this tool does not model. Confirm any allocation change with a tax professional.
Estimation only. Not tax advice. Consult a professional for filing decisions.