401(k) Early Withdrawal Calculator
See what an early 401(k) withdrawal actually costs — the 10% IRS penalty (if it applies), income tax, and what the money would have grown to left alone.
How to use this calculator
- 1Enter the amount you are considering withdrawing and your best estimate of your marginal federal and state tax rates.
- 2Select whichever situation actually applies — most early withdrawals owe the 10% penalty, but several recognized exceptions waive it.
- 3Check the opportunity-cost figure too — the tax bill is rarely the largest cost of an early withdrawal over a full career.
How the calculation works
Net received = Withdrawal − (10% penalty, if applicable) − Federal tax − State tax- 10% penalty
- Charged unless a recognized IRS exception applies — waives the penalty only, never the tax
- Federal / state tax
- The withdrawal is taxed as ordinary income, stacked on top of whatever else you earned that year
The 10% figure is fixed by the IRS and does not vary by income or withdrawal size — it is a flat rate on the amount withdrawn.
This models a traditional (pre-tax) 401(k). A Roth 401(k) withdrawal of contributions is not taxed again, though earnings withdrawn early can still owe both tax and the 10% penalty under similar rules.
Worked example
$20,000 withdrawn under 59½, no exception, 25 years from retirement
- 1.10% penalty: $20,000 × 10% = $2,000.
- 2.Federal tax: $20,000 × 22% = $4,400. State tax: $20,000 × 5% = $1,000.
- 3.Total cost: $2,000 + $4,400 + $1,000 = $7,400 — 37.0% of the withdrawal.
- 4.You actually receive: $20,000 − $7,400 = $12,600.
- 5.Left invested at 7% for 25 years, the original $20,000 would have grown to about $108,548 — an additional $88,548 given up beyond the immediate tax bill.
Result: $12,600 received; $108,548 given up in future growth
Why an early withdrawal costs more than the sticker number suggests
Cashing out a 401(k) before 59½ triggers two separate costs that people often conflate into one. The 10% early withdrawal penalty is a flat IRS charge on top of everything else, meant specifically to discourage tapping retirement savings early. Separately, the withdrawal is added to your taxable income for the year and taxed at your ordinary income tax rate — the same treatment it would have received eventually anyway, just years or decades sooner and stacked on top of whatever else you earned that year, which can push part of the withdrawal into a higher bracket than your regular income alone would reach.
The recognized exceptions to the 10% penalty
The IRS carves out several situations where the 10% penalty does not apply, even though the underlying income tax still does.
- Rule of 55 — if you leave your job (quit, are laid off, or retire) in or after the calendar year you turn 55, withdrawals from that specific employer's 401(k) are penalty-free — but only that plan, not old employers' plans or any IRA.
- Permanent disability — a full and permanent disability, as defined by the IRS, removes the penalty entirely.
- Substantially equal periodic payments — a formal schedule of withdrawals calculated to span your life expectancy (IRC section 72(t)) avoids the penalty, but must continue unchanged for five years or until 59½, whichever is longer.
- Medical, birth/adoption and other narrower exceptions — unreimbursed medical expenses above 7.5% of adjusted gross income, up to $5,000 for a birth or adoption, and a handful of other specific circumstances each have their own rules and caps — this calculator treats them as a single "other exception" category rather than modelling every cap individually.
The cost that never appears on a tax form
The tax and penalty are visible and immediate, which is exactly why they get all the attention — but the money that leaves a retirement account early also stops compounding for however many years remain until retirement. A relatively modest withdrawal taken decades early can end up costing several times its own value in forgone growth, simply because compounding needs time to do its work. That forgone growth never shows up on any tax form, which is precisely why it is easy to underestimate the true cost of an early withdrawal.
Alternatives worth checking first
Because the combined cost is often severe, it is worth ruling out other options before withdrawing from a 401(k) early.
- 1A 401(k) loan — many plans allow borrowing against your own balance, repaid through payroll deduction with interest paid back to yourself — no tax or penalty as long as it is repaid on schedule, though leaving the job can accelerate repayment.
- 2A hardship withdrawal — some plans allow this for specific documented needs, but it still typically owes both tax and the 10% penalty unless a separate exception also applies — it is a plan-access rule, not a tax exception on its own.
- 3Other savings first — an emergency fund or taxable brokerage account, if available, avoids both the tax hit and the loss of decades of compounding entirely.
What this assumes, and where it stops
Assumptions
- Federal and state tax rates are entered directly as your best estimate of your marginal rate, not computed from a full bracket calculation — see the Income Tax Calculator for that.
- This models a traditional (pre-tax) 401(k). Roth 401(k) contributions withdrawn early are not taxed again, though earnings can still owe tax and the penalty separately.
- The "other exception" option is treated as a single flat waiver of the 10% penalty — several of the real exceptions it stands in for (medical, birth/adoption) have their own dollar caps not modelled individually here.
Limitations
- Does not model state-specific early-withdrawal penalties, which some states charge in addition to federal tax.
- Mandatory 20% federal withholding at the time of distribution (a cash-flow timing issue, reconciled at tax filing) is not modelled — this shows your true final cost, not what is withheld upfront.
- The opportunity-cost projection assumes a constant annual return, which real markets never actually deliver in a straight line.
Common questions
Is the 10% penalty the only cost of an early withdrawal?
No — that is the most common misunderstanding. The withdrawal is also taxed as ordinary income at your marginal rate, which is often the larger of the two costs. The penalty and the tax are separate charges that both apply (unless a specific exception waives the penalty), not alternatives to each other.
Does rolling my 401(k) into an IRA first avoid the penalty?
It can remove the Rule of 55 exception rather than help — that exception only applies to the plan of the employer you just left. Rolling the balance into an IRA before withdrawing forfeits it, since IRA withdrawals before 59½ generally owe the full 10% penalty regardless of when you left your job.
Sources
- Retirement topics — exceptions to tax on early distributions — US Internal Revenue Service
Formula and content last reviewed on .
Results are estimates for information only, not professional advice.
Related calculators
Tools people commonly use alongside the 401(k) early withdrawal calculator.