Compare City Sizes

Shanghai vs Barcelona

Shanghai is about 63× larger than Barcelona by administrative area. Shanghai (China) covers 6,341 km² (2,448 mi²) with a population of 24.9 million, while Barcelona (Spain) covers 101 km² (39 mi²) with 1.7 million residents.

Metric Shanghai Barcelona
Area 6,341 km² 101 km²
Area (mi²) 2,448 mi² 39 mi²
Population 24,870,895 1,686,208
Population density 3,922 /km² 16,629 /km²
Area ratioShanghai is ~63× larger by area than Barcelona.
50 km
ShanghaiApproximate boundary
50 km
Barcelona

Both outlines are drawn at the same scale.

Frequently asked questions

Is Shanghai bigger than Barcelona?

Yes — Shanghai is about 63× larger by area: 6,341 km² vs 101 km².

How big is Shanghai?

Shanghai, China, covers about 6,341 km² (2,448 mi²) of administrative area.

How big is Barcelona?

Barcelona, Spain, covers about 101 km² (39 mi²) of administrative area.

Which city has more people, Shanghai or Barcelona?

Shanghai has the larger population: 24.9 million vs 1.7 million. Population density is about 3,922 people/km² in Shanghai and 16,629 people/km² in Barcelona.

City boundaries from OpenStreetMap. Last updated 2026-10-18.

Compare other cities on the map