📋

Medical Expense Deduction Calculator

See if itemizing your medical expenses saves you money

Had a big medical year? Under IRC §213, you can deduct medical expenses that exceed 7.5% of your Adjusted Gross Income — but only if itemizing beats your standard deduction.

$
$

Premiums, procedures, Rx, dental, vision, mileage

$
$

SALT, mortgage interest, charity, etc.

How the Math Works
Total Medical Expenses$0
7.5% AGI Floor− $0
Deductible Medical Amount$0
+ Other Itemized$0
Total Itemized$0
vs. Standard Deduction$16,100
Standard Deduction Is Better
No tax benefit from itemizing
Itemized total ($0) doesn't exceed standard deduction ($16,100)

Disclaimer: This calculator provides estimates for educational and informational purposes only. It does not constitute tax, legal, financial, or medical advice. Results depend on individual circumstances and may not reflect your actual costs. Always consult a qualified professional (CPA, licensed insurance agent, or financial advisor) for decisions about your specific situation. Data reflects approximate 2026 figures from IRS, CMS, and HHS sources.

How the Medical Expense Deduction Works

Under Section 213 of the tax code, you can deduct unreimbursed medical and dental expenses above 7.5% of your adjusted gross income (AGI). There are two hurdles: your expenses must exceed the 7.5% floor, and your total itemized deductions (medical, state and local taxes, mortgage interest, and charity) must be larger than your standard deduction. That is why the deduction usually helps only in years with big medical costs: surgery, a hospital stay, long-term care, or ongoing treatment.

Worked example

A single filer with AGI of $60,000 has $10,000 of medical bills and $9,000 of other itemized deductions. The floor is $4,500 (7.5% of $60,000), so $5,500 of medical costs is deductible. Total itemized deductions are $14,500, which is less than the $16,100 standard deduction, so taking the standard deduction is better. If the same person had $14,000 of medical bills, itemized deductions would be $18,500, beating the standard deduction by $2,400 and saving about $528 in federal tax at 22%.

Ways to get more from medical costs

  • Bunch elective care (dental work, hearing aids, procedures) into one tax year to clear the 7.5% floor.
  • Keep receipts for mileage, parking, and lodging for medical trips; they count.
  • If you can't clear the floor, paying with an HSA or FSA gets you a tax break on every dollar instead (you can't do both for the same expense).

For the full rules, read our Medical Expense Tax Deduction guide.

HUD Medical Expense Deduction (Housing Assistance)

If you searched for a HUD medical deduction calculator, that is a different rule from the IRS deduction above. In HUD rental assistance programs, households where the head, co-head, or spouse is elderly (62+) or has a disability can subtract unreimbursed medical and disability-assistance expenses from their income before rent is calculated. Under the Housing Opportunity Through Modernization Act (HOTMA), only the expenses above 10% of annual income are deducted (it was 3% before HOTMA), and these households also get a standard elderly/disability deduction that HUD adjusts for inflation each year. HUD phased in hardship relief for families who were already receiving the deduction when the rule changed.

Because the threshold, the yearly deduction amount, and the phase-in depend on your program and when your housing authority adopted the rules, confirm your numbers with your public housing agency or property manager.

Sources: IRS Publication 502 (Medical and Dental Expenses), IRS Revenue Procedure 2025-32 (2026 standard deduction), HUD HOTMA Sections 102 and 104 implementation guidance. Educational estimates only, not tax advice.

Frequently Asked Questions

How do I calculate my medical expense deduction?

Add up your unreimbursed medical and dental expenses for the year, then subtract 7.5% of your adjusted gross income (AGI). What is left is your deductible amount. Example: AGI of $60,000 and $10,000 of medical bills: 7.5% of $60,000 is $4,500, so $5,500 is deductible. It only lowers your tax if your total itemized deductions are higher than your standard deduction.

What is the standard deduction for 2026?

For 2026 the standard deduction is $16,100 for single filers, $32,200 for married couples filing jointly, and $24,150 for heads of household. Your itemized deductions, including the deductible part of your medical expenses, must exceed this for itemizing to save money.

What medical expenses are tax-deductible?

Doctor, hospital, and dental bills; prescription drugs; health insurance premiums you paid with after-tax money (including Medicare premiums); long-term care; eyeglasses and hearing aids; mental health care; medical equipment; and travel for medical care at the IRS medical mileage rate. Expenses paid with HSA or FSA money, cosmetic procedures, and general health items like gym memberships are not deductible.

Can I deduct health insurance premiums?

Yes, if you paid them with after-tax money and itemize: they count toward the 7.5% threshold with your other medical costs. Premiums paid through payroll before tax do not count. Self-employed people can usually deduct their premiums separately without itemizing.

Is the medical expense deduction a tax credit?

No. It is a deduction, which lowers your taxable income, not a dollar-for-dollar credit. A $5,000 deduction in the 22% bracket saves about $1,100 in federal tax.

Is this the same as the HUD medical expense deduction?

No. HUD housing programs (Section 8 and public housing) have their own medical expense deduction that lowers the income used to set rent for elderly or disabled households. It uses a different threshold. See the section on this page about the HUD deduction and confirm your figures with your housing authority.