City Map Compare/San Diego vs Shanghai
vs
5 km
|

San Diego

964 km²

Shanghai

6,341 km²

San Diego vs Shanghai - City Size Comparison

San Diego vs Shanghai - City Size Comparison

San Diego

United States

Area964 km²
Population1.39M
Density1,442 /km²
Elevation422 m
Founded1769
Shanghai

China

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

Area Comparison

San Diego is 6.6x smaller than Shanghai

Population Comparison

San Diego has 17.9x fewer people than Shanghai

Is San Diego Bigger Than Shanghai?

Yes — Shanghai is 6.6x larger than San Diego by area. Shanghai spans 6,341 km² (2,448 mi²) while San Diego covers 964 km² (372 mi²) — a difference of 5,377 km². You could fit San Diego inside Shanghai approximately 6 times.

To put San Diego's size in perspective, its area of 964 km² is roughly the same size as Berlin. Meanwhile, Shanghai at 6,341 km² is about 1.5x the size of Los Angeles metro.

San Diego's footprint is roughly about 135,000 American football fields, 16 times the area of Manhattan, or 9 times the area of Paris — pick whichever unit feels intuitive. Shanghai works out to about 888,000 American football fields, 110 times the area of Manhattan, or 60 times the area of Paris.

About San Diego

San Diego is a city on the Pacific coast of Southern California, adjacent to the Mexico–United States border. It is the eighth-most populous city in the U.S. and second-most populous city in California with a population of over 1.4 million, while the San Diego metropolitan area with over 3.3 million residents is the 18th-largest metropolitan area in the country. San Diego is the county seat of San Diego County.

Known as "America's Finest City", San Diego covers 964 km² with a population of 1.4 million. The city was established in 1769. San Diego is known for San Diego Zoo, Balboa Park, Coronado Beach, among other attractions.

San Diego sits directly on the Mexico-United States border, making it California's southwesternmost major city.

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.

Also known as "Pearl of the Orient", Shanghai has an area of 6,341 km² and is home to 24.9 million people. The city dates back to 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.

Population Density

San Diego has a population density of 1,442 people per km² — a relatively spread-out city. Shanghai, with 3,922 people per km², is a moderately dense city. Shanghai is noticeably denser, packing 2.7 times more people per square kilometer.

Key Differences at a Glance

Size Ratio

San Diego fits inside Shanghai ~6 times

Density Gap

Shanghai is 2.7x more densely populated

History

Shanghai is ~478 years older

Cities Similar in Size to San Diego

San Diego covers 964 km². Cities with a similar urban footprint include Abu Dhabi (972 km²), Dallas (997 km²), Berlin (892 km²), Santiago (838 km²), or Hong Kong (1,114 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

Which is larger, San Diego or Shanghai?
Shanghai is 6.6 times larger than San Diego by area. Shanghai covers 6,341 km² while San Diego spans 964 km², a difference of 5,377 km².
How many times does San Diego fit inside Shanghai?
San Diego (964 km²) fits inside Shanghai (6,341 km²) approximately 6 times. That means Shanghai is 6.6x the area of San Diego.
What is the population difference between San Diego and Shanghai?
Shanghai has approximately 24.9 million people, while San Diego has about 1.4 million. Shanghai has 23.5 million more residents.
Which city is more densely populated, San Diego or Shanghai?
Shanghai is more densely populated with 3,922 people per km², compared to 1,442 people per km².
Which city is older, San Diego or Shanghai?
Shanghai is older, founded around 1291, while San Diego was established around 1769 — a difference of about 478 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 San Diego and Shanghai

The straight-line distance from San Diego to Shanghai is 10,609 km (6,592 miles), with an estimated flight time of ~12h 59m.

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