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 ↗

Shanghai

Province · China · capital Huangpu District

Compare with…
Population 24.9 million #54 of 1581 · in China #23 of 31 · 2020
Area 2,448 sq mi #1037 of 1573 · in China #31 of 31
People per km² 10,159 per sq mi #28 of 1571 · in China #1 of 31 · 2020
Highest point 338 ft #419 of 424 · in China #28 of 28

Did you know?

  • Shanghai is the 1st most densely populated of the 31 provinces of China.
  • 1.8% of the people of China live in Shanghai.
  • Shanghai has about as many people as Mali.
  • Shanghai is about as large as Palestine.
  • Shanghai is the smallest of the 31 provinces of China.

Shanghai in China

Natural Earth

In Shanghai

Highest point: Mount Dajin (338 ft).

All the data

FactValueYearRankSource
Population 24,870,895 2020 #54 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 2,448 sq mi – #1037 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² 10,159 per sq mi 2020 #28 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
Highest point 338 ft – #419 of 424 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/shanghai · CC BY 4.0 · data and photos: the sources and licences named above