calculate-loan

01 Loan payments

Student Loan Interest: How It Works & What You Pay

Calculator No. 01-22446 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

This calculator works out the monthly payment and total interest for a fixed-rate student loan. You enter the loan amount, the annual interest rate (APR), and the term in years; it returns the level monthly payment and the total interest you will pay over the life of the loan. Use it to compare how different rates or terms change your costs before you sign anything.

Formula

The standard level-payment formula for a fixed-rate loan is:

M = P × (r / (1 − (1 + r)^(−n)))

  • M = monthly payment (in dollars)
  • P = principal, the amount borrowed (in dollars)
  • r = monthly interest rate = annual APR ÷ 12 (as a decimal, e.g., 8% APR → 0.08/12 = 0.006667)
  • n = total number of monthly payments = term in years × 12

Total interest is simply the monthly payment times the number of payments, minus the principal: Total interest = M × n − P.

Worked Example

Using the default values from the calculator: $20,000 borrowed, 8% APR, 5-year term.

  1. Monthly rate: r = 8 / 1200 = 0.0066667
  2. Number of payments: n = 5 × 12 = 60
  3. Payment factor: (1 + 0.0066667)^(−60) = (1.0066667)^(−60) ≈ 0.67121
  4. Denominator: 1 − 0.67121 = 0.32879
  5. Monthly payment: M = 20000 × (0.0066667 / 0.32879) = 20000 × 0.020276 ≈ $405.52
  6. Total paid: 405.52 × 60 = $24,331.20
  7. Total interest: 24,331.20 − 20,000 = $4,331.20

The calculator shows a monthly payment of $405.52 and total interest of $4,331.20, matching the step-by-step result.

Assumptions

  • Fixed interest rate for the entire term (no variable-rate changes).
  • Payments are made monthly at the end of each period.
  • Interest compounds monthly at APR ÷ 12.
  • No fees, origination charges, late penalties, or prepayment penalties are included.
  • No deferment, forbearance, or income-driven payment adjustments are modelled.

How Student Loan Interest Accrues

Student loan interest is calculated on the unpaid principal balance. Each month, the lender applies the monthly rate to the current balance. With a standard fixed-rate loan, your payment stays the same, but the split between interest and principal changes over time: early payments go mostly to interest, later payments mostly to principal. This is called amortization.

For example, on the $20,000 loan above, the first month’s interest is 20000 × 0.0066667 = $133.33. Your $405.52 payment covers that interest plus $272.19 of principal, leaving a balance of $19,727.81. The next month’s interest is calculated on the new, lower balance, so the interest portion slowly shrinks.

If you have a subsidized federal loan, the government may pay interest during certain periods (like while you’re in school), but for most private loans and unsubsidized federal loans, interest starts accruing as soon as the money is disbursed. That means your balance can grow while you’re still studying if you don’t make payments.

How to Read the Result

The monthly payment shown is what you would owe each month for the entire term if you never miss a payment and the rate never changes. The total interest figure is the cost of borrowing—the difference between what you repay and what you received. A lower total interest is generally cheaper, but it usually requires a higher monthly payment or a shorter term.

When comparing loan offers, look at both the APR and the term. A lower APR with a longer term can still result in more total interest than a higher APR with a shorter term. For instance, a $20,000 loan at 6% for 10 years has a monthly payment of $222.04 and total interest of $6,644.80, while the same loan at 8% for 5 years has a higher payment but lower total interest ($4,331.20).

Common Mistakes and Misconceptions

  • Confusing APR with the simple interest rate. APR includes certain fees and expresses the true annual cost. For student loans, the APR is often close to the nominal rate, but always check the disclosure.
  • Using the wrong rate in the formula. The formula needs the monthly rate (APR ÷ 12), not the annual rate directly. Putting 8 instead of 0.006667 will give a wildly wrong payment.
  • Ignoring interest during school. If you don’t pay interest while enrolled, it may be capitalized (added to principal), so your balance grows and you pay interest on interest. This calculator assumes no capitalization.
  • Rounding too early. Round the payment to cents only at the end, not in intermediate steps, to avoid small errors.
  • Thinking the total interest is simple interest. Because the balance decreases, total interest is less than simple interest on the original amount. For the example, simple interest would be 20000 × 0.08 × 5 = $8,000, but actual total interest is $4,331.20.

How to Choose a Loan Term and Rate

Your choice of term affects both the monthly payment and total interest. A shorter term (e.g., 5 years) has higher monthly payments but lower total interest. A longer term (e.g., 10 years) lowers the monthly payment but increases total interest. Use the calculator to test different combinations.

For example, on $20,000 at 8% APR:

  • 5-year term: $405.52/month, total interest $4,331.20
  • 10-year term: $242.66/month, total interest $9,119.20
  • 15-year term: $191.14/month, total interest $14,405.20

These numbers assume you make exactly the required payment every month. If you can afford a higher payment, a shorter term saves money. If you need a lower payment, a longer term gives you breathing room but costs more overall. There is no universally “best” choice; it depends on your budget and goals.

Limitations of the Calculator

This calculator is a pure amortization model. It does not account for:

  • Variable interest rates that change over time.
  • Income-driven repayment plans where payments are based on earnings and may not cover interest.
  • Loan forgiveness programs that may cancel part of the balance after a set number of qualifying payments.
  • Fees, such as origination fees, which are deducted from the disbursed amount.
  • Prepayment penalties (rare on student loans) or benefits for automatic payments.
  • Tax deductions for student loan interest, which can reduce your effective cost.

For federal loans, specific program rules—like Public Service Loan Forgiveness or income-driven repayment—are not modelled here. You should check with your loan servicer or the official program materials for exact terms. For private loans, the lender’s disclosure statement gives the precise APR, fees, and repayment terms.

Frequently Asked Questions

What is the difference between subsidized and unsubsidized loans?

Subsidized federal loans do not accrue interest while you are in school at least half-time, during the grace period, and during deferment. Unsubsidized loans accrue interest from the moment the loan is disbursed. Private loans are generally unsubsidized. This calculator assumes interest accrues from day one, so it overestimates the cost of a subsidized loan if you use it for the in-school period.

How often is student loan interest compounded?

Most student loans compound daily or monthly, but the effect is nearly identical because the APR is divided by 12 for monthly compounding. Some lenders use daily compounding, which can add a tiny amount. The calculator uses monthly compounding, which is standard for amortization calculations.

Can I pay off my student loan early without penalty?

Most federal and private student loans allow prepayment without penalty, but you should check your loan contract. If you pay extra, the additional amount typically goes toward principal, which reduces the balance and total interest. The calculator does not model extra payments, but you can try a lower term to see the effect of paying more each month.

Why does my monthly payment not cover the interest?

If your payment is less than the monthly interest, the unpaid interest is added to your balance (capitalized), so your debt grows. This can happen on income-driven repayment plans where payments are set below the interest accrual. The calculator will show “Cannot compute” if the payment is too low, which is correct—the loan would never be paid off.

Does the APR include all fees?

Yes, the APR is meant to reflect the true annual cost, including most fees, expressed as a yearly rate. However, the exact calculation may vary by lender. For federal loans, the APR is usually close to the interest rate because fees are small. Always read the loan disclosure to see the exact APR and fee breakdown.

What happens if I miss a payment?

Missing a payment can trigger late fees, increase your APR (if the rate is variable), and damage your credit score. It may also capitalize unpaid interest. This calculator assumes on-time payments every month, so any missed payment would change the actual numbers. Contact your servicer immediately if you’re struggling to pay.

This result is an estimate for educational purposes; your lender’s disclosure gives the exact figures for your loan.

Related

Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000
in apr | Interest rate (APR) | % | 8 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →