Student Loan Optimizer
This free student loan calculator finds your lowest-cost path. Compare IBR, RAP, ICR, Standard and PSLF on your real numbers — total lifetime cost, forgiveness, and the tax on what’s forgiven, not just the monthly payment. Built on the July 1, 2026 federal rules. The full plan-by-plan comparison is free, with no login or email.
Understand each plan
Plain-language explainers for the plans this optimizer compares:
- RAP vs IBR (2026 rules) — which plan is cheaper, and why
- How IDR payments are calculated — discretionary income and the formula
- What counts as a qualifying PSLF employer
- Refinance vs PSLF — the one question that decides it
- MFJ vs MFS for student loans — how filing status changes your payment
- Our methodology — every formula and the federal rules behind it
- Married? MFJ vs MFS couple calculator — for couples deciding how to file
How the 2026 income-driven plans compare
After a court vacated the SAVE plan in March 2026, borrowers whose loans were all disbursed before July 1, 2026 mostly choose between IBR and the new Repayment Assistance Plan (RAP); anyone with a newer loan chooses between RAP and the Tiered Standard plan. RAP is a tiered 1–10% of your full AGI (reaching 10% over $100k) with no payment cap, but it waives unpaid interest on on-time payments, so your balance can't snowball.
IBR is 10% of your discretionary income — 15% if you first borrowed before July 1, 2014 — and is capped at the 10-year Standard payment. That cap is usually the deciding factor: as your income rises, RAP's payment keeps climbing while IBR's can't exceed the cap. The only honest way to choose is to compare total lifetime cost, including any forgiveness and its taxes — which is exactly what this tool does.
If you work for a nonprofit or government employer, PSLF forgives your remaining balance tax-free after 120 qualifying payments, which usually makes the lowest income-driven payment the cheapest overall path. If you're not pursuing forgiveness, the Standard plan or refinancing privately is often cheaper.
How to use this student loan calculator
Here is what each field does. Most of the numbers come straight off your tax return and your studentaid.gov dashboard, so you rarely need to estimate anything.
- Total federal loan balance and average rate. Use the balance and the balance-weighted rate across your federal loans. If you're unsure, our student aid data file reader summarizes your loans from the file studentaid.gov lets you download.
- AGI. Adjusted gross income from line 11 of your Form 1040. Income-driven plans use AGI, not salary, so pre-tax 401(k) or 403(b) contributions lower it.
- Expected future income and years. Optional. If you expect a raise, say finishing training or a new contract, enter the new income and how many years away it is. The model uses your current AGI until then and the higher figure after.
- Family size and dependent children. Family size includes you. Family size moves the poverty-line deduction in IBR; each dependent takes $50 a month off a RAP payment.
- Filing status and spouse income. Married filing jointly adds your spouse's AGI to the payment calculation. Filing separately keeps it out of RAP, IBR and PAYE payments.
- State. Used to estimate state tax on any taxable forgiveness, and for the community-property rules that change a separate return.
- Nonprofit or government employer. Answer yes only if your W-2 employer is a 501(c)(3) nonprofit or a government entity. That turns on the PSLF paths.
- Extra cash and its source. Optional. A bonus, savings or a loan-repayment award, which the results treat differently by source.
- Loans before July 1, 2014 (under Advanced). Answer yes and IBR uses the older 15% formula with 25-year forgiveness instead of 10% and 20 years.
What the results show
Each plan gets a card with four numbers: the starting monthly payment, the total you pay over the life of the loan, the amount forgiven, and how many years until the loan is forgiven or paid off. When forgiveness is taxable, the card splits the total into payments and the estimated tax on the forgiven balance. The plan with the lowest total is tagged Lowest total.
Without PSLF you'll see capped IBR, RAP, Standard (10-year) and a refinance. With PSLF on, the IBR and RAP cards become their PSLF versions, which assume tax-free forgiveness after 120 qualifying payments. Below the cards, a short list explains why the lowest-cost plan won and when to re-run the numbers, and when the engine's top pick ends in taxable forgiveness, a note shows what that future tax is worth in today's dollars. For how the plans usually rank at each career stage, see the best repayment plan for physicians.
Read the monthly and the total together. The lowest total is not always the plan you can afford this year, and the lowest monthly payment is often the most expensive plan overall.
Student loan calculator examples
Three hypothetical borrowers, run through the same engine this page uses. All loans were disbursed before July 1, 2026, and payments are made on time.
1. $120,000 at 6.8%, AGI $95,000, single
| Plan | Monthly (start) | Private employer | Nonprofit employer |
|---|---|---|---|
| Capped IBR | $592 | $220,397 (incl. ~$37,452 tax on $99,120 forgiven) | $80,082 on PSLF ($123,792 forgiven tax-free) |
| RAP | $713 | $235,203 (paid off before forgiveness) | $101,115 on PSLF |
| Standard, 10-year | $1,381 | $165,716 | $165,716 |
| Refinance (5-year, 4.49%) | $2,237 | $134,197 | $134,197 |
At a private employer, the refinance has the lowest total, but its $2,237 payment is about 28% of gross monthly income. The 10-year Standard plan costs $31,519 more and keeps every federal protection. IBR's $592 and RAP's $713 starting payments look friendlier, yet both cost more than the Standard plan in total; IBR's figure includes about $37,452 of tax on the forgiven balance. Put the same borrower at a nonprofit and PSLF on capped IBR costs $80,082, about $54,000 less than refinancing.
2. A married couple: file jointly or separately?
$300,000 at 6.5%, borrower AGI $250,000, spouse AGI $150,000, one child (family of three), nonprofit employer. Filing jointly, PSLF on capped IBR starts at $2,992 a month and totals $391,246, and the refinance is cheaper at $335,493. Filing separately, the same PSLF path starts at $1,742 a month and totals $232,763, with $251,034 forgiven tax-free.
Those loan totals leave out one thing: the extra income tax the couple may owe by filing separately. That cost is real and can run to thousands a year, so price it with a tax preparer before you switch. The couple calculator models both returns side by side. Is married filing separately worth it? shows how to set the two against each other.
Hypothetical examples, not recommendations. Totals are nominal dollars paid, including estimated federal and New York tax on non-PSLF forgiveness, with income growing 2% a year and refinancing at illustrative mid-2026 refinance rates.
The 2026 rules behind the numbers
RAP sets your payment at 1–10% of AGI, minus $50 per dependent, with a $10 minimum. The percentage applies to your whole AGI, not just the part above a threshold, and there is no cap. If you pay on time and the payment doesn't cover the month's interest, the unpaid interest isn't charged. Forgiveness comes after 30 years, or after 120 payments with PSLF.
IBR no longer requires a financial hardship to enroll. The payment is 10% or 15% of income above 150% of the poverty line, capped at the 10-year Standard amount, with forgiveness at 20 or 25 years. It is open only if all your loans were disbursed before July 1, 2026 and you haven't borrowed or consolidated since.
PSLF needs 120 qualifying payments while you work full-time for a qualifying employer. Payments under RAP, IBR and the 10-year Standard plan all count; the Tiered Standard plan does not. The 2025 rule that would have let the Department of Education disqualify some employers was vacated in June 2026, and the appeals were dropped in October.
Taxes. IDR forgiveness granted after December 31, 2025 is federally taxable, so this student loan calculator adds the estimated federal and state tax to every taxable total. PSLF forgiveness is tax-free.
One limit to know. This page assumes every loan was disbursed before July 1, 2026. If you have a newer loan or consolidation, your choices are RAP or the Tiered Standard plan (10 to 25 years depending on balance), and the IBR card here won't apply to you. PAYE and ICR, which end June 30, 2028, aren't shown on this page either. The physician optimizer asks about July 2026 loans and models all of these.
Three mistakes the comparison catches
Choosing by monthly payment. The plan with the smallest payment is often the most expensive in total, because interest keeps running and any forgiveness at the end is taxed. In the first example above, the $592 IBR payment costs $54,681 more over its life than the $1,381 Standard payment.
Refinancing away PSLF. A lower private rate can't beat tax-free forgiveness for most borrowers who will stay at a qualifying employer. Run the student loan calculator with the PSLF answer set both ways before you sign anything; refinancing federal loans is permanent and also ends access to income-driven plans.
Ignoring the tax at the end. Twenty or twenty-five years out feels far away, but a five- or six-figure forgiven balance becomes taxable income in a single year. The tax line on each card shows the estimate, and the tax bomb calculator helps you plan a savings target for it.
Physician, dentist or resident? Use the optimizer
This student loan calculator is built for any borrower with a steady income, or one raise you can name. If you're in training, the AttendingFi optimizer is the better fit. It asks for months left in training, your resident salary, your expected attending income, and where you train and will work. It then models PSLF credit during residency, a RAP-to-IBR switch at attending income, the Tiered Standard plan, and PAYE and ICR. Like this page, it needs no login to show the answer.
Want the formulas? The methodology page lists every equation and assumption, and how IDR payments are calculated walks through the discretionary-income math step by step.

Frequently asked questions
Is this student loan calculator free?
Yes. The full plan-by-plan comparison appears as soon as you press Compare my plans, with no login or email. You can optionally create a free account to save it.
Does it include the tax on forgiveness?
Yes. For IBR and RAP forgiveness outside PSLF, the estimated federal and state tax on the forgiven balance is part of each plan's total and is shown on its own line. PSLF forgiveness is tax-free.
Which income should I enter?
Your AGI from line 11 of your most recent Form 1040, the same figure your servicer uses. If your income will change soon, add the expected income and the number of years until it arrives.
Does it work if I borrowed after July 1, 2026?
Only partly. A loan or consolidation disbursed on or after July 1, 2026 limits all your loans to RAP or Tiered Standard, and this page assumes older loans. Use the main optimizer, which asks about it and removes the plans you can no longer use.