TRAVEL_

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.

Exercise Frequency
Smoking
Diet Quality
Expected Lifespan
--years
--
Years Remaining
--
Projected Year
--
vs Country Average
Lifestyle Impact Breakdown
--

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. 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. 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. 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. 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.

Frequently Asked Questions

Where does the life expectancy data come from?
Country-level life expectancy figures are sourced from the World Health Organization (WHO) and the World Bank. We use the most recently available estimates for each country, which typically lag 1-2 years behind the current date.
How accurate are the lifestyle adjustments?
The lifestyle adjustments are based on published epidemiological research and represent average effects observed across large populations. Individual results vary significantly based on genetics, healthcare access, environment, and many other factors. These numbers illustrate relative impact, not personal predictions.
Why do male and female life expectancies differ?
Women outlive men by an average of 4-5 years globally, a pattern observed across virtually all countries. Contributing factors include biological differences (hormonal protection, immune function), behavioral differences (risk-taking, smoking and alcohol rates), and occupational hazards. The gap has narrowed in recent decades in many developed countries.
Does this tool account for medical conditions or genetics?
No. This calculator uses country averages and broad lifestyle factors only. It does not account for individual medical history, genetic predisposition, specific medications, or environmental exposures. For personalized health assessments, consult a healthcare professional.
How are the country rankings calculated?
Countries are ranked by their overall life expectancy (combining both genders). Rankings are computed from our database of 246 countries and territories. The ranking shown reflects where the selected country falls among all nations with available life expectancy data.
Add this tool to your site for free

Embed Life Expectancy Calculator

Copy the code below and paste it into your website HTML.

<iframe src="https://dropthe.org/embed/studio/life-expectancy/" width="100%" height="650" frameborder="0" style="border-radius:8px;"></iframe>