calculate-loan

01 Loan payments

Calculate My Student Loan: Payment & Total Cost

Calculator No. 01-24878 · 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.

To calculate your student loan, enter the amount you borrowed, your annual interest rate (APR), and your repayment term in years. The calculator below gives your monthly payment and the total interest you will pay over the life of the loan.

Formula

The standard fixed-rate loan payment formula is:

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

  • P = principal loan amount (in dollars)
  • r = monthly interest rate = annual rate (APR) divided by 12, then divided by 100 (e.g., 8% APR → 0.08/12 = 0.006666…)
  • n = total number of monthly payments = loan term in years × 12

Total interest = (monthly payment × n) − P.

Worked Example

Using the defaults from the calculator above: P = $20,000, APR = 8%, term = 5 years.

  1. Convert APR to monthly rate: r = 8 / 1200 = 0.0066667
  2. Total payments: n = 5 × 12 = 60
  3. Calculate (1 + r)^(−n) = (1.0066667)^(−60) ≈ 0.671215
  4. Plug into formula: Payment = 20000 × (0.0066667 / (1 − 0.671215)) = 20000 × (0.0066667 / 0.328785) = 20000 × 0.020276 = $405.52
  5. Total paid = 405.52 × 60 = $24,331.20
  6. Total interest = 24,331.20 − 20,000 = $4,331.20

The calculator rounds the payment to the nearest cent, so your actual result may differ by a few cents if you do the arithmetic by hand with more decimal places.

Assumptions

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

How to Use the Result

The monthly payment figure tells you the minimum amount you must pay each month to fully repay the loan by the end of the term. The total interest figure shows the extra cost of borrowing beyond the original principal. Use these numbers to compare different loan offers (with the same term and rate) or to see how a longer term lowers your monthly payment but raises total interest.

For example, a $20,000 loan at 8% for 10 years gives a monthly payment of about $242.66 and total interest of $9,119.20—over twice the interest of the 5-year term, even though the monthly payment is much lower.

Common Mistakes

  • Using the annual rate instead of monthly. Always divide the APR by 12 and then by 100. Forgetting the /100 gives a wildly wrong payment.
  • Mixing years and months. If your term is given in months, convert to years or adjust n directly. The formula uses total months, not years.
  • Rounding too early. Rounding the monthly rate to 0.007 instead of 0.0066667 can change the payment by a few dollars over a long term.
  • Ignoring fees. Origination fees or insurance are not part of this formula; add them to the principal if you want a true total cost.
  • Assuming the payment covers interest only. If your payment is less than the monthly interest, the balance grows—this calculator will show “Cannot compute” because the formula breaks down.

When This Formula Applies

This is the standard calculation for a fixed-rate, fully amortizing loan—the type used for most federal and private student loans with a set repayment schedule. It works for any loan with equal monthly payments and a fixed rate. It does not apply to variable-rate loans, income-driven repayment plans, or loans with balloon payments. For those, you need a different model that accounts for changing rates or payment amounts.

If you have multiple student loans, calculate each one separately and add the monthly payments to see your total monthly obligation. The total interest is the sum of each loan’s interest—you cannot simply add the principals and use one rate unless the rates are identical.

How to Reduce Total Interest

Without recommending any specific action, here are factors that mathematically affect your total cost:

  • Shorter term: A 5-year term at 8% on $20,000 costs $4,331 in interest; a 10-year term costs $9,119. Paying more each month shortens the term and cuts interest.
  • Extra payments: Any additional amount applied directly to principal reduces the balance faster, lowering future interest. The effect is larger early in the loan because interest is calculated on a higher balance.
  • Lower rate: A 1% reduction from 8% to 7% on the 5-year example drops total interest to about $3,761—a saving of $570.

You can use the calculator to test these scenarios by changing the term or amount, but for extra-payment calculations you need a more detailed amortization schedule.

Frequently Asked Questions

How do I find my interest rate?

Your rate is listed on your loan disclosure documents, your monthly statement, or your lender’s online portal. Federal loans have fixed rates set by Congress; private loans may be fixed or variable. Do not guess—use the exact APR from your paperwork.

What if I have multiple loans with different rates?

Calculate each loan separately using its own rate and term, then add the monthly payments. Do not average the rates unless the loan amounts are equal, because a weighted average is needed—and even then, the payment is not simply the average rate applied to the total balance.

Can I use this for a variable-rate loan?

No. A variable rate changes over time, so a single fixed-rate formula will not be accurate. You would need to estimate future rate changes, which is speculative. Check your loan terms for how often the rate adjusts.

Why does the calculator show “Cannot compute”?

This happens when your monthly payment would be less than the monthly interest, so the balance never decreases—the loan would never be paid off. In practice, lenders do not offer such terms, but it can occur if you enter a very high rate and a very long term with a tiny payment.

Does this include federal loan fees or origination charges?

No. Federal Direct Loans often have an origination fee deducted from the disbursement. If you want to include it, add the fee amount to the principal you enter. The calculator only handles the pure loan arithmetic.

How do I calculate my monthly payment if I have a grace period?

A grace period delays your first payment but does not change the formula once payments begin. Interest may accrue during the grace period (for unsubsidized loans), which would increase the principal balance. You would need to add that accrued interest to the principal before using the calculator.

This result is an estimate based on the inputs you provide; your lender’s official disclosure will show the exact payment and total cost.

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 →