401(k) Penalty Calculator

This 401k penalty calculator adds up the 10% early withdrawal penalty, your federal and state income tax, and the cash you actually keep. It also shows what that money could have grown to if you left it in the account.

Cash you keep after tax and penalty

 

    10% early withdrawal penalty
     
    Federal income tax on the withdrawal
     
    State income tax
     
    Total lost to tax and penalty
     
    What the full amount could grow to
     

    Federal figures use 2026 tax brackets and standard deductions. Change any box and the result updates straight away.

    How to use the 401k penalty calculator

    Start with the amount you want to withdraw, before anything is held back. Then fill in the boxes that shape the tax bill:

    • Other taxable income: your wages and other income for the year, before the standard deduction. The box 1 figure on your W-2 is a good starting point.
    • Filing status: single, married filing jointly or head of household. This sets the brackets and the standard deduction.
    • State income tax rate: use your state’s rate, or 0 if it has no wage tax. The Texas paycheck calculator is one place to see a no-tax state in action.
    • Does the 10% penalty apply: choose “No” if you are 59½ or older, or if an exception fits.
    • Years until retirement and expected return: these only drive the lost-growth figure at the bottom.

    The calculator treats the withdrawal as pre-tax money from a traditional 401k. Roth 401k money follows different rules, covered below.

    How is the 401k early withdrawal penalty calculated?

    The penalty itself is simple: 10% of the taxable amount you withdraw. The income tax is the part people get wrong, because a withdrawal is not taxed at a flat rate. It is added on top of your other income for the year, so it fills the next slice of the brackets above where your wages end.

    Here is the math in plain words:

    1. Penalty = withdrawal × 10% (zero if you are 59½ or have an exception).
    2. Federal tax = tax on (other income + withdrawal − standard deduction) minus tax on (other income − standard deduction).
    3. State tax = withdrawal × your state rate.
    4. Cash kept = withdrawal − penalty − federal tax − state tax.
    5. Lost growth = withdrawal × (1 + annual return) raised to the number of years.

    The 2026 standard deduction is $16,100 for single filers, $32,200 for married filing jointly and $24,150 for head of household. The IRS publishes the full bracket tables each year, so check them if you want to verify the federal piece by hand.

    Worked example: a $20,000 withdrawal

    These numbers match the calculator defaults: a single filer with $75,000 of other income, a 4% state rate, and no exception. After the $16,100 standard deduction, taxable income before the withdrawal is $58,900. Adding $20,000 takes it to $78,900, which stays inside the 22% bracket (that bracket runs from $50,400 to $105,700 for single filers in 2026).

    Split bar of a $20,000 401k withdrawal showing federal tax, penalty, state tax and the cash you keep
    Tax and penalty take $7,200 of a $20,000 early withdrawal, so you keep $12,800, or 64%.

    So the federal tax is $20,000 × 22% = $4,400. The penalty is $2,000 and state tax is $800. Total cost: $7,200, or 36% of the withdrawal. You keep $12,800.

    One detail surprises almost everyone. Your plan must withhold 20% federal tax on a payout sent to you, so $4,000 is held back and you receive $16,000. But the real federal bill is $6,400 (tax plus penalty), so you would owe roughly $2,400 more when you file. I saw members spend the full check and then panic in April.

    What changes the cost of an early withdrawal the most?

    Your income in the year of the withdrawal matters more than anything else. The same $20,000 costs very different amounts depending on where it lands in the brackets. This table uses a single filer, a 4% state rate, and no exception.

    Other income Federal tax 10% penalty State tax Cash kept
    $0 $390 $2,000 $800 $16,810
    $40,000 $2,400 $2,000 $800 $14,800
    $75,000 $4,400 $2,000 $800 $12,800
    $120,000 $4,764 $2,000 $800 $12,436

    Three other levers matter. An exception removes the $2,000 entirely. A large withdrawal can cross into the next bracket, which is why the $120,000 row mixes 22% and 24% rates. And your state can add its own tax, or in a few cases its own penalty (California adds a 2.5% state penalty on top of the federal 10%).

    The practical lesson: if you must withdraw, a year with low income is the cheapest year. Taking the money in two tax years instead of one can also keep the top slice out of a higher bracket.

    Which exceptions waive the 10% penalty?

    Exceptions remove the penalty but never the income tax. The ones that most often apply to a 401k include:

    • Leaving your job in or after the calendar year you turn 55 (age 50 for qualified public safety employees), for that employer’s plan only.
    • Total and permanent disability, or a terminal illness.
    • Substantially equal periodic payments under section 72(t), which lock you into a payment schedule.
    • Unreimbursed medical costs above 7.5% of your adjusted gross income.
    • A qualified domestic relations order (QDRO) paying an ex-spouse or dependent.
    • Up to $5,000 per child for a birth or adoption.
    • One emergency personal expense withdrawal of up to $1,000 a year, plus limited amounts for domestic abuse victims and federally declared disasters.

    Notice what is missing: 401k plans have no first-time homebuyer exception. That $10,000 lifetime carve-out exists for IRAs only. Check the IRS page “Exceptions to tax on early distributions” and the Form 5329 instructions for the current limits before relying on any of these.

    If you are already pulling from an IRA, the IRA withdrawal tax calculator handles that account type separately.

    Hidden details that catch people out

    The rule of 55 does not survive a rollover. If you leave your job at 56 and roll the 401k into an IRA, the penalty-free access is gone, because IRAs do not have that exception. Leaving the money in the old employer’s plan, at least until you have taken what you need, keeps it alive. It also does not apply to a 401k from an earlier job.

    Roth 401k is pro rata

    A nonqualified Roth 401k withdrawal comes out part contributions, part earnings, and the 10% penalty and income tax apply to the earnings share only.

    Your 1099-R is worth a close look. Box 7 carries a distribution code, and a code that does not match your situation can trigger a penalty you do not owe. If your plan coded a qualifying withdrawal as early, you can claim the exception on Form 5329.

    Extra income can also cost you beyond the tax line. A big withdrawal raises your adjusted gross income, which can shrink health insurance marketplace subsidies, make more of your Social Security taxable later, and raise Medicare premiums two years down the line. The calculator does not model these, so treat its result as a floor.

    To see how much extra income does to your take-home pay across a year, the tax withholding calculator is a useful companion.

    What you give up in lost growth

    The tax and penalty are a one-time hit. The lost growth is the quiet part. At a 7% return, $20,000 left alone for 20 years grows to about $77,400, which is the last figure in the calculator. After the $7,200 bill, you walk away with $12,800 in cash and give up a balance more than six times that size.

    Waffle grid of 100 squares showing $12,800 cash kept versus $77,400 balance after 20 years
    Left invested 20 years at 7%, $20,000 becomes $77,400, over six times the $12,800 you keep.

    Returns are never guaranteed, so treat 7% as an illustration. Try 5% and 9% to see the range. You can also project your whole balance with the 401k growth calculator, which shows how a smaller starting point ripples through to retirement.

    If you are early in your career and thinking about stepping back from work, the coast FIRE calculator shows how much of your future balance depends on money you already have invested. Pulling it out early can push your coast date years later.

    Cheaper ways to get cash than cashing out

    A 401k loan is usually the first thing to price. Most plans allow you to borrow up to the lesser of 50% of your vested balance or $50,000, repaid with interest to yourself, typically over five years. There is no tax or penalty if you repay on schedule. The danger is leaving your job: the unpaid balance can become a taxable distribution, though you generally have until your tax filing deadline, including extensions, to repay or roll over the amount.

    Other routes worth comparing:

    • A home equity line, if you own a home. Run the payments in the HELOC loan payment calculator.
    • Roth IRA contributions, which you can pull out at any time without tax or penalty. The Roth IRA calculator shows how that balance builds.
    • Waiting for a low-income year, such as between jobs, to take a smaller withdrawal.

    Try this: Run the calculator three times: once with your real income, once with half the withdrawal, and once with the “No, an exception applies” setting. Write down the cash kept each time, then decide whether a loan or a smaller withdrawal gets you the same relief.

    I spent 18 years as a credit union loan officer, and the pattern was consistent: people compared the interest on a loan with the interest on their 401k, and forgot the 10% penalty and the lost growth entirely. Put all three costs side by side before you decide. This page gives general information, not tax advice, so confirm the details with a qualified tax professional if the amount is large.

    401(k) Penalty Calculator: common questions

    What is the penalty for withdrawing from a 401k early?

    It is a 10% additional federal tax on the taxable amount you take out before age 59½, on top of regular income tax. It is reported on IRS Form 5329 unless an exception applies and your plan's 1099-R already shows the exception code.

    How much tax will I owe on a $10,000 401k withdrawal?

    In the 22% federal bracket with no state tax, you would owe about $2,200 in income tax plus a $1,000 penalty, so $3,200 in total. Add your state rate on top, and expect the exact figure to move if the withdrawal pushes you into a higher bracket.

    Does the rule of 55 remove the penalty?

    It removes the 10% penalty, not the income tax. It only works on the 401k of the employer you leave in or after the year you turn 55 (50 for some public safety workers), and it is lost if you roll that money into an IRA.

    Do hardship withdrawals avoid the 10% penalty?

    Not automatically. A hardship withdrawal lets your plan release money for an urgent need, but you still owe income tax and the 10% penalty unless a separate IRS exception, such as large medical bills, also fits.

    Is a 401k loan better than an early withdrawal?

    Often, yes, because a loan that is repaid on schedule triggers no tax or penalty. The risk is leaving your job with a balance outstanding, since the unpaid amount can then be treated as a taxable early distribution.