City Map Compare/Lagos vs Shanghai
vs
5 km
|

Lagos

1,172 km²

Shanghai

6,341 km²

Lagos vs Shanghai - City Size Comparison

Lagos vs Shanghai - City Size Comparison

Lagos

Nigeria

Area1,172 km²
Population15.39M
Density13,131 /km²
Elevation41 m
Metro Pop.21.0M
Founded1472
Climatetropical savanna
Shanghai

China

Area6,341 km²
Population24.87M
Density3,922 /km²
Elevation4 m
Metro Pop.28.5M
Founded1291
Climatehumid subtropical

Area Comparison

Lagos is 5.4x smaller than Shanghai

Population Comparison

Lagos has 1.6x fewer people than Shanghai

Is Lagos Bigger Than Shanghai?

Yes — Shanghai is 5.4x larger than Lagos by area. Shanghai spans 6,341 km² (2,448 mi²) while Lagos covers 1,172 km² (453 mi²) — a difference of 5,169 km². You could fit Lagos inside Shanghai approximately 5 times.

To put Lagos's size in perspective, its area of 1,172 km² is about 1.3x the size of Berlin. Meanwhile, Shanghai at 6,341 km² is about 1.5x the size of Los Angeles metro.

Picture Lagos another way: its area is large enough to fit about 164,000 American football fields, 20 times the area of Manhattan, or 11 times the area of Paris. Shanghai works out to about 888,000 American football fields, 110 times the area of Manhattan, or 60 times the area of Paris.

About Lagos

Lagos, or Lagos City, is a large metropolitan port city in southwestern Nigeria. As of November 2025, the size of the city's population has been estimated to be between 17 and 21 million residents, making Lagos the largest city in Nigeria, the most populous urban area on the African continent, and one of the fastest-growing megacities in the world.

Known as "Lasgidi", Lagos covers 1,172 km² with a population of 15.4 million. The city was established in 1472. Lagos is known for Victoria Island, Lekki Conservation Centre, Nike Art Gallery, among other attractions. The city's main transit system is the Lagos Rail (Blue & Red Lines).

Lagos is the most populous urban area on the African continent, with an estimated 17 to 21 million residents as of 2025.

About Shanghai

Shanghai is a direct-administered municipality and the most populous urban area in China. It has a population of 29,558,908 in the urban area as of 2025. The city is located on the Chinese shoreline on the southern estuary of the Yangtze River, with the Huangpu River bisecting the city. Shanghai is a global center for finance, business and economics, research, science and technology, manufacturing, transportation, tourism, and culture. The Port of Shanghai is the world's busiest container port.

Nicknamed "Pearl of the Orient", Shanghai has an area of 6,341 km² and is home to 24.9 million people. It was established in 1291. Visitors come for The Bund, Oriental Pearl Tower, Shanghai Tower, and much more. Getting around is easy with the Shanghai Metro.

Shanghai's urban population reached 29.5 million in 2025, making it the most populous urban area in all of China.

Metropolitan Area Comparison

Looking beyond city limits, the Shanghai metropolitan area covers 6,341 km², which is 2.3x larger than greater Lagos at 2,706 km². The Shanghai metro area is also more populous, with 28.5 million people compared to 21.0 million.

Population Density

Lagos has a population density of 13,131 people per km² — an extremely dense urban environment. Shanghai, with 3,922 people per km², is a moderately dense city. Lagos is dramatically more crowded, with 3.3x the population density.

This comparison spans continents — Lagos in Africa versus Shanghai in Asia. Despite the geographic distance, comparing their sizes reveals surprising insights about how cities grow worldwide.

Climate & Time Zone

Lagos has a tropical savanna climate while Shanghai experiences humid subtropical conditions. Winters differ dramatically: Lagos stays around 27°C while Shanghai drops to 5°C. When it's noon in Shanghai, it's 5:00 AM in Lagos — a 7-hour time difference.

Key Differences at a Glance

Size Ratio

Lagos fits inside Shanghai ~5 times

Density Gap

Lagos is 3.3x more densely populated

Time Difference

7 hours apart

History

Shanghai is ~181 years older

Cities Similar in Size to Lagos

Lagos covers 1,172 km². Cities with a similar urban footprint include San Antonio (1,209 km²), Rio de Janeiro (1,221 km²), Hong Kong (1,114 km²), Rome (1,285 km²), or Los Angeles (1,302 km²).

Cities Similar in Size to Shanghai

Shanghai covers 6,341 km². Cities with a similar urban footprint include Perth (6,417 km²), Istanbul (5,461 km²), Guangzhou (7,434 km²), Wuhan (8,569 km²), or Dubai (4,114 km²).

Related Comparisons

Frequently Asked Questions

Is Lagos bigger than Shanghai?
Shanghai is 5.4 times larger than Lagos by area. Shanghai covers 6,341 km² while Lagos spans 1,172 km², a difference of 5,169 km².
How many times does Lagos fit inside Shanghai?
Lagos (1,172 km²) fits inside Shanghai (6,341 km²) approximately 5 times. That means Shanghai is 5.4x the area of Lagos.
What is the population difference between Lagos and Shanghai?
Shanghai has approximately 24.9 million people, while Lagos has about 15.4 million. Shanghai has 9.5 million more residents.
Which city is more densely populated, Lagos or Shanghai?
Lagos is more densely populated with 13,131 people per km², compared to 3,922 people per km².
What is the time difference between Lagos and Shanghai?
Lagos is in the UTC+1 timezone while Shanghai is UTC+8. There is a 7-hour time difference between the two cities.
Which city is older, Lagos or Shanghai?
Shanghai is older, founded around 1291, while Lagos was established around 1472 — a difference of about 181 years.
How does the map comparison work?
Our synchronized map comparison tool displays both cities at the same zoom level. When you zoom in or out on one map, the other automatically adjusts to maintain the same scale, allowing you to directly compare the relative sizes of both cities.
Can I compare other cities?
Yes! Use the city selectors at the top of the page to choose any two cities from our database of 50+ major cities worldwide, or enter custom coordinates for any location.

Distance Between Lagos and Shanghai

The straight-line distance from Lagos to Shanghai is 12,226 km (7,597 miles), with an estimated flight time of ~14h 53m.

Want to explore more? Compare city sizes for any two cities worldwide, or share your location live with friends.