Your country comes first in the rankings, in Compare and on the home page, and sets the units you start with.

Settings Sources Changelog Feedback
Wikipedia ↗
Flag of Mexico City
Compare with…
Population 9.2 million #112 of 1581 · in Mexico #2 of 32 · 2020
Area 573 sq mi #1443 of 1573 · in Mexico #32 of 32
People per km² 16,063 per sq mi #15 of 1571 · in Mexico #1 of 32 · 2020

Did you know?

  • Mexico City is the 1st most densely populated of the 32 states of Mexico.
  • Mexico City has the 2nd most people of the 32 states of Mexico.
  • 7% of the people of Mexico live in Mexico City.
  • Mexico City has about as many people as Austria.
  • Mexico City is about as large as Faroe Islands.
  • Mexico City is the smallest of the 32 states of Mexico.

Mexico City in Mexico

Natural Earth

In Mexico City

All the data

FactValueYearRankSource
Population 9,209,944 2020 #112 of 1581 Wikidata: population, area, capital, flag, official languages, highest point (each region's population checked against its country's); for Bangladesh, Ghana, Saudi Arabia, Iraq and Uzbekistan the population of newer censuses from the regions' English Wikipedia articles (CC BY-SA 4.0), and their area checked against the outline and the article
Area 573 sq mi – #1443 of 1573 Wikidata: population, area, capital, flag, official languages, highest point (each region's population checked against its country's); for Bangladesh, Ghana, Saudi Arabia, Iraq and Uzbekistan the population of newer censuses from the regions' English Wikipedia articles (CC BY-SA 4.0), and their area checked against the outline and the article
People per km² 16,063 per sq mi 2020 #15 of 1571 Wikidata: population, area, capital, flag, official languages, highest point (each region's population checked against its country's); for Bangladesh, Ghana, Saudi Arabia, Iraq and Uzbekistan the population of newer censuses from the regions' English Wikipedia articles (CC BY-SA 4.0), and their area checked against the outline and the article

Smart Infographics · smartinfographics.com/en/regions/mexico-city · CC BY 4.0 · data and photos: the sources and licences named above