On and Off Topic

How the Total Economic Simulation is checked

Every check passes: 34,111 counted checks across the labs, plus the What if layer tests and the recorded US tax lab run.

Each lab on the map runs in your browser from code in the page. The scripts here take that same code out of the page and run it on the same data the page loads: first the identities a model must satisfy whatever its assumptions (no change gives back the starting point, money adds up, nothing turns into NaN), then comparisons with figures published by others. This page is written by those scripts each time the site is updated, so the numbers are the ones the current page produces. Where a lab differs from an outside figure, the gap is shown, not hidden.

Part of the siteResultChecks
What if: chokepoints, export bans and disastersPass28 passed, 0 failed
What if: supply chains and jobsPasspassed
What if: interest ratesPasspassed
What if: who paysPasspassed
US federal tax labRecordedsee below
Consumption tax lab: VAT and fuel dutyPass1,076 passed, 0 failed
Who gains from taxes and spending (CEQ)Pass947 passed, 0 failed
Income tax in 131 countriesPass22,826 passed, 0 failed
Debt and deficitsPass9,209 passed, 0 failed
Companies: profits, credit, supply chains and decisionsPass25 passed, 0 failed

What if: chokepoints, export bans and disasters Pass

28 passed, 0 failed · Open it

The engine that ships 44 goods between countries month by month and turns shortages and price moves into GDP. The script runs it on the real network (CEPII BACI trade, shipping routes, stocks and pipelines) and checks it obeys its own accounting and behaves sensibly, then replays three real shocks against monthly prices from the World Bank Pink Sheet.

Logic checks

CheckResult
PassNo shock: prices, shortages and GDP stay at baselinemax price change 0, max GDP change 0
PassAll numbers finite and positive where they must be0 non-finite, 0 negative shortages
PassNo country is short of more than it uses0 cases
PassShortages add up to the shortfall (isolated buyers + world market)worst gap 0.0% of the shortfall
PassGulf producers are not short of oil under a Hormuz closureshortage share 3% 0% 0% 0% 0%
PassOil stock draws never exceed the drawable stock38.19 vs 44.26 (million b/d-months)
PassStocks drawn are refilled after the shock (within 24 months)refilled 100%
PassOil exporters outside the Gulf gain (Norway, Canada, Kazakhstan, Angola)NO 4.88, CA 2.08, KZ 7.44, AO 19.03
PassThe US, about balanced in oil, moves less than 1% of GDPUS 0.01
PassBig Asian oil importers lose (Japan, Korea, India, China)JP -1.95, KR -4.12, IN -2.72, CN -1.32
PassGulf exporters lose the most (Kuwait, Iraq, Qatar below -10% of GDP)KW -38.47, IQ -46.12, QA -33.2
PassWorld output effect of a full Hormuz closure is between -0.5% and -3% a month-0.94%
PassNo economy over US$5 bn loses more than 60% of GDP in a month0 country-months
PassGoods the Gulf imports (alumina) get cheaper elsewhere when it is cut offalumina price x0.88
PassOil price rises with the share of traffic stopped1.23 < 1.23 < 1.31 < 1.73
PassWorld losses rise with the share of traffic stopped-52.07 > -133.46 > -245.52 > -494.18 (US$ bn)
PassA longer closure costs more-266.45 vs -791.44 US$ bn
PassWithout stock releases, the price is back to normal once the strait reopensmonths 6+: 1 1 1
PassReleasing emergency stocks lowers the early price1.73 vs 2.17
PassThe Saudi and UAE bypass pipelines lower the price1.45 vs 1.99
PassClosing Suez strands almost nothing; trade goes round Africastuck US$ 2.89 bn vs rerouted US$ 536.75 bn a year
PassA full export ban removes all of that country's exportslost 46909.45 of 46909.45 kt
PassA Russian wheat ban raises the wheat pricex1.8
PassA disaster costs the hit country at least the output it knocks outJP -175.53 vs direct -175.54 US$ bn
PassLost exports in a disaster are not counted twice (loss under 1.5x the direct loss)1x
PassA disaster's output loss fades with the recovery curve-70.2 > -17.55 > 0
PassKnocking out Taiwan's fabs raises chip prices, then they come backx2.07, month 7 x1
PassAn empty disaster changes nothingmax 0

Replays of real shocks: price change from before the shock, model against actual

EventGoodAverage gap, month by monthBiggest rise, model / actualCorrelation
Strait of Hormuz, Mar to Sep 2026 (95% of traffic stopped, stocks and bypass on)oil12 points+63% / +69%0.62
Strait of Hormuz, Mar to Sep 2026 (95% of traffic stopped, stocks and bypass on)lng31 points+60% / +126%-0.23
Strait of Hormuz, Mar to Sep 2026 (95% of traffic stopped, stocks and bypass on)nfert32 points+48% / +82%0.82
Strait of Hormuz, Mar to Sep 2026 (95% of traffic stopped, stocks and bypass on)al5 points+14% / +20%0.50
Ukraine grain and oilseed exports stop, Mar to Jul 2022 (Ukraine -80%, Russia -15%)wheat12 points+33% / +34%-0.02
Ukraine grain and oilseed exports stop, Mar to Jul 2022 (Ukraine -80%, Russia -15%)maize3 points+17% / +19%0.26
Ukraine grain and oilseed exports stop, Mar to Jul 2022 (Ukraine -80%, Russia -15%)vegoil20 points+43% / +58%-0.45
Red Sea diversions, Dec 2023 to May 2024 (60% of Bab el-Mandeb traffic)oil4 points+2% / +8%-0.61
Red Sea diversions, Dec 2023 to May 2024 (60% of Bab el-Mandeb traffic)lng8 points+0% / +14%
Red Sea diversions, Dec 2023 to May 2024 (60% of Bab el-Mandeb traffic)wheat2 points+0% / +3%0.60
Red Sea diversions, Dec 2023 to May 2024 (60% of Bab el-Mandeb traffic)al6 points+0% / +16%-0.35

Oil and aluminium track well; LNG and urea are further off, because the model has no gas-market timing (storage, contracts). The full monthly series are in the output below.

Full output of node scripts/total_econ_sim_sim_validate.js (4.2 s)
PASS No shock: prices, shortages and GDP stay at baseline  (max price change 0, max GDP change 0)
PASS All numbers finite and positive where they must be  (0 non-finite, 0 negative shortages)
PASS No country is short of more than it uses  (0 cases)
PASS Shortages add up to the shortfall (isolated buyers + world market)  (worst gap 0.0% of the shortfall)
PASS Gulf producers are not short of oil under a Hormuz closure  (shortage share 3% 0% 0% 0% 0%)
PASS Oil stock draws never exceed the drawable stock  (38.19 vs 44.26 (million b/d-months))
PASS Stocks drawn are refilled after the shock (within 24 months)  (refilled 100%)
PASS Oil exporters outside the Gulf gain (Norway, Canada, Kazakhstan, Angola)  (NO 4.88, CA 2.08, KZ 7.44, AO 19.03)
PASS The US, about balanced in oil, moves less than 1% of GDP  (US 0.01)
PASS Big Asian oil importers lose (Japan, Korea, India, China)  (JP -1.95, KR -4.12, IN -2.72, CN -1.32)
PASS Gulf exporters lose the most (Kuwait, Iraq, Qatar below -10% of GDP)  (KW -38.47, IQ -46.12, QA -33.2)
PASS World output effect of a full Hormuz closure is between -0.5% and -3% a month  (-0.94%)
PASS No economy over US$5 bn loses more than 60% of GDP in a month  (0 country-months)
PASS Goods the Gulf imports (alumina) get cheaper elsewhere when it is cut off  (alumina price x0.88)
PASS Oil price rises with the share of traffic stopped  (1.23 < 1.23 < 1.31 < 1.73)
PASS World losses rise with the share of traffic stopped  (-52.07 > -133.46 > -245.52 > -494.18 (US$ bn))
PASS A longer closure costs more  (-266.45 vs -791.44 US$ bn)
PASS Without stock releases, the price is back to normal once the strait reopens  (months 6+: 1 1 1)
PASS Releasing emergency stocks lowers the early price  (1.73 vs 2.17)
PASS The Saudi and UAE bypass pipelines lower the price  (1.45 vs 1.99)
PASS Closing Suez strands almost nothing; trade goes round Africa  (stuck US$ 2.89 bn vs rerouted US$ 536.75 bn a year)
PASS A full export ban removes all of that country's exports  (lost 46909.45 of 46909.45 kt)
PASS A Russian wheat ban raises the wheat price  (x1.8)
PASS A disaster costs the hit country at least the output it knocks out  (JP -175.53 vs direct -175.54 US$ bn)
PASS Lost exports in a disaster are not counted twice (loss under 1.5x the direct loss)  (1x)
PASS A disaster's output loss fades with the recovery curve  (-70.2 > -17.55 > 0)
PASS Knocking out Taiwan's fabs raises chip prices, then they come back  (x2.07, month 7 x1)
PASS An empty disaster changes nothing  (max 0)

Strait of Hormuz, Mar to Sep 2026 (95% of traffic stopped, stocks and bypass on)
  oil      model 41 63 38 27 24 22 22               actual 46 69 51 20 17 28 64               mean gap 12 pts
  lng      model 25 60 57 55 52 49 49               actual 59 37 44 35 61 88 126              mean gap 31 pts
  nfert    model 21 48 33 20 20 20 20               actual 54 82 63 -4 -15 -17 -14            mean gap 32 pts
  al       model 7 14 12 10 10 10 10                actual 10 17 20 12 3 6 7                  mean gap 5 pts

Ukraine grain and oilseed exports stop, Mar to Jul 2022 (Ukraine -80%, Russia -15%)
  wheat    model 15 33 32 31 30                     actual 25 27 34 18 -2                     mean gap 12 pts
  maize    model 8 17 16 16 15                      actual 15 19 18 15 10                     mean gap 3 pts
  vegoil   model 20 43 42 41 40                     actual 58 52 39 26 4                      mean gap 20 pts

Red Sea diversions, Dec 2023 to May 2024 (60% of Bab el-Mandeb traffic)
  oil      model 2 0 0 0 0 0                        actual -6 -4 1 3 8 -1                     mean gap 4 pts
  lng      model 0 0 0 0 0 0                        actual 14 13 7 4 -7 -4                    mean gap 8 pts
  wheat    model 0 0 0 0 0 0                        actual 3 0 -2 -3 -4 2                     mean gap 2 pts
  al       model 0 0 0 0 0 0                        actual -1 0 -1 1 14 16                    mean gap 6 pts

28 of 28 checks pass

What if: supply chains and jobs Pass

passed · Open it

The layer that passes a country’s lost output on to the industries that buy from it abroad, and turns it into jobs’ worth of work and wages by skill. Checks: the losses passed abroad add up, every number is finite, totals stay close to the run without supply chains, and the jobs figures are sane.

Full output of node scripts/total_econ_sim_sim_io_test.js (1.5 s)
hormuz: world loss -1004.0 vs -1019.7 US$ bn with supply chains; passed abroad 78.0 bn
PASS all GDP numbers finite  (0)
PASS losses passed abroad equal losses received abroad, every month  (0.00% worst gap)
PASS world total within 35% of the run without supply chains  (1.02x)
PASS sector losses add up to the total  (39680 vs 39679 US$ m)
PASS value added per job lost is between $3,000 and $300,000 a year  ($15,514)
  worst month 9: 31 million jobs' worth of work, wages lost low/med/high 1895/10420/5346 US$ m

taiwan: world loss -124.5 vs -86.1 US$ bn with supply chains; passed abroad 21.2 bn
PASS all GDP numbers finite  (0)
PASS losses passed abroad equal losses received abroad, every month  (0.00% worst gap)
PASS world total within 35% of the run without supply chains  (0.69x)
PASS sector losses add up to the total  (11286 vs 11287 US$ m)
PASS value added per job lost is between $3,000 and $300,000 a year  ($13,833)
  worst month 2: 9.8 million jobs' worth of work, wages lost low/med/high 413/2723/1754 US$ m
PASS a Taiwan blockade reaches Japan and the US through supply chains  (JP 0.5 bn, US 6.0 bn)

ree: world loss -12.4 vs -12.6 US$ bn with supply chains; passed abroad 1.0 bn
PASS all GDP numbers finite  (0)
PASS losses passed abroad equal losses received abroad, every month  (0.00% worst gap)
PASS world total within 35% of the run without supply chains  (1.01x)
PASS sector losses add up to the total  (388 vs 388 US$ m)
PASS value added per job lost is between $3,000 and $300,000 a year  ($19,343)
  worst month 2: 241,000 jobs' worth of work, wages lost low/med/high 21/115/66 US$ m

all pass

What if: interest rates Pass

passed · Open it

The interest-rate lever and its effect on households’ interest bills by fifth. Checks: every number is finite and the tab, card and table HTML have no NaN or undefined; no change gives exactly zero; a cut is the mirror of a rise of the same size; a change held for a few months and then reversed fades back; variable and fixed mortgage parts add up to the total; a central bank’s change only touches its own countries (the ECB moves the euro area, Montenegro and Kosovo).

Full output of node scripts/total_econ_sim_sim_rates_test.js (0.7 s)
## Every central bank +2 points, held (Every central bank raises rates by 2 points from M1)
  country         bank  grade     | net extra interest, % of spending: poorest / middle / richest, month 12 | month 24
  Norway          NB    mixed     | +0.46% / +1.42% / +6.68% | +0.49% / +1.52% / +7.01%
  Sweden          RIKS  mixed     | +0.36% / +1.14% / +5.29% | +0.43% / +1.35% / +6.26%
  Denmark         DN    mixed     | +0.30% / +0.73% / +2.22% | +0.37% / +0.91% / +2.80%
  Cyprus          ECB   measured  | +0.43% / +0.85% / +0.50% | +0.46% / +0.91% / +0.38%
  Canada          BOC   estimate  | +0.32% / +0.74% / +0.89% | +0.37% / +0.88% / +0.98%
  Finland         ECB   measured  | +0.48% / +0.80% / +2.88% | +0.49% / +0.80% / +2.92%
  Portugal        ECB   measured  | +0.12% / +0.71% / +0.38% | +0.13% / +0.74% / +0.42%
  Estonia         ECB   measured  | +0.04% / +0.56% / +2.15% | +0.03% / +0.55% / +2.12%
  Netherlands     ECB   measured  | +0.15% / +0.43% / +0.81% | +0.19% / +0.54% / +1.02%
  India           RBI   estimate  | +0.30% / +0.33% / −0.05% | +0.41% / +0.49% / +0.18%
  Luxembourg      ECB   measured  | −0.09% / +0.34% / +0.34% | −0.01% / +0.49% / +0.67%
  Spain           ECB   measured  | +0.13% / +0.44% / +0.70% | +0.14% / +0.46% / +0.73%
  Slovakia        ECB   measured  | +0.06% / +0.18% / +0.30% | +0.11% / +0.33% / +0.59%
  Italy           ECB   measured  | +0.11% / +0.25% / +0.19% | +0.15% / +0.30% / +0.24%
  Lithuania       ECB   measured  | +0.10% / +0.22% / +0.86% | +0.10% / +0.22% / +0.84%
  Ireland         ECB   measured  | +0.05% / +0.21% / +0.86% | +0.05% / +0.21% / +0.76%
  Croatia         ECB   measured  | +0.07% / +0.14% / +0.23% | +0.09% / +0.18% / +0.26%
  Latvia          ECB   measured  | +0.07% / +0.17% / +0.67% | +0.06% / +0.16% / +0.61%
  Poland          NBP   mixed     | +0.06% / +0.10% / +0.05% | +0.08% / +0.15% / +0.18%
  France          ECB   measured  | +0.04% / +0.06% / +0.08% | +0.07% / +0.14% / +0.30%
  Malta           ECB   measured  | +0.05% / +0.09% / +0.17% | +0.06% / +0.11% / +0.18%
  Bulgaria        ECB   measured  | +0.05% / +0.07% / +0.08% | +0.07% / +0.10% / +0.12%
  North Macedonia NBRNM estimate  | +0.07% / +0.04% / −0.34% | +0.09% / +0.10% / −0.22%
  Hungary         MNB   mixed     | +0.02% / +0.04% / −0.53% | +0.05% / +0.10% / −0.41%
  Serbia          NBS   estimate  | +0.06% / +0.05% / −0.24% | +0.09% / +0.10% / −0.12%
  Slovenia        ECB   measured  | +0.04% / +0.12% / +0.29% | +0.04% / +0.10% / +0.20%
  Montenegro      ECB   estimate  | +0.05% / +0.04% / −0.25% | +0.07% / +0.09% / −0.12%
  Belgium         ECB   measured  | +0.00% / −0.03% / −0.10% | +0.01% / +0.04% / +0.19%
  Brazil          BCB   estimate  | +0.13% / −0.09% / −0.79% | +0.24% / +0.04% / −0.66%
  Kosovo          ECB   estimate  | +0.03% / −0.01% / −0.35% | +0.04% / +0.03% / −0.27%
  Greece          ECB   mixed     | +0.06% / +0.01% / −0.16% | +0.08% / +0.03% / −0.10%
  Romania         BNR   mixed     | +0.03% / −0.01% / −0.36% | +0.05% / +0.02% / −0.27%
  Türkiye         TCMB  mixed     | +0.05% / −0.03% / −0.55% | +0.05% / −0.02% / −0.51%
  Mexico          BXM   estimate  | +0.01% / −0.08% / −0.38% | +0.04% / −0.05% / −0.35%
  Germany         ECB   measured  | −0.01% / −0.10% / −0.68% | +0.01% / −0.07% / −0.57%
  United States   FED   measured  | −0.08% / −0.18% / −0.91% | −0.03% / −0.08% / −0.78%
  United Kingdom  BOE   mixed     | −0.04% / −0.29% / −1.41% | −0.01% / −0.20% / −1.07%
  Austria         ECB   measured  | −0.04% / −0.24% / −0.14% | −0.04% / −0.22% / −0.06%
  Czechia         CNB   mixed     | −0.26% / −0.41% / −0.84% | −0.24% / −0.27% / −0.55%
  Japan           BOJ   estimate  | −0.14% / −0.83% / −3.97% | −0.09% / −0.74% / −3.70%

## Fed +1 point (US Federal Reserve raises rates by 1 point from M1)
  country         bank  grade     | net extra interest, % of spending: poorest / middle / richest, month 12 | month 24
  United States   FED   measured  | −0.04% / −0.09% / −0.45% | −0.02% / −0.04% / −0.39%

## ECB +1 point (European Central Bank raises rates by 1 point from M1)
  country         bank  grade     | net extra interest, % of spending: poorest / middle / richest, month 12 | month 24
  Cyprus          ECB   measured  | +0.22% / +0.43% / +0.25% | +0.23% / +0.45% / +0.19%
  Finland         ECB   measured  | +0.24% / +0.40% / +1.44% | +0.25% / +0.40% / +1.46%
  Portugal        ECB   measured  | +0.06% / +0.35% / +0.19% | +0.07% / +0.37% / +0.21%
  Estonia         ECB   measured  | +0.02% / +0.28% / +1.08% | +0.02% / +0.28% / +1.06%
  Netherlands     ECB   measured  | +0.07% / +0.21% / +0.41% | +0.09% / +0.27% / +0.51%
  Luxembourg      ECB   measured  | −0.04% / +0.17% / +0.17% | −0.01% / +0.25% / +0.34%
  Spain           ECB   measured  | +0.06% / +0.22% / +0.35% | +0.07% / +0.23% / +0.37%
  Slovakia        ECB   measured  | +0.03% / +0.09% / +0.15% | +0.05% / +0.17% / +0.29%
  Italy           ECB   measured  | +0.06% / +0.12% / +0.10% | +0.07% / +0.15% / +0.12%
  Lithuania       ECB   measured  | +0.05% / +0.11% / +0.43% | +0.05% / +0.11% / +0.42%
  Ireland         ECB   measured  | +0.03% / +0.11% / +0.43% | +0.02% / +0.10% / +0.38%
  Croatia         ECB   measured  | +0.04% / +0.07% / +0.11% | +0.05% / +0.09% / +0.13%
  Latvia          ECB   measured  | +0.03% / +0.09% / +0.33% | +0.03% / +0.08% / +0.31%
  France          ECB   measured  | +0.02% / +0.03% / +0.04% | +0.03% / +0.07% / +0.15%
  Malta           ECB   measured  | +0.03% / +0.05% / +0.09% | +0.03% / +0.06% / +0.09%
  Bulgaria        ECB   measured  | +0.03% / +0.04% / +0.04% | +0.04% / +0.05% / +0.06%
  Slovenia        ECB   measured  | +0.02% / +0.06% / +0.14% | +0.02% / +0.05% / +0.10%
  Montenegro      ECB   estimate  | +0.02% / +0.02% / −0.13% | +0.04% / +0.05% / −0.06%
  Belgium         ECB   measured  | +0.00% / −0.02% / −0.05% | +0.01% / +0.02% / +0.09%
  Kosovo          ECB   estimate  | +0.01% / −0.00% / −0.18% | +0.02% / +0.01% / −0.14%
  Greece          ECB   mixed     | +0.03% / +0.01% / −0.08% | +0.04% / +0.01% / −0.05%
  Germany         ECB   measured  | −0.01% / −0.05% / −0.34% | +0.00% / −0.04% / −0.29%
  Austria         ECB   measured  | −0.02% / −0.12% / −0.07% | −0.02% / −0.11% / −0.03%
  countries moved: AT BE BG CY DE EE ES FI FR GR HR IE IT LT LU LV ME MT NL PT SI SK XK

## Every central bank -1 point (Every central bank cuts rates by 1 point from M1)
  country         bank  grade     | net extra interest, % of spending: poorest / middle / richest, month 12 | month 24
  Japan           BOJ   estimate  | +0.07% / +0.42% / +1.98% | +0.05% / +0.37% / +1.85%
  Czechia         CNB   mixed     | +0.13% / +0.20% / +0.42% | +0.12% / +0.14% / +0.27%
  Austria         ECB   measured  | +0.02% / +0.12% / +0.07% | +0.02% / +0.11% / +0.03%
  United Kingdom  BOE   mixed     | +0.02% / +0.14% / +0.70% | +0.00% / +0.10% / +0.53%
  United States   FED   measured  | +0.04% / +0.09% / +0.45% | +0.02% / +0.04% / +0.39%
  Germany         ECB   measured  | +0.01% / +0.05% / +0.34% | −0.00% / +0.04% / +0.29%
  Mexico          BXM   estimate  | −0.01% / +0.04% / +0.19% | −0.02% / +0.02% / +0.17%
  Türkiye         TCMB  mixed     | −0.03% / +0.01% / +0.27% | −0.03% / +0.01% / +0.26%
  Romania         BNR   mixed     | −0.02% / +0.01% / +0.18% | −0.02% / −0.01% / +0.14%
  Greece          ECB   mixed     | −0.03% / −0.01% / +0.08% | −0.04% / −0.01% / +0.05%
  Kosovo          ECB   estimate  | −0.01% / +0.00% / +0.18% | −0.02% / −0.01% / +0.14%
  Brazil          BCB   estimate  | −0.07% / +0.05% / +0.39% | −0.12% / −0.02% / +0.33%
  Belgium         ECB   measured  | −0.00% / +0.02% / +0.05% | −0.01% / −0.02% / −0.09%
  Montenegro      ECB   estimate  | −0.02% / −0.02% / +0.13% | −0.04% / −0.05% / +0.06%
  Slovenia        ECB   measured  | −0.02% / −0.06% / −0.14% | −0.02% / −0.05% / −0.10%
  Serbia          NBS   estimate  | −0.03% / −0.02% / +0.12% | −0.04% / −0.05% / +0.06%
  Hungary         MNB   mixed     | −0.01% / −0.02% / +0.27% | −0.02% / −0.05% / +0.21%
  North Macedonia NBRNM estimate  | −0.03% / −0.02% / +0.17% | −0.05% / −0.05% / +0.11%
  Bulgaria        ECB   measured  | −0.03% / −0.04% / −0.04% | −0.04% / −0.05% / −0.06%
  Malta           ECB   measured  | −0.03% / −0.05% / −0.09% | −0.03% / −0.06% / −0.09%
  France          ECB   measured  | −0.02% / −0.03% / −0.04% | −0.03% / −0.07% / −0.15%
  Poland          NBP   mixed     | −0.03% / −0.05% / −0.02% | −0.04% / −0.08% / −0.09%
  Latvia          ECB   measured  | −0.03% / −0.09% / −0.33% | −0.03% / −0.08% / −0.31%
  Croatia         ECB   measured  | −0.04% / −0.07% / −0.11% | −0.05% / −0.09% / −0.13%
  Ireland         ECB   measured  | −0.03% / −0.11% / −0.43% | −0.02% / −0.10% / −0.38%
  Lithuania       ECB   measured  | −0.05% / −0.11% / −0.43% | −0.05% / −0.11% / −0.42%
  Italy           ECB   measured  | −0.06% / −0.12% / −0.10% | −0.07% / −0.15% / −0.12%
  Slovakia        ECB   measured  | −0.03% / −0.09% / −0.15% | −0.05% / −0.17% / −0.29%
  Spain           ECB   measured  | −0.06% / −0.22% / −0.35% | −0.07% / −0.23% / −0.37%
  Luxembourg      ECB   measured  | +0.04% / −0.17% / −0.17% | +0.01% / −0.25% / −0.34%
  India           RBI   estimate  | −0.15% / −0.16% / +0.03% | −0.21% / −0.25% / −0.09%
  Netherlands     ECB   measured  | −0.07% / −0.21% / −0.41% | −0.09% / −0.27% / −0.51%
  Estonia         ECB   measured  | −0.02% / −0.28% / −1.08% | −0.02% / −0.28% / −1.06%
  Portugal        ECB   measured  | −0.06% / −0.35% / −0.19% | −0.07% / −0.37% / −0.21%
  Finland         ECB   measured  | −0.24% / −0.40% / −1.44% | −0.25% / −0.40% / −1.46%
  Canada          BOC   estimate  | −0.16% / −0.37% / −0.45% | −0.19% / −0.44% / −0.49%
  Cyprus          ECB   measured  | −0.22% / −0.43% / −0.25% | −0.23% / −0.45% / −0.19%
  Denmark         DN    mixed     | −0.15% / −0.37% / −1.11% | −0.19% / −0.46% / −1.40%
  Sweden          RIKS  mixed     | −0.18% / −0.57% / −2.64% | −0.21% / −0.68% / −3.13%
  Norway          NB    mixed     | −0.23% / −0.71% / −3.34% | −0.25% / −0.76% / −3.51%

## Every central bank +1 point from month 3 for 6 months (Every central bank raises rates by 1 point from M3, back down after 6 months)
  country         bank  grade     | net extra interest, % of spending: poorest / middle / richest, month 12 | month 24
  Sweden          RIKS  mixed     | +0.02% / +0.06% / +0.27% | +0.02% / +0.05% / +0.25%
  Denmark         DN    mixed     | +0.02% / +0.02% / +0.01% | +0.02% / +0.05% / +0.15%
  India           RBI   estimate  | +0.02% / −0.01% / −0.16% | +0.03% / +0.04% / +0.06%
  Slovakia        ECB   measured  | +0.01% / +0.03% / +0.06% | +0.01% / +0.04% / +0.08%
  Luxembourg      ECB   measured  | +0.03% / +0.06% / +0.12% | +0.02% / +0.04% / +0.08%
  Czechia         CNB   mixed     | −0.03% / −0.04% / −0.09% | +0.01% / +0.04% / +0.07%
  Canada          BOC   estimate  | +0.02% / +0.04% / −0.02% | +0.01% / +0.03% / +0.03%
  Brazil          BCB   estimate  | +0.03% / +0.03% / −0.00% | +0.03% / +0.03% / +0.03%
  Netherlands     ECB   measured  | +0.01% / +0.03% / +0.04% | +0.01% / +0.03% / +0.06%
  United States   FED   measured  | −0.01% / −0.02% / −0.09% | +0.01% / +0.03% / +0.03%
  United Kingdom  BOE   mixed     | −0.01% / −0.08% / −0.36% | +0.01% / +0.02% / +0.09%
  Japan           BOJ   estimate  | −0.02% / −0.12% / −0.63% | +0.01% / +0.02% / +0.07%
  Norway          NB    mixed     | +0.02% / +0.05% / +0.20% | +0.01% / +0.02% / +0.08%
  Belgium         ECB   measured  | +0.00% / +0.00% / +0.01% | +0.00% / +0.02% / +0.07%
  France          ECB   measured  | +0.01% / +0.01% / +0.02% | +0.01% / +0.02% / +0.06%
  Hungary         MNB   mixed     | +0.00% / +0.00% / −0.07% | +0.01% / +0.02% / +0.03%
  North Macedonia NBRNM estimate  | +0.00% / −0.01% / −0.11% | +0.01% / +0.01% / +0.03%
  Poland          NBP   mixed     | +0.00% / −0.01% / −0.08% | +0.01% / +0.01% / +0.04%
  Montenegro      ECB   estimate  | +0.00% / −0.00% / −0.08% | +0.01% / +0.01% / +0.03%
  Italy           ECB   measured  | +0.01% / +0.01% / +0.00% | +0.01% / +0.01% / +0.01%
  Serbia          NBS   estimate  | +0.00% / −0.01% / −0.10% | +0.01% / +0.01% / +0.03%
  Cyprus          ECB   measured  | +0.02% / +0.04% / −0.08% | +0.01% / +0.01% / −0.02%
  Croatia         ECB   measured  | +0.01% / +0.01% / −0.01% | +0.01% / +0.01% / +0.02%
  Mexico          BXM   estimate  | +0.00% / −0.00% / −0.03% | +0.01% / +0.01% / +0.01%
  Romania         BNR   mixed     | +0.00% / −0.01% / −0.07% | +0.00% / +0.01% / +0.02%
  Kosovo          ECB   estimate  | +0.00% / −0.01% / −0.09% | +0.00% / +0.01% / +0.02%
  Germany         ECB   measured  | −0.01% / −0.03% / −0.15% | +0.01% / +0.01% / +0.03%
  Portugal        ECB   measured  | −0.01% / −0.04% / −0.31% | +0.00% / +0.01% / +0.01%
  Malta           ECB   measured  | +0.00% / −0.00% / −0.04% | +0.00% / +0.01% / +0.02%
  Bulgaria        ECB   measured  | +0.00% / +0.00% / −0.01% | +0.00% / +0.01% / +0.01%
  Spain           ECB   measured  | +0.00% / −0.00% / −0.09% | +0.00% / +0.01% / +0.01%
  Austria         ECB   measured  | −0.04% / −0.11% / −0.32% | +0.00% / +0.00% / +0.02%
  Greece          ECB   mixed     | −0.00% / −0.02% / −0.10% | +0.00% / +0.00% / +0.02%
  Türkiye         TCMB  mixed     | +0.00% / −0.00% / −0.02% | +0.00% / +0.00% / +0.01%
  Finland         ECB   measured  | +0.01% / +0.00% / +0.03% | +0.00% / +0.00% / +0.01%
  Lithuania       ECB   measured  | +0.00% / −0.01% / −0.08% | +0.00% / +0.00% / −0.01%
  Ireland         ECB   measured  | +0.00% / +0.01% / +0.01% | −0.00% / −0.00% / −0.02%
  Estonia         ECB   measured  | −0.01% / −0.01% / −0.07% | −0.00% / −0.00% / −0.01%
  Slovenia        ECB   measured  | −0.00% / −0.01% / −0.05% | −0.00% / −0.00% / −0.01%
  Latvia          ECB   measured  | −0.00% / −0.01% / −0.04% | −0.00% / −0.00% / −0.01%

## Hormuz + every central bank +1 from month 3: Germany middle fifth month 12 total +2.96% (interest −0.04%), US +3.17%

all checks pass

What if: who pays Pass

passed · Open it

The card that splits a shock’s cost across the poorest to the richest fifth of households in each country, and what handing money back would do. Checks: every number is finite for three scenarios in every country, and the card’s HTML has no NaN.

Full output of node scripts/total_econ_sim_sim_who_test.js (1.0 s)
## Hormuz 2026 (95%, 12 months)
shipping rates, peak: containers +0%, tankers +0%, bulk +0%
world prices, months 1-6: oil 41 63 38 27 24 22 | gas 25 60 57 55 52 49 | food -2.3 -4.6 -4.6 -4.6 -4.6 -4.6
  Lithuania        days of spending over 24 months: poorest  19.1, richest  15.9 | peak month, poorest +4.54%
  Estonia          days of spending over 24 months: poorest  18.6, richest  13.7 | peak month, poorest +4.43%
  United Kingdom   days of spending over 24 months: poorest  16.5, richest  14.5 | peak month, poorest +4.12%
  Latvia           days of spending over 24 months: poorest  15.9, richest  17.8 | peak month, poorest +3.94%
  Italy            days of spending over 24 months: poorest  15.5, richest  12.3 | peak month, poorest +3.77%
  Greece           days of spending over 24 months: poorest  15.2, richest  14.2 | peak month, poorest +4.10%
  Belgium          days of spending over 24 months: poorest  14.8, richest  12.9 | peak month, poorest +3.77%
  Cyprus           days of spending over 24 months: poorest  14.8, richest  13.1 | peak month, poorest +4.00%
  Czechia          days of spending over 24 months: poorest  14.5, richest  17.0 | peak month, poorest +3.49%
  Luxembourg       days of spending over 24 months: poorest  14.2, richest  12.8 | peak month, poorest +3.85%
  Ireland          days of spending over 24 months: poorest  13.8, richest  11.1 | peak month, poorest +3.48%
  Slovenia         days of spending over 24 months: poorest  13.1, richest  15.1 | peak month, poorest +3.46%
  Denmark          days of spending over 24 months: poorest  12.9, richest  12.4 | peak month, poorest +3.02%
  Austria          days of spending over 24 months: poorest  12.4, richest  12.9 | peak month, poorest +3.16%
  Portugal         days of spending over 24 months: poorest  12.3, richest  13.0 | peak month, poorest +3.08%
  Germany          days of spending over 24 months: poorest  12.2, richest  11.4 | peak month, poorest +3.01%
  Canada           days of spending over 24 months: poorest  12.0, richest  11.6 | peak month, poorest +3.37%
  Netherlands      days of spending over 24 months: poorest  11.9, richest  12.4 | peak month, poorest +3.09%
  Poland           days of spending over 24 months: poorest  11.8, richest  13.3 | peak month, poorest +2.83%
  North Macedonia  days of spending over 24 months: poorest  11.6, richest  15.0 | peak month, poorest +3.04%
  United States    days of spending over 24 months: poorest  11.6, richest   9.6 | peak month, poorest +3.20%
  Japan            days of spending over 24 months: poorest  11.1, richest   9.1 | peak month, poorest +3.00%
  Romania          days of spending over 24 months: poorest  11.0, richest  12.5 | peak month, poorest +2.85%
  France           days of spending over 24 months: poorest  10.9, richest  10.4 | peak month, poorest +2.74%
  Spain            days of spending over 24 months: poorest  10.9, richest  10.3 | peak month, poorest +2.72%
  Croatia          days of spending over 24 months: poorest  10.4, richest  13.2 | peak month, poorest +2.63%
  India            days of spending over 24 months: poorest  10.4, richest   9.3 | peak month, poorest +3.40%
  Bulgaria         days of spending over 24 months: poorest  10.1, richest  15.3 | peak month, poorest +2.64%
  Slovakia         days of spending over 24 months: poorest  10.1, richest  11.4 | peak month, poorest +2.40%
  Kosovo           days of spending over 24 months: poorest   9.9, richest  10.6 | peak month, poorest +2.55%
  Finland          days of spending over 24 months: poorest   9.7, richest  11.3 | peak month, poorest +2.39%
  Montenegro       days of spending over 24 months: poorest   9.4, richest  13.9 | peak month, poorest +2.48%
  Sweden           days of spending over 24 months: poorest   9.4, richest  10.2 | peak month, poorest +2.21%
  Türkiye          days of spending over 24 months: poorest   9.3, richest   9.7 | peak month, poorest +2.38%
  Hungary          days of spending over 24 months: poorest   8.7, richest   9.4 | peak month, poorest +2.26%
  Norway           days of spending over 24 months: poorest   8.6, richest   8.2 | peak month, poorest +2.20%
  Serbia           days of spending over 24 months: poorest   8.5, richest  11.0 | peak month, poorest +2.19%
  Brazil           days of spending over 24 months: poorest   8.0, richest   5.9 | peak month, poorest +2.40%
  Malta            days of spending over 24 months: poorest   6.8, richest   6.6 | peak month, poorest +1.89%
  Mexico           days of spending over 24 months: poorest   6.6, richest   7.8 | peak month, poorest +2.11%
  fuel0  DE: days poorest 9.8, richest 7.1, cost to the state 0.61% of a year's GDP
  fuel0  US: days poorest 9.8, richest 8.3, cost to the state 0.35% of a year's GDP
  fuel0  IN: days poorest 7.4, richest 4.2, cost to the state 0.77% of a year's GDP
  fuel0  BR: days poorest 5.0, richest 1.0, cost to the state 0.89% of a year's GDP
  vatE   DE: days poorest 6.8, richest 7.2, cost to the state 0.77% of a year's GDP
  vatE   US: days poorest 11.6, richest 9.6, cost to the state 0.00% of a year's GDP
  vatE   IN: days poorest 7.3, richest 4.9, cost to the state 0.69% of a year's GDP
  vatE   BR: days poorest 4.2, richest 4.5, cost to the state 0.41% of a year's GDP
  cash   DE: days poorest 5.2, richest 8.5, cost to the state 0.61% of a year's GDP
  cash   US: days poorest 7.4, richest 8.7, cost to the state 0.35% of a year's GDP
  cash   IN: days poorest 0.5, richest 6.5, cost to the state 0.77% of a year's GDP
  cash   BR: days poorest -5.9, richest 3.6, cost to the state 0.89% of a year's GDP

## Hormuz, no release or bypass (100%, 6 months)
shipping rates, peak: containers +0%, tankers +0%, bulk +0%
world prices, months 1-6: oil 70 204 198 192 186 180 | gas 29 70 67 64 61 58 | food -2.6 -5.1 -5.1 -5.1 -5.1 -5.1
  Estonia          days of spending over 24 months: poorest  16.9, richest  14.1 | peak month, poorest +5.75%
  Lithuania        days of spending over 24 months: poorest  16.8, richest  15.8 | peak month, poorest +5.47%
  Greece           days of spending over 24 months: poorest  16.7, richest  16.0 | peak month, poorest +7.45%
  Cyprus           days of spending over 24 months: poorest  16.4, richest  14.5 | peak month, poorest +7.31%
  United Kingdom   days of spending over 24 months: poorest  16.2, richest  15.3 | peak month, poorest +6.23%
  Luxembourg       days of spending over 24 months: poorest  16.1, richest  14.6 | peak month, poorest +7.16%
  Belgium          days of spending over 24 months: poorest  15.5, richest  13.9 | peak month, poorest +6.21%
  Italy            days of spending over 24 months: poorest  14.9, richest  12.7 | peak month, poorest +5.42%
  Canada           days of spending over 24 months: poorest  14.7, richest  14.2 | peak month, poorest +7.01%
  Slovenia         days of spending over 24 months: poorest  14.4, richest  17.1 | peak month, poorest +6.19%
  Ireland          days of spending over 24 months: poorest  14.3, richest  12.0 | peak month, poorest +5.70%
  Latvia           days of spending over 24 months: poorest  14.2, richest  19.0 | peak month, poorest +4.51%
  United States    days of spending over 24 months: poorest  13.9, richest  11.8 | peak month, poorest +6.48%
  India            days of spending over 24 months: poorest  13.8, richest  12.2 | peak month, poorest +7.52%
  Czechia          days of spending over 24 months: poorest  13.6, richest  18.3 | peak month, poorest +4.84%
  Austria          days of spending over 24 months: poorest  13.3, richest  14.2 | peak month, poorest +5.37%
  Portugal         days of spending over 24 months: poorest  12.7, richest  14.2 | peak month, poorest +5.02%
  Germany          days of spending over 24 months: poorest  12.6, richest  12.4 | peak month, poorest +4.85%
  Denmark          days of spending over 24 months: poorest  12.4, richest  13.0 | peak month, poorest +4.21%
  Japan            days of spending over 24 months: poorest  12.3, richest  10.4 | peak month, poorest +5.85%
  North Macedonia  days of spending over 24 months: poorest  12.3, richest  16.5 | peak month, poorest +5.35%
  France           days of spending over 24 months: poorest  11.9, richest  11.5 | peak month, poorest +4.76%
  Spain            days of spending over 24 months: poorest  11.8, richest  11.3 | peak month, poorest +4.68%
  Poland           days of spending over 24 months: poorest  11.8, richest  14.0 | peak month, poorest +4.27%
  Croatia          days of spending over 24 months: poorest  11.3, richest  14.9 | peak month, poorest +4.56%
  Romania          days of spending over 24 months: poorest  10.9, richest  13.2 | peak month, poorest +4.05%
  Kosovo           days of spending over 24 months: poorest  10.9, richest  12.0 | peak month, poorest +4.71%
  Netherlands      days of spending over 24 months: poorest  10.9, richest  12.4 | peak month, poorest +3.79%
  Finland          days of spending over 24 months: poorest  10.7, richest  12.4 | peak month, poorest +4.19%
  Montenegro       days of spending over 24 months: poorest  10.7, richest  16.0 | peak month, poorest +4.74%
  Brazil           days of spending over 24 months: poorest  10.5, richest   7.8 | peak month, poorest +5.20%
  Türkiye          days of spending over 24 months: poorest  10.3, richest  10.9 | peak month, poorest +4.22%
  Slovakia         days of spending over 24 months: poorest  10.2, richest  12.3 | peak month, poorest +3.68%
  Sweden           days of spending over 24 months: poorest  10.1, richest  11.1 | peak month, poorest +3.65%
  Bulgaria         days of spending over 24 months: poorest   9.9, richest  16.9 | peak month, poorest +3.65%
  Mexico           days of spending over 24 months: poorest   9.3, richest  10.4 | peak month, poorest +4.72%
  Serbia           days of spending over 24 months: poorest   9.1, richest  12.4 | peak month, poorest +3.59%
  Norway           days of spending over 24 months: poorest   8.9, richest   8.6 | peak month, poorest +3.32%
  Hungary          days of spending over 24 months: poorest   8.8, richest  10.0 | peak month, poorest +3.30%
  Malta            days of spending over 24 months: poorest   7.7, richest   7.6 | peak month, poorest +3.44%
  fuel0  DE: days poorest 11.4, richest 10.3, cost to the state 0.30% of a year's GDP
  fuel0  US: days poorest 13.0, richest 11.1, cost to the state 0.17% of a year's GDP
  fuel0  IN: days poorest 12.2, richest 9.7, cost to the state 0.39% of a year's GDP
  fuel0  BR: days poorest 9.0, richest 5.4, cost to the state 0.44% of a year's GDP
  vatE   DE: days poorest 9.6, richest 9.9, cost to the state 0.45% of a year's GDP
  vatE   US: days poorest 13.9, richest 11.8, cost to the state 0.00% of a year's GDP
  vatE   IN: days poorest 12.1, richest 9.9, cost to the state 0.38% of a year's GDP
  vatE   BR: days poorest 8.4, richest 7.1, cost to the state 0.22% of a year's GDP
  cash   DE: days poorest 9.2, richest 11.0, cost to the state 0.30% of a year's GDP
  cash   US: days poorest 11.8, richest 11.3, cost to the state 0.17% of a year's GDP
  cash   IN: days poorest 8.8, richest 10.8, cost to the state 0.39% of a year's GDP
  cash   BR: days poorest 3.6, richest 6.7, cost to the state 0.44% of a year's GDP

## Red Sea (100%, 12 months)
shipping rates, peak: containers +200%, tankers +48%, bulk +14%
world prices, months 1-6: oil 9 -0 -0 -0 -0 -0 | gas 0 0 0 0 0 0 | food -0.4 -0.7 -0.7 -0.7 -0.7 -0.7
  Kosovo           days of spending over 24 months: poorest   5.8, richest   5.7 | peak month, poorest +1.42%
  Mexico           days of spending over 24 months: poorest   5.7, richest   5.1 | peak month, poorest +1.40%
  Finland          days of spending over 24 months: poorest   5.6, richest   5.4 | peak month, poorest +1.42%
  India            days of spending over 24 months: poorest   5.6, richest   5.4 | peak month, poorest +1.35%
  Belgium          days of spending over 24 months: poorest   5.5, richest   5.6 | peak month, poorest +1.39%
  Sweden           days of spending over 24 months: poorest   5.5, richest   5.4 | peak month, poorest +1.41%
  Netherlands      days of spending over 24 months: poorest   5.5, richest   5.5 | peak month, poorest +1.42%
  Italy            days of spending over 24 months: poorest   5.5, richest   5.4 | peak month, poorest +1.38%
  Japan            days of spending over 24 months: poorest   5.5, richest   5.4 | peak month, poorest +1.37%
  Canada           days of spending over 24 months: poorest   5.5, richest   5.4 | peak month, poorest +1.37%
  Spain            days of spending over 24 months: poorest   5.5, richest   5.4 | peak month, poorest +1.38%
  Cyprus           days of spending over 24 months: poorest   5.4, richest   5.2 | peak month, poorest +1.35%
  Luxembourg       days of spending over 24 months: poorest   5.4, richest   5.5 | peak month, poorest +1.36%
  Hungary          days of spending over 24 months: poorest   5.4, richest   5.3 | peak month, poorest +1.38%
  Romania          days of spending over 24 months: poorest   5.4, richest   5.3 | peak month, poorest +1.33%
  Malta            days of spending over 24 months: poorest   5.4, richest   5.2 | peak month, poorest +1.35%
  North Macedonia  days of spending over 24 months: poorest   5.4, richest   5.1 | peak month, poorest +1.31%
  France           days of spending over 24 months: poorest   5.4, richest   5.4 | peak month, poorest +1.36%
  United States    days of spending over 24 months: poorest   5.4, richest   5.4 | peak month, poorest +1.35%
  Montenegro       days of spending over 24 months: poorest   5.4, richest   5.3 | peak month, poorest +1.32%
  Austria          days of spending over 24 months: poorest   5.4, richest   5.4 | peak month, poorest +1.35%
  Greece           days of spending over 24 months: poorest   5.3, richest   5.3 | peak month, poorest +1.31%
  Croatia          days of spending over 24 months: poorest   5.3, richest   5.3 | peak month, poorest +1.32%
  Estonia          days of spending over 24 months: poorest   5.3, richest   5.4 | peak month, poorest +1.31%
  Türkiye          days of spending over 24 months: poorest   5.3, richest   5.2 | peak month, poorest +1.31%
  Germany          days of spending over 24 months: poorest   5.3, richest   5.4 | peak month, poorest +1.33%
  Ireland          days of spending over 24 months: poorest   5.3, richest   5.3 | peak month, poorest +1.32%
  Slovenia         days of spending over 24 months: poorest   5.3, richest   5.2 | peak month, poorest +1.31%
  Lithuania        days of spending over 24 months: poorest   5.2, richest   5.3 | peak month, poorest +1.30%
  Serbia           days of spending over 24 months: poorest   5.2, richest   5.1 | peak month, poorest +1.30%
  Brazil           days of spending over 24 months: poorest   5.2, richest   5.3 | peak month, poorest +1.31%
  Denmark          days of spending over 24 months: poorest   5.2, richest   5.4 | peak month, poorest +1.33%
  Poland           days of spending over 24 months: poorest   5.2, richest   5.3 | peak month, poorest +1.30%
  Bulgaria         days of spending over 24 months: poorest   5.2, richest   5.2 | peak month, poorest +1.29%
  Norway           days of spending over 24 months: poorest   5.2, richest   5.3 | peak month, poorest +1.33%
  Latvia           days of spending over 24 months: poorest   5.2, richest   5.2 | peak month, poorest +1.30%
  United Kingdom   days of spending over 24 months: poorest   5.1, richest   5.1 | peak month, poorest +1.28%
  Portugal         days of spending over 24 months: poorest   5.1, richest   5.1 | peak month, poorest +1.28%
  Slovakia         days of spending over 24 months: poorest   5.0, richest   5.1 | peak month, poorest +1.25%
  Czechia          days of spending over 24 months: poorest   4.8, richest   5.1 | peak month, poorest +1.19%
  fuel0  DE: days poorest 2.9, richest 1.1, cost to the state 0.61% of a year's GDP
  fuel0  US: days poorest 3.6, richest 4.1, cost to the state 0.35% of a year's GDP
  fuel0  IN: days poorest 2.5, richest 0.3, cost to the state 0.77% of a year's GDP
  fuel0  BR: days poorest 2.3, richest 0.4, cost to the state 0.89% of a year's GDP
  vatE   DE: days poorest 0.3, richest 1.6, cost to the state 0.70% of a year's GDP
  vatE   US: days poorest 5.4, richest 5.4, cost to the state 0.00% of a year's GDP
  vatE   IN: days poorest 2.7, richest 1.2, cost to the state 0.66% of a year's GDP
  vatE   BR: days poorest 1.7, richest 3.9, cost to the state 0.39% of a year's GDP
  cash   DE: days poorest -1.7, richest 2.4, cost to the state 0.61% of a year's GDP
  cash   US: days poorest 1.2, richest 4.5, cost to the state 0.35% of a year's GDP
  cash   IN: days poorest -4.3, richest 2.6, cost to the state 0.77% of a year's GDP
  cash   BR: days poorest -8.6, richest 3.0, cost to the state 0.89% of a year's GDP

all finite, card HTML clean

US federal tax lab Recorded

Open it

PSLmodels’ Tax-Calculator 6.8.5 (CC0), translated to JavaScript so it runs in the browser on a 60,643-unit sample of the CPS for 2026. These checks need Python Tax-Calculator and its full data file, so they are not re-run when this page is built; this is the recorded run from data/raw/tax/README.md.

Recorded 2026-10-22: the JavaScript engine equals Tax-Calculator 6.8.5 on all 100 calculated variables of all 280,005 CPS filing units for 2026 (relative tolerance 1e-6), and on all units of the full file and the sample for ten test reforms (top rate 39.6%, standard deduction +20%, $3,000 refundable CTC, no SALT cap, no Social Security cap, higher capital gains rates, EITC +50%, 7% payroll rates, a combination). The sample's revenue is within 0.1% of the full file's for every one.

Known data limits (Tax-Calculator's CPS file): no capital gains, partnership or S-corporation income, tips, overtime or car-loan interest, and thin coverage of the very top, so levels are below official revenue and top-end changes understated.

Consumption tax lab: VAT and fuel duty Pass

1,076 passed, 0 failed · Open it

VAT and fuel duty in 38 countries, who pays them by fifth of households, and what a change raises. Checks: every rate and budget share is in range and shares add up; the calibration gives back each country’s collected VAT; no change costs nothing; what households pay equals the revenue raised; money handed back nets to zero; a uniform rate rise costs every fifth the same share of taxed spending; ending reduced rates is regressive against spending; pass-through and demand response behave as set. Then the revenue of a one-point change against published costings:

ChangeLab, % of GDPPublishedLab / published
DE standard rate +10.328%0.349% (IMK (Macroeconomic Policy Institute))0.94
DE reduced rate -1 (food, fares)-0.072%-0.076% (IMK (Macroeconomic Policy Institute))0.95
GB standard rate +10.346%0.284% (HMRC)1.22
GB reduced rate +1 (domestic fuel and power)0.016%0.016% (HMRC)1.02
Full output of node scripts/tes_vat_validate.js total-economic-simulation (0.1 s)
DE standard rate +1: model 0.328% of GDP, published 0.349%, ratio 0.94
DE reduced rate -1 (food, fares): model -0.072% of GDP, published -0.076%, ratio 0.95
DE restaurant food -1 point (not in the IMK figure): -1.1 EUR billion
GB standard rate +1: model 0.346% of GDP, published 0.284%, ratio 1.22
GB reduced rate +1 (domestic fuel and power): model 0.016% of GDP, published 0.016%, ratio 1.02
1076 passed, 0 failed

Who gains from taxes and spending (CEQ) Pass

947 passed, 0 failed · Open it

Fiscal incidence for 77 countries from the CEQ Institute’s Standard Indicators (Tulane University). Checks, for each of the 56 studies with decile tables: no change gives back the reported Gini exactly and costs nothing; scrapping every tax and benefit leaves every decile at market income; a change paid for through another part of the budget balances; more cash transfers paid for with VAT help the poorest tenth. Then the lab’s ten-group method against the studies’ own reported change in inequality from market income to each later income:

ComparisonsMedian errorWithin 2 Gini points
1680.35 points88%
Full output of node scripts/tes_ceq_validate.js total-economic-simulation (0.1 s)
56 studies with deciles; ten-group model vs reported Gini change: median error 0.35 points, 88% within 2 points (n 168)
947 passed, 0 failed

Income tax in 131 countries Pass

22,826 passed, 0 failed · Open it

Wage income tax and employee social security in every OECD country, built on the OECD Taxing Wages 2025 country tables, in seventeen countries in Latin America and the Caribbean (Argentina, Barbados, Bolivia, Brazil, the Dominican Republic, Ecuador, El Salvador, Guatemala, Guyana, Honduras, Nicaragua, Panama, Paraguay, Peru, Saint Lucia, Trinidad and Tobago, Uruguay) , twenty-nine in Africa (Angola, Benin, Botswana, Burkina Faso, Cameroon, Chad, Côte d’Ivoire, Egypt, Eswatini, Ethiopia, Ghana, Kenya, Lesotho, Mali, Mauritius, Morocco, Mozambique, Namibia, Niger, Nigeria, Rwanda, Senegal, Seychelles, South Africa, Tanzania, Togo, Tunisia, Uganda, Zambia), thirty-two in Asia (Armenia, Azerbaijan, Bahrain, Bangladesh, Bhutan, Cambodia, China, Fiji, Georgia, Hong Kong, India, Indonesia, Jordan, Kazakhstan, Kuwait, Kyrgyzstan, Lao PDR, Malaysia, Mongolia, Nepal, Oman, Pakistan, the Philippines, Qatar, Saudi Arabia, Singapore, Sri Lanka, Taiwan, Thailand, the United Arab Emirates, Uzbekistan, Vietnam) and fifteen in Europe outside the OECD (Albania, Belarus, Bosnia and Herzegovina, Bulgaria, Croatia, Cyprus, Kosovo, Malta, Moldova, Montenegro, North Macedonia, Romania, Russia, Serbia, Ukraine), built from their own 2025 rules (no OECD figures exist for these, so their rules are coded a second time from the tax offices’ published tables, with fixed amounts and Brazil’s parcela a deduzir, and the two must agree; worked examples are checked by hand). Checks include no change is no change; today’s brackets typed in as your own give back today’s tax exactly; a higher top rate never cuts anyone’s tax and lower rates or bigger allowances never raise it; hand calculations of three-band systems and of couples in the US, UK and Germany; local tax and the OECD’s marginal rates; families today equal the OECD’s figures. Against outside figures:

ComparisonResult
OECD tax at 67%, 100% and 167% of the average wage (the lab is built from these)4 of 114 points off by more than 0.2% of pay
OECD average income tax rate at 133% of the average wage (not used to build the lab)median gap 0.02 points; within 1 point in 37 of 38 countries
OECD marginal income tax rate at 133% (not used to build the lab)median gap 0.07 points; within 1 point in 26 of 38
OECD family households reproduced within 0.5% of pay (the change is applied to these)176 of 190
Countries built from their own rules, against their official tables coded a second way (0.1 to 10 times the average wage)largest gap 0.0018% of pay over 18507 workers in 93 countries
The five EU members outside the OECD: Eurostat’s own income tax and social security for its 2025 average worker (not used to build the lab)social security equal in all five; income tax equal in Bulgaria (gap 0.00% of pay), Cyprus (0.00%) and Romania (0.00%), and in Croatia and Malta once Eurostat’s 22.4% rate (the lab uses Zagreb’s 23%) and its EUR 60 tax refund are allowed for (before that 0.30% and 0.18% of pay)
One point on every US federal rate: Joint Committee on Taxation, about 0.35% of GDP (CBO budget options, 2024, with behaviour)0.417% of GDP (static)
One penny on the UK basic rate: HMRC, 0.23 to 0.27% of GDP (with behaviour)0.277% of GDP (static)
Full output of node scripts/tes_pit_validate.js total-economic-simulation (2.5 s)
US every rate +1 point: 0.417% of GDP (JCT about 0.35%); UK basic rate +1p: 0.277% of GDP (HMRC 0.23-0.27%)
k outside 0.8-1.6 (held at the edge): CL 2.62, CO 2.18, CR 1.67, IT 1.97, AR 3.14, PE 3.92, GT 1.71, UY 2.63, SV 2.84, HN 3.20, EC 0.41, GY 0.72, NI 0.67, TT 2.43, BO 2.21, PY 0.29, NG 0.22, GH 0.52, RW 2.23, ZM 2.89, EG 1.87, NA 5.33, LS 9.28, TZ 0.63, MU 2.85, ML 0.55, TG 8.88, TD 0.34, TN 2.32, MA 2.58, MZ 3.44, NE 0.76, CM 0.49, IN 11.76, ID 2.24, PH 2.78, VN 2.90, TH 4.35, MY 2.06, LK 5.85, MN 1.61, KH 2.02, SG 1.65, BD 3.03, JO 4.15, FJ 3.82, AZ 25.70, TW 2.14, HR 0.79, MK 1.81
Chile three bands: 6.47% of GDP (wages and salaries 37.9% of GDP)
families reproduced within 0.5% of pay: 176/190
Rules from their own tables worked out a second way: largest gap 0.0018% of pay over 18507 workers in 93 countries (EC at 3.45 x)
flagged less certain: BO, PY, BF, ML, TG, BJ, TD, SC, TN, MA, MZ, ET, NE, AO, CM, HK, BD, KG, JO, FJ, AZ, BT, SA, AE, QA, KW, BH, OM, LA, TW, NP, UA, AL, MK, BA
EU members, income tax at the average wage minus Eurostat's, % of pay: BG 0.00, RO 0.00, HR 0.30, MT 0.18, CY 0.00
Latin America, actual income tax revenue over the wage model (k): BR 1.42, AR 3.14, PE 3.92, DO 1.42, PA 1.42, GT 1.71, UY 2.63, SV 2.84, HN 3.20, EC 0.41, GY 0.72, NI 0.67, TT 2.43, BB 1.30, LC 1.12, BO 2.21, PY 0.29, ZA 1.39, KE 1.13, NG 0.22, GH 0.52, RW 2.23, UG 0.93, ZM 2.89, EG 1.87, BW n/a, NA 5.33, LS 9.28, SZ 1.11, TZ 0.63, SN 0.97, CI n/a, MU 2.85, BF 0.92, ML 0.55, TG 8.88, BJ n/a, TD 0.34, SC n/a, TN 2.32, MA 2.58, MZ 3.44, ET n/a, NE 0.76, AO n/a, CM 0.49, CN 1.34, IN 11.76, ID 2.24, PH 2.78, VN 2.90, TH 4.35, MY 2.06, KZ 0.87, GE 1.15, AM 1.08, LK 5.85, MN 1.61, KH 2.02, PK n/a, SG 1.65, UZ n/a, HK 1.27, BD 3.03, KG 1.00, JO 4.15, FJ 3.82, AZ 25.70, BT 0.88, SA n/a, AE n/a, QA n/a, KW n/a, BH n/a, OM n/a, LA 1.24, TW 2.14, NP n/a, BG 1.04, RO 1.21, HR 0.79, MT 1.23, CY 1.05, MD 0.88, RS 1.32, UA 0.99, AL 0.96, ME n/a, MK 1.81, RU 0.97, BY 1.12, XK n/a, BA 0.97
OECD points off by more than 0.2% of pay: 4 (DK 359838: 0.21% of pay; DK 537071: 0.21% of pay; DK 896909: 0.30% of pay; IS 8330463: 0.26% of pay)
average income tax rate at 133% of the average wage vs OECD: median gap 0.02 points, within 1 point 37/38 (largest IT -1.5, NO -0.6, JP 0.5, DK -0.4)
marginal income tax rate at 133% vs OECD: median gap 0.07 points, within 1 point 26/38 (largest DK -11.0, AT 6.2, NL -4.4, IS 3.1)
22826 passed, 0 failed

Debt and deficits Pass

9,209 passed, 0 failed · Open it

Government debt paths for 177 countries from the IMF World Economic Outlook (October 2026). Checks, for every country: no change gives back the IMF’s debt, primary balance, interest and growth to 2031; after 2031 the 2031 values are held and debt follows its identity; the debt-stabilising primary balance holds debt steady; a first-year tightening raises debt exactly when the multiplier is above 1 / (budget response + debt ratio) (Eyraud and Weber, IMF Working Paper 13/126); higher rates and lower growth raise debt, surprise inflation lowers it at first; every number is finite and debt never goes below zero. Against outside figures:

ComparisonLabOutside figure
Largest gap from the IMF debt path, 2024-2031 (points of GDP)8.5e-140
US: interest rates 0.1 point higher every year, extra interest in 2036, as a multiple of 0.1% of the 2035 debt1.121.13 (CBO rule of thumb, 2026)
Same: extra interest over 2027-2036 as a multiple of 2036’s5.666.3 (CBO)
Full output of node scripts/tes_debt_validate.js total-economic-simulation (8.6 s)
IMF path reproduced: largest gap 8.5e-14 points
US rates +0.1: extra interest 2036 = 1.12 x 0.1% of 2035 debt (CBO 1.13); 2027-36 total = 5.66 x 2036 (CBO 6.3)
borrowing data: foreign-currency share 151, refinancing time from data 64, bond yield 53, Treasury bills 40, new-loan terms 103, debt distress rating 61
paying for it: income tax solved in 87 countries, VAT in 35
9209 passed, 0 failed

Companies: profits, credit, supply chains and decisions Pass

25 passed, 0 failed · Open it

Every listed company with SEC filings (about 1,800) run month by month through a scenario: sales, costs, interest, ratings, default chances and value, and what it decides (prices, staff, investment, buybacks, dividends, credit lines; since 2026-11-04 also running short of inputs and finding other suppliers, losing or winning customers against rivals, selling assets, issuing shares, restructuring, and who could buy it). What the companies decide goes back into the economy core and the two are run again until they agree. Checks: with no scenario nothing moves; Hormuz and rate shocks move the right firms the right way; a Taiwan blockade leaves Apple short of chips and recovered within a year; with the feedback, US output at its worst goes from 0.00% to -1.56% in a Taiwan blockade; the feedback adds nothing when there is no scenario.

Checked and tuned against 2020 and 2022

Each company is set back to its own filing for the year before (2019 or 2021, SEC XBRL frames), run through that year’s economy (output, prices, wages, currencies, rates and energy prices, month by month: model/co-history.js) and added up by sector against what the same companies filed. Five numbers per sector were then tuned (model/co-tune.js): how much sales follow output, how much of other costs moves with volume, how far input prices move with shop prices, pass-through of energy costs, and the energy share of costs. The miss by sector fell from 6.3 to 4.0 points.

YearSectorFirmsSales: filedmodel as settunedOp. income change / sales: filedas settuned
2020Communication Services34+1.9%−1.6%−0.5%−0.9%−1.3%−1.2%
2020Consumer Discretionary160+1.3%−3.8%−3.0%−1.5%−1.3%−1.2%
2020Consumer Staples62+6.2%−0.7%−0.2%+1.3%−0.3%+0.1%
2020Energy60−33.0%−21.3%−16.4%−11.2%−7.8%−6.6%
2020Financials159−0.0%−1.2%−1.1%−0.3%−1.6%−1.5%
2020Health Care131+7.8%−0.5%−0.3%−0.7%−0.7%−0.8%
2020Industrials221−6.8%−3.6%−3.4%−2.3%−1.0%−1.0%
2020Information Technology163+4.3%−2.6%−1.4%+1.1%−1.5%−1.0%
2020Materials62−5.9%−6.0%−5.1%−0.6%−0.5%+0.1%
2020Real Estate83−0.6%−1.5%−1.2%−0.4%−0.3%−0.2%
2020Utilities46−2.2%−7.9%−2.0%−1.3%−2.0%+0.7%
2022Communication Services34+3.7%+9.7%+8.5%−5.8%+3.7%−0.5%
2022Consumer Discretionary173+10.9%+11.7%+10.8%−0.4%+2.2%+0.6%
2022Consumer Staples63+9.0%+10.3%+9.2%−0.4%+1.1%+0.1%
2022Energy41+43.7%+63.0%+47.8%+11.4%+30.8%+18.4%
2022Financials170+2.8%+9.8%+9.7%+0.7%+3.6%+2.6%
2022Health Care140+8.3%+9.0%+8.6%−0.6%+1.4%+0.2%
2022Industrials227+6.8%+12.0%+11.6%+0.7%+1.6%+0.9%
2022Information Technology168+9.4%+10.5%+9.2%+1.8%+3.5%+2.3%
2022Materials64+11.2%+15.4%+13.8%−0.7%+0.6%−1.1%
2022Real Estate80+10.2%+12.1%+11.2%+0.8%+2.2%+1.3%
2022Utilities49+14.3%+30.6%+15.3%+1.3%+8.5%+1.1%

Left as known misses: 2020 was not an ordinary recession (spending moved from services to goods, so health care, staples and technology sold more while output fell), so how much sales follow output was moved only where both years agree. Energy’s 2020 losses were deeper than the model gets. Value is not tuned, but checked: run through 2022’s rates and 10-year yield, the S&P 500 ends the year -11.9% (actual: down 19%) and is -18.7% at its low (actual: down 25% in October). Since 2026-11-07 the equity risk premium rises 0.4 points for each 1% of output lost (up to 3 points, half priced as lasting): run through 2020 the S&P 500 is -34.6% at its low (actual: down 34% on 23 March) and ends 1.1% (actual: up 16%). In a six-month Taiwan blockade, the company feedback takes the S&P 500’s low from -0.5% to -8.1%.

Full output of node scripts/../total-economic-simulation/model/co-engine-test.js (5.1 s)
PASS no scenario: EBITDA stays at the filed level  (max gap 5.8e-14)
PASS no scenario: no decisions (other than credit-line draws)  (0 decisions)
PASS no scenario: values unchanged  (max 1.3988810110276972e-14)
PASS no scenario: the S&P 500 path stays flat (2026-11-07)
PASS Hormuz: every number finite  (0 bad)
     XOM: sales 15.3%, EBITDA 49.5%, value 20.6%, grade AAA -> AAA, staff -0.0%, decisions: m0 raises prices 1.8% to pass on 50% of its higher energy costs; m8 raises prices 3.8% to pass on 50% of its higher energy costs; m12 raises prices 1.2% to pass on 50% of its higher energy costs
     COP: sales 36.1%, EBITDA 76.1%, value 45.0%, grade AAA -> AAA, staff -0.2%, decisions: m0 raises prices 1.8% to pass on 50% of its higher energy costs; m8 raises prices 3.8% to pass on 50% of its higher energy costs; m12 raises prices 1.2% to pass on 50% of its higher energy costs
     VLO: sales 25.4%, EBITDA 141.9%, value 19.7%, grade A+ -> AAA, staff -0.8%, decisions: m0 draws on its stock of oil; m0 finds other suppliers for 50% of the oil it lost, at a higher price; m0 raises prices 15.3% to pass on 90% of its higher energy costs; m1 raises prices 25.3% to pass on 90% of its higher energy costs
     DAL: sales -0.1%, EBITDA -39.0%, value -15.2%, grade AA -> A-, staff -7.1%, decisions: m0 draws on its stock of oil; m0 finds other suppliers for 50% of the oil it lost, at a higher price; m0 raises prices 3.5% to pass on 50% of its higher energy costs; m0 cuts staff about 1% to match lower sales
     UAL: sales -0.2%, EBITDA -39.4%, value -14.2%, grade A- -> B-, staff -8.8%, decisions: m0 draws on its stock of oil; m0 finds other suppliers for 50% of the oil it lost, at a higher price; m0 raises prices 3.5% to pass on 50% of its higher energy costs; m0 cuts staff about 1% to match lower sales
     KO: sales 1.2%, EBITDA -0.8%, value -1.4%, grade AA -> AA, staff -0.2%, decisions: m0 finds other suppliers for 40% of the wheat it lost, at a higher price; m0 draws on its stock of maize; m0 finds other suppliers for 40% of the maize it lost, at a higher price; m0 finds other suppliers for 40% of the soybeans it lost, at a higher price
     AAPL: sales 0.3%, EBITDA -0.7%, value -2.6%, grade AAA -> AAA, staff -0.5%, decisions: m0 raises prices 0.3% to pass on 50% of its higher energy costs; m12 prices back to normal as energy costs ease
     NVDA: sales 0.1%, EBITDA -0.2%, value -3.1%, grade AAA -> AAA, staff -0.6%, decisions: m0 raises prices 0.3% to pass on 50% of its higher energy costs; m9 cuts staff about 1% to match lower sales; m12 prices back to normal as energy costs ease
     F: sales -0.0%, EBITDA -25.9%, value -8.3%, grade - -> -, staff -2.1%, decisions: m0 finds other suppliers for 30% of the steel it lost, at a higher price; m0 draws on its stock of aluminium; m0 finds other suppliers for 30% of the aluminium it lost, at a higher price; m0 raises prices 0.5% to pass on 50% of its higher energy costs
     DUK: sales 4.1%, EBITDA 1.0%, value -0.3%, grade BB+ -> BB+, staff -0.1%, decisions: m0 draws on its stock of LNG; m0 finds other suppliers for 25% of the LNG it lost, at a higher price; m0 raises prices 2.7% to pass on 54% of its higher energy costs; m2 finds other suppliers for 52% of the LNG it lost, at a higher price
     CCL: sales -0.5%, EBITDA -5.3%, value -5.4%, grade A- -> A-, staff -2.1%, decisions: m0 raises prices 0.8% to pass on 50% of its higher energy costs; m1 cuts staff about 1% to match lower sales
PASS Hormuz: Exxon EBITDA up in the first year  (49.5%)
PASS Hormuz: Delta EBITDA down in the first year  (-39.0%)
PASS Hormuz: Delta loses more value than Coca-Cola
PASS Hormuz: the S&P 500 falls  (-2.0%)
     Communication Services: value -1.9%, profits -1.1% (44 firms)
     Consumer Discretionary: value -4.1%, profits -6.2% (189 firms)
     Consumer Staples: value -2.8%, profits -7.1% (73 firms)
     Energy: value 25.8%, profits 77.5% (70 firms)
     Financials: value -0.9%, profits 0.6% (197 firms)
     Health Care: value -2.4%, profits -2.6% (162 firms)
     Industrials: value -4.2%, profits -8.4% (259 firms)
     Information Technology: value -3.0%, profits -1.0% (187 firms)
     Materials: value -6.9%, profits -29.3% (76 firms)
     Real Estate: value -3.4%, profits -2.8% (98 firms)
     Utilities: value -2.5%, profits -2.9% (58 firms)
PASS rates +2: Coca-Cola pays more interest by year two  (24.5%)
PASS rates +2 for good: the S&P 500 falls 5% to 15% (Bernanke and Kuttner 2005: about 4% a point)  (-14.8%)
PASS PE test: higher leverage and thinner cover when rates jump 3 points  (net debt / EBITDA 6.24 vs 6.00, cover 1.06 vs 1.44, CCC)
PASS Taiwan: Apple short of chips by month 3 (over 30% of output)  (44%)
PASS Taiwan: Apple's shortage over by month 12 (stock, other suppliers, Taiwan reopening)  (0.0%)
PASS Taiwan: every car maker is short of chips, so none wins more than 1% from rivals  (Ford 0.06%)
PASS Taiwan: company feedback takes US output at least 0.5 points lower at its worst  (0.00% -> -1.56%)
PASS Taiwan: the economy and the companies agree within 0.01 points  (3 rounds, last move 0.0002)
PASS Taiwan: S&P 500 profits lower with the feedback than without  (-0.79% (value by the end -0.3% -> -0.4%))
PASS Taiwan: with the feedback the S&P 500 at its low is at least 3% down, and lower than without it  (-0.5% -> -8.1% in Apr (end -0.4%))
PASS no scenario: the feedback adds nothing  (max 0)
     Hormuz shut 24 months: 2 firms in distress (CE, AAL); deals: EXPD for GXO, AMZN for KSS, CTVA for MOS, BCPC for AVNT, CTVA for SMG, JLL for CWK, EXPD for HUBG, BCPC for KWR, BCPC for MTX, ATR for OI, BCPC for SCL
PASS Hormuz shut 24 months: some firms run out of credit and raise cash or restructure  (2 firms)
PASS Hormuz shut 24 months: a buyer is named for at least one firm in trouble  (11 deals)
PASS 2022 (rates up 4 points, the 10-year up 2.2): the S&P 500 falls 8% to 25% by the end of the year  (-11.9% (it fell 19%); low -18.7% (it was 25% down in October))
PASS 2020: the S&P 500 falls 20% to 45% at its low and ends at least 15 points above it  (low -34.6% (34% on 23 March), end 1.1% (it ended up 16%))
PASS 2020 and 2022: tuned sector misses are smaller than as first set  (6.26 -> 3.96 points)
25 passed, 0 failed
all passed

Run them yourself

The scripts are plain Node.js with no dependencies, run from the folder above the site: node scripts/<name> total-economic-simulation. Each reads the engine from total-economic-simulation/index.html between its START and END markers and exits with code 1 if anything fails. This page: python scripts/tes_build_validation.py.