Student loan interest calculator

A student loan interest calculator shows what a loan costs in interest. Federal student loans charge simple interest every day: balance × rate ÷ 365.25. $20,000 at the 8.07% graduate rate accrues $4.42 a day, adds $3,228.00 over 24 months of school and grace, and costs $13,572.54 in interest over a 10-year repayment.

Calculator

Student loan interest

Interest before and during repayment

Loan type
$
%
months
$

A $20,000 unsubsidized federal loan at 8.07% accrues $4.42 a day (about $134.50 a month). In the 24 months before repayment it adds $3,228.00 of interest that you still owe (it is paid first, before principal). Repaid over 10 years, the payment is $279.77 and the total interest $13,572.54.

Monthly payment$279.7710 years at 8.07%
Total interest$13,572.5440% of the $33,572.54 you repay
Interest per day now$4.42balance × 8.07% ÷ 365.25
Interest before repayment$3,228.0024 months, not capitalized
Balance when repayment starts$23,228.00$20,000.00 principal + $3,228.00 unpaid interest
Interest in the first month$134.50of the $279.77 payment
Paying interest during school$134.50/mosaves $1,137.07 overall

Unpaid interest on Direct Loans held by the Department of Education does not capitalize when the grace period ends; it does after a deferment on an unsubsidized loan. Each payment covers unpaid interest before it reduces principal.

The same loan over other terms
TermMonthly paymentTotal interest
5 years$469.47$8,168.12
10 years$279.77$13,572.54
15 years$219.19$19,453.49
20 years$190.61$25,745.24
25 years$174.60$32,379.18
$0$10K$20K$30K0y2y3y5y7y8y10y
  • Balance owed
  • Interest charged so far
Year-by-year repayment
YearPaidInterest chargedOwed at year end
1$3,357.25$1,614.00$21,484.75
2$3,357.25$1,613.24$19,740.73
3$3,357.25$1,526.34$17,909.82
4$3,357.25$1,372.99$15,925.56
5$3,357.25$1,206.81$13,775.11
6$3,357.25$1,026.70$11,444.56
7$3,357.25$831.51$8,918.81
8$3,357.25$619.97$6,181.53
9$3,357.25$390.72$3,215.00
10$3,357.25$142.26$0.00

Formula. Interest per day = balance × rate ÷ 365.25. Interest before repayment = balance × rate × months ÷ 12 (unsubsidized and private loans). Payment = the level monthly amount that repays principal and any unpaid interest over the term at rate ÷ 12; payments cover unpaid interest before principal.

On this page
  1. How student loan interest is calculated
  2. Federal student loan interest rates 2026–27
  3. Student loan interest while in school
  4. Total interest over repayment
  5. Student loan payoff calculator: extra payments
  6. Related calculators
  7. All loan and debt calculators
  8. FAQ
  9. Sources

How student loan interest is calculated

Federal Direct Loans are daily interest loans. Each day's interest is the outstanding principal times an interest rate factor, the annual rate divided by 365.25 to allow for leap years; the interest since your last payment is that daily amount times the number of days.[1] It is simple interest: it is charged on principal, not on earlier interest, unless unpaid interest is capitalized.[6]

Interest=Principal × rate365.25 × days since last payment

StudentAid.gov's own example: a $10,000 Direct Unsubsidized Loan at 6.8% accrues $1.86 a day, and about $340 over six months without payments. If that $340 is capitalized, interest is charged on $10,340 and the daily amount rises to $1.93.[1] The calculator reproduces both figures.

Federal loan, first disbursed Jul 1, 2026 – Jun 30, 2027Fixed rateInterest per day on $10,000Per monthTotal over 10 years
Undergraduate Direct Subsidized or Unsubsidized6.52%$1.79$54.33$3,637.97
Graduate or professional Direct Unsubsidized8.07%$2.21$67.25$4,603.73
Direct PLUS (parents, graduate students)9.07%$2.48$75.58$5,246.59

Rates for new federal loans are set by law each year and fixed for the life of the loan; loans disbursed in earlier years keep their own rate, shown on your servicer's statement.[1]

Federal student loan interest rates 2026–27

Federal Direct Loans first disbursed from July 1, 2026 through June 30, 2027 carry these fixed rates for the life of the loan.[1] By law each rate is the high yield of the last 10-year Treasury note auction held before June 1, plus a fixed add-on, rounded and capped.[8] The May 2026 10-year note sold at a high yield of 4.468%,[9] which gives the 2026–27 rates below.

Federal student loan interest rates 2026–27 (first disbursed Jul 1, 2026 – Jun 30, 2027)
LoanBorrower2026–27 rate10-year note + add-onLegal cap
Direct Subsidized and UnsubsidizedUndergraduate students6.52%4.468% + 2.05 = 6.518%8.25%
Direct UnsubsidizedGraduate or professional students8.07%4.468% + 3.60 = 8.068%9.50%
Direct PLUSParents and graduate or professional students9.07%4.468% + 4.60 = 9.068%10.50%

None of the three rates is near its cap. Origination fees are separate: StudentAid.gov lists them by disbursement date, and they are taken out of each disbursement, so you receive slightly less than you owe.[1] The 2027–28 rates will follow the same formula from the May 2027 auction.

Student loan interest while in school

Interest builds up while you are in school, but payments don't start until six months after you graduate, leave school or drop below half-time enrollment: the grace period.[2] What happens to that interest depends on the loan:

  • Direct Subsidized Loans (undergraduates with financial need): the Department of Education pays the interest while you are in school at least half-time, during the six-month grace period and during deferment.[2] $20,000 at 6.52% with 24 months to go starts repayment at $20,000.
  • Direct Unsubsidized and PLUS Loans: you owe all the interest from the start. The same $20,000 at 6.52%, unsubsidized, builds up $2,608.00 before the first payment and costs $3,381.70 more in total than the subsidized loan.
  • Private student loans: interest accrues as the lender's contract says, and the contract also says whether unpaid interest is added to the principal when repayment begins. Choose "Private" and answer the capitalization question from your loan agreement.

Does unpaid interest capitalize after the grace period?Not on Direct Loans held by the Department of Education. Their unpaid interest capitalizes after a deferment on an unsubsidized loan or when you leave the income-based repayment (IBR) plan; older FFEL loans not held by the Department can also capitalize after the grace period or a forbearance. Even uncapitalized, the interest is still owed, and every payment goes to unpaid interest before principal.[1][2]

You can pay the interest as it accrues while in school. On the default loan that is $134.50 a month, and it saves $1,137.07 over the loan because the first payments go to principal instead of to the $3,228.00 built up in school.

Total interest over repayment

On the 10-year Standard Repayment Plan the payment is fixed, so each payment covers the month's interest and the rest repays principal.[3] The calculator uses the fixed-payment formula with a monthly rate of rate ÷ 12, adjusted so the payment also clears any interest built up before repayment:[7]

Payment=P × r1 − (1 + r)−nP = balance, r = annual rate ÷ 12, n = months; with unpaid interest the payment is solved so it is cleared too

For the default loan, $279.77 a month for 10 years repays $33,572.54, of which $13,572.54 (40%) is interest; in the first month $134.50 of the payment is interest. Stretching the term lowers the payment but raises the interest: over 20 years the same loan costs $25,745.24. Daily accrual means a servicer's figures can differ from the monthly formula by a few cents, and payments made early or late shift the split between interest and principal.[1] Loans first disbursed on or after July 1, 2026 are repaid under a Tiered Standard Plan whose term depends on the amount borrowed, so set the term to match your plan.[3]

Student loan payoff calculator: extra payments

Federal student loans have no prepayment penalty,[5] so anything above the required payment goes to interest that has accrued and then to principal, and principal you repay stops accruing interest.[1] Adding $100 a month to the default loan pays it off in 6.6 years instead of 10 and saves $3,801.72 of interest. Enter an amount under "Extra payment each month" to see the payoff date move.

On an income-driven plan the payment can be less than the interest that accrues, so the balance can grow; this calculator assumes a fixed payment and does not model those plans.[4][1]

To compare the loan with a lower private rate, use the student loan refinance calculator; it also lists the federal protections a refinance ends. For the simple-interest formula on its own, see the simple interest calculator, and for the rate behind a payment you already know, the interest rate calculator.

All loan and debt calculators

Frequently asked questions

How is student loan interest calculated?

Daily: principal × (rate ÷ 365.25) × days since the last payment. $20,000 at 8.07% accrues $4.42 a day, about $134.50 a month.

Do student loans accrue interest while in school?

Unsubsidized, PLUS and private loans do, from the day the money is paid out. On a Direct Subsidized Loan the Department of Education pays the interest while you are in school at least half-time, during the six-month grace period and during deferment.

Is student loan interest simple or compound?

Federal student loan interest is simple daily interest on the principal. It only compounds in effect when unpaid interest capitalizes, that is, is added to the principal so that interest is then charged on it.

How much interest will I pay on a student loan?

It depends on the balance, rate, term and any interest before repayment. $20,000 at 8.07% with 24 months before repayment costs $13,572.54 of interest on a 10-year plan, $279.77 a month.

How much do extra payments save on a student loan?

On the same loan, $100 extra a month saves $3,801.72 of interest and finishes 41 months early. Federal loans have no prepayment penalty.

Sources

  1. Interest Rates and Fees for Federal Student Loans · Federal Student Aid, U.S. Department of Education (StudentAid.gov), accessed November 15, 2026
  2. Direct Subsidized and Direct Unsubsidized Loans · Federal Student Aid, U.S. Department of Education (StudentAid.gov), accessed November 16, 2026
  3. Standard Repayment Plan · Federal Student Aid, U.S. Department of Education (StudentAid.gov), accessed November 15, 2026
  4. Income-Driven Repayment Plans · Federal Student Aid, U.S. Department of Education (StudentAid.gov), accessed November 15, 2026
  5. Federal Versus Private Loans · Federal Student Aid, U.S. Department of Education (StudentAid.gov), accessed November 15, 2026
  6. Contemporary Mathematics, 6.3 Simple Interest · OpenStax, Rice University, accessed November 13, 2026
  7. Principles of Finance 2e, 8.2 Annuities · OpenStax, Rice University, accessed November 13, 2026
  8. 20 U.S.C. 1087e(b)(8), Interest rates for new Direct Loans on or after July 1, 2013 · Office of the Law Revision Counsel, U.S. House of Representatives (uscode.house.gov), accessed November 21, 2026
  9. Auction results, 10-Year Note, CUSIP 91282CQQ7 (May 2026 auction): high yield 4.468% · TreasuryDirect, U.S. Department of the Treasury (TA_WS securities data), accessed November 21, 2026