How we check the math

Every tax rule traces back to its source.

RetireGolden ties its tax math to the law or official publication that defines it, the tests that hold the code to that source, and the code that applies it. Every figure the planner shows is catalogued with its own checks. You can follow the chain in either direction.

Follow one number Browse every calculation

One chain, checked both ways

The primary source, the test and the code, linked in both directions THE SOURCE Statute, regulation, IRS, SSA or CMS text quoted word for word THE TEST Expected answer worked from the source worked by hand first THE CODE The engine function that computes it linked by file and line sets the expected answer the code must pass each function names its tests each test cites its rule The primary source, the test and the code, linked in both directions THE SOURCE Statute, regulation, IRS, SSA or CMS text THE TEST Expected answer worked from the source THE CODE The engine function that computes it sets theexpected answer the codemust pass each functionnames its tests each testcites its rule

If the law changes

Each rule lists the tests and code that depend on it, so an update starts from a known list of what to change and re-check.

If a number is questioned

Any figure leads back to the rule it follows and the exact source text, so the answer to "why this number?" is a citation.

Follow one number

Uniform Lifetime Table denominator for a lifetime required minimum distribution

The source Checked against the source 2026-08-03 Next scheduled re-check 2027-08-03
The test

"divides the prior year-end balance by the denominator for the age attained"

rmd.test.ts
The code

526 of the 604 rules in the tax-rule registry carry a test that holds the code to their source, each linked at the pinned engine commit. The registry lists the rest with the reason they have none.

By the numbers

What has been checked

249 of 249 output families have passed every gate

One square per output family, a kind of figure the planner shows. A square is filled when every calculation record in the family passes all of the engine's gates and has been independently reviewed.

For each calculation record

Four of the engine's gates

  1. Work it out from the source

    A worksheet derives the expected answer from the rule's text, without looking at how the code does it.

  2. Hold the code to it

    A test compares the engine's figure to the worksheet's.

  3. Break it on purpose

    The code is deliberately broken once to prove the test catches the error.

  4. Check it independently

    A reviewer from a different agent family than the one that derived the record reviews it.

Where the model simplifies, it says so

RetireGolden is planning-grade, not filing-grade. Its 285 calculation records carry 950 stated limits, each naming what the model leaves out and, where it is known, which way the error runs.

See the known limits

The evidence, in detail

Retirement tools often disagree about the same plan, and most won't show you why. RetireGolden shows its work: four ways to check its math follow, each with its link, all pinned to the engine commit named at the foot of this page.

Published examples reproduced

Each row is a test in the engine repository that holds the engine to figures an independent source published. It names the source as the engine's oracle registry states it, the number of cases the test checks, and the tolerance it allows, and links the test at the pinned commit.

Area Published source Cases Tolerance Test
Federal tax Published source
  • IRS Rev. Proc. 2025-32: the 2026 brackets, standard deduction, age-65 addition and long-term capital-gain breakpoints. ORACLE-001
Cases 4 Tolerance $1 Read the test
Federal tax and Social Security Published source
  • IRS Publication 915, Worksheet 1, with Rev. Proc. 2025-32: a retired married couple with a pension and Social Security, across every taxable-benefit tier (0%, 50%, 85% and the 85% cap). ORACLE-002
Cases 4 Tolerance $1 Read the test
ACA Published source
  • IRS Rev. Proc. 2025-25 and the HHS 2025 poverty guidelines: the applicable-percentage schedule and the 400% cliff. ORACLE-003
  • IRS Rev. Proc. 2026-26 and the HHS 2026 poverty guidelines (the 2027 coverage year's, by 26 U.S.C. 36B(d)(3)(B)): the 2027 schedule, the 400% cliffs ($63,840 single, $132,000 for four), and two example households priced by hand. ORACLE-018
Cases 9 Tolerance $1, or 0.01 percentage point$0.01, or 0.0001 percentage point Read the test
Medicare and IRMAA Published source
  • CMS 2026 Medicare premiums: the income thresholds, Part B premiums and every Part D surcharge tier. ORACLE-004
Cases 5 Tolerance one cent Read the test
RMD Published source
  • IRS Publication 590-B: the full Uniform Lifetime Table and its worked examples, including the Joint Life Table II spouse example. ORACLE-005
Cases 4 Tolerance $1 (Pub 590-B rounds RMDs to whole dollars) Read the test
Social Security PIA Published source
  • SSA bend points and the 2025 Annual Statistical Supplement, Appendix C worked example. ORACLE-006
Cases 5 Tolerance $0.10 (PIA is published to the dime) Read the test
Social Security claiming Published source
  • An open-source Social Security claiming calculator (version 6e177de): a single high-discount worker ranks 62 first; a low-discount couple delays the spouse with the larger benefit to 70. The ranking of claiming ages is compared, not present-value dollar amounts. ORACLE-007/008
Cases 2 Tolerance exact on the claiming-age ranking (no present-value dollar amounts are compared with the oracle's) Read the test
State tax Published source
  • New Jersey Division of Taxation graduated brackets; Kentucky Department of Revenue flat rate and the $31,110 retirement exclusion, below, at and above the cap. ORACLE-009/010
  • California FTB 2026 Form 540-ES deduction ($5,706 / $11,412) and the 2025 Schedule X/Y above $100,000, carried into 2026 until the 2026 schedules are published; Social Security exempt while pensions stay in ordinary income. Not a whole-return comparison: personal exemption credits are left out, and incomes under $100,000, where the FTB publishes a tax table instead of the schedule, are not compared. ORACLE-013
  • Georgia Department of Revenue 2026: the flat 4.99% rate, the $15,000 / $30,000 deductions, and the 65+ retirement-income exclusion below, at and above the $65,000 per-person cap. The exclusion's separate tier for ages 62 to 64 is simplified in the model. ORACLE-014
  • Illinois Department of Revenue: the flat 4.95% rate with the full retirement-income subtraction. The personal exemption is left out of the model, and the cases are chosen so it cannot change the answer. ORACLE-015
  • South Carolina Department of Revenue, H.4216 notice and ratified bill text: the 2026 two-tier schedule (1.99% under $30,000; 5.21% minus $966 at and above), with cases below, at and above the $30,000 breakpoint, and the $15,000 / $30,000 SCIAD deduction. The deduction's phase-out is left out of the model, so every case keeps federal AGI at or below where it starts. ORACLE-016
  • Maine Revenue Services 2026 rate schedule: the basic $15,700 / $31,400 standard deduction and the 5.8%, 6.75% and 7.15% brackets with the 2% high-income surcharge (a 9.15% top bracket), for households under 65. The personal exemption and the age-65 additional amount are outside the compared cases. ORACLE-017
Cases 26 Tolerance $1, asserted to cents where the model is exact Read the test

59 cases in 8 test files, covering 16 numbered entries of the engine's oracle registry.

Worked examples you can redo

A walkthrough takes one plan from the app's example library and works years of its year-by-year projection out by hand, every figure tied to the documented contract it follows, so you can redo the arithmetic with a calculator. A test holds the engine to each hand table, figure by figure, and this site will not publish a table the engine disagrees with. The pinned engine commit lists 3 walkthroughs:

Every calculation catalogued

Every number the planner shows is an output family in a public census. A family's chain is complete when each calculation record behind it passes every one of the engine's gates and has been independently reviewed: among the gates, a worksheet derived without running the engine, a test, and a record showing the test fail when the code is deliberately broken. At the pinned commit, 249 of 249 output families have a complete chain, and the catalog counts the rest by what each one still lacks.

Limits, stated

Each calculation record states its own limits: 950 statements across 285 records at the pinned commit, gathered on one page. By catalog group:

RetireGolden is planning-grade, not filing-grade: the simplifications the model makes by design are described on the app's How RetireGolden is tested page.

Also checkable

  • Tax-law claims, one record each. Every claim RetireGolden makes about tax law is a record in one open registry, with its quoted authority, a classification and a verification date. Tax-rule registry: the verification chain
  • No hidden allocation change in a Roth conversion. The engine holds portfolio-wide asset allocation constant across account types, so a conversion's modeled benefit comes from tax, not from quietly investing Roth dollars more aggressively. A tax-free conversion between identically allocated accounts leaves every year's totals unchanged, and an allocation you choose per account is priced as your setting. The asset-location invariance test, at the pinned commit
  • Every parameter cites its source. Tax brackets, IRMAA tiers, ACA percentages, RMD tables and Social Security parameters each trace to the Revenue Procedure, statute or agency publication they came from, and the app lists the sources and vintages it uses. The app's disclaimer and provenance panel
  • Compared with an independent optimizer. A parity comparison solves the same test households with RetireGolden and with an independent open-source Roth-conversion optimizer, then prices both tools' schedules on RetireGolden's own year-by-year projection. How RetireGolden is tested: the comparison and its latest results
  • Your data. The planner runs in your browser with no account, and your plan stays on your device. Sustainability & your data

RetireGolden is educational planning software, not financial, tax, or legal advice. It models outcomes under assumptions you choose; consult a qualified professional before acting.