401(k) Loan Calculator
Find the most your 401(k) lets you borrow under IRS limits, the payment over up to 5 years, the growth you give up, and the tax bill if you leave your job.
Enter your vested balance and any loan you already have. The calculator applies the IRS limit, amortizes the loan over its term, and compares your account at payoff with and without the loan. It also shows what an unpaid balance would cost in tax if you left your job and could not repay it in time.
Explain my result
Sends your inputs and result to the AI you choose.
View or copy prompt
Quick answers
Common cases, computed by this calculator with the assumptions listed under the method. Select one to load it above.
- How much can I borrow from a 401(k) with $60,000 vested?
- $30,000 Most you can borrow Open in the calculator
- How much can I borrow from a 401(k) with $150,000 vested?
- $50,000 Most you can borrow Open in the calculator
- What is the monthly payment on a $15,000 401(k) loan at 8.5% over 5 years?
- $308 for 60 months Monthly payment Open in the calculator
- How much more can I borrow with $80,000 vested, owing $18,000 on a loan that started at $27,000?
- $22,000 Most you can borrow Open in the calculator
How much you can borrow
The IRS caps a new loan so that it plus what you already owe stays within the smaller of two amounts: $50,000 reduced by the gap between your highest loan balance in the last 12 months and what you owe now, or the greater of $10,000 and half your vested balance. With $40,000 vested and no loans, that is $20,000. Your plan may allow less or no loans at all.
Payments and the cost of borrowing from yourself
The loan is amortized in equal monthly payments over the term; plans may use payroll or quarterly schedules. Interest goes back into your account, but the money you borrowed is out of the market. The account comparison sets the borrowed amount left invested at the expected return against your repayments invested as they arrive. When the loan rate is above the return, the account can end higher, but only because the extra interest came out of your after-tax pay.
If you leave your job
An unpaid balance is usually offset against your account when you leave. You can avoid tax by putting that amount into an IRA or another plan by your tax filing deadline, including extensions, for that year; otherwise it is taxed as income, plus a 10% additional tax unless you leave in or after the year you turn 55 (the rule of 55 for workplace plans) or are 59½ or older. The calculator shows the unpaid balance after 12 payments.
Source
IRS: Retirement plans FAQs regarding loans. Tax figures are estimates, not tax advice.
Calculation notes updated .