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.
Top 40 countries, 2012
Full ranking
| Rank | Countries | 2012 | Change on 2011 |
|---|---|---|---|
| 1 | Vatican City Estimated | 62.42 | +0.53 |
| 2 | Monaco Estimated | 50.06 | +0.94 |
| 3 | Saint Helena Estimated | 45.16 | +0.16 |
| 4 | Japan Estimated | 44.81 | +0.27 |
| 5 | Germany Estimated | 44.08 | +0.44 |
| 6 | Italy Estimated | 43.24 | +0.36 |
| 7 | San Marino Estimated | 42.31 | +0.47 |
| 8 | Isle of Man Estimated | 42.05 | +0.43 |
| 9 | Bulgaria Estimated | 41.76 | +0.34 |
| 10 | Serbia Estimated | 41.56 | +0.21 |
| 11 | Croatia Estimated | 41.52 | +0.25 |
| 12 | Austria Estimated | 41.51 | +0.31 |
| 13 | Guernsey Estimated | 41.51 | +0.34 |
| 14 | Portugal Estimated | 41.35 | +0.43 |
| 15 | Saint Pierre and Miquelon Estimated | 41.32 | +0.55 |
| 16 | Finland Estimated | 41.29 | +0.1 |
| 17 | Greece Estimated | 41.23 | +0.45 |
| 18 | Slovenia Estimated | 41.06 | +0.25 |
| 19 | Bermuda Estimated | 41.03 | +0.56 |
| 20 | Latvia Estimated | 40.93 | +0.37 |
| 21 | Liechtenstein Estimated | 40.9 | +0.39 |
| 22 | Switzerland Estimated | 40.88 | +0.19 |
| 23 | Lithuania Estimated | 40.87 | +0.46 |
| 24 | Hong Kong Estimated | 40.67 | +0.35 |
| 25 | Martinique Estimated | 40.53 | +0.78 |
| 26 | Netherlands Estimated | 40.36 | +0.34 |
| 27 | Spain Estimated | 40.11 | +0.48 |
| 28 | Belgium Estimated | 40.06 | +0.14 |
| 29 | Jersey Estimated | 40.04 | +0.27 |
| 30 | Denmark Estimated | 39.94 | +0.21 |
| 31 | Hungary Estimated | 39.92 | +0.54 |
| 32 | Sweden Estimated | 39.87 | +0.08 |
| 33 | Estonia Estimated | 39.85 | +0.31 |
| 34 | France Estimated | 39.52 | +0.26 |
| 35 | Bosnia and Herzegovina Estimated | 39.5 | +0.72 |
| 36 | U.S. Virgin Islands Estimated | 39.38 | +0.43 |
| 37 | Czechia Estimated | 39.24 | +0.3 |
| 38 | Romania Estimated | 39.18 | +0.4 |
| 39 | Malta Estimated | 39.18 | +0.28 |
| 40 | Canada Estimated | 39.12 | +0.19 |
| 41 | Curaçao Estimated | 38.87 | +0.3 |
| 42 | Ukraine Estimated | 38.79 | +0.06 |
| 43 | Andorra Estimated | 38.77 | +0.14 |
| 44 | Gibraltar Estimated | 38.7 | +0.16 |
| 45 | United Kingdom Estimated | 38.49 | +0.16 |
| 46 | Cuba Estimated | 38.26 | +0.5 |
| 47 | Guadeloupe Estimated | 38.24 | +0.64 |
| 48 | Montserrat Estimated | 38.24 | +0.32 |
| 49 | Belarus Estimated | 38.18 | +0.12 |
| 50 | Luxembourg Estimated | 38.08 | +0.01 |
| 51 | Norway Estimated | 37.88 | +0.09 |
| 52 | South Korea Estimated | 37.87 | +0.66 |
| 53 | Aruba Estimated | 37.86 | +0.39 |
| 54 | Falkland Islands Estimated | 37.84 | +0.25 |
| 55 | Caribbean Netherlands Estimated | 37.7 | +0.25 |
| 56 | Faroe Islands Estimated | 37.53 | +0.33 |
| 57 | Taiwan Estimated | 37.51 | +0.49 |
| 58 | Puerto Rico Estimated | 37.5 | +0.73 |
| 59 | Poland Estimated | 37.31 | +0.26 |
| 60 | Russia Estimated | 37.23 | +0.13 |
| 61 | Slovakia Estimated | 36.93 | +0.4 |
| 62 | Saint Barthélemy Estimated | 36.83 | -0 |
| 63 | New Zealand Estimated | 36.35 | +0.24 |
| 64 | Australia Estimated | 36.23 | +0.06 |
| 65 | Barbados Estimated | 36.16 | +0.29 |
| 66 | United States Estimated | 36.09 | +0.08 |
| 67 | Macao Estimated | 35.9 | +0.18 |
| 68 | Montenegro Estimated | 35.82 | +0.24 |
| 69 | Georgia Estimated | 35.59 | +0.25 |
| 70 | North Macedonia Estimated | 35.4 | +0.45 |
| 71 | Sint Maarten Estimated | 35.39 | +0.52 |
| 72 | China Estimated | 34.85 | +0.33 |
| 73 | Cayman Islands Estimated | 34.82 | +0.13 |
| 74 | Niue Estimated | 34.47 | +0.42 |
| 75 | Thailand Estimated | 34.4 | +0.44 |
| 76 | Iceland Estimated | 34.38 | +0.24 |
| 77 | Ireland Estimated | 34.18 | +0.43 |
| 78 | Moldova Estimated | 34.13 | +0.27 |
| 79 | Palau Estimated | 33.99 | +0.35 |
| 80 | Turks and Caicos Islands Estimated | 33.85 | +0.6 |
| 81 | North Korea Estimated | 33.51 | +0.22 |
| 82 | Cyprus Estimated | 33.49 | +0.32 |
| 83 | Uruguay Estimated | 33.49 | +0.23 |
| 84 | British Virgin Islands Estimated | 33.09 | +0.08 |
| 85 | Singapore Estimated | 32.9 | +0.09 |
| 86 | Mauritius Estimated | 32.78 | +0.45 |
| 87 | Northern Mariana Islands Estimated | 32.66 | +0.06 |
| 88 | Greenland Estimated | 32.58 | +0.11 |
| 89 | Anguilla Estimated | 32.43 | +0.41 |
| 90 | Chile Estimated | 32.38 | +0.33 |
| 91 | Albania Estimated | 32.36 | +0.33 |
| 92 | Armenia Estimated | 31.81 | +0.25 |
| 93 | Réunion Estimated | 31.48 | +0.76 |
| 94 | Trinidad and Tobago Estimated | 31.47 | +0.47 |
| 95 | Bahamas Estimated | 31.06 | +0.27 |
| 96 | Saint Martin Estimated | 30.97 | +0.31 |
| 97 | Antigua and Barbuda Estimated | 30.91 | +0.35 |
| 98 | United Arab Emirates Estimated | 30.71 | +0.02 |
| 99 | Dominica Estimated | 30.61 | +0.17 |
| 100 | Kuwait Estimated | 30.57 | +1.07 |
| 101 | Wallis and Futuna Estimated | 30.54 | +0.85 |
| 102 | Seychelles Estimated | 30.51 | +0.15 |
| 103 | Saint Kitts and Nevis Estimated | 30.4 | +0.38 |
| 104 | Cook Islands Estimated | 29.93 | +0.53 |
| 105 | Qatar Estimated | 29.91 | -0.22 |
| 106 | Sri Lanka Estimated | 29.83 | +0.31 |
| 107 | New Caledonia Estimated | 29.72 | +0.26 |
| 108 | Bahrain Estimated | 29.47 | +0.27 |
| 109 | Argentina Estimated | 29.29 | +0.21 |
| 110 | Saint Vincent and the Grenadines Estimated | 29.27 | +0.48 |
| 111 | Saint Lucia Estimated | 29.17 | +0.44 |
| 112 | Brazil Estimated | 29.11 | +0.46 |
| 113 | Costa Rica Estimated | 28.82 | +0.42 |
| 114 | Türkiye Estimated | 28.81 | +0.35 |
| 115 | Azerbaijan Estimated | 28.75 | +0.28 |
| 116 | Guam Estimated | 28.61 | +0.33 |
| 117 | Israel Estimated | 28.54 | +0.08 |
| 118 | Tunisia Estimated | 28.5 | +0.32 |
| 119 | French Polynesia Estimated | 28.46 | +0.39 |
| 120 | Grenada Estimated | 28.29 | +0.35 |
| 121 | Vietnam Estimated | 28.02 | +0.41 |
| 122 | Western Sahara Estimated | 27.79 | +0.43 |
| 123 | Kazakhstan Estimated | 27.72 | +0.15 |
| 124 | Lebanon Estimated | 27.55 | +0.35 |
| 125 | Brunei Estimated | 27.39 | +0.29 |
| 126 | Colombia Estimated | 27.29 | +0.42 |
| 127 | Iran Estimated | 27.15 | +0.54 |
| 128 | Indonesia Estimated | 27.11 | +0.26 |
| 129 | Oman Estimated | 26.64 | +1.12 |
| 130 | Panama Estimated | 26.47 | +0.27 |
| 131 | Myanmar Estimated | 26.41 | +0.33 |
| 132 | Jamaica Estimated | 26.37 | +0.46 |
| 133 | Peru Estimated | 25.99 | +0.38 |
| 134 | Suriname Estimated | 25.92 | +0.23 |
| 135 | Algeria Estimated | 25.79 | +0.31 |
| 136 | Malaysia Estimated | 25.73 | +0.37 |
| 137 | Venezuela Estimated | 25.4 | +0.3 |
| 138 | Mexico Estimated | 25.37 | +0.28 |
| 139 | Morocco Estimated | 25.36 | +0.34 |
| 140 | Mongolia Estimated | 24.98 | +0.3 |
| 141 | Saudi Arabia Estimated | 24.86 | +0.67 |
| 142 | Fiji Estimated | 24.85 | +0.26 |
| 143 | Tokelau Estimated | 24.83 | -0.06 |
| 144 | Maldives Estimated | 24.74 | +0.67 |
| 145 | Libya Estimated | 24.7 | +0.16 |
| 146 | Ecuador Estimated | 24.36 | +0.29 |
| 147 | Uzbekistan Estimated | 24.35 | +0.37 |
| 148 | South Africa Estimated | 24.33 | +0.35 |
| 149 | India Estimated | 24.27 | +0.32 |
| 150 | Dominican Republic Estimated | 24.26 | +0.27 |
| 151 | Bhutan Estimated | 23.73 | +0.38 |
| 152 | Turkmenistan Estimated | 23.53 | +0.28 |
| 153 | Guyana Estimated | 23.48 | +0.12 |
| 154 | Kyrgyzstan Estimated | 23.43 | +0.21 |
| 155 | Tuvalu Estimated | 23.15 | +0.06 |
| 156 | El Salvador Estimated | 23 | +0.23 |
| 157 | Paraguay Estimated | 22.89 | +0.35 |
| 158 | French Guiana Estimated | 22.82 | +0.23 |
| 159 | Cape Verde Estimated | 22.57 | +0.56 |
| 160 | Egypt Estimated | 22.55 | +0.17 |
| 161 | Bangladesh Estimated | 22.49 | +0.31 |
| 162 | American Samoa Estimated | 22.47 | +0.55 |
| 163 | Cambodia Estimated | 22.04 | +0.39 |
| 164 | Bolivia Estimated | 22 | +0.23 |
| 165 | Botswana Estimated | 21.79 | +0.06 |
| 166 | Nicaragua Estimated | 21.74 | +0.29 |
| 167 | Belize Estimated | 21.63 | +0.38 |
| 168 | Philippines Estimated | 21.36 | +0.25 |
| 169 | Djibouti Estimated | 21.21 | +0.25 |
| 170 | Jordan Estimated | 21.02 | +0.19 |
| 171 | Laos Estimated | 20.8 | +0.44 |
| 172 | Syria Estimated | 20.79 | -0.07 |
| 173 | Nauru Estimated | 20.74 | -0.09 |
| 174 | Haiti Estimated | 20.73 | +0.25 |
| 175 | Gabon Estimated | 20.64 | +0.22 |
| 176 | Nepal Estimated | 20.61 | +0.16 |
| 177 | Kiribati Estimated | 20.61 | +0.2 |
| 178 | Equatorial Guinea Estimated | 20.53 | +0.16 |
| 179 | Micronesia Estimated | 20.5 | +0.12 |
| 180 | Papua New Guinea Estimated | 20.3 | +0.16 |
| 181 | Tonga Estimated | 20.24 | +0.1 |
| 182 | Tajikistan Estimated | 20.16 | +0.2 |
| 183 | Lesotho Estimated | 19.99 | +0.13 |
| 184 | Honduras Estimated | 19.94 | +0.3 |
| 185 | Namibia Estimated | 19.87 | +0.22 |
| 186 | Marshall Islands Estimated | 19.85 | +0.19 |
| 187 | Samoa Estimated | 19.77 | +0.05 |
| 188 | Vanuatu Estimated | 19.75 | +0.14 |
| 189 | Ghana Estimated | 19.44 | +0.13 |
| 190 | Eswatini Estimated | 19.2 | +0.28 |
| 191 | Guatemala Estimated | 19.14 | +0.28 |
| 192 | Pakistan Estimated | 19.02 | +0.11 |
| 193 | Solomon Islands Estimated | 18.64 | +0.06 |
| 194 | Republic of the Congo Estimated | 18.6 | -0.11 |
| 195 | South Sudan Estimated | 18.19 | +0.19 |
| 196 | Iraq Estimated | 18.14 | +0.1 |
| 197 | Timor-Leste Estimated | 18.11 | +0.16 |
| 198 | Comoros Estimated | 18.07 | +0.29 |
| 199 | Togo Estimated | 18.05 | +0.03 |
| 200 | Palestine Estimated | 17.85 | +0.26 |
| 201 | São Tomé and Príncipe Estimated | 17.83 | +0.02 |
| 202 | Rwanda Estimated | 17.75 | +0.15 |
| 203 | Liberia Estimated | 17.68 | +0.13 |
| 204 | Côte d’Ivoire Estimated | 17.54 | +0.42 |
| 205 | Senegal Estimated | 17.44 | +0.02 |
| 206 | Eritrea Estimated | 17.35 | -0.02 |
| 207 | Sierra Leone Estimated | 17.28 | +0.09 |
| 208 | Guinea-Bissau Estimated | 17.25 | +0.09 |
| 209 | Kenya Estimated | 17.13 | +0.13 |
| 210 | Yemen Estimated | 17.11 | +0.25 |
| 211 | Zimbabwe Estimated | 17.03 | -0.15 |
| 212 | Cameroon Estimated | 16.94 | +0.06 |
| 213 | Madagascar Estimated | 16.93 | +0.15 |
| 214 | Benin Estimated | 16.87 | +0.08 |
| 215 | Mauritania Estimated | 16.75 | -0.01 |
| 216 | Nigeria Estimated | 16.62 | -0.01 |
| 217 | Gambia Estimated | 16.53 | +0.11 |
| 218 | Guinea Estimated | 16.51 | +0.11 |
| 219 | Mayotte Estimated | 16.36 | +0.01 |
| 220 | Sudan Estimated | 16.35 | +0.03 |
| 221 | Angola Estimated | 16.32 | +0.01 |
| 222 | Ethiopia Estimated | 16.25 | +0.24 |
| 223 | Tanzania Estimated | 16.15 | +0.05 |
| 224 | Burundi Estimated | 16.06 | -0.17 |
| 225 | Burkina Faso Estimated | 15.96 | -0 |
| 226 | Zambia Estimated | 15.77 | +0.08 |
| 227 | Democratic Republic of the Congo Estimated | 15.77 | +0.02 |
| 228 | Mozambique Estimated | 15.77 | -0.02 |
| 229 | Malawi Estimated | 15.71 | +0.04 |
| 230 | Central African Republic Estimated | 15.23 | -0.25 |
| 231 | Mali Estimated | 15.08 | -0.14 |
| 232 | Afghanistan Estimated | 14.95 | +0.17 |
| 233 | Somalia Estimated | 14.87 | +0.16 |
| 234 | Chad Estimated | 14.56 | +0.02 |
| 235 | Uganda Estimated | 14.36 | +0.08 |
| 236 | Niger Estimated | 14.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
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
- Crude birth rate
- Crude death rate
- Total fertility rate
- Real GDP growth
- GDP per capita, US dollars
- Gross domestic product (GDP), US dollars
- Gini index (World Bank, income or consumption)
- Inflation, annual average
- Internet users
- Land area
- Life expectancy at birth
- Military expenditure
- Central bank policy rate
- Population
- Population aged 65 and over
- Population density