How the math works

Every number RepayCompass shows is computed in your browser from formulas transcribed out of official sources — each with a citation and retrieval date — and tested against the official calculators. This page is the whole recipe.

Rules as of July 7, 2026 Educational comparison — not financial advice

Where the formulas come from

Each plan's constants — percentages, brackets, poverty-guideline tables, terms — were transcribed from official publications, and every constant in the engine carries its source and retrieval date. The primary sources:

The rules implementing RAP and Tiered Standard were published 2026-05-01 and are under active litigation. That's why a visible "Rules as of" stamp sits on every page: if a court or a new rule changes a value, the stamp tells you which version produced your numbers.

The formula for each plan

How projections work

Every plan is projected month by month over its full term: interest accrues monthly on principal, income-driven payments recompute annually using your income-growth assumption (default 4%/year, adjustable 0–8%), and the loop tracks balance, totals, and any forgiven amount. All money math runs in integer cents — rounding happens only at display time. Because incomes are grown, lifetime totals and dates here can differ from official quotes that assume flat income; first payments are directly comparable.

Estimated tax on forgiveness = projected forgiven amount × an assumed marginal rate (default 22%, adjustable), shown only when a plan projects forgiveness in 2026 or later. PSLF forgiveness is never taxed and is never given a tax estimate.

Which poverty guidelines are applied?

IBR, PAYE, and ICR subtract a multiple of the federal poverty guideline. Official tools were observed still applying the 2025 guidelines in July 2026, so RepayCompass defaults to 2025 to match what you'd be quoted — with a visible disclosure under the results and a switch to the 2026 table under Assumptions if you want the newer numbers.

How results are tested

The engine runs an automated suite (200 tests at this writing) including fixtures from a real borrower's official quotes: the StudentAid.gov IDR application's plan-by-plan payments and the Federal Register's ICR worked examples, reproduced within a dollar — most to the cent. Edge cases are tested explicitly: $0 income minimums, very high incomes hitting caps, family sizes past 8, balances that pay off before forgiveness, and the married-filing-separately rules. A property test asserts a RAP balance can never grow month-over-month with on-time payments.

Known conventions and limits

Spot a number that disagrees with an official quote? That's exactly the kind of report we want — send the details (never include your SSN or account numbers). For your actual options, your servicer and StudentAid.gov are the final word.

Try it on your numbers. The calculator on the homepage runs all of the above on your inputs, in your browser, without storing anything — see the privacy page for exactly what that means.