Shanghai — illustration

Shanghai (province)

Eastern Asia · Asia · China

16°61°
avg temp
134
sunny days / yr
1,009 mm39.7 in
annual rainfall
Jul
warmest
28°C82°F
Jan
coolest
4°C40°F

Area-weighted average across Shanghai. For where people actually live and travel, see the cities below.

Sunny days per month

10
J
9
F
12
M
11
A
8
M
12
J
14
J
12
A
12
S
12
O
12
N
10
D
Spring FlingSweater Weather
December
driest month
June
wettest month

Month-by-month details

Hot StuffBeach BumSpring FlingJungle FeverWinter WonderlandSweater Weather
MonthTemperatureTempRainfallRainSunny daysSun
January4.2°C39.6°F39 mm1.5″10/31
February5.4°C41.7°F53 mm2.1″9/29
March8.9°C48°F67 mm2.6″12/31
April14.4°C57.9°F81 mm3.2″11/30
May19.5°C67.1°F96 mm3.8″8/31
June23.6°C74.5°F159 mm6.3″12/30
July27.8°C82°F133 mm5.2″14/31
August27.6°C81.7°F123 mm4.8″12/31
September23.5°C74.3°F129 mm5.1″12/30
October18.5°C65.3°F46 mm1.8″12/31
November12.7°C54.9°F45 mm1.8″12/30
December6.7°C44.1°F38 mm1.5″10/31

Cities in Shanghai

Point-value climate at each city — often quite different from the regional average.

More in China

Frequently asked questions

What is the best time to visit Shanghai?

The best months to visit Shanghai, China for sunny, dry weather are October. The warmest month is July at an area-wide average of 27.8°C / 82°F, and the driest is December with about 38 mm / 1.5 in of rainfall.

What is the climate of Shanghai?

Shanghai, China has area-weighted monthly average temperatures ranging from 4.2°C / 39.6°F in January to 27.8°C / 82°F in July. Annual rainfall averages about 1009 mm / 39.7 in, with the wettest month being June (159 mm / 6.3 in) and the driest December (38 mm / 1.5 in). Because this is an area average across the whole subdivision, local city values can differ substantially.

What is the hottest month in Shanghai?

The hottest month in Shanghai is July, with an area-wide average temperature of 27.8°C / 82°F.

What is the coldest month in Shanghai?

The coldest month in Shanghai is January, with an area-wide average temperature of 4.2°C / 39.6°F.

When does it rain most in Shanghai?

The wettest month in Shanghai is June, averaging about 159 mm / 6.3 in of rainfall. The driest is December with about 38 mm / 1.5 in.

How many sunny days does Shanghai get?

Shanghai averages around 134 sunny days per year. The sunniest month is July (14 sunny days out of 31), and the cloudiest is May (8 sunny days). These are derived from ECMWF ERA5 reanalysis radiation fields (1991–2020), calibrated against published climate normals.

About the climate in Shanghai

Shanghai, a subdivision of China, has a seasonal climate on average. Area-weighted monthly temperatures across the whole territory range from 4.2°C / 39.6°F in January to 27.8°C / 82°F in July, with rainfall from 38 mm / 1.5 in to 159 mm / 6.3 in depending on the season (1009 mm / 39.7 in total across the year). Shanghai averages about 134 sunny days a year, peaking in July (14) and lowest in May (8). See the city listed below for point-value climate at specific locations — these often differ from the area-weighted average, especially in geographically diverse subdivisions.