calculate-loan

01 Loan payments

Student Loan Interest Type: Fixed or Variable

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

Monthly payment $405.53
Total interest
$4,331.67
= Monthly payment × loan term × 12 − loan amount
Loan amount
$20,000
Input
Interest rate (APR)
8 %
Input
You enter
Loan amount ($), Interest rate (APR) (%), Loan term (years)
You get
Monthly payment ($), Total interest ($)
Rounding
2 dp

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.

Student loans are typically offered with either a fixed interest rate or a variable interest rate, and the type you have determines how much your monthly payment can change over the life of the loan. A fixed rate stays the same for the entire repayment term, while a variable rate can go up or down based on an underlying index. This article explains both types, how they work, and what to consider when comparing them.

Formula

The monthly payment for a fixed-rate loan is calculated using the standard amortization formula:

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

  • M = monthly payment (in dollars)
  • P = principal loan amount (in dollars)
  • r = monthly interest rate (annual rate divided by 12, expressed as a decimal)
  • n = total number of monthly payments (loan term in years × 12)

For example, an 8% APR becomes r = 0.08 / 12 = 0.0066667 per month. The formula assumes a fixed rate, level payments, and monthly compounding of interest.

Worked Example

Using the default values from the calculator: loan amount $20,000, APR 8%, term 5 years.

  1. Convert APR to monthly rate: r = 8 / 1200 = 0.0066667
  2. Number of payments: n = 5 × 12 = 60
  3. Compute (1 + r)^n = (1.0066667)^60 ≈ 1.48985
  4. Monthly payment = 20000 × (0.0066667 × 1.48985) / (1.48985 – 1) = 20000 × (0.0099323) / 0.48985 ≈ 405.53
  5. Total interest = 405.53 × 60 – 20000 = 24331.80 – 20000 = 4331.80

The calculator shows a monthly payment of $405.53 and total interest of $4,331.80, matching the manual calculation.

Assumptions

  • Fixed interest rate for the entire term.
  • Payments are made monthly at the end of each period.
  • Interest compounds monthly at the annual rate divided by 12.
  • No fees, late charges, or prepayment penalties are included.
  • The formula does not model variable-rate changes, deferment, forbearance, or income-driven repayment plans.

Fixed vs. Variable Interest: Key Differences

The core difference is predictability. A fixed rate locks in your interest rate at origination, so your monthly payment (excluding taxes or insurance) remains constant for the life of the loan. A variable rate starts with an initial rate that is typically lower than a comparable fixed rate, but it adjusts periodically—often every month or every quarter—based on a benchmark index like SOFR or the prime rate, plus a margin set by the lender.

For example, a variable loan might have an initial APR of 6% with adjustments capped at 2% per period and 8% over the loan’s life. If the index rises, your payment increases; if it falls, your payment decreases. Fixed rates are usually higher at the start because they include a premium for the lender’s risk of future rate increases.

How Interest Accrues on Student Loans

Interest on student loans is typically calculated using the simple daily interest method: the outstanding principal is multiplied by the annual interest rate divided by 365, then multiplied by the number of days since the last payment. For example, a $10,000 loan at 6% APR accrues about $1.64 per day ($10,000 × 0.06 / 365).

When you make a payment, it first covers any accrued interest, then reduces the principal. If you have a subsidized federal loan, the government pays the interest while you are in school or during deferment, but unsubsidized loans accrue interest from the day the loan is disbursed. This accrued interest can be capitalized (added to the principal) when you enter repayment, increasing the total amount you owe.

Common Problems and Misconceptions

One common misconception is that a variable-rate loan always ends up costing less because the initial rate is lower. In reality, if the index rises sharply, your total interest can exceed what you would have paid with a fixed rate. Another issue is payment shock: when a variable rate adjusts upward, your monthly payment can increase significantly, which may strain your budget.

Another problem is misunderstanding how interest capitalization works. If you defer payments while interest accrues, the unpaid interest is added to the principal, and future interest is calculated on that larger balance. This can make the loan grow quickly if you don’t pay at least the interest during deferment.

How to Choose Between Fixed and Variable

Choosing between fixed and variable depends on your risk tolerance and your timeline. Consider these factors:

  • Loan term: For longer terms (10 years or more), a fixed rate protects you from rate increases over a long period. For short terms (1-3 years), a variable rate might be lower initially, but you still face adjustment risk.
  • Current rate environment: If market rates are historically low, a fixed rate locks in that low rate. If rates are high and expected to fall, a variable rate could become cheaper—but this is unpredictable.
  • Budget stability: If you need consistent monthly payments for budgeting, fixed is simpler. If you can handle fluctuations, variable might offer savings.
  • Future income: If you expect higher income later, you might tolerate a variable rate; if your income is tight, stability matters more.

Always compare the actual terms, including any rate caps and adjustment frequency, not just the initial APR.

Cost Comparison Example

Suppose you borrow $30,000 for 10 years. A fixed-rate loan at 7% APR gives a monthly payment of about $348.33 and total interest of $11,799. A variable-rate loan starts at 5% APR but adjusts to 9% after three years. For the first 36 months, the payment is about $318.20; for the remaining 84 months at 9%, the payment jumps to about $384.77. The total interest becomes roughly $12,700—more than the fixed loan, even though the initial rate was lower.

This example illustrates that a lower starting rate does not guarantee lower total cost. Use the calculator above to test different rate scenarios by changing the APR and term.

Safety and Accuracy Considerations

When using any loan calculator, remember that the result is an estimate. Lenders may use slightly different compounding methods or include fees that change the actual payment. For variable-rate loans, the formula cannot predict future rate changes, so the estimate is only accurate for the current rate. Always read the loan disclosure documents for the exact terms, including the annual percentage rate (APR), which includes certain fees, and the total cost of the loan.

Also, be aware that federal student loans have fixed rates set by Congress, while private loans can be fixed or variable. The type of loan you choose affects your rights and repayment options, but this article does not cover specific program rules—check with your loan servicer or the official federal student aid website for details.

Frequently Asked Questions

Can I switch from a variable rate to a fixed rate on my student loan?
Yes, many private lenders allow you to refinance a variable-rate loan into a fixed-rate loan, but this is a new loan with new terms. Federal loans generally do not allow rate type changes, but you may be able to consolidate or refinance through a private lender, which would lose federal benefits.

What is the average student loan interest rate?
Rates vary by loan type, lender, and market conditions. Federal undergraduate loans have fixed rates set annually, while private loan rates depend on creditworthiness and the benchmark index. You must check the current rates from the lender or the Department of Education.

How often does a variable rate change?
It depends on the loan agreement. Common adjustment periods are monthly, quarterly, or annually. The loan documents specify the index, margin, and any caps on how much the rate can change per period and over the life of the loan.

Is it better to pay off a student loan early if I have a variable rate?
Paying off any loan early reduces total interest, but with a variable rate, the benefit is uncertain because future rate changes are unknown. If you can afford extra payments, they will reduce the principal and lower future interest, but there is no guarantee that prepaying is better than investing the money elsewhere—consider your other debts and financial goals.

What happens to my interest rate if I miss a payment?
Missing a payment can trigger late fees and may increase your interest rate if your loan has a penalty provision, but this is not universal. For variable-rate loans, the rate is tied to an index, not your payment history; however, defaulting can damage your credit and lead to collection costs. Contact your servicer immediately if you cannot make a payment.

The result from this calculator is an estimate based on the inputs you provide; the exact figures appear in your lender’s official disclosure.

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 →