How Our Death Clock Calculates Your Estimate
Our death clock uses the Gompertz-Makeham survival model. We tune it so each country and sex matches its life expectancy at birth from UN World Population Prospects 2024. It starts from your current age, adjusts risk for your answers using published hazard ratios, and adds up your chance of being alive in every future year. Everything below is public so you can check it.
The formula
The model describes the risk of dying at age x, called the force of mortality, as:
μ(x) = A + m · B · eb·x
- A is a small, steady background risk that doesn’t change with age (accidents, some infections).
- B · eb·x is the risk that grows with age. It doubles every fixed number of years.
- m is your personal multiplier from BMI and the optional answers. With no extra risks, m = 1.
From this, the chance of still being alive at age x is:
S(x) = exp( −A·x − m·(B/b)·(eb·x − 1) )
The constants we use, and why
| Constant | Value | Why |
|---|---|---|
| b, rate of ageing | ln(2) ÷ 7 = 0.0990 per year | Adult death rates double roughly every 7 to 9 years in published studies. We use 7 years because, in our tests, it gave remaining life expectancy at older ages closer to official life tables for high-income countries than 8 or 9 years did. |
| A, background risk (men) | 0.0014 per year | Men have higher accident and injury deaths at young adult ages. |
| A, background risk (women) | 0.0007 per year | Half the men’s value, reflecting lower injury deaths. |
| B, level of risk | Solved for each country and sex | Found by bisection so the curve’s life expectancy at birth equals the UN figure to within 0.01 years. |
| Country | B, men | B, women |
|---|---|---|
| United States | 1.753e-5 | 1.313e-5 |
| India | 3.534e-5 | 3.120e-5 |
| Pakistan | 6.250e-5 | 4.471e-5 |
| United Kingdom | 1.327e-5 | 1.138e-5 |
Step by step
- Baseline. Your country and sex select a UN life expectancy at birth. We solve B so the curve matches it.
- Your age. Your date of birth gives your exact age today, x.
- Your multiplier. BMI and optional answers are combined into m, by multiplying their hazard ratios. We cap m between 0.55 and 5.
- Remaining years. We add up S(x + t) ÷ S(x) for every future step t of 0.05 years, up to age 125, with the trapezoid rule. This is your remaining life expectancy, given that you have reached age x.
- Estimate. Age at death = x + remaining years. The projected date is today plus the remaining years.
- Middle half. The ages at which your conditional survival falls to 75% and 25%.
- What moves your estimate. We re-run steps 3 to 5 with one answer changed at a time, and then with the changes you pick together.
How each answer changes risk
| Input | Values used | Basis |
|---|---|---|
| BMI | Under 18.5: 1.51 · 18.5 to 19.9: 1.13 · 20 to 24.9: 1.00 · 25 to 27.4: 1.07 · 27.5 to 29.9: 1.20 · 30 to 34.9: 1.45 · 35 to 39.9: 1.94 · 40+: 2.76 | Hazard ratios as published by the Global BMI Mortality Collaboration (Lancet, 2016) |
| Smoking now | Under 10 years: 1.9 · 10 to 19: 2.3 · 20 to 29: 2.7 · 30+: 3.0 | Calibrated so lifelong smoking costs about 10 years, as in Doll and Peto (BMJ, 2004) |
| Former smoker | Share of the smoking excess that remains: quit by 30: 0% · 40: 6% · 50: 28% · 60: 50% · 70: 82% (straight lines in between) | Calibrated to the years gained by quitting at 30, 40, 50 and 60 in Doll and Peto |
| Alcohol | Never or rarely: 1.00 · 2 to 4 times a month: 1.02 · 2 to 3 times a week: 1.06 · most days: 1.20 · several a day: 1.45 | Our weights. Direction and shape from GBD 2016 Alcohol Collaborators (Lancet, 2018) |
| Activity | Mostly sitting: 1.25 · some: 1.07 · WHO target: 0.90 · above target: 0.82 | Our weights, set so the gap from least to most active is about 4 years, close to Moore and colleagues (PLOS Medicine, 2012) |
| Diet | Processed: 1.15 · typical Western: 1.05 · balanced: 1.00 · Mediterranean: 0.90 · whole food and plants: 0.88 | Our weights. Kept well below the gains modelled by Fadnes and colleagues (PLOS Medicine, 2022), with direction from PREDIMED (NEJM, 2018) |
| Outlook | Very hopeful: 0.93 · mostly positive: 0.97 · in between: 1.00 · often down or worried: 1.08 | Our weights, small on purpose. Direction from Lee and colleagues (PNAS, 2019) and Alimujiang and colleagues (JAMA Network Open, 2019) |
Where a study reports a hazard ratio, we use it directly and let the survival curve turn it into years. Where it reports only a direction, we use small weights and say so here. Multiplying the effects assumes they are independent. In real life, risks overlap, so a long list of changes is an approximation.
The data
Every country figure is life expectancy at birth for men and for women from the UN World Population Prospects 2024, medium variant, estimates for 2023. We include all 201 countries and territories with at least 90,000 people. One release and one year for every country keeps the comparison fair. The full table is on life expectancy by country.
Cause-of-death shares on how will I die come from the WHO Global Health Estimates 2021. The world death clock uses the UN’s 2026 projection of world deaths and births.
How we test the model
- For 12 checks (6 countries, both sexes, including the United States, India, Pakistan, Nigeria, Japan and Hong Kong), the curve returns the UN life expectancy at birth within 0.01 years. Our pass mark is 0.1 years.
- For a fixed person, the expected age at death rises at every older attained age, as it should.
- The smoking settings reproduce years lost and years gained within about 1 year of Doll and Peto.
Known limits
- The model sees an average person of your age, sex and country. It can’t see genes, illness, income or luck.
- Gompertz-Makeham has no special term for infant deaths. In countries with high child mortality, the curve can look slightly pessimistic for healthy adults.
- In the longest-lived countries, the model can overstate the chance of reaching 100.
- Lifestyle effects are multiplied as if independent. Real risks overlap.
- Death rates are from today. Future medical progress is not included, which likely makes estimates for young people too low.
- National averages hide large gaps by income and region.
Privacy
All maths runs in your browser. Your answers are never sent to our server, never stored, and never included in analytics. See our privacy policy.
Sources
- United Nations, DESA, Population Division. World Population Prospects 2024. population.un.org/wpp
- World Health Organization. Global Health Estimates 2021. who.int
- Gompertz B. Philosophical Transactions of the Royal Society, 1825; 115: 513-583.
- Makeham WM. Journal of the Institute of Actuaries, 1860; 8: 301-310.
- Global BMI Mortality Collaboration. The Lancet, 2016; 388: 776-786. doi
- Doll R, Peto R, et al. BMJ, 2004; 328: 1519. doi
- GBD 2016 Alcohol Collaborators. The Lancet, 2018; 392: 1015-1035. doi
- Moore SC, et al. PLOS Medicine, 2012; 9(11): e1001335. doi
- Estruch R, et al. NEJM, 2018; 378: e34. doi
- Fadnes LT, et al. PLOS Medicine, 2022; 19(2): e1003889. doi
- Lee LO, et al. PNAS, 2019; 116(37): 18357-18362. doi
- Alimujiang A, et al. JAMA Network Open, 2019; 2(5): e194270. doi
Change log
- September 2026: Launch. UN World Population Prospects 2024 (2023 estimates) for 201 countries and territories. WHO Global Health Estimates 2021 for causes of death. Doubling period set to 7 years.
Found a mistake? Tell us through our contact page. We check every report. Back to the death clock calculator.