Life Expectancy Calculator
How long people live in every country. Data from WHO and World Bank for 246 countries, adjusted by age, gender, and lifestyle factors.
About This Tool
The DropThe Life Expectancy Calculator combines country-level longevity data from the World Health Organization and World Bank with lifestyle adjustments based on published epidemiological research. Select any of 246 countries, enter your age and gender, then adjust three lifestyle sliders to see how exercise, smoking, and diet quality affect your projected lifespan.
Life expectancy varies dramatically around the world. Japan, Switzerland, and Singapore consistently rank at the top with averages above 83 years, while several sub-Saharan African nations report figures below 55. These national averages reflect a complex mix of healthcare infrastructure, nutrition, sanitation, economic development, and public health policy. By starting with the WHO-reported country average for your gender, this tool gives you a baseline grounded in real population data rather than a generic global number.
The lifestyle adjustments are derived from meta-analyses published in peer-reviewed journals. Regular physical activity is associated with up to 5 additional years of life expectancy. Heavy smoking is associated with a reduction of approximately 10 years. Diet quality, measured across factors like fruit and vegetable intake, processed food consumption, and overall nutritional balance, can shift life expectancy by several years in either direction. These adjustments are approximations intended to illustrate relative impact, not clinical predictions.
Every calculation runs entirely in your browser for instant results. Change any slider and the projected lifespan updates immediately, along with a breakdown showing exactly how many years each factor adds or subtracts. The tool also shows how your selected country ranks globally in life expectancy, giving you context for where the national average falls among all 246 countries in our database.
How to Use
-
1
Select a country
Type a country name in the search field. The autocomplete shows matching countries from our database of 246 nations, each with WHO life expectancy data.
-
2
Enter your age and gender
Set your current age (1-100) and select your gender. The tool uses gender-specific life expectancy data where available, since female and male averages differ in most countries.
-
3
Adjust lifestyle factors
Move the three sliders for exercise frequency, smoking status, and diet quality. Each slider runs from 0 to 5 and shows its current label (e.g., "weekly" for exercise, "never" for smoking).
-
4
View your results
The calculator instantly displays your adjusted life expectancy, remaining years, comparison to the country average, and a breakdown of each lifestyle factor's contribution.
Where Does This Data Come From?
Base life expectancy data comes from the DropThe geo_entities database, which aggregates figures from the World Health Organization Global Health Observatory and the World Bank World Development Indicators. We store overall life expectancy as well as gender-specific figures (male and female) for each of the 246 countries and territories in our database.
Lifestyle adjustments are modeled on findings from large-scale epidemiological studies. The exercise adjustment (+0 to +5 years) reflects research published in PLOS Medicine and the British Journal of Sports Medicine showing that regular moderate-to-vigorous physical activity is associated with 3 to 7 additional years of life. The smoking adjustment (0 to -10 years) draws on decades of data from studies including the British Doctors Study and the American Cancer Society Cancer Prevention Studies, which consistently show a 10-year reduction in life expectancy for lifelong smokers. The diet quality adjustment (-3 to +3 years) is based on meta-analyses in The Lancet and the BMJ examining the relationship between dietary patterns and mortality.
These adjustments are simplified approximations designed to illustrate relative lifestyle impact. They do not account for interactions between factors, pre-existing conditions, genetic predisposition, or the many other variables that influence individual longevity. This tool is for educational and informational purposes only and should not be used as a substitute for professional medical advice.