VacationSelector

Madrid or Shanghai?

Two destinations compared on nine measures of openly sourced data. Weight what matters to you and the verdict follows.

Your match

Madrid
✓ Best match
66
match

Wins on museums & heritage and sights concentration with your weighting.

Shanghai
54
match

Wins on beaches & swimming and value for money with your weighting.

What matters to you?

Pick a travel style or drag the sliders. The match scores above update as you do.

Scoreboard

Each measure scored 0 to 100. Open a row for the figures behind the score.

MadridShanghai
Beaches & swimming. Shanghai leads by 17 points.17
MadridShanghai
Score017
Swim season months05
Beaches 10 km40
Coast distance305 km18 km
Water distance18 km
Places to eatWe cannot measure this for Shanghai.
Museums & heritage. Madrid leads by 30 points.30
MadridShanghai
Score7545
Museums within 10 km97108
Museums within 2 km of centre5928
Share of museums within 2 km %6126
Unesco sites within 50 km40
NightlifeWe cannot measure this for Shanghai.
Nature & day trips. Madrid leads by 21 points.21
MadridShanghai
Score6342
Protected land share 50 km %199
Landscape blanket share 50 km %00
Land share of disc %10082
Park area within 2 km187 hectares83 hectares
Good for families. Shanghai leads by 4 points.4
MadridShanghai
Score7781
Tourist attractions within 2 km6186
Park area within 2 km187 hectares83 hectares
Theme parks within 30 km310
Sights concentration. Madrid leads by 24 points.24
MadridShanghai
Score7551
Notable places within 2 km28873
Min wikipedia languages55
Value for money. Shanghai leads by 8 points.8
MadridShanghai
Score7179
Price level global60.849
Daily budget€122
Year-round weather. Madrid leads by 7 points.7
MadridShanghai
Score7265
Monthly daytime high10 °C to 32.7 °C8.5 °C to 33.2 °C
Monthly rainfall9 mm to 64 mm43 mm to 216 mm
Dry months70
0255075100

When should you go?

The figures behind each month. Each row is shaded against that destination's own year, so the deepest cell is its best month for that measure and the palest its weakest. Shades are not comparable between the two rows.

J
F
M
A
M
J
J
A
S
O
N
D
Daytime high, °C
Madrid
10
12
16
19
23
29
33
32
27
20
14
10
Shanghai
9
11
15
21
26
28
33
33
29
23
18
12
Sea temperature, °C
Madrid
No coastline within reach
Shanghai
8
7
10
14
19
22
26
28
26
21
17
12
Rainfall, mm
Madrid
32
34
35
46
49
20
9
10
24
64
53
42
Shanghai
69
65
88
72
84
192
151
216
97
64
53
43
Daylight, hours per day
Madrid
10
11
12
13
14
15
15
14
13
11
10
9
Shanghai
10
11
12
13
14
14
14
13
12
11
11
10
Sunshine, hours per day
Madrid
5
5
7
8
9
11
12
11
9
6
5
4
Shanghai
4
4
5
5
6
4
6
6
5
5
4
4

Temperature and rainfall are thirty-year climate normals, averaged over the years shown. Madrid: 1991-2020 normals, Madrid (1.7 km from centre). Shanghai: 1991-2020 normals, Shanghai / Hongqiao (8.1 km from centre).

WorseBetter

Getting there

Flying fromMadridShanghai
LondonLHR, LGW, STN, LTN +2
2 h 10 m
€52-105
MAD · 14 km
11 h 30 m
€528-630
1 stop
PVG · 33 km
ChengduTFU, CTU
11 h 30 m
no fares
MAD · 14 km
2 h 35 m
€216-247
PVG · 33 km
ParisCDG, ORY, BVA
1 h 55 m
€95-123
MAD · 14 km
11 h 35 m
no fares
PVG · 33 km
TokyoHND, NRT
13 h 20 m
no fares
MAD · 14 km
2 h 45 m
€326-382
PVG · 33 km
ChongqingCKG, CQW
11 h 45 m
no fares
MAD · 14 km
2 h 25 m
€175-196
PVG · 33 km
BeijingPEK, PKX
11 h 30 m
€638-793
2 stops
MAD · 14 km
2 h 0 m
€150-154
PVG · 33 km
BarcelonaBCN
1 h 15 m
€116-130
1 stop
MAD · 14 km
12 h 15 m
no fares
PVG · 33 km
Buenos AiresEZE, AEP
12 h 30 m
€1,194-1343
MAD · 14 km
23 h 45 m
€1,545-1873
2 stops
PVG · 33 km
New YorkJFK, EWR, LGA
7 h 25 m
€496-659
1 stop
MAD · 14 km
14 h 40 m
no fares
PVG · 33 km
DubaiDXB, DWC
7 h 20 m
€356-444
2 stops
MAD · 14 km
8 h 15 m
€508-557
1 stop
PVG · 33 km

The busiest departure cities for these two, with a place kept for each other part of the world. Busiest means arriving passengers where an official count exists, and where none does, the number of non-stop services flown: official route statistics are published by the European reporting countries and by nobody else, so a table ranked on them alone would offer a reader in New York or Tokyo ten European cities. Flying times are estimated from the distance between airports, and every row is a city flown non-stop to both. Where the typical offer connects anyway, the stops are shown. Under each figure is the airport the flight lands at and how far that is from the centre, because the nearest airport is not always the one a route is flown to. Where both columns name the same airport it is one flight, and the difference between the two is the distance printed beside it. Typical return fares for 2026-08 to 2026-10, cached market data up to 7 days old. The figure is the middle half of the offers found, so a single price means they agreed and a range means they did not; for a typical route that middle half spans about a quarter of the median, and for the least settled routes rather more than the median itself.

Before you go

MeasureMadridShanghai
Official languageSpanishPutonghua
CurrencyEuro (EUR)Yuan Renminbi (CNY)
SocketsCF230 V, 50 HzACI220 V, 50 Hz
Driving sideRightRight
Time zoneUTC+1, UTC+2 in summerUTC+8
Emergency number112Police 110, ambulance 120, fire 119
Elevation663 m4 m
Main airportAdolfo Suárez Madrid–Barajas Airport (MAD)14 km from centre236 non-stop destinationsShanghai Pudong International Airport (PVG)33 km from centre200 non-stop destinations
Public holidays this year12 days6 days

By the numbers

MeasureMadridShanghai
City population3,506,73024,870,895
People per km²5,8013,922
Museums within 10 km8844
UNESCO World Heritage sites within 50 km40
Distinct cuisines in the centre10664
Swim season, months above 21 °C5 months

Where else could you go?

Every comparison below shares a destination with this one, so you can follow Madrid or Shanghai somewhere new.

Browse every destination we have measured

Sources

© OpenStreetMap contributors, data available under the Open Database Licence. Place counts include data from Overture Maps Foundation (CDLA Permissive 2.0), assembled from Meta, Microsoft, Foursquare and other providers. Notable-place counts from Wikidata (CC0), weighted by Wikipedia language editions. Structured data from Wikidata (CC0). Weather data by Meteostat. Meteorological data provided by NOAA, DWD and others. Airport data from OurAirports (public domain). Tourism statistics from Eurostat, © European Union, reused under CC BY 4.0. Public holidays from Nager.Date (MIT). Non-stop route lists from the "Airlines and destinations" tables on English Wikipedia airport articles, by Wikipedia contributors, reused under CC BY-SA 4.0. Currency from the ISO 4217 register maintained by SIX, cross-checked against country data from GeoNames (CC BY 4.0). Price level from World Bank open data (PPP conversion factor for private consumption and official exchange rate), CC BY 4.0. Time zones from GeoNames (CC BY 4.0); clock offsets computed from the IANA time zone database. Sea surface temperature from NOAA OISST v2.1, NOAA Physical Sciences Laboratory. Exchange rates via Frankfurter, based on European Central Bank reference rates. Daylight hours computed from each destination's latitude using the NOAA solar position algorithm. Typical fares from Travelpayouts (Aviasales data). Route-level air passenger statistics from Eurostat, © European Union, reused under CC BY 4.0.

Scores follow rubric v2; snapshot generated 2026-08-31. Typical prices can be up to 7 days old. Daily budgets are estimates from country price levels.