Countries by median age, July 1 estimate
Vatican City had the highest median age, July 1 estimate of 236 countries in 2018, at 60.42 years. The Central African Republic had the lowest, at 14.36 years. The median was 30.37 years. Source: United Nations, Department of Economic and Social Affairs, Population Division.
Top 40 countries, 2018
Full ranking
| Rank | Countries | 2018 | Change on 2017 |
|---|---|---|---|
| 1 | Vatican City Estimated | 60.42 | -0.17 |
| 2 | Monaco Estimated | 54.51 | +0.53 |
| 3 | Saint Helena Estimated | 47.75 | +0.79 |
| 4 | Japan Estimated | 46.89 | +0.35 |
| 5 | Martinique Estimated | 46.2 | +1.21 |
| 6 | Italy Estimated | 45.57 | +0.39 |
| 7 | Germany Estimated | 44.93 | +0.04 |
| 8 | San Marino Estimated | 44.81 | +0.48 |
| 9 | Isle of Man Estimated | 44.52 | +0.32 |
| 10 | Portugal Estimated | 44.17 | +0.44 |
| 11 | Saint Pierre and Miquelon Estimated | 43.74 | +0.29 |
| 12 | Greece Estimated | 43.71 | +0.32 |
| 13 | Croatia Estimated | 43.61 | +0.44 |
| 14 | Bermuda Estimated | 43.45 | +0.32 |
| 15 | Guernsey Estimated | 43.37 | +0.22 |
| 16 | Bulgaria Estimated | 43.3 | +0.29 |
| 17 | U.S. Virgin Islands Estimated | 43.23 | +0.87 |
| 18 | Hong Kong Estimated | 43.22 | +0.55 |
| 19 | Liechtenstein Estimated | 43.16 | +0.31 |
| 20 | Puerto Rico Estimated | 43.15 | +1.12 |
| 21 | Guadeloupe Estimated | 43.05 | +0.94 |
| 22 | Lithuania Estimated | 43 | +0.32 |
| 23 | Serbia Estimated | 42.93 | +0.22 |
| 24 | Slovenia Estimated | 42.81 | +0.24 |
| 25 | Spain Estimated | 42.8 | +0.36 |
| 26 | Bosnia and Herzegovina Estimated | 42.77 | +0.53 |
| 27 | Latvia Estimated | 42.45 | +0.2 |
| 28 | Austria Estimated | 42.27 | +0.16 |
| 29 | Hungary Estimated | 41.77 | +0.35 |
| 30 | Finland Estimated | 41.76 | +0.17 |
| 31 | Jersey Estimated | 41.72 | +0.33 |
| 32 | South Korea Estimated | 41.62 | +0.57 |
| 33 | Czechia Estimated | 41.57 | +0.39 |
| 34 | Switzerland Estimated | 41.48 | +0.1 |
| 35 | Netherlands Estimated | 41.46 | +0.05 |
| 36 | Andorra Estimated | 41.29 | +0.5 |
| 37 | Romania Estimated | 41.29 | +0.33 |
| 38 | Estonia Estimated | 41.05 | +0.17 |
| 39 | France Estimated | 40.88 | +0.17 |
| 40 | Denmark Estimated | 40.86 | +0.14 |
| 41 | Cuba Estimated | 40.78 | +0.34 |
| 42 | Belgium Estimated | 40.66 | +0.08 |
| 43 | Taiwan Estimated | 40.57 | +0.56 |
| 44 | Ukraine Estimated | 40.16 | +0.33 |
| 45 | Montserrat Estimated | 39.91 | +0.28 |
| 46 | Aruba Estimated | 39.77 | +0.3 |
| 47 | Canada Estimated | 39.77 | -0 |
| 48 | Sweden Estimated | 39.59 | -0.12 |
| 49 | Slovakia Estimated | 39.4 | +0.4 |
| 50 | Poland Estimated | 39.39 | +0.36 |
| 51 | Caribbean Netherlands Estimated | 39.23 | +0.29 |
| 52 | Malta Estimated | 39.2 | -0.27 |
| 53 | Gibraltar Estimated | 39.19 | -0.01 |
| 54 | Falkland Islands Estimated | 39.08 | +0.36 |
| 55 | Belarus Estimated | 39.02 | +0.2 |
| 56 | United Kingdom Estimated | 38.95 | +0.09 |
| 57 | Sint Maarten Estimated | 38.94 | +0.65 |
| 58 | Norway Estimated | 38.59 | +0.18 |
| 59 | Luxembourg Estimated | 38.46 | +0.04 |
| 60 | North Macedonia Estimated | 38.34 | +0.51 |
| 61 | Russia Estimated | 38.17 | +0.22 |
| 62 | Montenegro Estimated | 37.96 | +0.4 |
| 63 | Faroe Islands Estimated | 37.92 | -0.14 |
| 64 | Barbados Estimated | 37.69 | +0.24 |
| 65 | Saint Barthélemy Estimated | 37.56 | +0.21 |
| 66 | Curaçao Estimated | 37.36 | -1.87 |
| 67 | Thailand Estimated | 37.21 | +0.49 |
| 68 | United States Estimated | 36.82 | +0.17 |
| 69 | China Estimated | 36.62 | +0.34 |
| 70 | Ireland Estimated | 36.5 | +0.37 |
| 71 | Macao Estimated | 36.5 | +0.18 |
| 72 | Australia Estimated | 36.35 | +0.08 |
| 73 | Turks and Caicos Islands Estimated | 36.3 | +0.36 |
| 74 | Georgia Estimated | 36.21 | +0.08 |
| 75 | New Zealand Estimated | 36.2 | +0.02 |
| 76 | Moldova Estimated | 36.11 | +0.34 |
| 77 | Cayman Islands Estimated | 36.09 | +0.29 |
| 78 | Palau Estimated | 36.07 | +0.37 |
| 79 | Niue Estimated | 35.97 | +0.3 |
| 80 | British Virgin Islands Estimated | 35.83 | -0.08 |
| 81 | Cyprus Estimated | 35.72 | +0.4 |
| 82 | Réunion Estimated | 35.44 | +0.92 |
| 83 | Kuwait Estimated | 35.42 | +0.86 |
| 84 | Iceland Estimated | 35.37 | +0.06 |
| 85 | Saint Martin Estimated | 35.3 | +1.54 |
| 86 | Mauritius Estimated | 35.24 | +0.39 |
| 87 | Anguilla Estimated | 34.97 | +0.42 |
| 88 | North Korea Estimated | 34.89 | +0.24 |
| 89 | Uruguay Estimated | 34.53 | +0.2 |
| 90 | Wallis and Futuna Estimated | 34.46 | +0.6 |
| 91 | Albania Estimated | 34.28 | +0.37 |
| 92 | Trinidad and Tobago Estimated | 34.28 | +0.35 |
| 93 | Chile Estimated | 34.08 | +0.22 |
| 94 | Singapore Estimated | 34 | +0.22 |
| 95 | Armenia Estimated | 33.94 | +0.49 |
| 96 | Dominica Estimated | 33.5 | +0.46 |
| 97 | Antigua and Barbuda Estimated | 33.38 | +0.45 |
| 98 | Greenland Estimated | 33.38 | +0.1 |
| 99 | Saint Kitts and Nevis Estimated | 33.18 | +0.47 |
| 100 | Northern Mariana Islands Estimated | 33.13 | +0.12 |
| 101 | Bahamas Estimated | 32.91 | +0.34 |
| 102 | Saint Vincent and the Grenadines Estimated | 32.22 | +0.51 |
| 103 | Cook Islands Estimated | 32.14 | +0.33 |
| 104 | New Caledonia Estimated | 32.02 | +0.45 |
| 105 | Seychelles Estimated | 31.88 | +0.33 |
| 106 | Brazil Estimated | 31.81 | +0.45 |
| 107 | Saint Lucia Estimated | 31.74 | +0.42 |
| 108 | French Polynesia Estimated | 31.63 | +0.74 |
| 109 | Sri Lanka Estimated | 31.55 | +0.27 |
| 110 | Costa Rica Estimated | 31.54 | +0.47 |
| 111 | Grenada Estimated | 30.95 | +0.5 |
| 112 | United Arab Emirates Estimated | 30.83 | -0 |
| 113 | Qatar Estimated | 30.79 | +0.31 |
| 114 | Bahrain Estimated | 30.73 | +0.38 |
| 115 | Argentina Estimated | 30.49 | +0.23 |
| 116 | Guam Estimated | 30.48 | +0.26 |
| 117 | Türkiye Estimated | 30.45 | +0.3 |
| 118 | Tunisia Estimated | 30.41 | +0.35 |
| 119 | Azerbaijan Estimated | 30.33 | +0.26 |
| 120 | Iran Estimated | 30.25 | +0.51 |
| 121 | Western Sahara Estimated | 30.19 | +0.38 |
| 122 | Vietnam Estimated | 30.17 | +0.36 |
| 123 | Colombia Estimated | 29.73 | +0.36 |
| 124 | Brunei Estimated | 29.58 | +0.38 |
| 125 | Jamaica Estimated | 29.25 | +0.49 |
| 126 | Israel Estimated | 28.89 | +0.03 |
| 127 | Kazakhstan Estimated | 28.88 | +0.21 |
| 128 | Oman Estimated | 28.77 | +0.29 |
| 129 | Indonesia Estimated | 28.62 | +0.27 |
| 130 | Saudi Arabia Estimated | 28.32 | +0.21 |
| 131 | Lebanon Estimated | 28.27 | -0.15 |
| 132 | Myanmar Estimated | 28.17 | +0.27 |
| 133 | Panama Estimated | 28.07 | +0.27 |
| 134 | Maldives Estimated | 27.99 | +0.49 |
| 135 | Peru Estimated | 27.91 | +0.3 |
| 136 | Malaysia Estimated | 27.81 | +0.34 |
| 137 | Morocco Estimated | 27.49 | +0.37 |
| 138 | Venezuela Estimated | 27.41 | +0.4 |
| 139 | Mexico Estimated | 27.27 | +0.35 |
| 140 | Algeria Estimated | 27.23 | +0.21 |
| 141 | Suriname Estimated | 27.1 | +0.2 |
| 142 | Fiji Estimated | 26.47 | +0.3 |
| 143 | Ecuador Estimated | 26.47 | +0.37 |
| 144 | South Africa Estimated | 26.47 | +0.41 |
| 145 | Bhutan Estimated | 26.46 | +0.58 |
| 146 | India Estimated | 26.31 | +0.35 |
| 147 | Mongolia Estimated | 26.25 | +0.15 |
| 148 | Uzbekistan Estimated | 26.1 | +0.28 |
| 149 | Dominican Republic Estimated | 26.08 | +0.31 |
| 150 | Libya Estimated | 26.01 | +0.22 |
| 151 | American Samoa Estimated | 25.83 | +0.5 |
| 152 | Tokelau Estimated | 25.7 | +0.08 |
| 153 | Cape Verde Estimated | 25.63 | +0.43 |
| 154 | Turkmenistan Estimated | 24.9 | +0.22 |
| 155 | El Salvador Estimated | 24.9 | +0.38 |
| 156 | Paraguay Estimated | 24.89 | +0.32 |
| 157 | French Guiana Estimated | 24.6 | +0.51 |
| 158 | Cambodia Estimated | 24.45 | +0.44 |
| 159 | Kyrgyzstan Estimated | 24.33 | +0.11 |
| 160 | Guyana Estimated | 24.33 | +0.31 |
| 161 | Tuvalu Estimated | 24.28 | +0.12 |
| 162 | Bangladesh Estimated | 24.2 | +0.18 |
| 163 | Belize Estimated | 23.9 | +0.37 |
| 164 | Nicaragua Estimated | 23.65 | +0.33 |
| 165 | Bolivia Estimated | 23.54 | +0.26 |
| 166 | Philippines Estimated | 23.33 | +0.37 |
| 167 | Egypt Estimated | 23.17 | +0.12 |
| 168 | Djibouti Estimated | 22.91 | +0.3 |
| 169 | Laos Estimated | 22.8 | +0.28 |
| 170 | Jordan Estimated | 22.54 | +0.36 |
| 171 | Haiti Estimated | 22.25 | +0.25 |
| 172 | Nepal Estimated | 22.1 | +0.31 |
| 173 | Botswana Estimated | 21.94 | +0.13 |
| 174 | Honduras Estimated | 21.91 | +0.34 |
| 175 | Kiribati Estimated | 21.81 | +0.18 |
| 176 | Micronesia Estimated | 21.68 | +0.22 |
| 177 | Gabon Estimated | 21.44 | +0.04 |
| 178 | Papua New Guinea Estimated | 21.35 | +0.19 |
| 179 | Marshall Islands Estimated | 21.19 | +0.21 |
| 180 | Tajikistan Estimated | 21.14 | +0.14 |
| 181 | Equatorial Guinea Estimated | 21.11 | +0.06 |
| 182 | Tonga Estimated | 20.91 | +0.09 |
| 183 | Guatemala Estimated | 20.9 | +0.31 |
| 184 | Nauru Estimated | 20.8 | +0.22 |
| 185 | Eswatini Estimated | 20.72 | +0.29 |
| 186 | Lesotho Estimated | 20.69 | +0.13 |
| 187 | Namibia Estimated | 20.68 | +0.06 |
| 188 | Samoa Estimated | 20.4 | +0.11 |
| 189 | Vanuatu Estimated | 20.21 | 0 |
| 190 | Ghana Estimated | 20.12 | +0.12 |
| 191 | Timor-Leste Estimated | 19.55 | +0.28 |
| 192 | Pakistan Estimated | 19.52 | +0.12 |
| 193 | Solomon Islands Estimated | 19.33 | +0.18 |
| 194 | Comoros Estimated | 19.22 | +0.21 |
| 195 | Iraq Estimated | 19.12 | +0.23 |
| 196 | Syria Estimated | 19.07 | +0.49 |
| 197 | Palestine Estimated | 19.04 | +0.1 |
| 198 | Rwanda Estimated | 18.62 | +0.11 |
| 199 | Togo Estimated | 18.33 | +0.06 |
| 200 | Kenya Estimated | 18.29 | +0.24 |
| 201 | Sierra Leone Estimated | 18.2 | +0.19 |
| 202 | São Tomé and Príncipe Estimated | 18.16 | +0.13 |
| 203 | Madagascar Estimated | 18.06 | +0.19 |
| 204 | Republic of the Congo Estimated | 18.06 | -0.03 |
| 205 | Guinea-Bissau Estimated | 18.01 | +0.17 |
| 206 | Senegal Estimated | 17.96 | +0.17 |
| 207 | Yemen Estimated | 17.95 | +0.08 |
| 208 | Côte d’Ivoire Estimated | 17.78 | -0 |
| 209 | Ethiopia Estimated | 17.72 | +0.22 |
| 210 | Liberia Estimated | 17.68 | +0.06 |
| 211 | Eritrea Estimated | 17.61 | +0.15 |
| 212 | Sudan Estimated | 17.5 | +0.26 |
| 213 | Cameroon Estimated | 17.32 | +0.04 |
| 214 | Gambia Estimated | 17.3 | +0.16 |
| 215 | Guinea Estimated | 17.29 | +0.14 |
| 216 | Benin Estimated | 17.25 | +0.07 |
| 217 | Zimbabwe Estimated | 17.02 | +0.14 |
| 218 | Nigeria Estimated | 16.92 | +0.11 |
| 219 | Tanzania Estimated | 16.76 | +0.09 |
| 220 | Mauritania Estimated | 16.73 | +0.02 |
| 221 | Zambia Estimated | 16.59 | +0.17 |
| 222 | Malawi Estimated | 16.5 | +0.18 |
| 223 | Mayotte Estimated | 16.47 | +0.29 |
| 224 | Burkina Faso Estimated | 16.3 | +0.11 |
| 225 | Angola Estimated | 16.29 | +0.01 |
| 226 | South Sudan Estimated | 16.08 | -0.06 |
| 227 | Afghanistan Estimated | 16.05 | +0.18 |
| 228 | Mozambique Estimated | 16.01 | +0.06 |
| 229 | Democratic Republic of the Congo Estimated | 15.88 | -0.01 |
| 230 | Uganda Estimated | 15.46 | +0.24 |
| 231 | Somalia Estimated | 15.16 | +0.07 |
| 232 | Burundi Estimated | 15.03 | +0.06 |
| 233 | Mali Estimated | 14.95 | +0.04 |
| 234 | Chad Estimated | 14.77 | +0.07 |
| 235 | Niger Estimated | 14.59 | +0.09 |
| 236 | Central African Republic Estimated | 14.36 | -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.42 years in 2018, 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.36 years in 2018.
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