What every letter on the globe means, how it is computed, where the numbers come from, and what they cannot tell you.
GDP per capita tells you what a country produces. Adjusted for purchasing power (PPP), it tells you what that production would buy at average prices. Neither tells you what an ordinary person has left after paying for a decent life. Countries differ too much for one price index to carry that comparison: healthcare and pensions are taxed away before income is counted in one country and paid privately afterwards in another; a car is a necessity in one place and pointless in another; debt-financed spending still looks like prosperity; and PPP baskets are national averages that are weak on housing.
Headroom asks a narrower question: how much spare money does the median household have, relative to what a decent life costs where it lives? Everything is computed in the country's own currency and turned into a ratio, so no exchange rate or price index is needed. The result is not "how rich is this country" but "how much room is there between a typical income and a decent minimum, measured in that country's own terms".
Every input describes the same person: a single working-age adult living alone, no children. All money is in the local currency (euros in the Netherlands, yen in Japan), per year, in nominal terms for the year shown next to each number, and after tax: income is what lands in the bank after income tax, social contributions and mandatory health premiums, and costs are what that person actually pays out. Family types (a couple with two children, a pensioner) are planned for a later version.
The panel shows this under each country's name, for example "EUR · a year, single adult · data 2022–2024".
What it is: the income of the person in the middle: half the population has more, half has less. "Disposable" means after taxes and transfers (benefits received, contributions paid); "equivalised" means household income is rescaled to what a single adult would need for the same standard of living, so households of different sizes can be compared.
Y = median equivalised disposable income (local currency, a year)
What it is: what it costs a year to live at a minimum socially acceptable standard: rent, food, energy, transport, clothing, insurance, and a little for a social life. Not survival, not poverty line: the level that people in that country, asked in a budget study, agree nobody should fall below. Housing is in B, which is why mortgages are kept out of R.
B = annual cost of a minimum socially acceptable standard of living
B is the yardstick every other number is divided by, so the whole map depends on it. If you think it is wrong, change it.What it is: what the median person pays a year in interest and repayments on debt other than a mortgage: consumer credit, car loans, credit cards, student loans. It is money already spoken for, so it is subtracted before the surplus. When a country has no figure, R counts as 0 and the panel says "R assumed 0".
R = median annual non-housing debt service
What it is: everything the median household owns (savings, investments, pension rights where counted, the home) minus everything it owes. It is a stock, not a flow: money already built up rather than money coming in each year. It can be negative.
N = median net household wealth (local currency)
What it is: what is left of the median income after a decent life and the non-housing debt are paid. It is still in local currency.
D = Y − B − R
What it is: D measured in units of the baseline. Dividing by B removes the currency, so S can be compared between countries without exchange rates. Its unit is "baseline-years of surplus per year".
S = D / B = (Y − B − R) / B
What it is: net wealth measured in baseline-years: how long the median household could live at the baseline without any income. It is the stock companion to S and catches economies where spending is financed by credit: high income but no wealth shows up as a high S and a low F.
F = N / B
What it is: one number that combines the yearly surplus with a small share of the wealth cushion. α (alpha) is the weight given to wealth; its default of 0.08 is a choice, not a finding (roughly: count 8% of the wealth cushion as if it were yearly surplus). Change it in Settings.
W = S + α · F (α default 0.08)
What it is: the bar height. Each ratio is divided by a reference value and scaled to 0–100; anything below 0 becomes 0 and anything above the reference becomes 100. The reference is the value you decide deserves a full bar.
Colour (legend): the colour runs on the ratio itself, not on the clamped score, so a deficit stays visible: S = −1 is black, −0.5 red, 0 white (income just covers baseline and debt service), +1 green, blended linearly in between and held at black below −1 and at green above +1. The legend bar shows that gradient with the four tick labels. F and W use the same shape in units of their reference (F: −refF … +refF, W: −refW … +refW). An estimated baseline draws the same colour paler; an assumed baseline, or an estimate that is out of range or extrapolated, is grey.
Country colour: on the globe and the flat map each country with data is filled, semi-transparently, in the same colour as its bar (paler when estimated, grey when assumed); a country without data, or one a filter hides, keeps the plain land colour.
score = clamp( 100 · value / ref , 0 , 100 ) refS = 1.0 refF = 10 refW = 1.8 (defaults)
What it is: the correction applied to every baseline that came from a crowd-sourced cost-of-living index (grade C, see below). Such an index (a single person's monthly costs including rent, times 12, called C here) does not match what budget studies find, so the data build fits a correction on the countries that have both a grade-A budget study and an index figure. Two forms compete on their leave-one-out error, the same way the estimated rungs do: a plain ratio B = k · C, and a log-linear form log(B / Y) = a + b · log(C / Y). A b below 1 says the index overstates costs where they are high against income, which is what Hungary (index 1.5 × Y, budget 0.65 × Y) shows. The calibration is kept only with at least 5 such countries and a leave-one-out error no worse than the best estimated B rung; otherwise the calibration is reported as not confirmed but the index figures are still used: a measured value is never replaced by an estimate because an estimate fits better. The fitted numbers, the winner and the decision are in the table under Estimated values. A B you enter yourself is never scaled.
B (grade C) = calibrated(C, Y) × factor (factor default 1)
| Input | Primary source | Fallback |
|---|---|---|
| B | Consensual budget studies (grade A): UK Minimum Income Standard (MIS, JRF / Loughborough), Ireland Minimum Essential Standard of Living (MESL), Netherlands Nibud voorbeeldbegroting, Japan, Portugal, France (ONPES budgets de référence), national or EU reference budgets for Belgium, Austria, Finland, Sweden, Norway, Spain, Greece and Hungary; official poverty-line baskets for Mexico and South Africa are kept only as an input (a floor rather than a decent-life budget) | Living-wage estimates (grade B: MIT Living Wage for the US, Living Wage Aotearoa and Canada; Global Living Wage Coalition Anker living income or living wage for 30 lower- and middle-income countries, read 13 Oct 2026, divided by √h; these are family-based and gross, so taxes are included and the earners per family assumed, and a worker wage is scaled to a family income by the median living-income / living-wage ratio k 1.353); then a crowd-sourced cost-of-living index × 12 × the grade-C factor (grade C); else assumed |
| Y | OECD Income Distribution Database (IDD), median equivalised disposable income in national currency | Eurostat EU-SILC (table ilc_di03), LIS, national statistics offices |
| R | BIS household debt-service ratio × Y, minus an estimate of the mortgage share | Assume 0 and mark it assumed |
| N | OECD Wealth Distribution Database (WDD), median net wealth per household | UBS / Credit Suisse Global Wealth Report, median wealth per adult, converted at the report's exchange rate (the one place an exchange rate leaks in; flagged) |
An honest note on today's numbers. The countries are built by a script from downloaded series and hand-entered tables. The macro series (GNI, Gini, PPP factors, GDP, household debt, PIP medians), the Eurostat and OECD income medians and the BIS debt service ratios were downloaded on 13 October 2026; a record's note then starts with "downloaded". Baselines, cost-of-living figures, wealth and national poverty lines are still transcribed from the named publications and rounded; their notes say "transcribed, not downloaded" (hover the source line in the panel). The sources document in the repository (docs/sources.md) lists every dataset, URL, year and transformation. A few countries have no baseline and no rung that applies (four in the build of 13 October 2026: Cuba, Liberia, New Caledonia and Zimbabwe): their B is assumed and their bars are grey.
Every input carries a grade badge saying how much to trust it.
kind: "poverty-line" (South Africa's Stats SA upper-bound line, Mexico's CONEVAL line) is a floor, not a decent-life budget, so it is never graded A or B: it stays out of the fits and the measured B/Y range, the country's B comes from another measured row where there is one (South Africa and Mexico: the GLWC Anker living wage, grade B) and is estimated (grade E) otherwise, and the line is kept as an input (official_line_lcu) and shown as the national line when it is as recent as the derived one.est.* badge. See Estimated values.Measured beats estimated, estimated beats assumed. Where no survey or budget study exists, Headroom estimates an input from a series that covers almost every country, using a model fitted on the countries where both are known. Such a value has grade E: it shows an asterisk (*) after the number, its badge reads est.*, and a tap on the badge shows the method, the macro values used and the typical error. A bar whose baseline B is estimated is drawn in paler colours, between the full colours of measured countries and the grey of an assumed baseline. Entering your own value replaces the estimate.
The typical error is the leave-one-out mean absolute percentage error of the fit: leave each measured country out, predict it from the others, average how far off that was. In plain language: an estimated S is a band, not a point. With B ±22 % and Y ±11 % (this build), an S of 0.3 can be anywhere from about 0.0 to 0.7.
Each input tries its rungs in order and takes the first one the country has data for. The models are refitted on every data build, on the countries where the input is measured.
median/mean = exp(−σ²/2), σ = √2 · Φ⁻¹((G+1)/2), × a fitted household-disposable share s. Preferred when it has at least 20 measured countries and a lower leave-one-out error than the PIP rung.√h × r. Why household size: PIP divides a household's income by every member, child or adult, so a per-person median is far below what a single adult in the same household lives on. The equivalence scale used for Y (the square-root scale, the OECD's standard) says a household of h people needs √h times one adult's income, so the per-person median × h / √h = × √h is the single-adult equivalent. h is the country's average household size from UN DESA (latest year; the regional median where UN DESA has none, noted on the country). r is the one fitted residual: the median of measured Y / (PIP median × 365 × PPP × √h) over the measured countries. It is fitted separately for income and consumption surveys only when the two medians differ by more than 15 %.s0 (the median of measured Y / GNI), for countries with no Gini and no PIP median.basis: per-capita) are scaled by the same √h × r as the PIP rung, so they are in the same unit; a hand-entered mean (Egypt and the per-capita means) yields to the PIP median where the country has one, and the skipped value stays in the note. Rows with a basis stay out of the fits.log(B / (PPP × √h)) = a + b · log(anchor), fitted on the grade-A and B baselines; the estimate is PPP × √h × exp(a + b · log(anchor)). The √h puts B on the same single-adult scale as Y. The rungs compete: the one with the lowest leave-one-out error goes first, and each country takes the best-ranked rung whose anchor it has.
max(2.15, 1.15 + 0.5 × median) dollars a day × 365, a poverty line that rises with the country's median.SI.POV.NAHC, survey year closest to the headcount's year, log-linear between the two bracketing lines).r and the 5-country minimum for the grade-C calibration.k × Y, where k is the fitted debt-service-to-debt factor over the countries the BIS covers.Read from the shipped dataset, so they are always the ones in use.
| Rung | Method | Coefficients | n | R² | LOO error |
|---|---|---|---|---|---|
| Loading… | |||||
| Rung | a | b | n | LOO error | Countries won |
|---|---|---|---|---|---|
| Loading… | |||||
Loading the measured B/Y range…
| Input | Method | Coefficients | n | R² | LOO error |
|---|---|---|---|---|---|
| Loading… | |||||
Detail (the third toggle, next to Globe and Flat) shows the flat map beside a table of every country: a rank (#, the first column: the country's place on the current metric among all countries, ties share a place; a country whose baseline is only assumed gets no rank; the Settings filters below decide which countries are ranked, the table's own filters do not renumber), the country, its surplus ratio S (bold, two decimals, on a chip in its legend colour: black −1, red −0.5, white 0, green +1; paler when estimated, grey when the baseline is assumed), the grades, Y, B, R and N in local currency, D, F and W, and the three scores as small coloured bars. Hover a column title (or long-press it) for a one-line definition; on a phone the rank, country and S stay in place while the rest scrolls sideways. A small letter after each input is its grade (~ = assumed, u = your own value); an asterisk marks an estimate, FX a wealth figure converted from dollars. Click a column header to sort (again to reverse); by default the table is sorted by the current metric's score. Click a row, or press Enter on it, to open the country.
The filter bar above the table narrows the map down to the data you trust:
A value you typed in yourself passes every grade test. Filters apply to all three views and to the list (?list): a hidden country keeps a dimmed outline but loses its bar. They are part of the link (#f=…), so a shared link shows the same selection; "Clear filters" drops them all. "Export CSV" downloads the table as shown, filtered and sorted.
Settings → Filters holds three checkboxes that decide which countries count as comparable: Y measured and B measured keep only countries whose income or baseline has grade A, B or C (or your own value), and Hide out-of-range / extrapolated estimates (on by default) hides estimated countries whose B/Y lies outside the range the measured countries span, or whose median income lies outside the range the B fit was made on. They apply to every view and the rank # counts only the countries that pass them (the rest show –). With the last box off, such a country is drawn grey like an assumed baseline and carries a ⚠ out of range (or ⚠ extrapolated) chip next to its baseline and in the table's grade cell; hover it for the measured range.
By default the map answers one question: how does the median household fare where it lives. The Outlook control in the header reads the same map two other ways. Both keep each destination's own baseline B, because the point stays what a decent life costs there.
Local, by tier. Low (20th percentile), Median, Well-off (90th) or Top 1 % (99th): where you expect to sit in that society. The tier income comes from the median and the country's Gini by a lognormal approximation, not from wage tables:
σ = √2 · Φ⁻¹((G + 1) / 2), with G the Gini as a fraction and Φ⁻¹ the inverse standard normalY_p = Y_median · exp(σ · Φ⁻¹(p)), p = 0.20, 0.50, 0.90, 0.99; at p = 0.5 this is the median itself, so Median is the shipped mapR_p = R / Y_median · Y_p: the BIS ratio is a share of income, so debt service scales with itTier values are grade E, method lognormal-tier. The lognormal fits the middle of the distribution well and understates the top, so the top-1 % tier is a floor, not a point. A country without a Gini gets no tier value: grey bar, "no inequality data", no rank.
Expat or retiree. Pick a home country: the income is that country's tier income in its own currency, converted at the market cross rate and scored against every destination's B:
Y = Y_p(home) × fx_dest / fx_home, fx = local currency per US dollar (World Bank WDI PA.NUS.FCRF, latest year; the rate and its year are in the panel)R = 0, badge "assumed 0": no local debt is brought alongThis is the one place the app uses an exchange rate on purpose: that money really crosses the border. The home country itself is scored as its local tier.
What stays abstract:
B is a working-age single-adult budget: commuting and work costs are in, the higher health costs of old age are out;B is a national figure, not a capital-city rent or an owned home;N has no tier, so F and W stay at the median;A well-off life in a poor country is still a life in that country. The app does not pretend otherwise; that choice is yours.
What it is: the life ladder from the World Happiness Report 2025 (Data for Figure 2.1). Gallup asks about 1,000 people a year in each country to rate their life on a ladder from 0 (the worst possible life for you) to 10 (the best possible); Q is the national average over the 2022–2024 waves. It is a survey result, not an input: Q cannot be overridden and the outlooks do not change it. Countries the report leaves out get no Q ("not surveyed": grey and unranked when Q is the metric).
How the report splits it: the report explains the ladder with six national factors (log GDP per capita, social support, healthy life expectancy, freedom to make life choices, generosity, perceptions of corruption), each shown as the ladder points it adds above "Dystopia", an imaginary country with the world's lowest value of every factor, plus Dystopia's own ladder and an unexplained residual.
params.quality.premiumOffset). ladder − G alone is about +4.3 everywhere, because the report measures each factor from Dystopia; with m subtracted, 0 = as satisfied as income predicts, + = more, − = less. Colour: orange at −1, white at 0, blue at +1 ladder point, clamped beyond.Height says how satisfied people are; colour says how much of that is beyond money. In the tier and expat outlooks the panel highlights the premium and dims the ladder: the money is yours, the place is theirs.
What is not in it:
The premium is a national average, and money buys more of it in some places than others.
The sea is drawn, not photographed: a field of three-dimensional noise on the sphere, seven layers from long swells down to short chop, lights the water and moves the sun's glint. Each layer is dragged along by the one above it, so crests come up sharp and no two look alike, and the whole field drifts with the winds of each region (trade winds from the east in the tropics, westerlies in the middle latitudes). On Full the highest crests break into white caps, more of them in windy seas. Waves are calm right at the coast, where a broken band of foam breathes along the shore; shallow water near land is lighter, the open ocean darker, and land gets a thin darker edge so coasts stay crisp under the country colours. Zoomed in on a continent (full ocean only) a dark sea floor with moving caustic light shows through the surface, offset by depth as you turn the globe, and a band of foam breathes along the shore. None of this touches the bars: it is decoration, with no data in it.
Ocean (in Settings): Auto measures your device for a second at start and picks Full (waves, depth, caustics, foam) on a fast one, Lite (waves and shallow tint, 30 frames a second) otherwise, and Off when your system asks for reduced motion. Full, Lite and Off override that; Off is a still sea and the globe only redraws when you move it. The choice is remembered in this browser and is never part of a share link.
#o=…) and remembered in this browser. "Copy share link" in Import / Export copies it; whoever opens it sees exactly your scenario. Links over about 2 kB may be cut off by some apps.