What will your student loans cost you?
A student loan pays for college or graduate school, and you repay it after you leave. Enter what you borrow, the rate, the years left in school and the repayment term above. The example borrows $30,000 at 6.39%, the 2025-26 rate on federal undergraduate loans, with 4 years of school and a 6-month grace period ahead. As an unsubsidized loan borrowed at the start, it grows to $38,627 before your first payment, which comes to $436 a month over 10 years. Subsidized, it stays at $30,000, and the payment is $339.
Federal loans come from the US Department of Education. Direct Subsidized Loans, for undergraduates with financial need, don't charge you interest while you're in school at least half-time. Direct Unsubsidized Loans build up interest from the first day. Parent PLUS loans let parents borrow, usually at higher rates. Federal loan rates are set each year by law and stay fixed for each loan's life. Rules for new borrowers changed in 2026, so check studentaid.gov for current limits and plans.
Private loans come from banks and other lenders, and they base your rate on your credit or a co-signer's. They can have fixed or variable rates, and they generally don't come with federal benefits such as income-driven repayment, forgiveness programs or generous deferment. That's why many counselors suggest using federal loans first. Refinancing federal loans into a private loan permanently gives up those protections.
If you have several loans with different rates, enter each one separately, then add up the payments. To cut your total cost, pay interest while you're still in school if you can, enroll in autopay for a possible rate discount, and direct any extra payment at your highest-rate loan. If the payment doesn't fit your income, contact your servicer early. Default has serious consequences, and federal plans may offer a lower payment.
The term changes the total far more than the payment. Over 10 years, the example costs $22,372 in interest, counting what builds up in school. Stretch it to 20 years and the payment falls to $285, but interest rises to $38,518. At 25 years, it's $258 a month and $47,448. Extra payments go straight to principal on federal loans once any unpaid interest is covered, so even small ones shorten the loan.
Student loan payments on $30,000
| Rate | 5 years | 10 years | 15 years | 20 years |
|---|---|---|---|---|
| 4% | $552 a month, $3,150 interest | $304 a month, $6,448 interest | $222 a month, $9,943 interest | $182 a month, $13,631 interest |
| 5% | $566 a month, $3,968 interest | $318 a month, $8,184 interest | $237 a month, $12,703 interest | $198 a month, $17,517 interest |
| 6% | $580 a month, $4,799 interest | $333 a month, $9,967 interest | $253 a month, $15,568 interest | $215 a month, $21,583 interest |
| 7% | $594 a month, $5,642 interest | $348 a month, $11,799 interest | $270 a month, $18,537 interest | $233 a month, $25,822 interest |
| 8% | $608 a month, $6,498 interest | $364 a month, $13,678 interest | $287 a month, $21,605 interest | $251 a month, $30,224 interest |