calculate-loan

01 Loan payments

Federal Student Loan: How It Works and What to Know

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

A federal student loan is a loan funded by the U.S. government to help students pay for college or career school, with repayment terms and protections that differ from private loans. You apply by submitting the Free Application for Federal Student Aid (FAFSA), and the government or its servicer sets the interest rate, fees, and repayment plan. This page explains the general arithmetic of how these loans work, what affects your monthly payment, and what to consider before borrowing.

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 = APR / 12 / 100 (as a decimal)
  • n = total number of monthly payments = term in years × 12

For example, an APR of 8% means r = 0.08 / 12 = 0.0066667. The total interest is simply the monthly payment multiplied by the number of payments, minus the principal: Total Interest = M × n − P.

Worked Example

Using the calculator defaults: loan amount P = $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. Calculate (1 + r)^n = (1.0066667)^60 ≈ 1.4898457
  4. Monthly payment: M = 20000 × (0.0066667 × 1.4898457) / (1.4898457 − 1) = 20000 × (0.0099323) / 0.4898457 ≈ 20000 × 0.020276 ≈ $405.52
  5. Total interest = 405.52 × 60 − 20000 = 24331.20 − 20000 = $4,331.20

The calculator shows a monthly payment of $405.52 and total interest of $4,331.20 for these inputs.

Assumptions

  • Fixed interest rate for the entire term (federal Direct Loans have fixed rates).
  • Payments are made monthly at the end of each period.
  • Interest compounds monthly at APR / 12.
  • No fees, taxes, or other charges are included unless you add them to the loan amount.
  • The formula assumes you make exactly the required payment every month with no extra payments or deferments.

Background: Types of Federal Student Loans

The U.S. Department of Education offers several types of federal student loans through the William D. Ford Federal Direct Loan Program. The main categories are:

  • Direct Subsidized Loans – for undergraduate students with financial need; the government pays the interest while you’re in school at least half-time and during grace periods.
  • Direct Unsubsidized Loans – for undergraduate and graduate students; interest accrues from the day the loan is disbursed, even while you’re in school.
  • Direct PLUS Loans – for graduate students and parents of dependent undergraduates; credit check required, higher interest rate, and fees.
  • Direct Consolidation Loans – allows you to combine multiple federal loans into one loan with a single monthly payment.

Each type has its own annual and aggregate borrowing limits, which are set by law and change periodically. You can find current limits on the Federal Student Aid website.

How Federal Student Loans Work

To get a federal loan, you must complete the FAFSA each year you need aid. The government uses the information to determine your Expected Family Contribution (EFC) and financial need. Your school then sends you a financial aid offer that lists the loan amounts you’re eligible for.

Once you accept a loan, the funds are sent directly to your school to cover tuition, fees, and room and board. Any leftover amount is paid to you (or your parent, for PLUS loans) for other education expenses. Interest begins accruing immediately on unsubsidized loans; for subsidized loans, it starts after the grace period.

Repayment typically begins six months after you graduate, leave school, or drop below half-time enrollment. During that grace period, you don’t make payments, but interest may accrue (except on subsidized loans).

Your monthly payment depends on the loan amount, interest rate, and repayment plan. The standard plan has a fixed payment over 10 years. Other plans, like income-driven repayment, base your payment on your income and family size, and can extend the term to 20 or 25 years.

How to Choose a Repayment Plan

Choosing a repayment plan is a major decision because it affects your monthly budget and total interest paid. Here are the general options (specific rules may change):

  • Standard Repayment – fixed payments over 10 years; you pay the least total interest but have higher monthly payments.
  • Graduated Repayment – payments start low and increase every two years over 10 years; total interest is higher than standard.
  • Extended Repayment – for borrowers with over $30,000 in federal loans; fixed or graduated payments over 25 years, lowering monthly payments but increasing total interest.
  • Income-Driven Repayment (IDR) plans – such as Income-Based Repayment (IBR), Pay As You Earn (PAYE), and Saving on a Valuable Education (SAVE) – payments are a percentage of discretionary income, recalculated annually. Any remaining balance may be forgiven after 20 or 25 years of qualifying payments, but forgiven amounts may be taxable.

Use the calculator above to compare the monthly payment and total interest for different terms. For example, a $20,000 loan at 8% over 10 years gives a payment of about $242.66 and total interest of $9,119.20 – much higher total interest than the 5-year term, but lower monthly payments.

When choosing, consider your current income, expected earnings growth, and whether you might qualify for loan forgiveness. The Department of Education’s Loan Simulator can help you see estimates for different plans.

Common Problems and Mistakes

Borrowers often make mistakes that increase costs or cause payment issues:

  • Not understanding interest accrual – on unsubsidized loans, interest adds up while you’re in school. If you don’t pay it, it capitalizes (gets added to the principal), increasing your total debt.
  • Choosing the longest term without considering total cost – a 25-year plan lowers monthly payments but can double the total interest compared to a 10-year plan.
  • Missing payments – late or missed payments can lead to fees, damaged credit, and eventually default, which has serious consequences like wage garnishment.
  • Not recertifying income for IDR plans – if you don’t recertify annually, your payment may jump to the standard amount, and unpaid interest may capitalize.
  • Borrowing more than needed – even though federal loans have lower rates than private loans, they still cost money. Only borrow what you truly need for education expenses.

Federal vs. Private Student Loans

Federal loans are generally the first choice because they offer:

  • Fixed interest rates (private loans can be variable)
  • Income-driven repayment options
  • Loan forgiveness programs (e.g., Public Service Loan Forgiveness for qualifying public service workers)
  • Deferment and forbearance options during hardship
  • No credit check for most undergraduate loans

Private loans, from banks or credit unions, may have higher or lower rates depending on your credit score. They lack federal protections and often require a co-signer for students. Private loans are typically used only after federal aid is exhausted.

Costs and Fees

Federal student loans have an origination fee, a percentage of the loan amount deducted from the disbursement. For Direct Subsidized and Unsubsidized Loans, the fee is around 1.057% (as of 2024); for PLUS loans, it’s about 4.228%. These fees are subject to change. The calculator above does not include fees, so if you want to account for them, add the fee amount to the loan principal.

Interest rates are fixed for the life of the loan and set annually by Congress. For example, for loans disbursed between July 2024 and June 2025, the rate for undergraduate Direct Subsidized and Unsubsidized Loans is 6.53%, and for graduate unsubsidized loans it’s 8.08%. These are examples, not current rates – always check the Federal Student Aid website for the current year’s rates.

Safety and Accuracy Notes

When using this calculator, remember:

  • The result is an estimate based on the inputs you provide. The actual payment may differ if fees are added or if your loan has a variable rate (federal loans are fixed, but private loans may not be).
  • Do not rely on this calculator for official figures. Your loan servicer will provide a disclosure with the exact payment amount and terms.
  • Never share your FSA ID or personal financial information with anyone. The FAFSA is free – beware of scams charging a fee to apply.
  • If you’re struggling to make payments, contact your loan servicer immediately to discuss options like deferment, forbearance, or income-driven repayment. Ignoring the problem leads to default.

Frequently Asked Questions

Do I have to pay back federal student loans?

Yes, federal student loans are real loans that must be repaid with interest. They are not grants or scholarships. Even if you don’t graduate, you still owe the money. Defaulting has serious consequences, including damage to your credit score and wage garnishment.

Can federal student loans be forgiven?

Yes, under specific programs. Public Service Loan Forgiveness (PSLF) forgives the remaining balance after 120 qualifying monthly payments while working full-time for a qualifying employer (government or non-profit). Income-driven repayment plans also offer forgiveness after 20 or 25 years of qualifying payments. However, forgiveness rules are complex and subject to change – verify your eligibility with your servicer.

What happens if I can’t make my monthly payment?

Contact your loan servicer right away. You may qualify for deferment (temporarily postpone payments) or forbearance (reduce or pause payments). Income-driven repayment plans can lower your payment based on your income. If you miss payments, you risk default, which can lead to wage garnishment and tax refund seizure.

How is the interest rate on federal loans determined?

Interest rates for federal student loans are set by Congress each year based on the 10-year Treasury note auction. They are fixed for the life of the loan. Rates differ for undergraduate, graduate, and PLUS loans. The rate for your loan is the one in effect at the time of disbursement.

Can I pay off my federal loan early without penalty?

Yes, there is no prepayment penalty for federal student loans. You can make extra payments at any time, and they will reduce your principal and total interest. Be sure to specify that extra payments should be applied to the loan with the highest interest rate if you have multiple loans.

What is the difference between subsidized and unsubsidized loans?

Subsidized loans are based on financial need, and the government pays the interest while you’re in school at least half-time, during the grace period, and during deferment. Unsubsidized loans are available regardless of need, and interest accrues from the day the loan is disbursed. You can choose to pay the interest while in school to prevent it from capitalizing.

This calculator provides an estimate for educational purposes. The exact payment and total cost of your federal student loan will be stated in the disclosure from your loan servicer.

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 →