thisorthat.money
Free forever
← Back to all calculators
🎓

Pay Off Loans or Invest?

Should you throw extra money at your student loans or invest it? Enter your numbers and see which path builds more wealth over time.

Your Student Loans
Loan Balance?$35,000
$5,000$200,000
Interest Rate?6.5%
2%12%
Min Monthly Payment$400
$100$2,000
The Extra Money
Extra $/month$300
$50$2,000
Assumptions
Investment Return?8%
3%14%
Time Horizon?20 years
5 years30 years
📈
Investing wins by $6,272
At 8% returns, your investments grow faster than your 6.5% loan costs you. Investing the extra $300/mo while making minimum payments wins by $6,272.
Investing the extra wins — open a brokerage and put compound growth to work.
Start investing →
Net Worth Over Time
Pay Off First
$246,172
net worth at year 20
Invest Extra
$252,444
net worth at year 20
Difference
$6,272
invest wins
Loan Payoff Time
4y 11m
with extra payments
Standard Payoff
9y 11m
minimum payments only
Interest Saved
$6,637
by paying off early
How This Comparison Works

Pay Off First: Put all extra money toward your student loans until they're gone, then redirect everything (minimum payment + extra) into investments. You start investing later but with zero debt.

Invest Extra: Make only minimum loan payments and invest the extra money immediately. Your investments start growing from day one, but you carry the loan longer and pay more interest.

The key variable is the gap between your loan rate and expected investment returns. When returns significantly exceed your loan rate, investing wins. When rates are close, the guaranteed "return" of eliminating debt often makes more sense — especially when you factor in the peace of mind.

Related calculators

Pay Off Student Loans or Invest: The Real Math

You've got extra money each month and two competing priorities: student loan debt and retirement savings. The internet is full of passionate opinions on both sides. Here's what the math actually says.

The Simple Rule

If your expected investment return is higher than your student loan interest rate, investing the extra money builds more wealth over time. If your loan rate is higher than your expected returns, paying off the debt wins.

In practice, most federal student loans carry rates between 3–7%, while the long-term stock market has returned roughly 8–10% annually. That spread is why investing often wins on paper. But there's more to the story.

When Investing Wins

Investing tends to come out ahead when your loan rates are below 5–6%, you have a long time horizon (10+ years), and you're comfortable with market volatility. The longer the time frame, the more compound growth works in your favor and the more likely you are to actually realize those average returns.

This is especially true if your employer offers a 401(k) match — that's free money that instantly doubles your return. Always capture the full match before making extra loan payments.

When Paying Off Loans Wins

Aggressive loan payoff wins when your rates are above 7–8% (common with private loans and some Grad PLUS loans), when investment returns are lower than average, or when the guaranteed "return" of eliminating debt gives you peace of mind that keeps you on track financially.

Paying off debt is also a risk-free return. The stock market averages 8–10% over decades but individual years vary wildly. Your student loan interest rate is a guaranteed cost. If you pay off a 6% loan, you earn a guaranteed 6% return — no market risk involved.

The Psychology Factor

Numbers tell one story, but behavior tells another. Some people are more motivated and financially disciplined when they're debt-free. Others sleep fine with low-rate debt and prefer to see their investment accounts grow. Neither approach is wrong — the best strategy is the one you actually execute consistently.

Research shows that the emotional weight of debt reduces well-being independently of the financial impact. If your student loans stress you out, the psychological benefit of paying them off may outweigh a few percentage points of theoretical investment gains.

The Hybrid Approach

Most financial planners recommend a middle path: capture your employer match first (if applicable), build a small emergency fund, then split extra money between loan payments and investing. This hedges your bets and keeps both priorities moving forward.

A common split is 50/50 or 60/40 in favor of whichever priority has the higher rate. You can adjust this over time as your loans shrink and your income grows.

What This Calculator Assumes

This tool compares two extreme strategies: put ALL extra money toward loans, or invest ALL extra money. Real life is usually somewhere in between. The model assumes a constant investment return (no volatility), which overstates certainty. It also doesn't account for employer matches, tax deductions on student loan interest, or changes in income over time.

Use it to understand the direction and magnitude of the tradeoff, not as a precise prediction. Adjust the return slider to see how sensitive the result is to different market outcomes.

Frequently Asked Questions

Should I always invest if my loan rate is lower than market returns?

Not necessarily. Market returns are an average over decades — in any given year, you could lose money. Your loan rate is a guaranteed cost. The wider the gap between the two, the more compelling the case for investing. If they're close (within 1–2%), the "right" answer depends on your risk tolerance.

What about student loan forgiveness programs?

If you qualify for Public Service Loan Forgiveness (PSLF) or an income-driven repayment forgiveness program, paying extra is usually the wrong move. You want to minimize payments, not accelerate them. Invest the difference instead and let forgiveness handle the balance.

Should I refinance first?

If you can lower your rate by refinancing, it makes both strategies better — but it especially strengthens the case for minimum payments + investing, since the lower rate reduces the "cost" of carrying the debt. Just note that refinancing federal loans into private loans means losing access to federal protections and forgiveness programs.

What about the student loan interest tax deduction?

You can deduct up to $2,500 in student loan interest per year (income limits apply). This effectively reduces your loan's real cost by your marginal tax rate. For example, a 6% loan at a 22% tax rate effectively costs about 4.7%. This makes the case for investing even stronger.