401k Calculator

Tax and penalties

401k Withdrawal Tax Calculator

Enter your traditional 401k withdrawal, age and tax rates to estimate your tax, any early withdrawal penalty and what you keep. If you know how much the plan will withhold, you can also estimate your payout.

Your withdrawal

$
yrs
%

Your rate applies to the entire taxable withdrawal in this estimate. The withdrawal may fall in more than one tax bracket.

%

Use 20% only for taxable distributions eligible for rollover that are paid to you. Hardship withdrawals, required minimum distributions and qualifying 72(t) payments follow different withholding rules.

For pre-tax (traditional) 401k money. One marginal rate is applied to the whole amount.

How a 401k withdrawal is taxed

Money in a traditional 401k went in before tax, so the IRS collects when it comes out. Every dollar you withdraw is ordinary income for that year — the same as wages, not the lower capital gains rate, even if the growth inside the account came from stocks.

A taxable withdrawal adds to your other taxable income for the year. If it crosses a bracket boundary, only the part in the higher bracket is taxed at the higher rate. The calculator applies one rate to the entire taxable withdrawal, so a single top rate can overstate federal income tax on a withdrawal that spans brackets. See the IRS federal income tax brackets for the rates by filing status and year.

A qualified Roth 401k distribution is tax-free. The five-taxable-year period starts on the first day of the tax year in which you first made a designated Roth contribution to the plan. Five taxable years must pass, and the distribution must be made at age 59½ or older, because of a qualifying disability, or after death. An earlier clock may carry over from another plan via a qualifying direct rollover. This calculator covers pre-tax 401k money.

How 20% withholding affects your payout

If your plan pays a taxable distribution that is eligible for rollover directly to you, it generally withholds at least 20% in federal tax. At 20%, a $20,000 withdrawal pays out $16,000 before any state withholding. A direct rollover to another eligible retirement account generally avoids that withholding.

The amount withheld is credited on your tax return. Compare it with the estimated federal income tax and any early withdrawal penalty for this payment:

  • At 12% federal income tax with no penalty, 20% withholding exceeds the federal cost of the withdrawal by 8% of the amount taken out.
  • At 10% federal income tax with a 10% penalty on the whole withdrawal, 20% withholding covers the estimated federal cost.
  • At 12% federal income tax with that same penalty, 20% withholding leaves 2% of the withdrawal still owed in federal tax.

The difference is for this withdrawal only. Your other income, credits and payments determine the final balance or refund on your return. The payout estimate subtracts federal withholding only. State income tax is included in your estimated total cost, and your state and plan determine what gets withheld.

Hardship withdrawals, required minimum distributions and qualifying periodic payments, such as qualifying 72(t) payments, follow different withholding rules. These distributions are ineligible for rollover and the mandatory 20% does not apply. Enter the actual withholding from your plan or select the tax-only estimate if you don't know it.

The 10% penalty before 59½

Take money out before age 59½ and an additional 10% tax applies on top of income tax, unless an exception fits. For pre-tax money, the additional tax is figured on the portion of the withdrawal that does not qualify for an exception. Form 5329 is generally used when you need to report the tax or claim an exception.

The exceptions that matter most for 401k money:

  • Rule of 55. Leave your job in or after the calendar year you turn 55 and take the withdrawal from that employer’s plan after leaving. Leaving before your birthday can qualify if it happens in the calendar year you turn 55. A separate exception can apply to qualified public safety employees in governmental plans and eligible private-sector firefighters after separation, once they reach age 50 or complete 25 years of service under the plan, whichever comes first. Use “Another IRS exception” for the amount that qualifies under that separate rule.
  • Substantially equal periodic payments under section 72(t), on a fixed schedule — see the 72(t) calculator.
  • Disability, death, a QDRO in a divorce, and medical costs above 7.5% of AGI, plus newer SECURE 2.0 exceptions such as birth or adoption (up to $5,000) and a small emergency withdrawal once a year.

A hardship withdrawal by itself does not qualify for an exception. Some exceptions cover only part of the withdrawal. For example, if you take out $20,000 and $5,000 qualifies, the 10% penalty on the remaining $15,000 is $1,500. Income tax can still apply to the full pre-tax amount. See the 401k early withdrawal page for more examples.

A worked example

You are 45, in the 22% federal bracket, living in a state with a 5% income tax, and you withdraw $40,000:

Amount
Federal income tax (22%) $8,800
State income tax (5%) $2,000
10% early withdrawal penalty $4,000
Total cost $14,800
You keep $25,200

Assume the withdrawal is eligible for rollover, paid to you and subject to 20% federal withholding. The plan withholds $8,000 and pays you $32,000 before any state withholding. At tax time you owe another $4,800 federal ($8,800 tax plus $4,000 penalty, less the $8,000 already withheld), and $2,000 to the state if nothing was withheld for it. More than a third of the withdrawal is gone.

Run the same $40,000 at age 60 and the penalty disappears: you keep $29,200, and the federal withholding covers all but $800 of the federal bill.

If you need a set amount of cash, work backwards: divide what you need by one minus your combined rate. Needing $25,000 at a 37% combined rate (22% + 5% + 10%) means withdrawing about $39,700.

How to pay less tax on a withdrawal

  • Spread it out. Two $20,000 withdrawals in different tax years can keep all of it in a lower bracket, where one $40,000 withdrawal would spill into the next one. Splitting across December and January is the simplest version.
  • Take it in a low-income year. A year between jobs, a sabbatical, or the gap between retiring and claiming Social Security often has the lowest marginal rate you will ever see. That is the year to draw down pre-tax money.
  • Convert to Roth in those same years. A Roth conversion generally adds the pre-tax amount converted to your taxable income in the year of conversion. Money moved to Roth can keep growing, and a qualified distribution comes out tax-free. Early distributions of converted amounts can also be subject to separate five-year rules.
  • Avoid the withdrawal entirely. If the need is short-term and you still work there, a 401k loan has no tax and no penalty as long as you repay it. If you are changing jobs, a direct rollover moves the money with no withholding at all.
  • Check your state. A few states have no income tax, and several exempt part of retirement income for older residents. Enter your actual state rate rather than guessing.

What this calculator does not do

It applies one federal rate and one state rate to the whole withdrawal, so it does not model bracket stacking, deductions, credits, the extra Medicare premiums a large withdrawal can trigger two years later, or the effect on how much of your Social Security is taxed. It treats the whole balance as pre-tax. Check with your plan or a tax preparer about the exact treatment. If an eligible distribution is paid to you, you generally have 60 days from receipt to complete a rollover. To roll over the whole amount, you generally need to replace any withholding with other funds.

For how long your balance will last once withdrawals start, use the 401k withdrawal calculator. For which account to draw from first, see 401k vs Roth IRA.

Nothing on this page is tax, legal or investment advice. Your plan document and the IRS rules control.

Sources

Frequently asked questions

How much tax do you pay on a 401k withdrawal?

A pre-tax 401k withdrawal is generally taxed as ordinary income at your federal rates. A withdrawal can span more than one bracket. State income tax may also apply. Before age 59½, a 10% additional tax generally applies to the taxable amount that does not qualify for an exception. At 22% federal and 5% state with the full penalty, about 37% goes to tax.

Why did my plan withhold 20%?

A plan generally withholds at least 20% of the taxable part of an eligible rollover distribution paid to you. Hardship withdrawals, required minimum distributions and qualifying periodic payments follow different withholding rules. Federal withholding is credited on your return.

Is the 20% withholding the same as the tax I owe?

The 20% is a prepayment. Compare it with the estimated federal income tax plus any early withdrawal penalty for this withdrawal. At 10% income tax plus a 10% penalty, the difference is zero. At 12% plus a 10% penalty, the difference is 2% owed. The refund or balance on your full return depends on your other income, credits and payments.

Do I pay state tax on a 401k withdrawal?

In most states, yes, at the state's normal income tax rate. A few states have no income tax, and several exempt part of retirement income for residents above a certain age. The state where you live when you take the money is generally the one that taxes it.

How do I avoid the 10% penalty on a 401k withdrawal?

The additional tax generally ends at age 59½. Before that, exceptions include the Rule of 55 for the plan of an employer you left in or after the calendar year you turn 55, qualifying 72(t) payments, and disability. Some exceptions cover only part of the withdrawal. Income tax can still apply.

Are Roth 401k withdrawals taxed?

A qualified Roth 401k distribution is tax-free. The five-taxable-year period starts on the first day of the tax year in which you first made a designated Roth contribution to the plan. Five taxable years must pass, and the distribution must be made at age 59½ or older, because of a qualifying disability, or after death. A nonqualified distribution includes a share of contributions and earnings. The earnings portion is generally taxable and may be subject to the early withdrawal penalty.