Mathstub

Mega-Backdoor Roth Calculator

Most high earners are blocked from direct Roth IRA contributions. The Mega-Backdoor Roth — funded via after-tax 401(k) contributions that get converted to Roth — lets you save up to ~$46,500 more in Roth space each year, on top of the standard $23,500 elective deferral. Estimate yours below.

⚡ 30 seconds🔒 Runs in your browser✓ Free, no signup

Tax year 2026 · Last updated May 22, 2026

mathstub / mega-backdoor

How much Roth space does your 401(k) plan actually leave you?

The §415(c) overall annual contribution limit ($70,000 in 2025) is what bounds the Mega-Backdoor. Subtract elective deferral + employer match + profit-sharing and the rest is yours as after-tax → Roth — if your plan supports the conversion. (IRC § 415(c), § 402(g))

  • No signup, everNo tracking, no email required.
  • Math runs in your browserNo data leaves this page.
  • Every claim cites IRC § or IRS PubReviewed against IRS primary sources — see footer.

§402(g) cap: $24,000 for your age in 2026

Only if your plan has it. Otherwise 0.

Default 7% — historical S&P 500 real return.

Mega-Backdoor Roth room — 2026

$36,500

of additional Roth space available in your plan this year

§415 overall cap

$71,000

IRC §415(c)

Already used

$34,500

Elective + match + profit-sharing

Elective deferral cap

$24,000

IRC §402(g)

If you do this once

$198K

tax-free in 25 years @ 7%

$161,601 of growth — never taxed

If you do this every year

$2M

tax-free Roth nest egg after 25 years

Compounds on $912,500 of contributions

Save or share this calculation

Get a link that reloads the same inputs. Bookmark it, paste it to your spouse, or send it to your CPA — your inputs are encoded in the URL and nothing is stored on our servers.

How it works

  1. Pick your tax year. Limits update each year. The §415 overall cap was $70,000 in 2025 — the calculator handles 2024–2026.
  2. Enter your elective deferral. Your year-to-date pre-tax + Roth 401(k) deferral combined. Cap is $23,500 in 2025 ($31,000 with the 50+ catch-up; $34,750 if you are 60–63 via SECURE 2.0 super catch-up).
  3. Add your employer match. Annual employer match $. This counts against the §415 ceiling.
  4. Confirm plan eligibility. Two things must be true: (1) your plan allows after-tax (non-Roth) employee contributions, and (2) the plan supports in-service distributions OR in-plan Roth conversions. Both flags must be ON or the Mega-Backdoor is blocked.
  5. Read your room + projection. See exactly how many dollars of after-tax room remain under §415, plus a 25-year compounding projection at 7% — both one-time and recurring annual.

Frequently asked questions

What is a Mega-Backdoor Roth, in one sentence?

You make after-tax (non-Roth) contributions to your 401(k), then convert them to a Roth IRA or Roth 401(k) — turning ~$30–50k/yr of additional space into tax-free retirement growth. The math is governed by IRC §415(c) (the $70k overall cap) and IRS Notice 2014-54 (the basis-isolation rule for the conversion).

How is this different from a Backdoor Roth IRA?

The Backdoor Roth IRA is the $7,000/yr ($8k if 50+) Traditional-IRA-to-Roth-IRA workaround for high earners. The Mega-Backdoor uses your employer 401(k) and unlocks an order of magnitude more space ($30–46k/yr typically). They are independent — you can do both in the same year.

How do I know if my plan allows after-tax contributions?

Read your Summary Plan Description (SPD), check your 401(k) provider portal under "Contribution Sources" (look for "After-Tax" alongside "Pre-Tax" and "Roth"), or ask your HR/benefits team directly. Common employers that allow it: Google, Microsoft, Meta, Netflix, Amazon (varies by group), Salesforce, most large tech. Many smaller employers do not. About 50% of plans offer after-tax per Vanguard's How America Saves 2024 report — but only a subset of those also allow conversion.

What is "in-service distribution" or "in-plan Roth conversion"?

Two mechanisms to move after-tax money to Roth: (a) in-service distribution — pulling the after-tax balance out of your 401(k) while still employed, rolling it to a Roth IRA. (b) In-plan Roth Rollover (IRR) — converting the after-tax sub-account to a Roth 401(k) sub-account without leaving the plan. Either one works. Without one of them, your after-tax money grows tax-deferred (not tax-free), which is much worse than just contributing to a regular brokerage.

Should I convert immediately or let after-tax grow first?

Convert immediately. If you let after-tax money grow before converting, the growth becomes taxable upon conversion (treated as pre-tax earnings under IRC §72). Most plans support automated periodic conversion (sometimes called "auto-conversion" or "Roth in-plan conversion every pay period") — turn it on if available. Otherwise convert manually after each contribution.

What if my employer match counts against the §415 limit?

It always does. The $70k §415(c) limit includes: your elective deferral (pre-tax + Roth 401(k) combined, capped at $23,500), your employer match, employer non-elective / profit-sharing contributions, and your after-tax contributions. The calculator subtracts everything except the after-tax to give you the available room.

I am 50+ — does the catch-up change my Mega-Backdoor room?

The catch-up contribution ($7,500 in 2025, or $11,250 super-catch-up if 60–63 under SECURE 2.0) is itself "elective deferral" that counts against your personal $23,500 limit BUT the §415 overall limit ($70k) is also raised by the catch-up amount. Net result: 50+ filers have roughly the same Mega-Backdoor room as under-50, with slightly different elective-deferral capacity.

What about the pro-rata rule?

The pro-rata rule (IRC §72(d)) only matters when you have BOTH pre-tax AND after-tax money in the same account at the time of a partial conversion. The Mega-Backdoor flow specifically isolates after-tax via the basis-isolation rule in IRS Notice 2014-54 — when you convert/distribute the after-tax sub-account separately, no pro-rata. The pro-rata rule does affect the Backdoor Roth IRA (different calculator), so do not confuse the two.

Can I do this if I am self-employed?

Yes — via a Solo 401(k) that allows after-tax contributions, but only specific Solo 401(k) providers offer this (Schwab and most banks DO NOT; specialty providers like My Solo 401k Financial, Carry, and a few others DO). Plan setup is more complex than a regular Solo 401(k) — the plan document needs explicit after-tax and Roth-conversion language.

What is the tax treatment of growth?

Tax-free at withdrawal, assuming you follow the Roth qualification rules: (1) Roth IRA / Roth 401(k) must be open for 5+ years, (2) you must be 59½ or qualify under an exception. The "5-year clock" is per-account for Roth IRAs and per-conversion for Roth 401(k)s — be careful if you plan early withdrawal. The Mega-Backdoor principal can be withdrawn anytime (Roth contributions are always accessible); only the growth is locked until 59½.

Is this tax advice?

No — it is an estimate based on published IRS rules and your inputs. Plan-specific rules vary (some plans have lower internal caps, ERISA non-discrimination testing limits, top-heavy plan restrictions). For your specific situation, talk to a licensed tax professional or a fee-only fiduciary financial planner.

Spotted a bug, edge case, or numbers that look off? Tell us — we read every report.

How the math flows

Mega-Backdoor Roth formula chain: §415 cap $70k − elective deferral $23.5k − employer match $11k = after-tax room $35.5k → in-service distribution or in-plan Roth conversion → tax-free growth
How the math flows — every step cites the IRC section that controls it.

mathstub ecosystem · paid notion templates

When a calculator isn’t enough.

See all 4 templates →

Four Notion templates built around the same IRC-cited math the free calculators run — for tracking, planning, and CPA prep across an entire tax year. Lifetime updates included.

Affiliate disclosure — we earn from sales on Mathstub-owned products listed above. Free calculators always stay free.