How the math works

The joke is the wrapper. The number underneath comes from the same kind of life table actuaries use, adjusted for a few well-studied risk factors.

Start with a life table

The Social Security Administration publishes, for every age from 0 to 119 and for each sex, the chance that a person of that age dies within the next year. We use the 2023 period life table from the 2026 Trustees Report. With no adjustments, our code reproduces SSA's published life expectancy at every age from 0 to 100 to within 0.01 years.

Adjust for where you live

Life expectancy differs a lot by state: in 2021, men in Hawaii lived 9 years longer on average than men in Mississippi. We take each state's gap from the national figure in CDC's U.S. State Life Tables, 2021 (NVSR Vol. 73, No. 7), apply that gap to the 2023 national table, and convert it to a single multiplier on yearly risk. That gap is why your result may list "Move to Hawaii" as a cheat code. The state rankings show every state's published figure, and each state page shows the curve this adjustment produces.

Adjust for health habits

Each answer maps to a hazard ratio: how much higher or lower yearly risk of death is for people with that answer, compared with a reference group, in large studies that follow people for years. We re-center each factor so the average American's answers leave the base table unchanged, multiply the factors together, and limit the combined effect to between 0.4 and 4 times average risk. Relative risks shrink with age, so the health adjustment fades to half strength between ages 75 and 95.

The quiz also asks how many unread emails you have. That answer never enters the calculation. It shows up in your result marked "No effect" and may end up on the tombstone.

Turn risk into a range

Starting at your age, we multiply the yearly chances of surviving to build a survival curve. The age where it crosses 50% is the median, which is the number on your tombstone. The ages where it crosses 75% and 25% bound the middle half of outcomes.

Couples mode

Couples mode runs the same calculation for two people and puts their survival curves on one calendar. Three numbers come out of it. The chance that one person goes first is the chance, summed over every future year, that they die in that year while the other is still alive. Years together is the average time with both alive. Years solo is the average time with exactly one alive.

These treat the two lifetimes as unrelated. Real couples share habits, money, and a home, so their lifetimes tend to move together. That means the calculation probably understates the years together and overstates the years solo.

What this can't tell you

So treat the result as a conversation starter, not a forecast. If you have questions about your own health, your doctor is the right person to ask.