Calculate the true financial return on becoming a doctor. Includes total medical school cost, residency salary gap, attending salary by specialty, PSLF and NHSC forgiveness scenarios, and your complete breakeven timeline. The only calculator that models the full 11 to 16 year path — not just tuition.
Enter total 4-year tuition.Tuition only — living expenses added separately
$
Avg $20,000–$30,000/yr depending on city
$
HPSP, merit, need-based, or institutional aid
$/yr
$/yr
Enter alternative career salary for comparison.Opportunity cost benchmark (e.g. PA, engineer, MBA)
Years to Financial Breakeven After Residency
--
⚠️ Disclaimer: This calculator provides estimates for educational and planning purposes only. Salary data is based on 2024 Medscape and BLS surveys and varies by location, employer, negotiation, and practice model. Actual loan balances, interest accrual, and repayment calculations depend on your specific loans, servicer, and repayment plan elections. PSLF and NHSC eligibility rules may change. Consult a physician-focused financial advisor and your loan servicer for personal guidance.
Was this calculator helpful?
✓ Thanks for your feedback!
Sources & Methodology
✓Tuition data from AAMC 2024-2025 tuition and student fees report. Salary data from Medscape 2024 Physician Compensation Report and BLS Occupational Employment Statistics. Residency salary from AAMC 2024 report on graduate medical education stipends.
Annual survey of 15,000+ physicians reporting compensation by specialty, practice setting, and geography. Primary source for attending physician salary benchmarks used in this calculator.
Official data from the Association of American Medical Colleges on tuition and fees for all accredited US allopathic medical schools, broken down by public in-state, public out-of-state, and private program costs.
Official NHSC loan repayment program details including award amounts, service requirements, eligible specialties, HPSA site requirements, and the interaction between NHSC awards and PSLF eligibility.
Methodology:Total Direct Cost = Tuition + Living Expenses (4 yrs) - ScholarshipsInterest at Graduation = Total Direct Cost x 7.5% x 4 years (simple)Debt at Graduation = Direct Cost + Capitalized InterestResidency Opportunity Gap = (Alternative Career Salary - Avg Resident $64,000) x Residency YearsTrue Total Investment = Debt at Graduation + Residency Opportunity GapAnnual Attending Premium = Attending Salary - Alternative Career SalaryBreakeven Years (after residency) = True Total Investment / Annual Attending Premium
PSLF: reduces repayment to IBR payments during residency; estimates $0 net loan cost after 10-year forgiveness window. NHSC: subtracts $50,000 award from debt. Resident salary used: $64,000 (AAMC 2024 average). Opportunity cost during 4 years of medical school also included in true investment calculation.
Is Medical School Worth It Financially in 2026? The Complete ROI Analysis
Medical school delivers the highest financial return of any graduate degree — but the numbers are more complex than most pre-med students realize. The headline doctor salary is real. But the full financial picture requires modeling 11 to 16 years of training, $200,000 to $450,000 in debt, 4 years of foregone income during school, and 3 to 8 years of near-poverty residency salaries before the attending paycheck arrives. This calculator is the only tool that models the complete path, not just the tuition and the endpoint salary.
The True Cost of Medical School: Beyond Tuition
True Investment = Tuition + Living Costs + In-School Interest + Residency Opportunity Gap + Pre-Med Opportunity Cost
Example — Private MD, Internal Medicine → Cardiology fellowship:
4-year tuition: $248,000 | Living expenses: $112,000 | Scholarships: $0
Interest during school at 7.5%: ~$53,000 Debt at graduation: ~$413,000
Residency gap (6 years at $64,000 resident vs $90,000 alternative career): $156,000 True total investment: ~$569,000
Attending cardiology salary: $520,000 vs $90,000 alternative = $430,000 annual premium Breakeven: ~1.3 years after completing fellowship
Attending Physician Salary by Specialty (2024 Medscape Data)
Specialty
Median Annual Salary
Training After MD
Debt Payoff (aggressive)
Breakeven (from age 18)
Neurosurgery
$720,000+
7–8 years
1–2 years
Age 37–39
Orthopedic Surgery
$590,000
5–6 years
2–3 years
Age 35–37
Plastic Surgery
$535,000
6–7 years
2–3 years
Age 36–38
Interventional Cardiology
$520,000
6–7 years
2–3 years
Age 36–38
Dermatology
$490,000
4 years
2–3 years
Age 34–36
Radiology
$450,000
5 years (4 + fellowship)
2–3 years
Age 35–37
Anesthesiology
$408,000
4 years
3–4 years
Age 35–37
Emergency Medicine
$380,000
3 years
3–4 years
Age 33–35
General Surgery
$315,000
5 years
5–7 years
Age 37–39
Psychiatry
$322,000
4 years
5–7 years (PSLF ideal)
Age 35–37
OB-GYN
$328,000
4 years
5–7 years
Age 35–37
Internal Medicine / Hospitalist
$285,000
3 years
8–12 yrs or PSLF
Age 35–40
Family Medicine
$262,000
3 years
10–15 yrs or PSLF
Age 36–42
Pediatrics
$268,000
3 years
10–15 yrs or PSLF
Age 36–42
Residency: The Most Financially Critical Period for Medical School Loans
Residency is when your loan balance can quietly grow to dangerous levels if you are not enrolled in the right repayment plan. On a $300,000 loan balance at 7.5% interest, you accrue $22,500 per year in interest. A resident earning $64,000 in a 1-person household, enrolled in the SAVE income-driven plan, pays approximately $240 to $310 per month — covering a fraction of accruing interest. Under the old IBR and PAYE plans, unpaid interest capitalized. Under SAVE, unpaid interest is subsidized, preventing negative amortization.
⚠️ Critical residency decision: The repayment plan you enroll in at the start of residency determines whether you pursue PSLF or private practice debt strategies. If your training hospital is a nonprofit and you plan to stay in academic or nonprofit medicine, enroll in SAVE immediately upon entering residency and submit employer certification annually. Switching strategies mid-residency can forfeit qualifying payment credit.
PSLF for Physicians: Real Numbers That Most Calculators Ignore
PSLF is one of the most powerful — and most underutilized — financial tools for physicians. Because residency counts toward the 120-payment threshold, a physician completing a 3-year residency at a nonprofit hospital enters attending practice having already made 36 qualifying payments. They only need 84 more as an attending. An academic medicine physician earning $285,000 (after taxes, roughly $185,000 net) making income-driven payments on a $300,000 loan balance will typically pay $800 to $1,500 per month during attending years — totaling approximately $75,000 to $130,000 over 7 years. The remaining $170,000 to $225,000 balance is forgiven tax-free.
MD vs DO: Financial Comparison by the Numbers
Factor
MD (Allopathic)
DO (Osteopathic)
Average Annual Tuition
$37K (public) / $62K (private)
$38K (public) / $55K (private)
Match Into Competitive Specialties
High (derm, ortho, neuro dominated by MD)
Lower (improving but still limited)
Match Into Primary Care
Competitive
Strong
Average Attending Salary (all specialties)
~$310,000
~$280,000
PSLF Eligibility
Yes (direct loans)
Yes (direct loans)
Debt at Graduation (avg)
$200,000–$250,000
$200,000–$270,000
Loan Forgiveness Programs That No One Talks About
Beyond PSLF, several underutilized programs can dramatically reduce physician debt:
NHSC Loan Repayment Program: Up to $50,000 tax-free over 2 years for primary care, OB-GYN, or psychiatry physicians at a HPSA site. Fully stackable with PSLF — NHSC service years count as PSLF qualifying years simultaneously.
NHSC Students to Service (S2S): Up to $120,000 for 3-year HPSA service commitment made during your final year of medical school. Reduces debt before you even graduate.
State-specific loan repayment programs: Texas, California, New York, and 40+ other states have programs offering $25,000 to $100,000 in loan repayment for physicians practicing in underserved areas. Many are stackable with federal programs.
Indian Health Service LRP: Up to $40,000 per year (tax-free) for physicians serving at IHS facilities. Potentially $200,000+ in forgiveness over 5 years, also PSLF-compatible.
Military HPSP / USUHS: Full tuition scholarship with stipend for military service. Graduates $0 in tuition debt with a service commitment.
💡 The PSLF + NHSC stack: A family medicine physician at a HPSA-qualifying nonprofit community health center can receive $50,000 in NHSC awards for a 2-year commitment, qualify for PSLF after 10 years, and have residency years count toward the PSLF clock. A physician starting residency at 27 at a nonprofit hospital and staying in primary care at a community health center could have $200,000 to $350,000 in loans forgiven tax-free by age 37 — while their private practice counterpart is still paying $2,500 per month in loan payments.
Medical School Worth It: Specialty-Specific Verdict
The universal answer is yes — medical school delivers positive lifetime ROI for virtually all physicians who complete training. But the margin varies dramatically. A neurosurgeon at age 40 has net lifetime earnings exceeding $5 million above what a comparable non-medical professional would earn. A family medicine physician at age 40 may still be net negative compared to a high-earning engineer or MBA who started working at 22 and invested aggressively. The question is not whether medicine pays — it does. The question is whether the salary premium, when properly discounted for opportunity cost and time, justifies the specific path you are choosing.
Frequently Asked Questions
Yes, for virtually all specialties when measured over a full career. A 2024 academic study of 121 graduate programs confirmed medicine delivers the highest cost-adjusted lifetime ROI. Procedural specialists (orthopedics, neurosurgery, dermatology) break even within 5 to 8 years of completing training. Primary care physicians take 10 to 18 years to surpass alternative careers financially, but PSLF and NHSC can make primary care financially competitive for physicians serving in qualifying settings.
Direct 4-year costs: $200,000 to $380,000 (tuition + living expenses). With interest capitalization during school and residency, debt at first attending job commonly reaches $250,000 to $450,000. The true total investment including opportunity cost of not working during 4 years of school and 3 to 8 years of low-paid residency exceeds $600,000 for most physicians. Military HPSP eliminates tuition debt entirely. NHSC can offset primary care debt by $50,000 to $120,000.
Average MD graduate debt is $200,000 to $250,000 in principal at graduation. DO graduates carry $200,000 to $270,000. At 7.5% interest during a 3-year residency, debt balances grow to $240,000 to $330,000 before the attending paycheck begins. Physicians pursuing PSLF during residency under SAVE prevent negative amortization because SAVE subsidizes unpaid interest.
High-earning specialists (orthopedics, neurosurgery, radiology) aggressively repaying can retire $300,000 in debt within 3 to 5 years of attending practice. Primary care physicians on standard repayment take 8 to 15 years. Physicians qualifying for PSLF who started SAVE during residency have remaining balances forgiven tax-free after 10 years total. NHSC recipients can reduce debt by $50,000 to $120,000, accelerating any repayment strategy.
PSLF forgives remaining Direct Loan balances after 120 qualifying payments at a government or nonprofit employer. Residency at nonprofit hospitals counts toward PSLF. A 3-year resident enters attending practice with 36 qualifying payments completed — needing only 84 more. Academic physicians, hospitalists, VA doctors, and community health center physicians commonly qualify. PSLF is tax-free federally and represents $150,000 to $350,000 in forgiven debt for many physicians.
The NHSC provides up to $50,000 tax-free over 2 years (or $75,000 for the Students to Service program) for primary care, psychiatry, OB-GYN, and dental physicians serving at HPSA-designated sites. NHSC is PSLF-compatible — NHSC service years count as PSLF qualifying years simultaneously. Combined, a primary care physician at a qualifying community health center can receive both NHSC awards and PSLF forgiveness, potentially eliminating $200,000+ in debt over 10 years.
MD programs deliver higher average financial ROI because MD graduates access competitive, high-paying specialties at significantly higher rates. Dermatology, orthopedic surgery, neurosurgery, and plastic surgery are dominated by MD graduates. However, if your DO option costs $60,000+ less in debt and your target is primary care, psychiatry, or emergency medicine where DO match rates are competitive, the financial case can favor DO. Never compare MD vs DO in the abstract — always compare specific schools by cost, match outcomes for your target specialty, and LRAP availability.
True opportunity cost includes: 4 years of foregone salary during school ($55,000 to $80,000 per year = $220,000 to $320,000 lost), plus 3 to 8 years of residency earning $64,000 versus $90,000 to $120,000 in alternative careers (gap of $26,000 to $56,000 per year), plus delayed retirement savings compounding. Total true opportunity cost for a high-specialty physician commonly exceeds $600,000 to $800,000. This is why specialty choice is so financially critical — high-earning specialties rapidly recoup this cost while primary care takes a decade or longer.
For pure breakeven speed after attending: dermatology (high salary, 4-year training, shortest path to attending), anesthesiology (4-year residency, $408,000 salary), and emergency medicine (3-year residency, $380,000 salary) offer the best combination. Neurosurgery and orthopedics have the highest absolute salaries but require 7 to 8 years of training. For PSLF-optimal ROI: psychiatry (4-year residency, high PSLF compatibility, shortage area demand) combined with NHSC can produce excellent financial outcomes for physicians committed to public service.
HPSP pays full tuition plus a monthly stipend of approximately $2,500 in exchange for 1 year of active military service per scholarship year (minimum 3 years). Financial value: $200,000 to $350,000 in avoided debt. Tradeoffs: military specialty assignment may not align with your preference, deployment risk, and delayed civilian practice establishment. For physicians open to military service who target primary care, internal medicine, or psychiatry, HPSP often delivers the best financial outcome of any medical school funding strategy.
Residency is financially critical. On $300,000 in loans at 7.5%, you accrue $22,500 per year in interest. On SAVE at a $64,000 resident salary with 1 dependant, your monthly payment is approximately $240 to $340 — far below monthly interest. SAVE subsidizes the interest gap, preventing capitalization. Residency years at nonprofit hospitals count toward PSLF. Enroll in SAVE immediately on residency start and submit annual PSLF employer certification. This single decision can save $100,000 to $200,000 in loan costs versus deferment or wrong plan enrollment.