What Is Medicare?
Medicareis the federal health insurance program for Americans aged 65 and older, plus younger people with qualifying disabilities, End-Stage Renal Disease (ESRD), or ALS. Administered by the Centers for Medicare & Medicaid Services (CMS), Medicare is funded through payroll taxes (1.45% from employees, 1.45% from employers), premiums paid by beneficiaries, and general federal revenue.
Medicare is not free. Every beneficiary pays something—whether through payroll taxes during their working years, monthly premiums after retirement, deductibles, copays, or coinsurance. Understanding how Medicare is calculated—and what you personally will pay—is one of the most critical steps in retirement financial planning.
Our Medicare calculator above estimates all of your costs in one place: Part B premiums, IRMAA surcharges, Medicare payroll tax on your current wages, and late enrollment penalties. The sections below explain exactly how every calculation works.
IRMAA Explained: How the Income-Based Medicare Surcharge Works
IRMAA (Income-Related Monthly Adjustment Amount) is a surcharge applied to Medicare Part B and Part D premiums for beneficiaries whose MAGI exceeds CMS income thresholds. It is not a penalty—it simply requires higher-income retirees to contribute more toward their coverage. In 2026, IRMAA affects individuals earning above $106,000 and couples above $212,000.
How to Calculate IRMAA for Medicare
- Find your MAGI: take AGI from line 11 of your IRS Form 1040 and add tax-exempt interest from line 2a.
- Identify which bracket you fall into using the table above (based on your filing status).
- Your IRMAA surcharge = your bracket's premium minus the $185 standard premium.
- A separate (but smaller) IRMAA surcharge also applies to your Part D premium on top of your plan's cost.
2026 Part D IRMAA Surcharge Brackets
| MAGI – Single | MAGI – Married Filing Jointly | Part D IRMAA Surcharge (2026) |
|---|---|---|
| ≤ $106,000 | ≤ $212,000 | $0.00/month |
| $106,001 – $133,000 | $212,001 – $266,000 | $13.70/month |
| $133,001 – $167,000 | $266,001 – $334,000 | $35.30/month |
| $167,001 – $200,000 | $334,001 – $400,000 | $57.00/month |
| $200,001 – $500,000 | $400,001 – $750,000 | $78.60/month |
| > $500,000 | > $750,000 | $85.80/month |
⚠️ 5 Critical IRMAA Facts Every Retiree Must Know
- IRMAA uses income from 2 years ago—not your current income.
- It applies separately to Part B AND Part D premiums each month.
- You can appeal if you had a qualifying life-changing event (Form SSA-44).
- Married filing separately has a much harsher bracket structure.
- IRMAA is re-evaluated every year—it can go up or down with your income.
The two-year lookback makes proactive income planning essential. A single large income event—selling a business, a home, or taking a large IRA distribution—can cause two years of elevated IRMAA premiums. This is why Roth conversions before age 63 and strategic RMD timing are cornerstone retirement strategies. Pair this analysis with our retirement calculator to model multi-year income projections.
How Medicare Tax Is Calculated on Your Paycheck
Quick answer: Medicare payroll tax is 1.45% of all gross wages—with no income cap. Employers match this 1.45% for a combined 2.9%. Self-employed people pay the full 2.9% on net self-employment income. High earners pay an extra 0.9% on wages above $200,000 (single).
Medicare payroll tax—technically the Hospital Insurance (HI) tax under FICA—is separate from the premiums you pay as a retiree. It funds Medicare Part A hospital coverage. Every paycheck you earn contributes to the Medicare trust fund, and this withholding is reflected in Box 6 of your annual W-2.
Medicare Tax Rate 2026: Complete Breakdown
| Earner Type | Tax Rate | Wage Cap | Notes |
|---|---|---|---|
| Employee | 1.45% | None (all wages) | Employer matches 1.45% |
| Employer | 1.45% | None (all wages) | Paid separately by employer |
| Self-Employed | 2.90% | None (all net earnings) | 50% deductible as business expense |
| High-Income Employee | 1.45% + 0.9% AMT | AMT applies above $200K (single) | AMT reported on Form 8959 |
| High-Income Self-Employed | 2.90% + 0.9% AMT | AMT applies above $200K (single) | AMT on net SE income above threshold |
How to Calculate Medicare Tax Withheld from a Paycheck
To calculate Medicare tax withholding for any pay period:
Medicare Tax Formula:
Medicare Tax Withheld = Gross Wages × 0.0145
Example: $6,500 bi-weekly paycheck → $6,500 × 0.0145 = $94.25 withheld per paycheck
Annual: $6,500 × 26 pay periods × 0.0145 = $2,450.50/year
Your employer withholds exactly this amount from every paycheck regardless of how much you've earned year-to-date—unlike Social Security tax, which stops once you hit the wage base cap ($176,100 in 2026). Verify your withholding with our paycheck calculator.
Additional Medicare Tax: The 0.9% High-Earner Surtax
Quick answer: The Additional Medicare Tax (AMT) is 0.9% on wages or self-employment income above $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately). It is calculated on IRS Form 8959 and applies on top of the standard 1.45% Medicare payroll tax.
Introduced by the Affordable Care Act (ACA) in 2013, the Additional Medicare Tax is a 0.9% surtax aimed at higher-income earners. Unlike the standard Medicare tax—which is split equally between employee and employer—the AMT is paid entirely by the employee. Employers have no matching obligation for the Additional Medicare Tax.
How to Calculate Additional Medicare Tax (Step by Step)
- Add up your total wages, salaries, tips, and net self-employment income for the year.
- Subtract your AMT threshold: $200,000 (single/HOH), $250,000 (MFJ), or $125,000 (MFS).
- Multiply the excess amount by 0.009 (0.9%).
- Report the total on IRS Form 8959 attached to your Form 1040.
- Credit any AMT already withheld by your employer on line 17 of Schedule 2.
AMT Calculation Example:
Single filer, wages = $310,000
AMT base: $310,000 − $200,000 = $110,000
AMT owed: $110,000 × 0.009 = $990
Standard Medicare tax: $310,000 × 0.0145 = $4,495
Total Medicare tax liability: $4,495 + $990 = $5,485
Couples with combined income above $250,000 should be cautious: each employer withholds AMT separately at $200,000 per earner—but the married filing jointly threshold is only $250,000 combined. This frequently causes under-withholding for dual-income households. Use our W-4 withholding calculator to adjust your withholding and avoid an April tax bill.
How to Calculate MAGI for Medicare Premiums
MAGI formula for Medicare: Modified Adjusted Gross Income = Adjusted Gross Income (Form 1040, line 11) + Tax-Exempt Interest Income (Form 1040, line 2a) + Tax-Exempt Foreign Income. For most Americans, MAGI equals AGI because they have no tax-exempt interest.
Medicare MAGI Formula:
MAGI = AGI + Tax-Exempt Interest + Tax-Exempt Foreign Income
AGI = IRS Form 1040, Line 11
Tax-Exempt Interest = IRS Form 1040, Line 2a
What Is Included vs. Excluded in Medicare MAGI?
✓ COUNTED in Medicare MAGI
- Wages, salaries, tips, bonuses
- Business / self-employment income
- Short and long-term capital gains
- Rental and royalty income
- Taxable Social Security benefits
- Traditional IRA distributions
- Required Minimum Distributions (RMDs)
- Pension and annuity income
- Tax-exempt municipal bond interest
- Taxable alimony (pre-2019 divorces)
✗ NOT COUNTED in Medicare MAGI
- Roth IRA distributions
- Roth 401(k) / 403(b) distributions
- Life insurance death benefits
- Inheritances and gifts
- Veterans benefits
- Supplemental Security Income (SSI)
- Workers' compensation
- Child support received
- Non-taxable reverse mortgage proceeds
- Standard or itemized deductions
How to Calculate Modified Adjusted Gross Income for Medicare Premiums
Step-by-step MAGI calculation for Medicare:
- Get your IRS Form 1040 from two years ago (2024 return for 2026 premiums).
- Find line 11 — this is your Adjusted Gross Income (AGI).
- Find line 2a — this is your tax-exempt interest income (from municipal bonds, etc.).
- Add those two numbers together. The result is your Medicare MAGI.
- Compare your MAGI to the bracket tables above to find your 2026 premium.
This is why Roth IRA conversions before age 63 are the most powerful Medicare cost-reduction strategy available. Since Roth distributions never enter your MAGI, building Roth assets in your early 60s can permanently reduce your IRMAA exposure in retirement. Model your Roth conversion strategy with our retirement calculator.
Medicare Wages and Tips on Your W-2: Box 5 Explained
Quick answer: Medicare wages (W-2 Box 5) equal gross wages minus only Medicare-tax-exempt benefits. Unlike federal taxable wages (Box 1), Medicare wages are NOT reduced by 401(k), 403(b), or HSA contributions. This is why Box 5 is almost always higher than Box 1.
How to Calculate Medicare Wages from Gross Wages
- Start with your total gross wages (before any deductions).
- Subtract only benefits that are genuinely Medicare-tax-exempt: employer-paid health insurance premiums, qualifying Section 125 cafeteria plan pretax benefits, dependent care FSA contributions (up to $5,000).
- Do NOT subtract 401(k)/403(b) deferrals, HSA employee contributions, or commuter benefits—these still count as Medicare wages.
- The result is Box 5 (Medicare wages and tips) on your W-2.
- Box 6 (Medicare tax withheld) = Box 5 × 1.45% (plus 0.9% AMT if Box 5 exceeds $200,000).
| W-2 Box | Reduced by 401(k)? | Reduced by Health Insurance? | Wage Cap? |
|---|---|---|---|
| Box 1 – Federal Taxable Wages | Yes | Yes | No cap |
| Box 3 – Social Security Wages | Yes | Yes | $176,100 cap (2026) |
| Box 5 – Medicare Wages & Tips | No ❌ | Yes | No cap |
| Box 6 – Medicare Tax Withheld | N/A | N/A | No cap (1.45% × Box 5) |
How to Calculate Medicare Wages from Your Pay Stub
If you want to verify your year-to-date Medicare wages mid-year using your pay stub:
- Find your YTD gross wages on the pay stub.
- Subtract any cafeteria plan (Section 125) deductions shown as pre-tax (typically health, dental, vision premiums).
- Leave in your 401(k) and HSA contributions—they don't reduce Medicare wages.
- The result should match your YTD Medicare wages figure (if shown) on the pay stub.
Medicare Late Enrollment Penalty Calculator: Part B & Part D
Key fact: Medicare late enrollment penalties are permanent. They never go away. A Part B penalty lasts for the rest of your life. A Part D penalty lasts for as long as you have Part D coverage.
Part B Late Enrollment Penalty Calculation
Part B Penalty Formula:
Penalty = (# of full 12-month delayed periods) × 10% × Standard Part B Premium
• 1 year late: 10% × $185 = +$18.50/month forever
• 2 years late: 20% × $185 = +$37.00/month forever
• 3 years late: 30% × $185 = +$55.50/month forever
• 5 years late: 50% × $185 = +$92.50/month forever
Note: The penalty percentage is calculated against the current standard premium, which changes each year. So a 30% penalty will grow in dollar terms as the premium rises annually, while remaining 30% of whatever the standard rate is.
Part D Late Enrollment Penalty (LEP) Calculation
Part D LEP Formula:
Monthly Penalty = 1% × National Base Beneficiary Premium × Months Without Coverage
2026 national base beneficiary premium: ~$36.78
• 12 months late: 1% × $36.78 × 12 = $4.41/month (rounds to $4.40)
• 24 months late: 1% × $36.78 × 24 = $8.83/month (rounds to $8.80)
• 36 months late: 1% × $36.78 × 36 = $13.24/month (rounds to $13.20)
Part B Late Enrollment Penalty Calculation 2026
For 2026 specifically: the standard Part B premium is $185.00. Each 12-month period of unjustified delay adds 10% ($18.50) permanently to your monthly Part B cost. A 2-year delay (2 periods) costs you an extra $37.00/month = $444/year more than someone who enrolled on time—for the rest of your life.
Always verify your specific enrollment period dates on medicare.gov or by calling 1-800-MEDICARE. If you have employer coverage, get written confirmation it qualifies as creditable coverage before delaying Medicare enrollment.
Medicare Eligibility Age & Enrollment Period Calculator
Quick answer: Medicare eligibility begins at age 65. Your Initial Enrollment Period (IEP) is 7 months: the 3 months before your birth month, your birth month, and 3 months after. To avoid late enrollment penalties, enroll during this window or have qualifying creditable coverage.
Medicare Enrollment Periods
| Enrollment Period | Window | Late Penalty? |
|---|---|---|
| Initial Enrollment Period (IEP) | 7 months around your 65th birthday | No penalty if enrolled |
| Special Enrollment Period (SEP) | 8 months after losing qualifying employer coverage | No penalty if enrolled in time |
| General Enrollment Period (GEP) | Jan 1 – Mar 31 each year | Yes — penalty applies for delay |
| Annual Enrollment Period (AEP) | Oct 15 – Dec 7 each year | For changing Part C/D plans only |
| Open Enrollment Period (OEP) | Jan 1 – Mar 31 (MA plans only) | Switch MA plans (no penalty) |
If your birthday falls on the first day of any month, your IEP starts one month earlier than usual (Medicare treats your eligibility as beginning the prior month). Use the official Medicare enrollment timing guide to confirm your exact dates.
Complete Medicare Parts A, B, C & D: 2026 Cost Breakdown
| Part | Coverage | 2026 Premium | 2026 Deductible | Coinsurance |
|---|---|---|---|---|
| Part A | Hospital, SNF, hospice, home health | $0 (most people) / $285–$518 | $1,676/benefit period | $0–$742/day depending on stay length |
| Part B | Doctors, outpatient, preventive, DME | $185.00 – $628.90/month | $257/year | 20% of Medicare-approved amount after deductible |
| Part C (MA) | Bundles A+B, often D, extras | $0–$100+/month (varies) | Varies by plan | Varies; has annual out-of-pocket maximum |
| Part D | Prescription drugs | ~$36–$40/month avg. | $590 max/year | 25% after deductible; $0 after $2,000 OOP cap |
| Medigap | Covers Part A/B gaps (coinsurance, deductibles) | $100–$400/month (varies) | None (Plans C, F) or reduced (others) | Eliminated or reduced depending on plan |
Plan for your health insurance costs and HSA savings years before Medicare age to build the reserves needed to cover premiums, coinsurance, and any Medigap supplement premiums comfortably in retirement.
Medicare Donut Hole 2026: Coverage Gap & New $2,000 Out-of-Pocket Cap
Key 2026 change: The Medicare Part D coverage gap (donut hole) has been eliminated under the Inflation Reduction Act. Starting in 2026, Part D has a hard out-of-pocket cap of $2,000 per year. Once you spend $2,000 on covered drugs, your plan pays 100% for the rest of the year.
In prior years, Medicare Part D had a three-phase structure: initial coverage, the coverage gap (donut hole) where you paid higher costs, and catastrophic coverage. Starting in 2026, this structure is simplified to just initial coverage and a catastrophic phase that kicks in after $2,000 out-of-pocket—a massive financial protection for beneficiaries on expensive specialty medications.
Additionally, a new Medicare Prescription Payment Plan allows beneficiaries to spread their out-of-pocket drug costs evenly across all months of the year rather than front-loading them early in the benefit period—helping with monthly cash flow. Ask your Part D plan administrator about enrolling in this program.
How Medicare Star Ratings Are Calculated
Quick answer: Medicare star ratings (1–5 stars) are calculated by CMS using dozens of quality measures across health outcomes, patient experience surveys (CAHPS), and plan administration. Plans are rated annually; 4+ stars earn quality bonuses that allow them to offer more benefits.
How Are Medicare Advantage Star Ratings Calculated?
For Medicare Advantage (Part C) plans, CMS evaluates up to 40 measures grouped into five domains:
- Staying healthy (screening, tests, vaccines): Are members getting preventive care?
- Managing chronic conditions: How well are diabetes, hypertension, and other conditions controlled?
- Member experience (CAHPS survey): Do members rate their plan and care positively?
- Member complaints and plan performance: How many grievances and appeals? How quickly are they resolved?
- Health plan administration: Accuracy of pricing data, appeals decisions, etc.
How Are Medicare Advantage Star Ratings Used?
Plans rated 4 stars or higher receive quality bonus payments from CMS, which allows them to offer lower premiums, richer benefits (dental, vision, hearing, fitness), and lower cost-sharing than lower-rated plans. When choosing a Medicare Advantage or Part D plan, prioritizing plans with 4+ star ratings typically delivers better overall value. You can check current star ratings on Medicare Plan Finder.
Medicare Set-Aside (MSA): What It Is and How It Is Calculated
Note: A Medicare Set-Aside (MSA) is a different concept from regular Medicare premium or tax calculations. It applies specifically to workers' compensation settlements and liability cases involving Medicare beneficiaries or those likely to become Medicare beneficiaries.
A Workers' Compensation Medicare Set-Aside (WCMSA) is a financial arrangement that allocates a portion of a workers' compensation settlement to pay for future Medicare-covered medical expenses related to the injury. Medicare requires this to protect its interest as a secondary payer.
How is a Medicare Set-Aside calculated? The amount is typically determined by a Medicare Set-Aside allocation (MSA allocation) prepared by a professional vendor or attorney. CMS considers: (1) the type and extent of injury, (2) future medical treatment projections, (3) cost of Medicare-covered services, (4) the claimant's life expectancy. CMS review and approval is required for settlements above $250,000 (or above $25,000 if the claimant is expected to receive Medicare within 30 months).
Private agency fees for calculating a Medicare Set-Aside vary from approximately $300 to $1,500+ depending on case complexity. Always work with a licensed professional for WCMSA calculations—this is a specialized legal and medical process, not a standard financial calculator task.
7 Proven Strategies to Reduce Your Medicare Costs
Convert to Roth Before Age 63
Roth IRA and Roth 401(k) distributions never count toward Medicare MAGI. Converting traditional IRA funds to Roth between ages 60–63 builds a tax-free income source that won't trigger IRMAA surcharges in retirement. Time the conversions carefully to avoid pushing your current-year MAGI into a higher IRMAA bracket. Model this with our retirement calculator.
File Form SSA-44 to Appeal IRMAA
If your income has dropped due to retirement, job loss, divorce, death of a spouse, or another qualifying life-changing event, you don't have to wait two years for Medicare to catch up. File Form SSA-44 with your Social Security office and provide documentation of the event. If approved, Medicare will reduce your premium immediately using your current lower income.
Maximize HSA Contributions Before Medicare
A Health Savings Account (HSA) is the most tax-efficient savings vehicle in the U.S. tax code—contributions are pre-tax, growth is tax-free, and qualified withdrawals are tax-free. But you cannot contribute to an HSA once you're enrolled in any part of Medicare (including Part A). Maximize your contributions in the years before age 65. HSA funds can be used tax-free for Medicare premiums (but not Medigap) and healthcare costs in retirement.
Enroll on Time — Eliminate Penalties
The most powerful cost-reduction strategy is simply enrolling during your Initial Enrollment Period. A 2-year Part B delay costs $37/month more — that's $444/year in permanent extra premiums. Over a 20-year retirement, that's $8,880 wasted on penalties. If you're still working with employer coverage, get written confirmation it's creditable before delaying.
Time Capital Gains and Large IRA Withdrawals Strategically
A single large capital gain event — selling a rental property, business, or large stock position — can spike your MAGI and trigger two years of higher IRMAA premiums. If possible, spread gains across multiple tax years, use installment sales, or time large IRA withdrawals in years when other income is lower. Coordinate with our tax bracket calculator to model scenarios.
Apply for Medicare Savings Programs (MSP)
If your income and assets are limited, Medicare Savings Programs can pay for Part B premiums, Part A deductibles, coinsurance, and copays. There are four MSP levels: QMB, SLMB, QI, and QDWI. Eligibility varies by state. Contact your State Medicaid office or visit the official Medicare Savings Programs page to apply — many eligible beneficiaries don't apply and leave thousands of dollars unclaimed.
Choose a High-Rated Plan and Review Annually
Medicare plans change their formularies, networks, and costs every year. An "Annual Enrollment Period" (Oct 15–Dec 7) review is essential. Switching to a 5-star Medicare Advantage or Part D plan can save hundreds per year in premiums and cost-sharing. CMS also allows you to enroll in a 5-star plan at any time of year — not just during open enrollment.
Real-Life Medicare Cost Calculation Examples for 2026
The following examples show how Medicare costs are calculated in practice for different types of beneficiaries and workers. Each covers a distinct use case from the keyword data.
Example 1: Standard Retiree — No IRMAA
Margaret, 67, retired teacher. Annual income: $68,000 from pension + $18,000 taxable Social Security = $86,000 MAGI. Married filing jointly; spouse has $15,000 in Social Security (50% taxable = $7,500). Combined MAGI: $93,500.
- Combined MAGI ($93,500) is below the $212,000 MFJ IRMAA threshold.
- Part B premium: $185.00/month (standard)
- Part D premium: ~$38/month (plan-dependent)
- Annual Part B + Part D: ($185 + $38) × 12 = $2,676/year
- Part B deductible: $257/year
- Total estimated Medicare cost: ~$2,933/year (premiums + deductible)
Example 2: IRMAA Tier 3 Retiree
Robert, 71, retired cardiologist. Annual MAGI: $158,000 (from RMDs $90K + investment income $45K + Social Security $23K). Single filer.
- MAGI $158,000 falls in the $133,001–$167,000 bracket for single filers.
- Part B premium: $370.00/month
- Part D IRMAA surcharge: +$35.30/month extra on top of plan premium
- Assuming Part D plan premium of $38/month: $38 + $35.30 = $73.30/month
- Annual Medicare premiums: ($370 + $73.30) × 12 = $5,319.60/year
- vs. standard cost: ($185 + $38) × 12 = $2,676/year
- IRMAA cost penalty: $5,319.60 − $2,676 = $2,643.60/year MORE
Example 3: Working Employee — Medicare Tax on Paycheck
Priya, 41, software director, $195,000 annual salary, single, bi-weekly pay ($7,500/paycheck).
- Per paycheck Medicare withholding: $7,500 × 1.45% = $108.75
- Annual Medicare withholding: $108.75 × 26 = $2,827.50
- Income is below $200,000 — no Additional Medicare Tax applies
- Employer also pays: $2,827.50 (matching, not from your paycheck)
- Total Medicare contribution to trust fund: $5,655/year
Example 4: Late Enrollment Penalty — Real Cost
Thomas, 67, delayed Part B enrollment by 3 full 12-month periods (3 years) without qualifying employer coverage.
- Part B penalty: 3 periods × 10% = 30% permanent surcharge
- 2026: 30% × $185 = $55.50 extra per month forever
- Annual extra cost in 2026: $55.50 × 12 = $666/year
- Over 20 years of retirement: $666 × 20 = $13,320 wasted (before premium increases)
- As the standard premium rises, the 30% surcharge dollar amount grows every year.
📌 Editorial Accuracy & Disclaimer
All Medicare premium figures, IRMAA thresholds, tax rates, deductibles, and cost data on this page reflect official CMS (Centers for Medicare & Medicaid Services) announcements for 2026. The IRS Form numbers, filing thresholds, and FICA rates reflect current IRS guidance. This page is reviewed and updated annually. This calculator and content are provided for educational and planning purposes only and do not constitute legal, tax, or financial advice. For personalized guidance, consult a licensed Medicare counselor (SHIP), Certified Financial Planner (CFP), or Certified Public Accountant (CPA). Official resources: medicare.gov, ssa.gov, IRS Publication 15, cms.gov. 1-800-MEDICARE (1-800-633-4227), TTY: 1-877-486-2048.
Frequently Asked Questions: Medicare Costs & Calculations
More Free Financial Calculators on USA Salary Tools
Use these tools to plan your full financial picture alongside your Medicare costs:
Social Security and Medicare Tax Calculator: How They Work Together
FICA combined rate: Social Security tax (6.2% up to $176,100) + Medicare tax (1.45% on all wages) = 7.65% total FICA for most employees. Self-employed individuals pay 15.3% (both halves) on net earnings. High earners add 0.9% Medicare surtax on wages above threshold.
For high earners who've already hit the Social Security wage base cap mid-year, their effective payroll tax rate drops to 1.45% (or 2.35% if above the AMT threshold) for the remainder of the year. Plan your withholding with our paycheck calculator and check your total tax burden with our quarterly tax calculator.