Should I pay off student loans or invest?
Last reviewed:
Enter your loan and the extra money you have each month. You see whether putting it toward the loan or investing it leaves you with more after the years you choose, and the return you would need to beat your loan rate.
Calculator
Turn on JavaScript to compare paying off the loan with investing.
Net worth on each path
The answer at other returns
Same loan and extra money; only the expected investment return changes.
| Return before tax | After tax | Pay off first | Invest the extra | Better choice |
|---|---|---|---|---|
| Needs JavaScript. | ||||
How the comparison works
Both paths spend the same money every month: your scheduled loan payment plus the extra. On the first path the extra goes to the loan, and once it is paid off the whole amount is invested. On the second, you pay only the scheduled amount and invest the extra from the start. After the years you choose, the calculator compares your investments minus anything you still owe.
The rule behind it: paying down a loan earns exactly its interest rate, with no risk. Investing wins only if your return after tax beats that rate. With a $30,000 loan at 6.52%, $200 extra a month and a 7% return taxed at 15%, paying off first ends about $749 ahead after 10 years and saves about $5,118 in interest.
Before either one
- Take any employer retirement match. A match is an instant return that paying down a loan cannot beat.
- Keep an emergency fund. Extra loan payments cannot be taken back if you need cash.
- Pay off high-rate debt first. Credit cards usually charge far more than student loans.
- Going for forgiveness? If you expect PSLF or forgiveness on an income-driven plan, extra payments only shrink the amount forgiven, so investing usually wins.
Taxes and accounts
Investment growth in a taxable account is taxed, so enter a tax rate on growth. In a Roth account or a 401(k) the growth is sheltered, which favors investing. Student loan interest can be partly deductible, which lowers the loan's true cost a little; this calculator leaves the deduction out.
FinCalcs does not endorse or link to a loan marketplace from this page. Compare the written APR, every fee, the amount you receive, monthly payment, repayment term, and total of payments. A longer term can lower the payment while increasing total cost.
CFPB: interest rate versus APR · CFPB: costs and terms to compare · CFPB: payday-loan guidance
What this does not show
- Investment risk. Returns vary year to year and can be negative. The calculator uses one steady rate.
- Income-driven payments and forgiveness. It assumes a fixed payment.
- Inflation. All figures are in future dollars.
Questions people ask
Should I pay off student loans or invest?
Compare your loan rate with the return you expect after tax. Paying the loan earns its rate with no risk; investing wins only if it earns more. Take any employer match and build an emergency fund first.
Is it better to pay off a 6% student loan or invest?
A 6% loan is a sure 6% return. Investing may earn more over long periods, but returns swing from year to year and taxes reduce them. Many people split extra money between the two.
Does paying off student loans early save money?
Yes, in interest. On $30,000 at 6.52% over 10 years, $200 a month extra pays it off in 67 months instead of 120 and saves about $5,118 in interest.
Should I pay extra if I am going for forgiveness?
Usually not. Under PSLF or an income-driven plan, the balance left at the end is forgiven, so extra payments reduce what would have been forgiven rather than what you pay.
Do I need to count taxes on investment returns?
In a taxable account, yes: growth is taxed, which lowers your return. In a Roth IRA or 401(k), enter 0% tax on growth.
Your next decision
- How fast can I pay it off?Your payoff date with extra payments.
- Would an income-driven plan be cheaper?RAP against the standard plan.
- Will I qualify for PSLF?Forgiveness after 10 years of public service.
Related: Student loan payoff · Income-driven repayment · Debt payoff · All debt and savings decisions
Sources
- Federal Student Aid, U.S. Department of Education, Interest Rates for Federal Direct Loans First Disbursed Between July 1, 2026 and June 30, 2027 (GENERAL-26-33). As of June 4, 2026.
Written by Abiot Y. Derbie, PhD. The two paths are tested against hand-worked cases, including a zero-rate tie and an interest-only check. Our editorial policy explains how we source numbers and correct mistakes. This calculator is for education and is not financial or investment advice.