Shanghai vs Madrid
Shanghai is about 10× larger than Madrid by administrative area. Shanghai (China) covers 6,341 km² (2,448 mi²) with a population of 24.9 million, while Madrid (Spain) covers 604 km² (233 mi²) with 3.5 million residents.
| Metric | Shanghai | Madrid |
|---|---|---|
| Area | 6,341 km² | 604 km² |
| Area (mi²) | 2,448 mi² | 233 mi² |
| Population | 24,870,895 | 3,506,730 |
| Population density | 3,922 /km² | 5,801 /km² |
| Area ratio | Shanghai is ~10× larger by area than Madrid. | |
50 km
50 km
Both outlines are drawn at the same scale.
Frequently asked questions
Is Shanghai bigger than Madrid?
Yes — Shanghai is about 10× larger by area: 6,341 km² vs 604 km².
How big is Shanghai?
Shanghai, China, covers about 6,341 km² (2,448 mi²) of administrative area.
How big is Madrid?
Madrid, Spain, covers about 604 km² (233 mi²) of administrative area.
Which city has more people, Shanghai or Madrid?
Shanghai has the larger population: 24.9 million vs 3.5 million. Population density is about 3,922 people/km² in Shanghai and 5,801 people/km² in Madrid.
City boundaries from OpenStreetMap. Last updated 2026-10-22.
Compare other cities on the map