The idea
The estimate is population × probability of being awake at the local clock time, summed over every country and timezone:
Awake(t) = Σ(countries) Σ(zones) pop · w(zone) · A( local hour ) pop country population (UN WPP, medium variant) w(zone) share of the country living in that IANA timezone A(h) probability a person there is awake at local hour h
Timezones — not countries — are the unit of computation. The United States at 9pm Eastern is four different stories, so multi-zone countries (US, Russia, Canada, Brazil, Australia, Indonesia, Mexico …) carry per-zone population weights. Local time comes from the browser's own IANA timezone database, which means daylight-saving rules are handled exactly, everywhere, forever, with no code on our side.
The wakefulness curve
A(h) is a two-sigmoid product: it rises through the country's wake window, plateaus through the day, and falls through the bedtime window. Two honesty terms cap it at both ends — a night floor (shift workers, insomniacs, everyone up at 3am) and a daytime ceiling (nappers, day-sleeping shift workers):
A(h) = floor + (ceil − floor) · σ((h − μwake)/kw) · σ((μbed − h)/kb)
The curve's shape is fitted to the American Time Use Survey (BLS, Table A-3, 2025 annual averages) — one of the few sources publishing the actual share of people asleep at each hour rather than just averages. Statistics Canada's time-use survey independently puts the deep-night awake share at 5–10%, which is where our night floor lands.
One definitional subtlety we handle explicitly: μbed here is the hour at which half the population is actually asleep — measured by diaries, not self-reported "bedtime", which runs about an hour later. Cross-country timing differences (Spain late, Japan short, Saudi Arabia latest) come from the ENTRAIN smartphone study and are applied as shifts relative to that measured anchor.
The data
| dataset | used for |
|---|---|
| UN World Population Prospects | population per country, medium variant |
| US ATUS Table A-3 (2025) | curve shape — hourly asleep shares, fitted at ≤1.7pp per hour |
| Walch et al. 2016 (ENTRAIN, Science Advances) | cross-country bed/wake offsets, ~100 countries of smartphone data |
| StatCan time-use survey | independent cross-check of the deep-night floor |
| census region shares | population weights per timezone in multi-zone countries |
Every country row carries a source badge. Right now: loading…
Countries without a direct source inherit parameters through a fallback chain — country → region → global default — and their badge says so. Nothing is silently upgraded.
What the number is not
- Not a measurement. No devices, no tracking, no analytics-derived wakefulness. It is a model of typical days.
- Not per-person precision. We show three significant figures with an "≈" for a reason. The honest uncertainty band is about ±6–8%, dominated by curve-shape uncertainty in countries without time-use surveys.
- Blind to special nights. Ramadan, New Year's Eve, World Cup finals genuinely shift wakefulness; version 1 does not model them.
- Coarse inside countries. One curve per country (v1) — no regional variation, and the night-shift floor is a blunt average.
- App-skewed at the edges. ENTRAIN bed/wake times come from smartphone users, who skew young and affluent; we anchor absolute levels to the ATUS survey to compensate.
Seasons
Per-country seasonal sleep data barely exists, and measured effects are tens of minutes. We model the year honestly as: daylight-saving transitions (exact, via the timezone database) and — planned — a sunrise-coupled shift of the wake time, capped at ±40 minutes, at each country's population centroid. We do not claim seasonal sleep-duration effects nobody has measured.
Changelog
- … — current dataset build (…).
- 2026-07-14 — curve shape fitted to ATUS A-3 2025 hourly asleep shares; daytime nap ceiling added; ENTRAIN offsets re-anchored to the measured 50%-asleep crossing.
- 2026-07-14 — first model: two-sigmoid curve, 160 countries, per-zone weights for 12 multi-zone countries.
The model and data build are open — corrections and better sources are welcome as issues.