Student Loan Calculator

Calculate your student loan monthly payment, total interest, debt-to-income ratio and how different repayment terms compare.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

$
%
years
$
$

Monthly payment

-

-

Total interest

-

Total paid

-

Payoff time

-

Debt-to-income ratio

-

Term Monthly payment Total interest

Not financial advice. Federal and private student loans have different repayment plans, forgiveness programs and interest rules. Consider income-driven repayment (IDR) options before committing to a fixed term.

How to use this calculator

Enter your loan amount, interest rate and repayment term. If you know your expected monthly income, add it to see your debt-to-income ratio. The comparison table below shows monthly payment and total interest at 5, 10, 15, 20 and 25-year terms.

The formula behind this result

Monthly payment uses standard amortization: M = P × [r(1+r)^n] / [(1+r)^n − 1], where P is the loan amount, r is the monthly interest rate and n is the number of monthly payments. Debt-to-income ratio (DTI) = monthly payment ÷ monthly income × 100%. A DTI under 10% is comfortable; 10–15% is manageable; above 15% is high.

Frequently asked questions

Should I choose a longer or shorter repayment term?

A shorter term (5–10 years) means higher payments but far less total interest. A longer term (20–25 years) means lower payments but you can pay double the loan amount in total interest. Choose the shortest term you can comfortably afford.

What is a good debt-to-income ratio?

Keep student loan payments under 10% of monthly income if possible. Lenders typically want total DTI (including mortgage, car, credit cards) under 36–43%.

Are federal student loans better than private?

Almost always yes. Federal loans offer income-driven repayment (IDR), Public Service Loan Forgiveness (PSLF), deferment and fixed rates. Private loans have none of these protections — refinance only if you have very high rates and stable income.

Can I refinance my student loans?

Yes — but only if you have good credit and stable income. Refinancing federal loans converts them to private loans, which means you lose all federal protections. Consider income-driven repayment or PSLF first.

Explore more