Introduction
A 401(k) loan lets you borrow money from your own retirement savings and pay it back over time. This 401(k) loan calculator shows you what that loan will cost each month, how much interest you will pay, and how much smaller your retirement savings may be later.
Enter your vested balance, how much you want to borrow, the interest rate, and the loan term. The calculator gives you your monthly payment, your total payments, your payoff date, and a full month-by-month payment schedule. It also checks the IRS limit for you, which is the lesser of half your vested balance or $50,000.1
You can also flip it around. Pick "Maximum Loan Amount," type in the payment you can afford each month, and the tool tells you the largest loan that payment can cover.
The best part is the retirement impact section. It compares two paths side by side: what your account could grow to if you never took the loan, and what it could grow to if you do, counting the principal you repay but not the interest. That gap is the real price of borrowing, because the money you take out stops earning returns while it is gone. The tool works the same way for 403(b) plans, since both follow the same IRS loan rules.
How to use our 401(k) Loan Calculator
Fill in a few facts about your retirement plan and the loan you want. The calculator shows your monthly payment, total interest, payoff date, your IRS loan limit, and how much the loan may cost your retirement savings.
Plan Type: Pick 401(k) or 403(b). The same IRS loan rules apply to both, so the math does not change.
What do you want to solve for: Choose "Monthly Payment" if you know how much you want to borrow. Choose "Maximum Loan Amount" if you know how much you can pay each month.
Vested Account Balance: Enter the money in your plan that you fully own. This sets your loan cap, which is 50% of the balance or $50,000, whichever is less.1
My plan offers the $10,000 exception: Tick this if your plan lets you borrow up to $10,000 when half your vested balance is less than $10,000. Plans do not have to offer this.1 The calculator never shows a loan larger than your vested balance.
Loan Amount: Type how much you want to borrow. If it is over the IRS limit, the tool lowers it for you. This box is used in Monthly Payment mode.
Desired Monthly Payment: Type the payment you can afford each month. The tool works backward to find the largest loan that fits. This box is used in Maximum Loan Amount mode.
Annual Interest Rate: Enter your plan's loan rate. Most plans charge the prime rate plus 1%. You pay this interest back into your own account.5
Loan Term (months): Enter how many months you will take to pay it back, or pick a preset. Most plan loans must be paid off within five years, unless you are buying a main home.1
Expected Annual Investment Return: Enter the growth rate you expect if the money stayed invested. The calculator starts at 7%. Use a lower rate for a more careful estimate.
Current Age: Enter your age today. This shows how many years your money has left to grow.
Expected Retirement Age: Enter the age you plan to retire. It must be higher than your current age.
Click Calculate to see your results, charts, step-by-step math, and full amortization schedule. Click Reset to try new numbers.
What Is a 401(k) Loan?
A 401(k) loan lets you borrow money from your own retirement savings and pay it back with interest. The money does not come from a bank. It comes out of your plan account, and your payments go back into that same account.5 Most 403(b) plans work the same way. Your employer's plan must allow loans, and not all of them do.
How Much You Can Borrow
The IRS sets a limit. You can borrow the lesser of 50% of your vested balance or $50,000.1 Vested means the part of the account you fully own, including any employer match you have earned the right to keep. So if your vested balance is $60,000, the most you can borrow is $30,000. If your vested balance is $200,000, the cap is $50,000, not $100,000. If half your vested balance is less than $10,000, your plan may let you borrow up to $10,000, but plans do not have to offer this.1 The limit also counts all of your loans from the plan together, and the $50,000 is lowered by how much your highest loan balance in the past 12 months was above what you owe now.3
How Repayment Works
You pay the loan back in equal payments that include principal and interest.3 They are usually taken straight from your paycheck. The IRS says most plan loans must be paid off within five years, with payments at least quarterly.1 There is one main exception: if you use the loan to buy your main home, your plan may allow a longer term.1 Plans often allow 10 to 15 years in that case.
The interest rate is set by your plan. A very common rate is the prime rate plus 1%. The good news is that the interest is paid to your own account, not to a lender.5
The Real Cost: Lost Growth
Even though you pay yourself back, a 401(k) loan can still cost you money. The dollars you borrow leave the market. While they are out on loan, they are not earning returns. That missed growth is called opportunity cost, and it can add up over many years because of compound interest.
Example: with the calculator's starting values, you borrow $15,000 of a $60,000 vested balance for 5 years, and your account would have grown 7% a year. With 25 years to retirement, the calculator shows your balance about $12,535 smaller than if you had not borrowed. That figure counts the principal you repay but not the interest, which also goes back into your account.
Risks to Know Before You Borrow
- Leaving your job: If you quit or are let go, your plan may require you to repay the full balance.1 If you cannot, the unpaid amount is treated as a withdrawal. You can avoid the immediate income tax by rolling it over to an IRA or another eligible plan by the due date, including extensions, of your tax return for that year.1
- Default: If you do not repay, the unpaid amount is treated as a withdrawal.1 You owe income tax on it, and if you are under age 59½ you may also owe a 10% additional tax unless an exception applies.2
- Smaller contributions: If you cut your contributions to afford the loan payments, you may also lose employer matching contributions, which are made on what you contribute.
When a 401(k) Loan Can Make Sense
A plan loan may be a smart choice if you need cash for a short time, have a steady job, and would otherwise use a high-rate credit card or payday loan. There is generally no credit check, and the rate is often lower than other financing.5 It is a weaker choice if your job is shaky, if you are close to retirement, or if the loan would replace saving for your future. Building an emergency fund is often the better long-term fix.
Key Terms
- Vested balance: The money in your plan that is truly yours.
- Principal: The amount you borrow.
- Amortization: The month-by-month plan showing how each payment splits between interest and principal.
- Compound growth: Earnings that build on past earnings over time.
This information is for general learning only. Loan rules can differ by plan, so check your plan documents or talk with your plan administrator or a financial advisor before you borrow.