
Area-weighted average across Shanghai. For where people actually live and travel, see the cities below.
Month-by-month details
| Month | TemperatureTemp | RainfallRain | Sunny daysSun | |
|---|---|---|---|---|
| January | 4.2°C39.6°F | 39 mm1.5″ | 10/31 | |
| February | 5.4°C41.7°F | 53 mm2.1″ | 9/29 | |
| March | 8.9°C48°F | 67 mm2.6″ | 12/31 | |
| April | 14.4°C57.9°F | 81 mm3.2″ | 11/30 | |
| May | 19.5°C67.1°F | 96 mm3.8″ | 8/31 | |
| June | 23.6°C74.5°F | 159 mm6.3″ | 12/30 | |
| July | 27.8°C82°F | 133 mm5.2″ | 14/31 | |
| August | 27.6°C81.7°F | 123 mm4.8″ | 12/31 | |
| September | 23.5°C74.3°F | 129 mm5.1″ | 12/30 | |
| October | 18.5°C65.3°F | 46 mm1.8″ | 12/31 | |
| November | 12.7°C54.9°F | 45 mm1.8″ | 12/30 | |
| December | 6.7°C44.1°F | 38 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.