Tools

Medical expense deduction calculator

See how much of your medical and dental costs clear the 7.5% of AGI floor and whether itemizing beats the standard deduction.

Runs entirely in your browser: nothing you enter is sent or stored by this site. Results are estimates for planning, not a quote or advice.

How to use it

  1. Choose the tax year and your filing status. The standard deduction fills in when we have a verified figure, and you can change it.
  2. Enter your adjusted gross income (AGI) from line 11 of Form 1040.
  3. Enter the medical costs you paid yourself: health premiums paid with after-tax money, doctors, hospital, dental, vision and prescriptions net of what insurance, an HSA or an FSA paid, and other qualifying costs.
  4. Enter your other itemized deductions, such as state and local taxes, mortgage interest and gifts to charity.
  5. Enter your federal bracket and state rate to see an estimate of the tax saved.

How the math works

Medical and dental expenses are deductible only for the amount above 7.5% of AGI (IRS Topic 502, updated November 9, 2026). The floor is AGI times 7.5%. The deductible medical amount is your total costs minus the floor, never below zero. Your itemized total is that amount plus your other itemized deductions. Itemizing beats the standard deduction when the itemized total is larger. If it is, tax saved is the difference times your rate. The break-even medical amount is the floor plus however much the standard deduction exceeds your other itemized deductions.

The tool has the 2027 standard deduction for married couples filing jointly, $33,200 (Revenue Procedure 2026-35). It has no verified figure for 2026 or for other filing statuses, and then asks you to type your own.

Worked examples (checked in a test, using an illustrative $15,000 standard deduction): AGI $80,000 and medical costs of $9,000 give a $6,000 floor and $3,000 deductible. With $10,000 of other itemized deductions the total is $13,000, below $15,000, so the standard deduction is bigger. Medical costs would need to reach $11,000, which is $2,000 more, before itemizing wins. With AGI $60,000, medical costs $12,000 and $20,000 of other deductions, the floor is $4,500, the deductible amount is $7,500 and the total is $27,500, which is $12,500 more than the standard deduction. At 22% that may save about $2,750.

What it assumes

  • The costs you enter are unreimbursed. Costs paid from an HSA or FSA, premiums deducted as a self-employed person, and premiums taken from your pay before tax do not count here.
  • The standard deduction is the alternative, and your top bracket applies to the difference. That ignores credits, the alternative minimum tax and how deductions change your other taxes.
  • The 7.5% floor is the one on file for the tax years shown. If the law changes, the tool must be updated.
  • AGI is the number you type. The tool does not figure it from your income.

Where it stops being right

  • Which expenses qualify is set by the IRS in Publication 502, not by this tool. Cosmetic care, many over-the-counter items and general-health spending usually do not count.
  • Itemizing requires giving up the standard deduction. Your state may have its own rules, and the state rate is applied the same way as the federal one.
  • Premiums for self-employed people have their own, usually better, deduction. See the self-employed health insurance deduction calculator first.
  • The tool does not check limits on other itemized deductions, such as the cap on state and local taxes.
  • A tax professional or the IRS can tell you what applies to your return. This is an estimate, not tax advice.

Last reviewed November 16, 2026

Related guides

Terms used here

Latest on this topic