

Photos: San Francisco by Elijah Cobb, Pexels License; Shanghai by xiquinhosilva, CC BY 2.0, cropped.
San Francisco or Shanghai?
Our verdict in twelve categories, each scored against the same fixed benchmark cities, and the climate month by month, so you can choose for your trip.
Choose San Francisco for
- nature and the outdoors
- beaches
- live music and the arts
What lies behind each score is written up on San Francisco’s own page.
Choose Shanghai for
- prices
- shopping
- nightlife
What lies behind each score is written up on Shanghai’s own page.
Scoreboard
Twelve categories on one fixed scale from 0 to 100. The shaded stretch is the gap between the two.
What lies behind each score is written up on the two cities’ own pages: San Francisco and Shanghai.
Your match
Pick a travel style or drag the sliders, and both match scores follow your weighting.
Wins on nature and the outdoors and beaches with your weighting.
Wins on prices and shopping with your weighting.
What matters to you?
When should you go?
Pick your month. The climate figures are measured averages, not a forecast.
San Francisco in July
Shanghai in July
Daytime high, °C
Rainfall in the month, mm
Temperature and rainfall are climate normals, averaged over the years shown. San Francisco: 1981-2010 normals, Alameda Naval Air Station (9.1 km from centre). Shanghai: 1991-2020 normals, Shanghai / Hongqiao (8.1 km from centre).
Before you go
| Measure | San Francisco | Shanghai |
|---|---|---|
| Official language | - | Putonghua |
| Currency | US Dollar (USD) | Yuan Renminbi (CNY) |
| Sockets | AB120 V, 60 Hz | ACI220 V, 50 Hz |
| Driving side | Right | Right |
| Time zone | UTC-8, UTC-7 in summer | UTC+8 |
| Emergency number | 911 | Police 110, ambulance 120, fire 119 |
| Elevation | 16 m | 4 m |
| Main airport | San Francisco International Airport (SFO)18 km from centre142 non-stop destinations | Shanghai Pudong International Airport (PVG)33 km from centre207 non-stop destinations |
| Public holidays this year | 13 days | 6 days |
By the numbers
| Measure | San Francisco | Shanghai |
|---|---|---|
| City population | 873,965 | 24,870,895 |
| People per km² | 1,455 | 3,922 |
| Museums within 10 km | 51 | 45 |
| UNESCO World Heritage sites within 50 km | 0 | 0 |
| Swim season, months above 21 °C | None | 5 months |
Where else could you go?
Every comparison below shares a destination with this one, so you can follow San Francisco or Shanghai somewhere new.