National Age Percentile Calculator

See where your age ranks within your country's population.

Couldn't load the country list (API key required). Please try again later.

Source: UN World Population Prospects 2024 (medium variant) · 2026 · last verified 2026-09-12

How this is calculated

Your age is compared against the age structure of your country, interpolated within its 5-year age band to estimate what share of the population is younger versus older, and how your age compares to the national median.

National age percentile and global age percentile can diverge significantly for the same age — a 35-year-old sits differently within an older, slower-growing country than within the world's younger overall population. See the Global Age Percentile calculator for that worldwide comparison, and the Survival Probability calculator for how your age translates into expected remaining years in your country specifically.

Frequently asked questions

How is the national median age calculated?
By finding the age at which half the country's population is younger and half is older, interpolated within the relevant 5-year age band.
What does the median age gap mean?
A positive gap means you're older than the national median age; a negative gap means you're younger.
What does national age percentile mean?
Your national age percentile shows what share of your own country's population is younger than you — a percentile of 60 means roughly 60% of people in that country are younger than you, and 40% are older.
How does this differ from global age percentile?
This tool compares your age only against your own country's population. The Global Age Percentile calculator instead compares you against the entire world's population — the two can give quite different results, since national age structures vary substantially.
What is the median age in major countries?
Median age varies widely — many European countries and Japan have median ages in the mid-to-late 40s, the US sits around the high 30s, while many countries in Africa have median ages under 20, reflecting much younger, faster-growing populations.
Why does the age distribution differ between countries?
Age distribution reflects a country's history of birth rates, death rates, and migration — countries with historically high birth rates and shorter life expectancy tend to have young, pyramid-shaped age structures, while countries with declining birth rates and long life expectancy develop older, more rectangular age structures.

Related calculators