How the Math Works
The same statutory rules, the same order of operations, every time. Worked examples you can check by hand.
How a year resolves, in the same order, every time.
The engine doesn't estimate. It settles each simulated year through a strict sequence, then carries the result into the next.
Deterministic waterfall
Guaranteed income lands first. Required distributions settle second. Any spending shortfall then draws against your account tiers, and statutory taxes are calculated on the dollars actually realized.
Multi-account settlement
Accounts are debited in a defined order, and each withdrawal is taxed for what it is: ordinary income, a preferential gain, or nothing at all.
Continuous state recalibration
Ending balances roll into the next year with market returns, inflation adjustments and statutory indexing applied together, so every year starts from an exact position.
Default settlement order
Prefer a different strategy? Choose the Roth Tax-Free Bridge (Taxable → Roth → Pre-Tax), Pre-Tax-First, Roth-First, or Pro-Rata across account types, and see the tax consequences of each side by side.
The twelve steps of a simulated year
Each step appears as a row in your Cash Flow ledger. Click a tax cell and a popover walks the gross-to-taxable chain; its lines add up exactly to the number you clicked.
The order of operations your return uses.
Income is stacked the way the tax code stacks it, so each dollar meets the rate it should.
Each dollar is taxed for what it is
| Source | How it is treated |
|---|---|
| Pre-tax IRA / 401(k) | Ordinary income |
| Taxable brokerage | Long-term gains taxed at preferential 0 / 15 / 20% rates, stacked on top of ordinary income. Short-term gains, interest and non-qualified dividends are ordinary income. |
| Roth | Qualified distributions are kept out of ordinary income, gains, provisional income and MAGI. Roth conversions are taxable income and count toward every MAGI test. |
| HSA | Tax-free for qualified medical, with the §223 rules when it isn't |
| Qualified dividends | Preferential, stacked with long-term gains (§1(h)(11)) |
Preferential income stacks on top of ordinary income
Gains and qualified dividends don't start a fresh ladder at zero. The rate is set by where the stack lands (IRC §1(h)), and unused deduction shelters them too, exactly like the Schedule D worksheet.
| 0% while taxable income ≤ | 15% while taxable income ≤ | 20% above | Std. deduction | |
|---|---|---|---|---|
| Married filing jointly | $98,900 | $613,700 | $613,700 | $32,200 |
| Single | $49,450 | $545,500 | $545,500 | $16,100 |
Thresholds apply to total taxable income, not to the gain itself. Standard deduction shown before the additional amount for age 65+ ($1,650 per qualifying spouse when married, $2,050 single) and the temporary $6,000 senior deduction for 2025–2028, which phases out above $75,000 MAGI single / $150,000 joint.
Married filing jointly, $80,000 of ordinary taxable income (after the standard deduction) plus a $40,000 long-term gain.
Computed with the IRS Tax Rate Schedules. Form 1040 requires the Tax Table when ordinary taxable income is under $100,000, which taxes the midpoint of each $50 band, so the return itself shows $12,272. The engine uses the exact rate schedules so every dollar reconciles.
Taxable income 68,900 → 10% × 12,400 + 12% × 38,000 + 22% × 18,500 = 1,240 + 4,560 + 4,070 = $9,870. The arithmetic is worked out from the published Tax Rate Schedules (Rev. Proc. 2025-32) and checked against the engine on every release. Federal income tax only; payroll tax is modeled separately. The Form 1040 Tax Table, which uses $50-band midpoints, shows $9,876.
Also modeled: the 3.8% Net Investment Income Tax (§1411), payroll taxes during working years, state tax with mid-retirement moves, the child tax credit and the §72(t) early-withdrawal penalty.
One statutory source of truth
Every bracket, threshold and age lives in a single cited reference, each entry labeled as either fixed by statute or indexed annually. Fixed amounts, such as the Social Security thresholds, stay fixed in nominal dollars while prices rise, which is how the law works. Indexed amounts roll forward at an assumption you can edit.
The real §86 formula, and the tax torpedo it creates.
The 50% and 85% inclusion tiers are applied before the bracket ladder every year, so you see Social Security taxation respond to every withdrawal and conversion.
| Filing status | Lower threshold (T₁) | Upper threshold (T₂) |
|---|---|---|
| Single | $25,000 | $34,000 |
| Married filing jointly | $32,000 | $44,000 |
| Married filing separately, lived together any time in the year | $0 | $0 |
Married filing jointly with $40,000 of other income and $30,000 of benefits: PI = 40,000 + 15,000 = 55,000, so taxable benefits = 85% × 11,000 + 6,000 = $15,350. The 85% cap (85% × 30,000 = $25,500) is not reached, so $15,350 stands.
See the torpedo before you step into it
Between the thresholds, each extra dollar of other income pulls 50 cents of benefits into taxable income, so the effective rate is the bracket rate × 1.5. Above the upper threshold it pulls 85 cents, so the rate is the bracket rate × 1.85. The torpedo ends once 85% of benefits are taxable.
effective on each extra dollar
effective on each extra dollar
effective on each extra dollar
It compounds with capital gains. If long-term gains are still sitting in the 0% band, each extra ordinary dollar also pushes $1.85 of gains into the 15% rate, so the combined rate inside the 12% bracket approaches 50%.
Roth conversion sizing accounts for the Social Security a conversion itself triggers. Each definition of MAGI is kept separate too: IRMAA and NIIT use the taxable share of benefits, while ACA counts 100% of gross Social Security (§36B), as the law specifies.
The two-year lookback, modeled the way Medicare applies it.
Premiums for a given year are set by the tax return from two years earlier. Income at 63 sets your first Medicare premiums at 65, and the engine plans around that.
See every cliff before you cross it
Tier boundaries are cliffs, not slopes: one dollar over moves the whole year's surcharge. Annual Part B + Part D surcharge per enrollee with Part B and Part D coverage, married filing jointly:
The engine output at the boundary: income of $218,000 → $0; income of $218,001 → $1,148.40 per enrollee per year, (81.20 + 14.50) × 12. That is why the Roth conversion ladder carries an explicit IRMAA headroom constraint and records which constraint was binding each year.
| Joint MAGI | Single MAGI | Part B Monthly Surcharge | Part D Monthly Surcharge |
|---|---|---|---|
| ≤ $218,000 | ≤ $109,000 | $0 | $0 |
| $218,001 – $274,000 | $109,001 – $137,000 | $81.20 | $14.50 |
| $274,001 – $342,000 | $137,001 – $171,000 | $202.90 | $37.50 |
| $342,001 – $410,000 | $171,001 – $205,000 | $324.60 | $60.40 |
| $410,001 – $749,999 | $205,001 – $499,999 | $446.30 | $83.30 |
| ≥ $750,000 | ≥ $500,000 | $487.00 | $91.00 |
2026 CMS tiers. Surcharges are added to the standard Part B premium ($202.90 a month in 2026). Part D amounts apply only to enrollees with Part D or Medicare Advantage drug coverage. Married couples filing separately who lived together use a separate schedule (≤ $109,000 / below $391,000 / $391,000 and above). In law, the income tiers index to CPI-U while the surcharges move with the Part B premium itself; years past 2026 roll forward at editable assumptions.
Why the two-year lookback matters
- The decision and the bill are two years apart. The engine ties each surcharge back to the income year that caused it.
- Ages 63 and 64 count. Income then sets your first Medicare premiums, so conversions are sized with that in view.
- Filing status follows the lookback return. A survivor's first two premium years after a spouse's death are measured on the joint return from two years earlier, against joint thresholds. Single thresholds, and the higher surcharges that often come with them, arrive once the survivor's own single returns enter the lookback.
Start ages by birth year. Divisors from the IRS table.
| Birth year | RMD start age |
|---|---|
| Before July 1, 1949 | 70½ |
| July 1, 1949 – 1950 | 72 |
| 1951 – 1959 | 73 |
| 1960 and later | 75 |
Due to the statutory drafting ambiguity in SECURE 2.0 for individuals born in 1959, the engine conservatively applies age 73 until Congress enacts a technical correction or final guidance is issued.
$1,000,000 pre-tax at age 75 (divisor 24.6) → 1,000,000 ÷ 24.6 = $40,650.41.
- Calculated per spouse from their own accounts, with the Joint Life table for a sole-beneficiary spouse more than ten years younger.
- Roth IRAs, Roth 401(k)s, taxable and HSA accounts are excluded. The still-working exception is applied only to a current employer's plan (never to IRAs, and not for 5% owners). Qualified charitable distributions come from IRAs, are available from age 70½, and offset the RMD within the annual indexed limit.
When the RMD is more than you need
The distribution is taken first and taxed in full. Whatever exceeds your spending is credited back to your liquid accounts, split across cash and taxable accounts or swept to the account you choose, and kept out of your spending columns, so a required distribution never looks like a lifestyle choice.
Spending that follows the shape of retirement.
Instead of one flat number, plan in chapters, each editable, with guardrails that respond when markets don't cooperate.
Active years. Default ages 60–72.
Lifestyle consolidation. Default ages 73–82.
Quieter years. Default ages 83–105.
Start from these defaults or set your own ages and amounts. Healthcare and long-term care are modeled separately, so a quiet lifestyle phase can still carry real medical cost.
Guardrails that tell you which one fired
| Guardrail | Default trigger | Response |
|---|---|---|
| Drawdown | Portfolio 20% below its high | Discretionary −30%; essentials held to at least 90% of plan |
| Corridor, upper | Withdrawal rate above 5% (target 4%) | Spending −10% |
| Corridor, lower | Withdrawal rate at or below 3% | Spending +10% |
One adjustment per year, clearly labeled, and bounded: with default settings no single year is cut by more than 30%, and cuts never compound from one year to the next.
Randomness, kept in its place
Your tax ledger is deterministic. Uncertainty enters only through the market return fed into each year. Monte Carlo runs the same year-resolution sequence across hundreds of seeded, correlated trials, so any single trial can be opened and audited like your base case.
Built to be checked, and tested so it stays right.
A four-stage decumulation pipeline keeps statutory facts in exactly one place. Information flows one way, and automated tests fail the build if that rule is broken.
Statutory Rules Reference
Every bracket, threshold, age and lookback in one cited source, labeled fixed or indexed.
Decumulation Math Engine
Tax, Social Security, IRMAA and RMD rules as pure calculation, with no screens and no side effects.
Simulation & Waterfall Orchestrator
Resolves each year in strict order and rolls the result forward, across your base case and every Monte Carlo trial.
Analytical Presentation & The Helm
Shows the results. It never recomputes tax from raw rules, so what you see is what the engine settled.
Hand-computed cases
Expected values worked out from the published IRS Tax Rate Schedules, not copied from the engine.
Pinned benchmark figures
Fixed figures from a sample household on a fixed trial. A change means finding out why before touching the number.
Regression sweep
Every sample plan is checked on a pinned trial and three seeds, and deliberately re-introduced bugs prove the checks catch them.
Ten invariants checked on every sample plan
Benchmarks must reproduce to four decimal places between releases unless a change is intended. A performance rewrite that took a heavy run from 16.8 s to 6.0 s shipped with identical output. Every fix starts with a test that fails on the old engine.
Transparent by Design: Every decumulation model carries boundaries. RetireNavigator Studio follows the logic of Form 1040 decumulation rules, not tax preparation. Not modeled: Form 8606 pro-rata basis for after-tax IRA contributions (relevant to Roth conversions), SSA-44 IRMAA appeals, the Form 1040 Tax Table's $50-band rounding (the engine uses exact rate schedules), the 25% rate on unrecaptured §1250 gain and the 28% rate on collectibles, and delaying the first RMD to April 1 of the following year. Our methodology is designed to give you auditable numbers to bring to your CPA or CFP.
Ready to see it on your own numbers?