401K Loan Calculator

Last Updated:

Use our free 401K Loan Calculator to estimate your repayment amounts, interest costs, and impact on retirement savings. Plan smarter before borrowing from your 401K.

Retirement & Loan Planning

401(k) Loan Calculator

Estimate your 401(k) loan payment, total interest, repayment schedule, and a simplified borrowing limit based on your vested retirement balance. Explore the potential retirement-growth trade-off before borrowing.

Loan Details

The displayed maximum is a simplified federal baseline, not a plan approval. A plan may prohibit loans or set stricter limits. Other outstanding loans and the prior 12-month loan history can reduce the amount available.

Your Loan Estimate

Estimated payment every 2 weeks
—
Total interest
—
Total repaid (principal + interest)
—
Simplified maximum loan
—
Estimated number of payments
—

Principal vs. interest

■ Principal   ■ Interest
Estimated total outlay including fee
—
Enter details and calculate to see a borrowing-limit comparison.
Illustrative investment-growth comparison will appear here.

Loan Repayment Schedule

Each row shows an estimated scheduled payment. The final payment is adjusted to clear the remaining balance.

PaymentAmountPrincipalInterestBalance
Calculate to generate a schedule.

How to Use the 401(k) Loan Calculator

A 401(k) loan lets an eligible plan participant borrow from their own workplace retirement account, if the plan permits participant loans. Unlike a withdrawal, a properly administered loan is generally repaid under the plan’s rules. This calculator focuses on the payment obligation and the retirement-planning questions that are easy to overlook when a loan initially looks convenient.

Start with your vested balance, not necessarily the entire account balance. Employer contributions may be subject to vesting, meaning some of the account might not yet belong to you. Enter the amount you want to borrow, the annual rate your plan charges, and the number of years allowed for repayment. Choose a payment frequency that matches your plan’s payroll deductions. The calculator then estimates payments and builds an amortization table.

The annual return field is optional in the sense that it does not change your loan payment. It provides a separate illustration of what the borrowed principal might grow to if it remained invested for the same period. That illustration is not a forecast of your retirement account and does not model the full investment and repayment process.

401(k) Loan Payment Formula

For a fixed-rate, fully amortizing loan with equal payments, the payment formula is:

Payment = P × r ÷ [1 − (1 + r)−n]
P = amount borrowed; r = annual interest rate divided by payments per year; n = number of scheduled payments. When the rate is zero, Payment = P ÷ n.

For example, a $20,000 loan at 8.5% annual interest over five years, repaid every two weeks, has approximately 130 scheduled payments. The periodic rate is 0.085 ÷ 26. The first payment includes interest calculated on the full outstanding principal; subsequent payments generally allocate progressively more toward principal as the balance declines.

This formula assumes equal time intervals, a constant interest rate, no missed payments, and no extra principal payments. Real payroll deductions can vary because of plan-specific processing dates, rounding, fees, and repayment conventions. Always compare the calculator’s output with the official amortization schedule provided by your plan administrator.

How Much Can You Borrow From a 401(k)?

A common federal loan-limit starting point for a participant with a sufficiently large vested balance is the lesser of $50,000 or 50% of the vested account balance. There are important exceptions and adjustments. In some circumstances, a plan can permit up to $10,000 even if that exceeds 50% of the vested balance, subject to applicable requirements. In addition, the $50,000 ceiling can be reduced based on the highest outstanding loan balance during the preceding 12 months. Outstanding loans from relevant plans also affect eligibility.

This calculator deliberately displays only the simpler lesser-of-$50,000-or-50% figure. It does not apply the optional $10,000 exception or reconstruct your prior 12-month loan balances. It also cannot tell whether your employer’s plan allows loans at all, whether you qualify, or whether a home-purchase loan may have a different repayment term. Your plan document and administrator determine the actual available amount within the applicable rules.

401(k) Loan Interest: Who Receives It?

In many 401(k) loan arrangements, interest paid on the loan is credited back to the participant’s retirement account rather than paid to an outside lender. This can make the interest feel less costly than interest on a bank loan. However, it does not mean the transaction is financially free. The borrowed portion may be removed from market investments while the loan is outstanding, and repayment is typically made from your paycheck. You may also pay origination or maintenance fees.

Interest paid back into the account is different from the investment growth you might have earned. A strong market could outperform the loan rate, while a weak market could underperform it. The direction of that difference is unknowable in advance. The calculator’s investment-growth illustration assumes one constant annual return and should be treated as a scenario rather than an expected result.

Understanding the Results

Estimated payment

The main result is the amount due each selected payment period. A biweekly payment is not the same as a twice-monthly payment: biweekly normally means 26 payments per year, whereas twice monthly means 24. This distinction changes the payment amount and timing. If your payroll provider deducts loan payments each payday, choose the frequency that most closely matches that schedule.

Total interest and total repaid

Total interest is the sum of the interest components in the amortization schedule. Total repaid is principal plus interest; it excludes the separately entered origination fee. The total outlay field adds that fee to help you see a broader cash-flow estimate. Because loan fees differ by plan, the default fee is merely illustrative and can be set to zero.

Potential investment growth

The growth illustration calculates how much the original borrowed amount might become over the loan term at the entered annual return, assuming it stayed invested with annual compounding. It does not subtract loan interest credited to your account, model reinvested payroll repayments, or calculate your actual net retirement loss. A meaningful comparison would need to model the investment behavior of each repayment and your contributions over time.

401(k) Loan vs. 401(k) Withdrawal

A loan and a withdrawal are not interchangeable. A qualifying loan generally creates a repayment obligation and, when handled according to the rules, is not immediately treated as a taxable distribution. A withdrawal takes money out of the retirement plan and may create income tax and, depending on the circumstances, an additional early-distribution tax. Loan defaults or certain unpaid loan balances can also result in a taxable distribution. Special rules apply to plan loan offsets and possible rollovers, so a change in employment deserves particular attention.

Before borrowing, ask whether you can continue normal retirement contributions, whether employer matching contributions will be affected by cash-flow constraints, and what happens to the unpaid balance if you leave your job. A payment that fits today’s budget may become difficult after a job change or unexpected expense.

What Happens If You Leave Your Job?

Some plans require outstanding loan balances to be repaid after employment ends or otherwise handle them under plan-specific procedures. If a loan is not repaid as required, the outstanding balance may become a taxable deemed distribution or a plan loan offset, depending on the facts. The tax treatment and rollover options differ. This calculator does not estimate taxes or penalties from a default or offset because those depend on age, account type, tax circumstances, timing, and the plan’s administration.

Review the summary plan description and ask the administrator about separation from service before accepting a loan. This is especially important if you are considering a career change, expecting a layoff, or relying on variable income to cover payroll deductions.

Repayment Term and Home-Purchase Loans

Many 401(k) loans must generally be repaid within five years. A loan used to acquire a principal residence may qualify for a longer repayment period under the applicable rules, but a longer term is not automatic. The plan must permit it and may set its own limits. The calculator accepts longer terms for scenario analysis; that does not establish that a longer term is permitted for your loan.

Longer terms reduce the amount due per payment but usually increase the total interest paid. They also keep borrowed money away from its previous investment allocation for longer. Shorter terms can reduce interest but create a larger payroll deduction. The most useful term is one you can comfortably meet without compromising essential expenses or an emergency reserve.

Worked Example: A $20,000 Retirement Plan Loan

Suppose your vested balance is $80,000 and you request $20,000. The simplified limit is $40,000, calculated as the lesser of $50,000 and half the vested balance. Your requested amount is below that baseline, but approval still depends on your plan, existing loans, and other applicable rules.

At 8.5% interest with five years of biweekly payments, the calculator estimates a fixed periodic payment and shows the principal and interest in each installment. If you change the rate to 10%, the periodic payment and total interest rise. If you shorten the term to three years, the payment rises but total interest generally falls. These comparisons help assess cash-flow affordability before applying.

Common Mistakes to Avoid

Using the total account balance: The borrowing baseline typically uses the vested balance, which can be lower. Assuming the maximum is guaranteed: Federal limits do not force a plan to offer loans. Ignoring previous loans: The lookback and outstanding balance rules can reduce borrowing capacity. Comparing interest rates alone: Loan fees, lost market exposure, and employment risk matter too. Overlooking payment frequency: A biweekly schedule creates more annual payments than a twice-monthly schedule.

Another mistake is assuming that interest credited back to your account perfectly replaces the return you would otherwise earn. Returns vary, and the schedule of repayments matters. Use the investment-growth figure only as a reminder that there is a trade-off to investigate, not as a calculated net cost.

Frequently Asked Questions

How do I calculate my 401(k) loan payment?

Enter the amount borrowed, annual loan rate, repayment years, and payment frequency. The calculator applies a standard amortization formula to estimate a level payment.

What is the maximum 401(k) loan?

A common baseline is the lesser of $50,000 or 50% of your vested balance, but exceptions, a prior-loan lookback, outstanding loans, and plan restrictions can change the permitted amount.

Does every 401(k) plan allow loans?

No. Employer-sponsored plans may allow participant loans but are not required to offer them. Check your plan’s terms.

Is 401(k) loan interest paid to myself?

Interest is generally credited to your retirement account, but fees, investment opportunity costs, and repayment risks still exist.

Can I repay a 401(k) loan early?

Many plans permit early repayment, but procedures differ. Ask your administrator about additional principal payments and payoff instructions.

What happens if I default on a 401(k) loan?

An unpaid loan can trigger tax consequences, including treatment as a distribution. The precise outcome depends on the plan and circumstances.

Can I use a 401(k) loan to buy a house?

Some plans allow loans for acquiring a principal residence and may permit a longer repayment period. Verify eligibility and documentation requirements with your administrator.

Does borrowing from a 401(k) hurt retirement growth?

It can change your market exposure and contribution cash flow. Actual effects depend on investment returns, loan interest credited back, and how repayments are invested.

Does this calculator include taxes and penalties?

No. It models scheduled repayment and an illustrative growth scenario, not tax consequences from defaults, distributions, or loan offsets.

Related Calculators

Explore the Mortgage Calculator, Auto Loan Calculator, and Inflation Calculator for additional borrowing and purchasing-power estimates.

Important: This is an educational estimation tool, not tax, legal, financial, or retirement-plan advice. Rules and plan terms can change. Confirm borrowing limits, repayment rules, and consequences with your plan administrator and a qualified adviser.