← Back to Calculator

Methodology & Assumptions

This document explains how the Pay or PSLF calculator works and the assumptions behind each calculation.

Core Comparison Metric: Net Present Value (NPV)

All strategies are compared using Net Present Value at a user-configurable discount rate (default 5%). NPV accounts for the time value of money—a dollar paid 10 years from now is worth less than a dollar paid today.

NPV = Σ (Payment_year_n / (1 + discount_rate)^n) + Tax_on_forgiveness / (1 + discount_rate)^forgiveness_year

Why NPV instead of total paid? Because forgiveness strategies involve paying less now but potentially paying taxes later. A simple total ignores when payments occur. NPV lets us fairly compare "pay $200k over 10 years" vs "pay $80k over 10 years then pay $60k in taxes in year 20."

IDR Payment Calculations

Income-Driven Repayment (IDR) payments are calculated as:

Monthly Payment = (AGI - (Poverty_Line × Multiplier)) × Rate / 12

Plan Parameters

Plan % of Discretionary Poverty Multiplier Forgiveness
SAVE10%2.25×25 years
PAYE10%1.50×20 years
IBR (new)10%1.50×20 years
IBR (old)15%1.50×25 years
ICR20%1.00×25 years

SAVE Note: The SAVE plan is currently enjoined by litigation. When enabled, we model its interest subsidy (government covers unpaid interest) which prevents negative amortization.

Married Filing Status

For married borrowers:

The calculator compares the total cost (loan payment + tax increase) of each strategy. MFS often wins when the spouse is a high earner.

PSLF (Public Service Loan Forgiveness)

PSLF Confidence: We let users input their belief that PSLF will continue to exist and function. This affects recommendation confidence but not NPV calculation. Use this to express uncertainty about program continuation.

Refinancing

Standard amortization formula:

Monthly Payment = Principal × (r × (1+r)^n) / ((1+r)^n - 1)
where r = annual_rate/12, n = months

Default assumptions:

Aggressive Payoff Model

The "live like a resident" strategy models:

  1. Training years: Interest-only payments (balance stays flat)
  2. Aggressive years: All income above living expenses goes to loans
    Monthly Payment = (Attending_Salary × (1 - Tax_Rate) - Living_Expenses) / 12
  3. Standard period: If balance remains, standard 10-year amortization

We assume a 30% effective tax rate for attending-level income. This is a simplification—actual rates vary by state and deductions.

Income Projections

Training Salaries (2024 National Averages)

YearSalary
PGY-1$64,000
PGY-2$66,000
PGY-3$69,000
PGY-4$72,000
PGY-5$75,000
Fellow$85,000

Attending Salaries

We use median specialty salaries from the Medscape Physician Compensation Report (2024) and Doximity. Examples:

SpecialtyMedianRange (P25-P75)
Family Medicine$255,000$210k - $300k
Internal Medicine$275,000$230k - $330k
Cardiology$510,000$400k - $650k
Orthopedic Surgery$560,000$450k - $750k

Income is projected to grow at 3% annually (adjustable via discount rate assumptions).

Tax on Forgiveness

For IDR forgiveness (not PSLF), the forgiven amount is taxed as ordinary income. We estimate:

  1. Federal tax at marginal rate based on projected income + forgiveness
  2. State tax at top marginal rate (simplified)

This is a significant factor. For example, $300k forgiven at ~35% marginal rate = ~$105k tax bill.

Key Heuristic: Debt-to-Income Ratio

DTI = Total_Debt / Expected_Attending_Salary

General guidance:

Limitations & Caveats

Data Sources

DataSourceUpdated
Poverty GuidelinesHHS2024
Tax BracketsIRS2024
Specialty SalariesMedscape, Doximity2024
IDR Plan RulesFederal Student Aid2024

Privacy

All calculations run entirely in your browser. No data is sent to any server. We don't use cookies or tracking. Your financial information never leaves your device.

Questions or corrections? This is an open-source project. File an issue or submit a PR on GitHub.