Countries by median age, July 1 estimate
Vatican City had the highest median age, July 1 estimate of 236 countries in 2017, at 60.58 years. The Central African Republic had the lowest, at 14.37 years. The median was 30.06 years. Source: United Nations, Department of Economic and Social Affairs, Population Division.
Top 40 countries, 2017
Full ranking
| Rank | Countries | 2017 | Change on 2016 |
|---|---|---|---|
| 1 | Vatican City Estimated | 60.58 | +0.01 |
| 2 | Monaco Estimated | 53.98 | +0.5 |
| 3 | Saint Helena Estimated | 46.96 | +0.74 |
| 4 | Japan Estimated | 46.54 | +0.34 |
| 5 | Italy Estimated | 45.18 | +0.38 |
| 6 | Martinique Estimated | 44.99 | +1.21 |
| 7 | Germany Estimated | 44.89 | +0.07 |
| 8 | San Marino Estimated | 44.33 | +0.42 |
| 9 | Isle of Man Estimated | 44.2 | +0.35 |
| 10 | Portugal Estimated | 43.73 | +0.45 |
| 11 | Saint Pierre and Miquelon Estimated | 43.44 | -0.01 |
| 12 | Greece Estimated | 43.39 | +0.32 |
| 13 | Croatia Estimated | 43.17 | +0.46 |
| 14 | Guernsey Estimated | 43.15 | +0.29 |
| 15 | Bermuda Estimated | 43.13 | +0.4 |
| 16 | Bulgaria Estimated | 43.01 | +0.26 |
| 17 | Liechtenstein Estimated | 42.85 | +0.34 |
| 18 | Serbia Estimated | 42.71 | +0.23 |
| 19 | Lithuania Estimated | 42.68 | +0.42 |
| 20 | Hong Kong Estimated | 42.66 | +0.49 |
| 21 | Slovenia Estimated | 42.57 | +0.31 |
| 22 | Spain Estimated | 42.44 | +0.39 |
| 23 | U.S. Virgin Islands Estimated | 42.36 | +0.81 |
| 24 | Latvia Estimated | 42.25 | +0.21 |
| 25 | Bosnia and Herzegovina Estimated | 42.24 | +0.52 |
| 26 | Austria Estimated | 42.11 | +0.11 |
| 27 | Guadeloupe Estimated | 42.1 | +0.95 |
| 28 | Puerto Rico Estimated | 42.03 | +1.23 |
| 29 | Finland Estimated | 41.59 | +0.09 |
| 30 | Hungary Estimated | 41.42 | +0.36 |
| 31 | Netherlands Estimated | 41.41 | +0.07 |
| 32 | Jersey Estimated | 41.39 | +0.32 |
| 33 | Switzerland Estimated | 41.38 | +0.07 |
| 34 | Czechia Estimated | 41.18 | +0.41 |
| 35 | South Korea Estimated | 41.05 | +0.57 |
| 36 | Romania Estimated | 40.96 | +0.34 |
| 37 | Estonia Estimated | 40.88 | +0.19 |
| 38 | Andorra Estimated | 40.8 | +0.43 |
| 39 | Denmark Estimated | 40.72 | +0.13 |
| 40 | France Estimated | 40.71 | +0.19 |
| 41 | Belgium Estimated | 40.59 | +0.09 |
| 42 | Cuba Estimated | 40.44 | +0.37 |
| 43 | Taiwan Estimated | 40.02 | +0.53 |
| 44 | Ukraine Estimated | 39.83 | +0.31 |
| 45 | Canada Estimated | 39.77 | +0.04 |
| 46 | Sweden Estimated | 39.72 | -0.15 |
| 47 | Montserrat Estimated | 39.62 | +0.21 |
| 48 | Malta Estimated | 39.47 | -0.08 |
| 49 | Aruba Estimated | 39.47 | +0.3 |
| 50 | Curaçao Estimated | 39.23 | +0.12 |
| 51 | Gibraltar Estimated | 39.2 | +0.01 |
| 52 | Poland Estimated | 39.03 | +0.36 |
| 53 | Slovakia Estimated | 39.01 | +0.4 |
| 54 | Caribbean Netherlands Estimated | 38.94 | +0.39 |
| 55 | United Kingdom Estimated | 38.87 | +0.05 |
| 56 | Belarus Estimated | 38.82 | +0.16 |
| 57 | Falkland Islands Estimated | 38.72 | +0.28 |
| 58 | Luxembourg Estimated | 38.42 | +0.08 |
| 59 | Norway Estimated | 38.41 | +0.13 |
| 60 | Sint Maarten Estimated | 38.29 | +0.62 |
| 61 | Faroe Islands Estimated | 38.06 | -0.14 |
| 62 | Russia Estimated | 37.95 | +0.16 |
| 63 | North Macedonia Estimated | 37.83 | +0.5 |
| 64 | Montenegro Estimated | 37.56 | +0.39 |
| 65 | Barbados Estimated | 37.45 | +0.25 |
| 66 | Saint Barthélemy Estimated | 37.35 | +0.15 |
| 67 | Thailand Estimated | 36.72 | +0.47 |
| 68 | United States Estimated | 36.65 | +0.14 |
| 69 | Macao Estimated | 36.32 | +0.15 |
| 70 | China Estimated | 36.28 | +0.29 |
| 71 | Australia Estimated | 36.27 | +0.02 |
| 72 | New Zealand Estimated | 36.18 | -0.07 |
| 73 | Georgia Estimated | 36.13 | +0.04 |
| 74 | Ireland Estimated | 36.13 | +0.39 |
| 75 | Turks and Caicos Islands Estimated | 35.95 | +0.38 |
| 76 | British Virgin Islands Estimated | 35.91 | +1.19 |
| 77 | Cayman Islands Estimated | 35.8 | +0.26 |
| 78 | Moldova Estimated | 35.77 | +0.36 |
| 79 | Palau Estimated | 35.7 | +0.37 |
| 80 | Niue Estimated | 35.68 | +0.27 |
| 81 | Cyprus Estimated | 35.32 | +0.38 |
| 82 | Iceland Estimated | 35.31 | +0.13 |
| 83 | Mauritius Estimated | 34.85 | +0.41 |
| 84 | North Korea Estimated | 34.65 | +0.24 |
| 85 | Kuwait Estimated | 34.57 | +0.83 |
| 86 | Anguilla Estimated | 34.55 | +0.52 |
| 87 | Réunion Estimated | 34.52 | +0.97 |
| 88 | Uruguay Estimated | 34.33 | +0.16 |
| 89 | Trinidad and Tobago Estimated | 33.93 | +0.49 |
| 90 | Albania Estimated | 33.91 | +0.32 |
| 91 | Chile Estimated | 33.86 | +0.24 |
| 92 | Wallis and Futuna Estimated | 33.85 | +0.57 |
| 93 | Singapore Estimated | 33.77 | +0.25 |
| 94 | Saint Martin Estimated | 33.76 | +0.78 |
| 95 | Armenia Estimated | 33.45 | +0.38 |
| 96 | Greenland Estimated | 33.28 | +0.11 |
| 97 | Dominica Estimated | 33.03 | +1.35 |
| 98 | Northern Mariana Islands Estimated | 33.02 | +0.1 |
| 99 | Antigua and Barbuda Estimated | 32.93 | +0.44 |
| 100 | Saint Kitts and Nevis Estimated | 32.71 | +0.47 |
| 101 | Bahamas Estimated | 32.57 | +0.33 |
| 102 | Cook Islands Estimated | 31.81 | +0.36 |
| 103 | Saint Vincent and the Grenadines Estimated | 31.71 | +0.5 |
| 104 | New Caledonia Estimated | 31.58 | +0.44 |
| 105 | Seychelles Estimated | 31.55 | +0.29 |
| 106 | Brazil Estimated | 31.37 | +0.45 |
| 107 | Saint Lucia Estimated | 31.32 | +0.43 |
| 108 | Sri Lanka Estimated | 31.29 | +0.27 |
| 109 | Costa Rica Estimated | 31.07 | +0.46 |
| 110 | French Polynesia Estimated | 30.9 | +0.56 |
| 111 | United Arab Emirates Estimated | 30.83 | +0.02 |
| 112 | Qatar Estimated | 30.47 | +0.19 |
| 113 | Grenada Estimated | 30.45 | +0.49 |
| 114 | Bahrain Estimated | 30.35 | +0.2 |
| 115 | Argentina Estimated | 30.26 | +0.21 |
| 116 | Guam Estimated | 30.22 | +0.29 |
| 117 | Türkiye Estimated | 30.15 | +0.28 |
| 118 | Azerbaijan Estimated | 30.07 | +0.19 |
| 119 | Tunisia Estimated | 30.06 | +0.34 |
| 120 | Vietnam Estimated | 29.82 | +0.3 |
| 121 | Western Sahara Estimated | 29.81 | +0.39 |
| 122 | Iran Estimated | 29.74 | +0.5 |
| 123 | Colombia Estimated | 29.37 | +0.39 |
| 124 | Brunei Estimated | 29.2 | +0.37 |
| 125 | Israel Estimated | 28.86 | +0.04 |
| 126 | Jamaica Estimated | 28.76 | +0.49 |
| 127 | Kazakhstan Estimated | 28.68 | +0.21 |
| 128 | Oman Estimated | 28.48 | +0.32 |
| 129 | Lebanon Estimated | 28.41 | -0.02 |
| 130 | Indonesia Estimated | 28.36 | +0.26 |
| 131 | Saudi Arabia Estimated | 28.11 | +0.48 |
| 132 | Myanmar Estimated | 27.9 | +0.27 |
| 133 | Panama Estimated | 27.79 | +0.26 |
| 134 | Peru Estimated | 27.61 | +0.28 |
| 135 | Maldives Estimated | 27.5 | +0.46 |
| 136 | Malaysia Estimated | 27.47 | +0.33 |
| 137 | Morocco Estimated | 27.13 | +0.34 |
| 138 | Algeria Estimated | 27.02 | +0.21 |
| 139 | Venezuela Estimated | 27.01 | +0.35 |
| 140 | Mexico Estimated | 26.92 | +0.34 |
| 141 | Suriname Estimated | 26.89 | +0.2 |
| 142 | Fiji Estimated | 26.17 | +0.28 |
| 143 | Mongolia Estimated | 26.09 | +0.19 |
| 144 | Ecuador Estimated | 26.09 | +0.37 |
| 145 | South Africa Estimated | 26.06 | +0.37 |
| 146 | India Estimated | 25.96 | +0.35 |
| 147 | Bhutan Estimated | 25.88 | +0.5 |
| 148 | Uzbekistan Estimated | 25.82 | +0.28 |
| 149 | Libya Estimated | 25.79 | +0.21 |
| 150 | Dominican Republic Estimated | 25.76 | +0.31 |
| 151 | Tokelau Estimated | 25.61 | +0.16 |
| 152 | American Samoa Estimated | 25.33 | +0.55 |
| 153 | Cape Verde Estimated | 25.19 | +0.47 |
| 154 | Turkmenistan Estimated | 24.68 | +0.21 |
| 155 | Paraguay Estimated | 24.57 | +0.32 |
| 156 | El Salvador Estimated | 24.52 | +0.36 |
| 157 | Kyrgyzstan Estimated | 24.22 | +0.12 |
| 158 | Tuvalu Estimated | 24.16 | +0.25 |
| 159 | French Guiana Estimated | 24.09 | +0.49 |
| 160 | Bangladesh Estimated | 24.02 | +0.25 |
| 161 | Guyana Estimated | 24.01 | +0.17 |
| 162 | Cambodia Estimated | 24.01 | +0.41 |
| 163 | Belize Estimated | 23.53 | +0.39 |
| 164 | Nicaragua Estimated | 23.32 | +0.33 |
| 165 | Bolivia Estimated | 23.27 | +0.26 |
| 166 | Egypt Estimated | 23.05 | +0.09 |
| 167 | Philippines Estimated | 22.95 | +0.37 |
| 168 | Djibouti Estimated | 22.61 | +0.3 |
| 169 | Laos Estimated | 22.52 | +0.27 |
| 170 | Jordan Estimated | 22.18 | +0.35 |
| 171 | Haiti Estimated | 22 | +0.25 |
| 172 | Botswana Estimated | 21.81 | +0.1 |
| 173 | Nepal Estimated | 21.79 | +0.28 |
| 174 | Kiribati Estimated | 21.64 | +0.17 |
| 175 | Honduras Estimated | 21.58 | +0.34 |
| 176 | Micronesia Estimated | 21.47 | +0.22 |
| 177 | Gabon Estimated | 21.41 | +0.07 |
| 178 | Papua New Guinea Estimated | 21.17 | +0.18 |
| 179 | Equatorial Guinea Estimated | 21.05 | +0.07 |
| 180 | Tajikistan Estimated | 21 | +0.15 |
| 181 | Marshall Islands Estimated | 20.98 | +0.23 |
| 182 | Tonga Estimated | 20.82 | +0.09 |
| 183 | Namibia Estimated | 20.61 | +0.09 |
| 184 | Guatemala Estimated | 20.59 | +0.3 |
| 185 | Nauru Estimated | 20.58 | +0.11 |
| 186 | Lesotho Estimated | 20.56 | +0.11 |
| 187 | Eswatini Estimated | 20.44 | +0.25 |
| 188 | Samoa Estimated | 20.29 | +0.11 |
| 189 | Vanuatu Estimated | 20.2 | +0.04 |
| 190 | Ghana Estimated | 20 | +0.12 |
| 191 | Pakistan Estimated | 19.4 | +0.09 |
| 192 | Timor-Leste Estimated | 19.27 | +0.29 |
| 193 | Solomon Islands Estimated | 19.15 | +0.15 |
| 194 | Comoros Estimated | 19.01 | +0.15 |
| 195 | Palestine Estimated | 18.94 | +0.15 |
| 196 | Iraq Estimated | 18.88 | +0.2 |
| 197 | Syria Estimated | 18.58 | +0.22 |
| 198 | Rwanda Estimated | 18.51 | +0.12 |
| 199 | Togo Estimated | 18.27 | +0.05 |
| 200 | Republic of the Congo Estimated | 18.09 | -0.05 |
| 201 | Kenya Estimated | 18.06 | +0.21 |
| 202 | São Tomé and Príncipe Estimated | 18.04 | +0.09 |
| 203 | Sierra Leone Estimated | 18.01 | +0.18 |
| 204 | Madagascar Estimated | 17.87 | +0.2 |
| 205 | Yemen Estimated | 17.87 | +0.1 |
| 206 | Guinea-Bissau Estimated | 17.84 | +0.15 |
| 207 | Côte d’Ivoire Estimated | 17.78 | -0.06 |
| 208 | Senegal Estimated | 17.78 | +0.14 |
| 209 | Liberia Estimated | 17.62 | +0.03 |
| 210 | Ethiopia Estimated | 17.49 | +0.24 |
| 211 | Eritrea Estimated | 17.47 | +0.07 |
| 212 | Cameroon Estimated | 17.28 | +0.03 |
| 213 | Sudan Estimated | 17.24 | +0.26 |
| 214 | Benin Estimated | 17.17 | +0.06 |
| 215 | Guinea Estimated | 17.15 | +0.13 |
| 216 | Gambia Estimated | 17.15 | +0.14 |
| 217 | Zimbabwe Estimated | 16.88 | +0.11 |
| 218 | Nigeria Estimated | 16.8 | +0.09 |
| 219 | Mauritania Estimated | 16.71 | +0.01 |
| 220 | Tanzania Estimated | 16.67 | +0.13 |
| 221 | Zambia Estimated | 16.43 | +0.16 |
| 222 | Malawi Estimated | 16.32 | +0.18 |
| 223 | Angola Estimated | 16.28 | 0 |
| 224 | Burkina Faso Estimated | 16.19 | +0.09 |
| 225 | Mayotte Estimated | 16.17 | -0.04 |
| 226 | South Sudan Estimated | 16.14 | -0.82 |
| 227 | Mozambique Estimated | 15.95 | +0.07 |
| 228 | Democratic Republic of the Congo Estimated | 15.89 | +0.05 |
| 229 | Afghanistan Estimated | 15.87 | +0.19 |
| 230 | Uganda Estimated | 15.22 | +0.25 |
| 231 | Somalia Estimated | 15.09 | +0.05 |
| 232 | Burundi Estimated | 14.98 | -0.15 |
| 233 | Mali Estimated | 14.91 | +0.03 |
| 234 | Chad Estimated | 14.7 | +0.05 |
| 235 | Niger Estimated | 14.5 | +0.08 |
| 236 | Central African Republic Estimated | 14.37 | -0.01 |
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 60.58 years in 2017, according to United Nations, Department of Economic and Social Affairs, Population Division.
Which country has the lowest median age, July 1 estimate?
The Central African Republic, with 14.37 years in 2017.
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