Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Borrow 401(k) Calculator

401(k) Loan Calculator works out Projected balance at retirement and Your total contributions from Plan, Plan year and Annual salary. The default figures on this page give maximum plan loan of 40,000.00; change any entry and the result, the working and the sources update together.

Maximum plan loan
40,000.00
401(k) Calculator
Loan payment a month
386.66
Total loan interest
3,199.36
Worked out from IRS Notice 2025-67, 2026 amounts relating to retirement plans and IRAs and 4 other sources.
If you leave the employer the outstanding balance generally becomes due; an unpaid balance is treated as a taxable distribution and may attract the 10% additional tax.
An estimate based on the assumptions you enter. Contribution limits, the taxation of a distribution and the terms of a plan loan depend on your plan document, your filing position and your state — confirm with your plan administrator and a tax adviser before acting.

Your figures

Updates as you type
Formatting only. This does not change the calculation.
A 50% match pays 50 cents for every dollar you defer. Ignored for the TSP, which has its own published schedule.
Early-withdrawal mode only.
The bracket basis is the honest one: a distribution stacks on top of your other income, so it can span several brackets.
Used only by the bracket basis.
Used only by the bracket basis: wages and other income taxed at ordinary rates, before the withdrawal.
Loan mode only.
IRC 72(p)(2)(B) caps a general-purpose plan loan at five years.

How this is worked out

3 steps
  1. IRC 72(p)(2)(A) limit = min(50,000 - 0 highest prior balance, half the vested balance) = min(50000, 40000) = 40000.
  2. Level repayment over 60 months at 0.5% a month = 386.66.
  3. Total repaid = 23199.36, of which 3199.36 is interest paid back into your own account.

Figures from IRS retirement plan limits, 2026 rules, checked 31 August 2026. Its 6 worked examples are re-run on every release, last on 15 September 2026. What changed · how reference data is kept current

Sources and references

5 sources
IRS Notice 2025-67, 2026 amounts relating to retirement plans and IRAs
2026 · Section 402(g)(1), 414(v), 415(c) and 401(a)(17) limits for 2026; the 2024 and 2025 notices supply the earlier years.
IRC section 72(p)(2)(A) — limit on plan loans
Lesser of $50,000 reduced by the highest outstanding balance in the previous 12 months, or the greater of half the vested balance and $10,000 where the plan permits.
Thrift Savings Plan — Contribution types and agency/service matching
Agency automatic 1% of basic pay, dollar-for-dollar on the first 3% and 50 cents on the dollar for the next 2%.

Keep this result

Save it, change one figure, then compare the two

The calculation stays free. Save this scenario, adjust one assumption, save that too, and put them side by side to see exactly what the change costs you. A free account keeps 5 scenarios and 2 comparisons; Personal makes both unlimited and adds exports and private links. Nothing is saved unless you press Save.

1 · Calculate2 · Save3 · Compare4 · Export5 · Share
Open workspace

What the 401(k) Loan Calculator calculates

Projects a 401(k), 403(b), 457(b) or TSP balance with employer matching against the statutory contribution limits, and also computes this year’s contributions, the tax and penalty on an early withdrawal, and the plan-loan limit and repayment.

How to use this 401(k) Loan Calculator

Enter Plan, Plan year, Annual salary and Current vested balance. Projected balance at retirement updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Projected balance at retirement, Your total contributions and Total employer contributions.

The method follows IRS Notice 2025-67, 2026 amounts relating to retirement plans and IRAs, SECURE 2.0 ACT of 2022, section 109 — higher catch-up limit at ages 60 to 63, IRC section 72(t) — 10% additional tax on early distributions, and IRC section 3405(c) — 20% mandatory withholding, IRC section 72(p)(2)(A) — limit on plan loans and Thrift Savings Plan — Contribution types and agency/service matching.

What you can compare

Change one input at a time to see how it affects Projected balance at retirement, Your total contributions and Total employer contributions. The inputs you can vary are Plan, Plan year, Annual salary, Current vested balance, Your contribution and Employer match rate.

Understanding Projected balance at retirement, Your total contributions and Total employer contributions

An estimate based on the assumptions you enter. Contribution limits, the taxation of a distribution and the terms of a plan loan depend on your plan document, your filing position and your state — confirm with your plan administrator and a tax adviser before acting.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How do I calculate how much I can borrow from my 401k?

Projects a 401(k), 403(b), 457(b) or TSP balance with employer matching against the statutory contribution limits, and also computes this year’s contributions, the tax and penalty on an early withdrawal. Open “How this is worked out” beside the result to see each step for your own figures.

Is it a good idea to borrow from my 401(k) to pay off debt?

Projects a 401(k), 403(b), 457(b) or TSP balance with employer matching against the statutory contribution limits, and also computes this year’s contributions, the tax and penalty on an early withdrawal. On the figures this page opens with — your age now 45 years, amount withdrawn 25,000 and your other ordinary income this year 70,000 USD — the maximum plan loan is 40,000. Put your own figures in their place and the working updates beside the result.

Is a 401k loan a good idea?

It needs Plan, Plan year, Annual salary, Current vested balance, Your contribution and Employer match rate. Nothing else is required, and the figures stay in your browser.

What information do I need for the 401(k) Loan Calculator?

You need Plan, Plan year, Annual salary, Current vested balance, Your contribution, Employer match rate, Employer matches up to and Your age now. The page opens with default figures that give maximum plan loan of 40,000.00, so you can see the scale before entering your own.

What does this 401(k) Loan Calculator show?

It shows Projected balance at retirement, Your total contributions, Total employer contributions, Investment growth, Balance after tax in retirement, Your contribution this year, Employer contribution this year and Your contribution each pay period, with the working and any warnings for your entries.

Can I check how the 401(k) Loan Calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators12 more