IRA Withdrawal Tax Calculator: $8,389 Tax on a $40,000 Withdrawal
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Created by Luis Gonzalez · Last updated June 28, 2026
A 65-year-old single filer in California with $30,000 in other income withdraws $40,000 from a traditional IRA and pays $4,669 federal tax plus $3,720 state tax — $8,389 total, a 21.0% effective rate. The standard deduction ($16,100 + $2,050 age 65+ additional + $6,000 OBBBA senior deduction = $24,150) shelters the first dollars of income, so the incremental federal tax on the withdrawal lands mostly in the 12% bracket.
This calculator estimates the total tax impact of a traditional IRA withdrawal using 2026 federal brackets with the standard deduction, state taxes by state, the Social Security tax torpedo, Medicare IRMAA surcharges (applied to the correct future year and doubled for married couples), the IRS pro-rata rule with properly computed basis per withdrawal amount, and penalty exceptions for early withdrawals. The comparison table recomputes pro-rata, SS taxation, and IRMAA for each row — larger withdrawals show their true marginal cost.
This tool is for anyone planning to take money from a traditional, SEP, or SIMPLE IRA. Understanding the full tax consequences is critical for creating a sustainable retirement income plan. For tax-free withdrawals, use the Roth IRA withdrawal calculator. To plan for mandatory withdrawals, see the RMD calculator.
The results provide a detailed breakdown including federal tax, state tax, penalties, IRMAA surcharges, the tax torpedo (additional SS made taxable), and the pro-rata tax-free portion. The comparison table shows how these costs change at different withdrawal amounts with individually recomputed pro-rata ratios.
How To Use This Calculator
Enter the Withdrawal Amount you plan to take from your traditional IRA and your Current Age. Select your Filing Status (Single or Married Filing Jointly) — this determines your tax brackets, standard deduction, and IRMAA thresholds. Enter your Other Taxable Income for the year (wages, pensions, interest, etc.) — this is the income the withdrawal stacks on top of.
Choose your State of Residence from the dropdown. The calculator applies your state's income tax rate to both the taxable withdrawal and any additional Social Security made taxable by the withdrawal. If you're under 59½, select a Penalty Exception if one applies (SEPP, disability, medical, or first-home purchase).
In Advanced Options, enter your annual Social Security income to see the tax torpedo effect, your non-deductible IRA basis and total IRA balance for pro-rata calculations, and optionally switch to itemized deductions if they exceed your standard deduction.
What Each Input Means
Withdrawal Amount
The gross amount you plan to withdraw from your traditional IRA this year. All withdrawals from traditional IRAs are generally treated as ordinary income. This is different from a Roth IRA, where qualified withdrawals are tax-free.
Current Age & Penalty Exceptions
Withdrawals before age 59½ incur a 10% early withdrawal penalty on the taxable portion, unless a penalty exception applies:
- SEPP / 72(t): Substantially equal periodic payments — commits you to a series of withdrawals based on life expectancy
- Disability: Total and permanent disability
- Medical expenses: Unreimbursed medical expenses exceeding 7.5% of AGI
- First-time home purchase: Up to $10,000 lifetime limit (the excess above $10,000 is still penalized)
At age 73+, you must begin taking Required Minimum Distributions.
Filing Status
Determines your federal tax brackets, standard deduction amount, Social Security taxation thresholds, and IRMAA tiers. Married filing jointly has wider brackets and higher thresholds.
Other Taxable Income
Your gross income for the year before the IRA withdrawal. Include wages, pensions, interest, dividends, capital gains, and other taxable income. The IRA withdrawal stacks on top of this to determine your marginal bracket.
State of Residence
Each state's top marginal income tax rate is applied to the taxable portion of your withdrawal plus any additional Social Security made taxable. States with 0% (Alaska, Florida, Nevada, etc.) have no state income tax. Some states offer retirement income exclusions that are not individually modeled — check your state's rules.
Social Security Income
Your total annual Social Security benefits. The IRS uses a "combined income" formula to determine how much of your SS is taxable. An IRA withdrawal increases combined income, which can cause up to 85% of your SS benefits to become taxable — this is the "tax torpedo."
Non-Deductible IRA Basis & Total IRA Balance
If you made after-tax (non-deductible) contributions to any traditional IRA, enter the total basis and your total IRA balance before this withdrawal. The IRS pro-rata rule (Form 8606) determines the tax-free percentage:
tax_free_ratio = non_deductible_basis / total_IRA_balance
tax_free_amount = withdrawal × tax_free_ratio
The balance is entered as the current balance before the withdrawal. Per Form 8606, the denominator equals the year-end balance plus distributions — if this is your only distribution, your current balance IS that denominator.
Itemized Deductions
By default, the calculator uses the 2026 standard deduction ($16,100 single / $32,200 married, plus $2,050/$1,650 per spouse age 65+, plus the $6,000 OBBBA senior deduction). Check "Use itemized deductions" if yours exceed the standard deduction (mortgage interest, state/local taxes up to $10,000, charitable contributions, etc.).
How The Calculator Works
1. Standard Deduction
The 2026 standard deduction is subtracted from gross income before applying tax brackets. This is the most impactful fix over naive bracket calculators — without it, a retiree with modest income is overtaxed by thousands.
Single: $16,100 (+ $2,050 if age 65+, + $6,000 OBBBA senior deduction)
Married: $32,200 (+ $3,300 if both 65+, + $12,000 OBBBA senior deduction)
2. Pro-Rata Rule (Form 8606)
Each withdrawal is a proportional mix of pre-tax and after-tax money:
tax_free_ratio = non_deductible_basis / total_IRA_balance_before_withdrawal
taxable_withdrawal = withdrawal × (1 - tax_free_ratio)
The comparison table recomputes this ratio for each row — a $100,000 withdrawal does NOT use the same ratio as a $10,000 withdrawal when the denominator changes. The 99% cap from earlier versions is removed; full basis recovery is allowed.
3. Social Security Taxation (Tax Torpedo)
The calculator computes taxable SS with and without the withdrawal using the IRS combined income formula:
combined_income = other_income + taxable_withdrawal + (SS × 0.5)
Thresholds (single / married):
Threshold 1: $25,000 / $32,000
Threshold 2: $34,000 / $44,000
taxable_SS = min(85% of SS, 50% × excess over T1 + 85% × excess over T2)
SS_tax_impact = taxable_SS_with_withdrawal - taxable_SS_without
This additional taxable SS is included in both federal and state tax calculations.
4. Federal Tax (Bracket-Based with Deduction)
Federal tax uses calculateFederalTax from the shared tax library, which applies the 2026 brackets after subtracting the standard deduction (or itemized deductions). The incremental tax of the withdrawal is:
federal_tax = tax_on(other_income + taxable_withdrawal + taxable_SS) - tax_on(other_income + baseline_SS)
5. State Tax
Applied to the taxable withdrawal plus any additional SS made taxable by the withdrawal:
state_tax = (taxable_withdrawal + SS_tax_impact) × state_rate
6. IRMAA Surcharges
Medicare uses MAGI from 2 years prior. A 2026 withdrawal affects 2028 premiums. MAGI includes AGI plus tax-exempt interest (the calculator uses AGI = other income + taxable withdrawal + taxable SS).
For married filing jointly, both spouses pay the surcharge, so the amount is doubled.
IRMAA_impact = IRMAA_surcharge(MAGI_with) - IRMAA_surcharge(MAGI_without)
7. Total Tax
total_tax = federal_tax + state_tax + early_penalty + IRMAA_impact
effective_rate = total_tax / withdrawal_amount
net_after_tax = withdrawal_amount - total_tax
Penalty Exceptions for Early Withdrawals
If you're under 59½, the 10% penalty is waived for:
- SEPP / 72(t): A series of substantially equal periodic payments based on life expectancy. Must continue for 5 years or until 59½, whichever is later.
- Disability: Total and permanent disability as defined by the IRS.
- Medical expenses: Unreimbursed medical expenses exceeding 7.5% of your AGI.
- First-time home purchase: Up to $10,000 lifetime limit. The excess above $10,000 is still penalized.
- Other exceptions not modeled: Health insurance while unemployed, qualified reservist distributions, IRS levy, birth/adoption ($5,000 limit).
Strategies for Tax-Efficient IRA Withdrawals
- Fill lower brackets: In low-income years, withdraw up to the top of the 12% bracket (or convert to Roth). This is often cheaper than being forced into higher brackets later.
- Coordinate with Social Security: Delaying SS allows Roth conversions at lower rates before RMDs and benefits begin.
- Qualified Charitable Distributions (QCDs): After age 70½, donate up to $105,000 directly from your IRA to charity. A QCD counts toward your RMD but isn't included in taxable income.
- Mind IRMAA thresholds: Sometimes withdrawing a few hundred dollars less avoids a surcharge of $1,000+.
- Spread large withdrawals: Instead of one large withdrawal, take money across two tax years to keep annual income lower.
Understanding Your Results
- Net After Tax: Cash you receive after all taxes — the number that matters for your retirement budget.
- Total Tax: Federal + state + penalty + IRMAA. The tax breakdown card shows each component.
- Effective Rate: Total tax divided by withdrawal amount — the true blended rate.
- Marginal Bracket: The federal bracket your last dollar falls in. Reducing the withdrawal might drop you to a lower bracket.
- SS Tax Impact: Additional Social Security benefits made taxable by this withdrawal — the tax torpedo in dollar terms.
- IRMAA Surcharge: If triggered, shows the annual Medicare surcharge affecting premiums two years from now. Doubled for married couples.
- Pro-Rata Tax-Free: The portion of your withdrawal that's a return of non-deductible contributions.
- Comparison Table: Each row independently recomputes pro-rata, SS taxation, IRMAA, and bracket placement. Larger withdrawals don't just cost more — they often cost disproportionately more.
Common Mistakes with IRA Withdrawals
- Forgetting the standard deduction: Bracket calculators that start taxing at dollar one overstate tax by thousands. The 2026 standard deduction shelters $16,100–$47,500+ from tax (including age 65+ additional and OBBBA senior deduction).
- Using the same pro-rata for all amounts: The tax-free percentage changes as the withdrawal amount changes relative to your IRA balance. Each amount has its own ratio.
- Ignoring the tax torpedo: A $10,000 withdrawal that makes $8,500 of SS taxable creates $18,500 of new taxable income, not $10,000.
- Misunderstanding IRMAA timing: Medicare surcharges use income from 2 years prior. A 2026 withdrawal affects 2028 premiums.
- Missing penalty exceptions: SEPP, disability, and medical expense exceptions can eliminate the 10% penalty for early withdrawals.
- Failing to take RMDs: After age 73, missing an RMD triggers a 25% excise tax on the shortfall amount.
Start Planning Your Withdrawals
Use the calculator above to model your planned IRA withdrawal and see the true cost — including the standard deduction, the tax torpedo, IRMAA surcharges, and the pro-rata rule. Test different amounts with the comparison table to find the most tax-efficient withdrawal level.
For more tools, see the full suite of retirement calculators. To learn more about withdrawal strategy, read about tax-efficient withdrawal ordering.
Frequently Asked Questions
Quick answers to the questions people usually have after running the retirement calculator.
1How are traditional IRA withdrawals taxed?
Withdrawals are taxed as ordinary income at your federal and state rates, after the standard deduction. If you have non-deductible contributions, a portion is tax-free per the pro-rata rule (Form 8606).
2What is the standard deduction for 2026?
$16,100 for single filers, $32,200 for married filing jointly. Additional amounts for age 65+: $2,050 (single) or $1,650 per spouse (married). The OBBBA senior deduction adds $6,000 per person age 65+ (phases out above $75,000 single / $150,000 married). These are subtracted from income before tax brackets apply.
3How does the pro-rata rule work?
The IRS treats all your traditional IRAs as one account. Each withdrawal is proportionally split between pre-tax and after-tax money based on your non-deductible basis divided by total IRA balance. You cannot selectively withdraw only the after-tax portion.
4What is the tax torpedo?
When an IRA withdrawal increases your combined income enough to make more Social Security benefits taxable. For every $1 withdrawn, up to $0.85 of SS can become taxable — creating an effective marginal rate far higher than your bracket suggests.
5How does IRMAA work?
Medicare Income-Related Monthly Adjustment Amount uses MAGI from 2 years prior. If your 2026 income exceeds the threshold, your 2028 Medicare Part B and Part D premiums increase. For married couples, both spouses pay the surcharge.
6Can I avoid the 10% early withdrawal penalty?
Yes, with qualifying exceptions: SEPP/72(t) payments, total disability, unreimbursed medical expenses above 7.5% of AGI, or up to $10,000 for a first-time home purchase. Select the applicable exception in the calculator.
7How much tax will I pay on a $50,000 IRA withdrawal?
It depends entirely on your other income, filing status, state, and SS benefits. A single filer with $30,000 other income in California might pay ~$12,000 total. Use the calculator with your specific inputs.
8Should I do a Roth conversion instead?
If you expect to be in a higher bracket later (due to RMDs, SS, or other income), converting now at a lower rate can save significantly over time. Use the Roth conversion calculator to compare.