Countries by median age, July 1 estimate

Vatican City had the highest median age, July 1 estimate of 236 countries in 2012, at 62.42 years. Niger had the lowest, at 14.24 years. The median was 28.48 years. Source: United Nations, Department of Economic and Social Affairs, Population Division.

Highest62.42Vatican City
Lowest14.24Niger
Median28.48236 countries

Top 40 countries, 2012

CSVChart (SVG)

Vatican CityVatican City: 62.42 years62.42MonacoMonaco: 50.06 years50.06Saint HelenaSaint Helena: 45.16 years45.16JapanJapan: 44.81 years44.81GermanyGermany: 44.08 years44.08ItalyItaly: 43.24 years43.24San MarinoSan Marino: 42.31 years42.31Isle of ManIsle of Man: 42.05 years42.05BulgariaBulgaria: 41.76 years41.76SerbiaSerbia: 41.56 years41.56CroatiaCroatia: 41.52 years41.52AustriaAustria: 41.51 years41.51GuernseyGuernsey: 41.51 years41.51PortugalPortugal: 41.35 years41.35Saint Pierre and MiquelonSaint Pierre and Miquelon: 41.32 years41.32FinlandFinland: 41.29 years41.29GreeceGreece: 41.23 years41.23SloveniaSlovenia: 41.06 years41.06BermudaBermuda: 41.03 years41.03LatviaLatvia: 40.93 years40.93LiechtensteinLiechtenstein: 40.9 years40.9SwitzerlandSwitzerland: 40.88 years40.88LithuaniaLithuania: 40.87 years40.87Hong KongHong Kong: 40.67 years40.67MartiniqueMartinique: 40.53 years40.53NetherlandsNetherlands: 40.36 years40.36SpainSpain: 40.11 years40.11BelgiumBelgium: 40.06 years40.06JerseyJersey: 40.04 years40.04DenmarkDenmark: 39.94 years39.94HungaryHungary: 39.92 years39.92SwedenSweden: 39.87 years39.87EstoniaEstonia: 39.85 years39.85FranceFrance: 39.52 years39.52Bosnia and HerzegovinaBosnia and Herzegovina: 39.5 years39.5U.S. Virgin IslandsU.S. Virgin Islands: 39.38 years39.38CzechiaCzechia: 39.24 years39.24RomaniaRomania: 39.18 years39.18MaltaMalta: 39.18 years39.18CanadaCanada: 39.12 years39.12
years. Source: UN WPP. Retrieved 2026-10-10.

Full ranking

RankCountries2012
years
Change on 2011
1Vatican City Estimated62.42+0.53
2Monaco Estimated50.06+0.94
3Saint Helena Estimated45.16+0.16
4Japan Estimated44.81+0.27
5Germany Estimated44.08+0.44
6Italy Estimated43.24+0.36
7San Marino Estimated42.31+0.47
8Isle of Man Estimated42.05+0.43
9Bulgaria Estimated41.76+0.34
10Serbia Estimated41.56+0.21
11Croatia Estimated41.52+0.25
12Austria Estimated41.51+0.31
13Guernsey Estimated41.51+0.34
14Portugal Estimated41.35+0.43
15Saint Pierre and Miquelon Estimated41.32+0.55
16Finland Estimated41.29+0.1
17Greece Estimated41.23+0.45
18Slovenia Estimated41.06+0.25
19Bermuda Estimated41.03+0.56
20Latvia Estimated40.93+0.37
21Liechtenstein Estimated40.9+0.39
22Switzerland Estimated40.88+0.19
23Lithuania Estimated40.87+0.46
24Hong Kong Estimated40.67+0.35
25Martinique Estimated40.53+0.78
26Netherlands Estimated40.36+0.34
27Spain Estimated40.11+0.48
28Belgium Estimated40.06+0.14
29Jersey Estimated40.04+0.27
30Denmark Estimated39.94+0.21
31Hungary Estimated39.92+0.54
32Sweden Estimated39.87+0.08
33Estonia Estimated39.85+0.31
34France Estimated39.52+0.26
35Bosnia and Herzegovina Estimated39.5+0.72
36U.S. Virgin Islands Estimated39.38+0.43
37Czechia Estimated39.24+0.3
38Romania Estimated39.18+0.4
39Malta Estimated39.18+0.28
40Canada Estimated39.12+0.19
41Curaçao Estimated38.87+0.3
42Ukraine Estimated38.79+0.06
43Andorra Estimated38.77+0.14
44Gibraltar Estimated38.7+0.16
45United Kingdom Estimated38.49+0.16
46Cuba Estimated38.26+0.5
47Guadeloupe Estimated38.24+0.64
48Montserrat Estimated38.24+0.32
49Belarus Estimated38.18+0.12
50Luxembourg Estimated38.08+0.01
51Norway Estimated37.88+0.09
52South Korea Estimated37.87+0.66
53Aruba Estimated37.86+0.39
54Falkland Islands Estimated37.84+0.25
55Caribbean Netherlands Estimated37.7+0.25
56Faroe Islands Estimated37.53+0.33
57Taiwan Estimated37.51+0.49
58Puerto Rico Estimated37.5+0.73
59Poland Estimated37.31+0.26
60Russia Estimated37.23+0.13
61Slovakia Estimated36.93+0.4
62Saint Barthélemy Estimated36.83-0
63New Zealand Estimated36.35+0.24
64Australia Estimated36.23+0.06
65Barbados Estimated36.16+0.29
66United States Estimated36.09+0.08
67Macao Estimated35.9+0.18
68Montenegro Estimated35.82+0.24
69Georgia Estimated35.59+0.25
70North Macedonia Estimated35.4+0.45
71Sint Maarten Estimated35.39+0.52
72China Estimated34.85+0.33
73Cayman Islands Estimated34.82+0.13
74Niue Estimated34.47+0.42
75Thailand Estimated34.4+0.44
76Iceland Estimated34.38+0.24
77Ireland Estimated34.18+0.43
78Moldova Estimated34.13+0.27
79Palau Estimated33.99+0.35
80Turks and Caicos Islands Estimated33.85+0.6
81North Korea Estimated33.51+0.22
82Cyprus Estimated33.49+0.32
83Uruguay Estimated33.49+0.23
84British Virgin Islands Estimated33.09+0.08
85Singapore Estimated32.9+0.09
86Mauritius Estimated32.78+0.45
87Northern Mariana Islands Estimated32.66+0.06
88Greenland Estimated32.58+0.11
89Anguilla Estimated32.43+0.41
90Chile Estimated32.38+0.33
91Albania Estimated32.36+0.33
92Armenia Estimated31.81+0.25
93Réunion Estimated31.48+0.76
94Trinidad and Tobago Estimated31.47+0.47
95Bahamas Estimated31.06+0.27
96Saint Martin Estimated30.97+0.31
97Antigua and Barbuda Estimated30.91+0.35
98United Arab Emirates Estimated30.71+0.02
99Dominica Estimated30.61+0.17
100Kuwait Estimated30.57+1.07
101Wallis and Futuna Estimated30.54+0.85
102Seychelles Estimated30.51+0.15
103Saint Kitts and Nevis Estimated30.4+0.38
104Cook Islands Estimated29.93+0.53
105Qatar Estimated29.91-0.22
106Sri Lanka Estimated29.83+0.31
107New Caledonia Estimated29.72+0.26
108Bahrain Estimated29.47+0.27
109Argentina Estimated29.29+0.21
110Saint Vincent and the Grenadines Estimated29.27+0.48
111Saint Lucia Estimated29.17+0.44
112Brazil Estimated29.11+0.46
113Costa Rica Estimated28.82+0.42
114Türkiye Estimated28.81+0.35
115Azerbaijan Estimated28.75+0.28
116Guam Estimated28.61+0.33
117Israel Estimated28.54+0.08
118Tunisia Estimated28.5+0.32
119French Polynesia Estimated28.46+0.39
120Grenada Estimated28.29+0.35
121Vietnam Estimated28.02+0.41
122Western Sahara Estimated27.79+0.43
123Kazakhstan Estimated27.72+0.15
124Lebanon Estimated27.55+0.35
125Brunei Estimated27.39+0.29
126Colombia Estimated27.29+0.42
127Iran Estimated27.15+0.54
128Indonesia Estimated27.11+0.26
129Oman Estimated26.64+1.12
130Panama Estimated26.47+0.27
131Myanmar Estimated26.41+0.33
132Jamaica Estimated26.37+0.46
133Peru Estimated25.99+0.38
134Suriname Estimated25.92+0.23
135Algeria Estimated25.79+0.31
136Malaysia Estimated25.73+0.37
137Venezuela Estimated25.4+0.3
138Mexico Estimated25.37+0.28
139Morocco Estimated25.36+0.34
140Mongolia Estimated24.98+0.3
141Saudi Arabia Estimated24.86+0.67
142Fiji Estimated24.85+0.26
143Tokelau Estimated24.83-0.06
144Maldives Estimated24.74+0.67
145Libya Estimated24.7+0.16
146Ecuador Estimated24.36+0.29
147Uzbekistan Estimated24.35+0.37
148South Africa Estimated24.33+0.35
149India Estimated24.27+0.32
150Dominican Republic Estimated24.26+0.27
151Bhutan Estimated23.73+0.38
152Turkmenistan Estimated23.53+0.28
153Guyana Estimated23.48+0.12
154Kyrgyzstan Estimated23.43+0.21
155Tuvalu Estimated23.15+0.06
156El Salvador Estimated23+0.23
157Paraguay Estimated22.89+0.35
158French Guiana Estimated22.82+0.23
159Cape Verde Estimated22.57+0.56
160Egypt Estimated22.55+0.17
161Bangladesh Estimated22.49+0.31
162American Samoa Estimated22.47+0.55
163Cambodia Estimated22.04+0.39
164Bolivia Estimated22+0.23
165Botswana Estimated21.79+0.06
166Nicaragua Estimated21.74+0.29
167Belize Estimated21.63+0.38
168Philippines Estimated21.36+0.25
169Djibouti Estimated21.21+0.25
170Jordan Estimated21.02+0.19
171Laos Estimated20.8+0.44
172Syria Estimated20.79-0.07
173Nauru Estimated20.74-0.09
174Haiti Estimated20.73+0.25
175Gabon Estimated20.64+0.22
176Nepal Estimated20.61+0.16
177Kiribati Estimated20.61+0.2
178Equatorial Guinea Estimated20.53+0.16
179Micronesia Estimated20.5+0.12
180Papua New Guinea Estimated20.3+0.16
181Tonga Estimated20.24+0.1
182Tajikistan Estimated20.16+0.2
183Lesotho Estimated19.99+0.13
184Honduras Estimated19.94+0.3
185Namibia Estimated19.87+0.22
186Marshall Islands Estimated19.85+0.19
187Samoa Estimated19.77+0.05
188Vanuatu Estimated19.75+0.14
189Ghana Estimated19.44+0.13
190Eswatini Estimated19.2+0.28
191Guatemala Estimated19.14+0.28
192Pakistan Estimated19.02+0.11
193Solomon Islands Estimated18.64+0.06
194Republic of the Congo Estimated18.6-0.11
195South Sudan Estimated18.19+0.19
196Iraq Estimated18.14+0.1
197Timor-Leste Estimated18.11+0.16
198Comoros Estimated18.07+0.29
199Togo Estimated18.05+0.03
200Palestine Estimated17.85+0.26
201São Tomé and Príncipe Estimated17.83+0.02
202Rwanda Estimated17.75+0.15
203Liberia Estimated17.68+0.13
204Côte d’Ivoire Estimated17.54+0.42
205Senegal Estimated17.44+0.02
206Eritrea Estimated17.35-0.02
207Sierra Leone Estimated17.28+0.09
208Guinea-Bissau Estimated17.25+0.09
209Kenya Estimated17.13+0.13
210Yemen Estimated17.11+0.25
211Zimbabwe Estimated17.03-0.15
212Cameroon Estimated16.94+0.06
213Madagascar Estimated16.93+0.15
214Benin Estimated16.87+0.08
215Mauritania Estimated16.75-0.01
216Nigeria Estimated16.62-0.01
217Gambia Estimated16.53+0.11
218Guinea Estimated16.51+0.11
219Mayotte Estimated16.36+0.01
220Sudan Estimated16.35+0.03
221Angola Estimated16.32+0.01
222Ethiopia Estimated16.25+0.24
223Tanzania Estimated16.15+0.05
224Burundi Estimated16.06-0.17
225Burkina Faso Estimated15.96-0
226Zambia Estimated15.77+0.08
227Democratic Republic of the Congo Estimated15.77+0.02
228Mozambique Estimated15.77-0.02
229Malawi Estimated15.71+0.04
230Central African Republic Estimated15.23-0.25
231Mali Estimated15.08-0.14
232Afghanistan Estimated14.95+0.17
233Somalia Estimated14.87+0.16
234Chad Estimated14.56+0.02
235Uganda Estimated14.36+0.08
236Niger Estimated14.24-0

Other periods

About this ranking

Age that divides the estimated population on July 1 into two groups of equal size.

Modelled demographic estimate from UN World Population Prospects 2024. This series includes estimates through 2023 and excludes projections from 2024 onward. The reference date and method differ from January 1 statistics and multi-year survey estimates. Historical estimates can be revised.

Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. Equal values share a rank.

How to cite

United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Countries by median age, July 1 estimate using official data, and cite the source.
rank_places {"indicator":"median_age_midyear","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=median_age_midyear&level=country&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which country has the highest median age, July 1 estimate?

Vatican City, with 62.42 years in 2012, according to United Nations, Department of Economic and Social Affairs, Population Division.

Which country has the lowest median age, July 1 estimate?

Niger, with 14.24 years in 2012.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: United Nations, Department of Economic and Social Affairs, Population Division, World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved 2026-10-10.

Median age, July 1 estimate: other rankings

Countries: more rankings