Countries by median age, July 1 estimate
Vatican City had the highest median age, July 1 estimate of 236 countries in 2020, at 60.33 years. The Central African Republic had the lowest, at 14.41 years. The median was 30.99 years. Source: United Nations, Department of Economic and Social Affairs, Population Division.
Top 40 countries, 2020
Full ranking
| Rank | Countries | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | Vatican City Estimated | 60.33 | +0.04 |
| 2 | Monaco Estimated | 54.76 | +0.12 |
| 3 | Saint Helena Estimated | 49.31 | +0.76 |
| 4 | Japan Estimated | 47.67 | +0.41 |
| 5 | Martinique Estimated | 47.46 | +0.43 |
| 6 | Italy Estimated | 46.4 | +0.4 |
| 7 | San Marino Estimated | 45.83 | +0.5 |
| 8 | Saint Pierre and Miquelon Estimated | 45.3 | +0.74 |
| 9 | Isle of Man Estimated | 45.12 | +0.29 |
| 10 | Portugal Estimated | 45.03 | +0.42 |
| 11 | Germany Estimated | 44.88 | -0.03 |
| 12 | U.S. Virgin Islands Estimated | 44.58 | +0.44 |
| 13 | Hong Kong Estimated | 44.43 | +0.62 |
| 14 | Guadeloupe Estimated | 44.37 | +0.52 |
| 15 | Greece Estimated | 44.32 | +0.31 |
| 16 | Puerto Rico Estimated | 44.31 | +0.57 |
| 17 | Croatia Estimated | 44.23 | +0.28 |
| 18 | Bermuda Estimated | 44.03 | +0.29 |
| 19 | Bulgaria Estimated | 43.9 | +0.27 |
| 20 | Bosnia and Herzegovina Estimated | 43.78 | +0.48 |
| 21 | Guernsey Estimated | 43.75 | +0.18 |
| 22 | Liechtenstein Estimated | 43.57 | +0.19 |
| 23 | Spain Estimated | 43.5 | +0.36 |
| 24 | Serbia Estimated | 43.39 | +0.22 |
| 25 | Lithuania Estimated | 43.15 | +0.01 |
| 26 | Slovenia Estimated | 43.02 | +0.04 |
| 27 | Latvia Estimated | 42.82 | +0.18 |
| 28 | South Korea Estimated | 42.76 | +0.58 |
| 29 | Austria Estimated | 42.57 | +0.14 |
| 30 | Hungary Estimated | 42.45 | +0.34 |
| 31 | Jersey Estimated | 42.39 | +0.34 |
| 32 | Czechia Estimated | 42.32 | +0.36 |
| 33 | Finland Estimated | 42.18 | +0.2 |
| 34 | Andorra Estimated | 42.12 | +0.39 |
| 35 | Romania Estimated | 41.96 | +0.33 |
| 36 | Taiwan Estimated | 41.73 | +0.58 |
| 37 | Switzerland Estimated | 41.67 | +0.09 |
| 38 | Netherlands Estimated | 41.53 | +0.04 |
| 39 | Estonia Estimated | 41.38 | +0.17 |
| 40 | Cuba Estimated | 41.34 | +0.25 |
| 41 | France Estimated | 41.25 | +0.17 |
| 42 | Denmark Estimated | 41.15 | +0.16 |
| 43 | Belgium Estimated | 40.81 | +0.08 |
| 44 | Ukraine Estimated | 40.79 | +0.31 |
| 45 | Montserrat Estimated | 40.55 | +0.29 |
| 46 | Aruba Estimated | 40.4 | +0.31 |
| 47 | Sint Maarten Estimated | 40.33 | +0.7 |
| 48 | Slovakia Estimated | 40.2 | +0.39 |
| 49 | Poland Estimated | 40.1 | +0.36 |
| 50 | Canada Estimated | 39.9 | +0.11 |
| 51 | Falkland Islands Estimated | 39.88 | +0.42 |
| 52 | Caribbean Netherlands Estimated | 39.65 | +0.08 |
| 53 | Belarus Estimated | 39.6 | +0.31 |
| 54 | Sweden Estimated | 39.56 | +0.03 |
| 55 | Saint Martin Estimated | 39.53 | +0.95 |
| 56 | North Macedonia Estimated | 39.33 | +0.47 |
| 57 | United Kingdom Estimated | 39.22 | +0.13 |
| 58 | Gibraltar Estimated | 39.11 | -0.05 |
| 59 | Norway Estimated | 39.04 | +0.25 |
| 60 | Malta Estimated | 38.88 | -0.02 |
| 61 | Russia Estimated | 38.69 | +0.25 |
| 62 | Montenegro Estimated | 38.67 | +0.33 |
| 63 | Luxembourg Estimated | 38.56 | +0.07 |
| 64 | Saint Barthélemy Estimated | 38.28 | +0.31 |
| 65 | Thailand Estimated | 38.21 | +0.5 |
| 66 | Barbados Estimated | 38.15 | +0.23 |
| 67 | Faroe Islands Estimated | 37.86 | 0 |
| 68 | China Estimated | 37.49 | +0.47 |
| 69 | Curaçao Estimated | 37.47 | +0.9 |
| 70 | Ireland Estimated | 37.29 | +0.41 |
| 71 | United States Estimated | 37.23 | +0.22 |
| 72 | Turks and Caicos Islands Estimated | 37.03 | +0.38 |
| 73 | Macao Estimated | 36.99 | +0.28 |
| 74 | Australia Estimated | 36.9 | +0.35 |
| 75 | Kuwait Estimated | 36.84 | +0.63 |
| 76 | Moldova Estimated | 36.83 | +0.37 |
| 77 | Palau Estimated | 36.79 | +0.35 |
| 78 | Cayman Islands Estimated | 36.76 | +0.35 |
| 79 | Cyprus Estimated | 36.53 | +0.41 |
| 80 | New Zealand Estimated | 36.46 | +0.17 |
| 81 | Georgia Estimated | 36.46 | +0.13 |
| 82 | British Virgin Islands Estimated | 36.27 | +0.41 |
| 83 | Réunion Estimated | 36.26 | +0.33 |
| 84 | Anguilla Estimated | 36.07 | +0.58 |
| 85 | Niue Estimated | 35.99 | +0.08 |
| 86 | Mauritius Estimated | 35.92 | +0.32 |
| 87 | Iceland Estimated | 35.6 | +0.14 |
| 88 | Wallis and Futuna Estimated | 35.59 | +0.53 |
| 89 | North Korea Estimated | 35.35 | +0.22 |
| 90 | Trinidad and Tobago Estimated | 35.31 | +0.59 |
| 91 | Albania Estimated | 35.13 | +0.42 |
| 92 | Armenia Estimated | 35.05 | +0.53 |
| 93 | Uruguay Estimated | 35.02 | +0.26 |
| 94 | Chile Estimated | 34.68 | +0.36 |
| 95 | Singapore Estimated | 34.48 | +0.29 |
| 96 | Dominica Estimated | 34.44 | +0.48 |
| 97 | Antigua and Barbuda Estimated | 34.26 | +0.43 |
| 98 | Saint Kitts and Nevis Estimated | 34.17 | +0.5 |
| 99 | Northern Mariana Islands Estimated | 33.61 | +0.35 |
| 100 | Greenland Estimated | 33.6 | +0.12 |
| 101 | Bahamas Estimated | 33.59 | +0.34 |
| 102 | Saint Vincent and the Grenadines Estimated | 33.13 | +0.39 |
| 103 | French Polynesia Estimated | 33.03 | +0.61 |
| 104 | New Caledonia Estimated | 32.88 | +0.4 |
| 105 | Cook Islands Estimated | 32.74 | +0.29 |
| 106 | Brazil Estimated | 32.68 | +0.43 |
| 107 | Seychelles Estimated | 32.63 | +0.4 |
| 108 | Saint Lucia Estimated | 32.57 | +0.41 |
| 109 | Costa Rica Estimated | 32.51 | +0.5 |
| 110 | Sri Lanka Estimated | 32.07 | +0.26 |
| 111 | Grenada Estimated | 31.93 | +0.48 |
| 112 | Qatar Estimated | 31.63 | +0.42 |
| 113 | Iran Estimated | 31.33 | +0.54 |
| 114 | Türkiye Estimated | 31.24 | +0.42 |
| 115 | Azerbaijan Estimated | 31.13 | +0.43 |
| 116 | Tunisia Estimated | 31.09 | +0.34 |
| 117 | Argentina Estimated | 31.08 | +0.32 |
| 118 | Vietnam Estimated | 31.03 | +0.44 |
| 119 | Bahrain Estimated | 30.95 | -0.26 |
| 120 | Western Sahara Estimated | 30.94 | +0.38 |
| 121 | United Arab Emirates Estimated | 30.86 | +0.02 |
| 122 | Guam Estimated | 30.83 | +0.12 |
| 123 | Colombia Estimated | 30.45 | +0.36 |
| 124 | Brunei Estimated | 30.35 | +0.39 |
| 125 | Jamaica Estimated | 30.23 | +0.48 |
| 126 | Kazakhstan Estimated | 29.21 | +0.15 |
| 127 | Indonesia Estimated | 29.13 | +0.24 |
| 128 | Maldives Estimated | 29.07 | +0.56 |
| 129 | Israel Estimated | 28.99 | +0.06 |
| 130 | Oman Estimated | 28.77 | -0.12 |
| 131 | Myanmar Estimated | 28.72 | +0.27 |
| 132 | Panama Estimated | 28.66 | +0.3 |
| 133 | Malaysia Estimated | 28.61 | +0.44 |
| 134 | Peru Estimated | 28.53 | +0.31 |
| 135 | Saudi Arabia Estimated | 28.49 | +0.09 |
| 136 | Venezuela Estimated | 28.25 | +0.39 |
| 137 | Morocco Estimated | 28.23 | +0.35 |
| 138 | Mexico Estimated | 27.94 | +0.32 |
| 139 | Lebanon Estimated | 27.81 | -0.13 |
| 140 | Bhutan Estimated | 27.65 | +0.59 |
| 141 | Algeria Estimated | 27.61 | +0.18 |
| 142 | Suriname Estimated | 27.5 | +0.2 |
| 143 | South Africa Estimated | 27.27 | +0.39 |
| 144 | Ecuador Estimated | 27.22 | +0.37 |
| 145 | Fiji Estimated | 27.06 | +0.28 |
| 146 | India Estimated | 27.02 | +0.36 |
| 147 | Dominican Republic Estimated | 26.7 | +0.31 |
| 148 | American Samoa Estimated | 26.67 | +0.42 |
| 149 | Uzbekistan Estimated | 26.57 | +0.21 |
| 150 | Libya Estimated | 26.46 | +0.22 |
| 151 | Mongolia Estimated | 26.41 | +0.08 |
| 152 | Cape Verde Estimated | 26.36 | +0.34 |
| 153 | Tokelau Estimated | 26.06 | +0.27 |
| 154 | El Salvador Estimated | 25.69 | +0.4 |
| 155 | Paraguay Estimated | 25.53 | +0.31 |
| 156 | Turkmenistan Estimated | 25.38 | +0.25 |
| 157 | French Guiana Estimated | 25.18 | +0.21 |
| 158 | Cambodia Estimated | 25.12 | +0.28 |
| 159 | Guyana Estimated | 24.83 | +0.22 |
| 160 | Belize Estimated | 24.67 | +0.39 |
| 161 | Kyrgyzstan Estimated | 24.64 | +0.17 |
| 162 | Bangladesh Estimated | 24.56 | +0.18 |
| 163 | Nicaragua Estimated | 24.29 | +0.31 |
| 164 | Tuvalu Estimated | 24.27 | -0.01 |
| 165 | Philippines Estimated | 24.07 | +0.39 |
| 166 | Bolivia Estimated | 24.02 | +0.22 |
| 167 | Djibouti Estimated | 23.51 | +0.3 |
| 168 | Egypt Estimated | 23.49 | +0.16 |
| 169 | Nepal Estimated | 23.45 | +0.79 |
| 170 | Laos Estimated | 23.38 | +0.29 |
| 171 | Jordan Estimated | 23.27 | +0.36 |
| 172 | Haiti Estimated | 22.76 | +0.25 |
| 173 | Honduras Estimated | 22.57 | +0.33 |
| 174 | Botswana Estimated | 22.28 | +0.17 |
| 175 | Kiribati Estimated | 22.18 | +0.19 |
| 176 | Micronesia Estimated | 22.12 | +0.23 |
| 177 | Papua New Guinea Estimated | 21.74 | +0.19 |
| 178 | Guatemala Estimated | 21.55 | +0.34 |
| 179 | Gabon Estimated | 21.46 | 0 |
| 180 | Tajikistan Estimated | 21.41 | +0.14 |
| 181 | Marshall Islands Estimated | 21.41 | +0.07 |
| 182 | Eswatini Estimated | 21.28 | +0.27 |
| 183 | Equatorial Guinea Estimated | 21.14 | -0.02 |
| 184 | Lesotho Estimated | 20.99 | +0.16 |
| 185 | Tonga Estimated | 20.89 | -0.03 |
| 186 | Nauru Estimated | 20.86 | -0.04 |
| 187 | Namibia Estimated | 20.78 | +0.04 |
| 188 | Syria Estimated | 20.44 | +0.63 |
| 189 | Ghana Estimated | 20.4 | +0.15 |
| 190 | Samoa Estimated | 20.37 | -0.05 |
| 191 | Vanuatu Estimated | 20.16 | -0.03 |
| 192 | Timor-Leste Estimated | 20.07 | +0.26 |
| 193 | Pakistan Estimated | 19.81 | +0.16 |
| 194 | Comoros Estimated | 19.68 | +0.22 |
| 195 | Solomon Islands Estimated | 19.64 | +0.15 |
| 196 | Iraq Estimated | 19.6 | +0.24 |
| 197 | Palestine Estimated | 19.29 | +0.13 |
| 198 | Rwanda Estimated | 18.88 | +0.14 |
| 199 | Kenya Estimated | 18.78 | +0.24 |
| 200 | Sierra Leone Estimated | 18.61 | +0.21 |
| 201 | Togo Estimated | 18.5 | +0.09 |
| 202 | São Tomé and Príncipe Estimated | 18.49 | +0.17 |
| 203 | Madagascar Estimated | 18.41 | +0.17 |
| 204 | Senegal Estimated | 18.39 | +0.22 |
| 205 | Guinea-Bissau Estimated | 18.36 | +0.18 |
| 206 | Ethiopia Estimated | 18.13 | +0.2 |
| 207 | Republic of the Congo Estimated | 18.07 | +0.02 |
| 208 | Yemen Estimated | 18.06 | +0.05 |
| 209 | Eritrea Estimated | 17.96 | +0.18 |
| 210 | Liberia Estimated | 17.89 | +0.12 |
| 211 | Côte d’Ivoire Estimated | 17.85 | +0.04 |
| 212 | Sudan Estimated | 17.82 | +0.14 |
| 213 | Gambia Estimated | 17.64 | +0.17 |
| 214 | Guinea Estimated | 17.57 | +0.14 |
| 215 | Cameroon Estimated | 17.44 | +0.07 |
| 216 | Benin Estimated | 17.43 | +0.1 |
| 217 | Zimbabwe Estimated | 17.36 | +0.18 |
| 218 | Nigeria Estimated | 17.21 | +0.16 |
| 219 | South Sudan Estimated | 17.02 | +0.43 |
| 220 | Zambia Estimated | 16.94 | +0.17 |
| 221 | Tanzania Estimated | 16.92 | +0.08 |
| 222 | Malawi Estimated | 16.9 | +0.2 |
| 223 | Mauritania Estimated | 16.83 | +0.05 |
| 224 | Mayotte Estimated | 16.7 | -0 |
| 225 | Burkina Faso Estimated | 16.63 | +0.18 |
| 226 | Afghanistan Estimated | 16.41 | +0.18 |
| 227 | Angola Estimated | 16.32 | +0.02 |
| 228 | Mozambique Estimated | 16.13 | +0.06 |
| 229 | Uganda Estimated | 15.92 | +0.23 |
| 230 | Democratic Republic of the Congo Estimated | 15.81 | -0.03 |
| 231 | Burundi Estimated | 15.33 | +0.14 |
| 232 | Somalia Estimated | 15.27 | +0.05 |
| 233 | Mali Estimated | 15.12 | +0.1 |
| 234 | Chad Estimated | 14.87 | +0.05 |
| 235 | Niger Estimated | 14.82 | +0.12 |
| 236 | Central African Republic Estimated | 14.41 | +0.04 |
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.33 years in 2020, 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.41 years in 2020.
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