1. WeatherSpark.com
  2. China
  3. Shanghai
  4. Shanghai

Average Weather in Shanghai China

In Shanghai, the summers are hot, oppressive, wet, and mostly cloudy and the winters are very cold, windy, and partly cloudy. Over the course of the year, the temperature typically varies from 35°F to 90°F and is rarely below 27°F or above 96°F.

Climate Summary

coldcoolwarmhotwarmcoolcoldJanFebMarAprMayJunJulAugSepOctNovDec73%73%25%25%clearovercastprecipitation: 6.8 inprecipitation: 6.8 in1.3 in1.3 inmuggy: 100%muggy: 100%0%0%drydrytourism score: 7.5tourism score: 7.50.20.2
Click on each chart for more information.

Based on the tourism score, the best time of year to visit Shanghai for warm-weather activities is from mid September to mid October.

Temperature

The hot season lasts for 3.0 months, from June 17 to September 15, with an average daily high temperature above 81°F. The hottest day of the year is July 28, with an average high of 90°F and low of 79°F.

The cool season lasts for 3.2 months, from December 5 to March 13, with an average daily high temperature below 54°F. The coldest day of the year is January 20, with an average low of 35°F and high of 45°F.

Average High and Low Temperature

The daily average high (red line) and low (blue line) temperature, with 25th to 75th and 10th to 90th percentile bands. The thin dotted lines are the corresponding average perceived temperatures.

The figure below shows you a compact characterization of the entire year of hourly average temperatures. The horizontal axis is the day of the year, the vertical axis is the hour of the day, and the color is the average temperature for that hour and day.

Average Hourly Temperature

Average Hourly Temperature in ShanghaiJanFebMarAprMayJunJulAugSepOctNovDec12 AM4 AM8 AM12 PM4 PM8 PM12 AMvery coldwarmhotcoldcoldcoolcoolcoldcomfortablevery coldcomfortablevery cold
The average hourly temperature, color coded into bands: frigid < 15°F < freezing < 32°F < very cold < 45°F < cold < 55°F < cool < 65°F < comfortable < 75°F < warm < 85°F < hot < 95°F < sweltering. The shaded overlays indicate night and civil twilight.

Kitty Hawk, North Carolina, United States (7,665 miles away) and Hashtpar, Iran (4,057 miles) are the far-away foreign places with temperatures most similar to Shanghai (view comparison).

Clouds

In Shanghai, the average percentage of the sky covered by clouds experiences significant seasonal variation over the course of the year.

The clearer part of the year in Shanghai begins around September 1 and lasts for 6.5 months, ending around March 16. On December 13, the clearest day of the year, the sky is clear, mostly clear, or partly cloudy 73% of the time, and overcast or mostly cloudy 27% of the time.

The cloudier part of the year begins around March 16 and lasts for 5.5 months, ending around September 1. On July 5, the cloudiest day of the year, the sky is overcast or mostly cloudy 75% of the time, and clear, mostly clear, or partly cloudy 25% of the time.

Cloud Cover Categories

Cloud Cover Categories in ShanghaiclearerclearercloudierJanFebMarAprMayJunJulAugSepOctNovDec0%100%10%90%20%80%30%70%40%60%50%50%60%40%70%30%80%20%90%10%100%0%Dec 1373%Dec 1373%Jul 525%Jul 525%Sep 149%Sep 149%Mar 1649%Mar 1649%clearovercastmostly clearpartly cloudymostly cloudy
The percentage of time spent in each cloud cover band, categorized by the percentage of the sky covered by clouds: clear < 20% < mostly clear < 40% < partly cloudy < 60% < mostly cloudy < 80% < overcast.

Precipitation

A wet day is one with at least 0.04 inches of liquid or liquid-equivalent precipitation. The chance of wet days in Shanghai varies significantly throughout the year.

The wetter season lasts 6.5 months, from February 26 to September 10, with a greater than 30% chance of a given day being a wet day. The chance of a wet day peaks at 47% on June 26.

The drier season lasts 5.6 months, from September 10 to February 26. The smallest chance of a wet day is 13% on December 18.

Among wet days, we distinguish between those that experience rain alone, snow alone, or a mixture of the two. Based on this categorization, the most common form of precipitation throughout the year is rain alone, with a peak probability of 47% on June 26.

Daily Chance of Precipitation

Daily Chance of Precipitation in ShanghaiwetdrydryJanFebMarAprMayJunJulAugSepOctNovDec0%10%20%30%40%50%60%70%80%90%100%Jun 2647%Jun 2647%Dec 1813%Dec 1813%Feb 2630%Feb 2630%Sep 1030%Sep 1030%rain
The percentage of days in which various types of precipitation are observed, excluding trace quantities: rain alone, snow alone, and mixed (both rain and snow fell in the same day).

Rainfall

To show variation within the months and not just the monthly totals, we show the rainfall accumulated over a sliding 31-day period centered around each day of the year. Shanghai experiences extreme seasonal variation in monthly rainfall.

Rain falls throughout the year in Shanghai. The most rain falls during the 31 days centered around June 25, with an average total accumulation of 6.8 inches.

The least rain falls around December 20, with an average total accumulation of 1.3 inches.

Average Monthly Rainfall

The average rainfall (solid line) accumulated over the course of a sliding 31-day period centered on the day in question, with 25th to 75th and 10th to 90th percentile bands. The thin dotted line is the corresponding average liquid-equivalent snowfall.

Sun

The length of the day in Shanghai varies significantly over the course of the year. In 2017, the shortest day is December 22, with 10 hours, 7 minutes of daylight; the longest day is June 21, with 14 hours, 11 minutes of daylight.

Hours of Daylight and Twilight

The number of hours during which the Sun is visible (black line). From bottom (most yellow) to top (most gray), the color bands indicate: full daylight, twilight (civil, nautical, and astronomical), and full night.

The earliest sunrise is at 4:49 AM on June 12, and the latest sunrise is 2 hours, 4 minutes later at 6:53 AM on January 9. The earliest sunset is at 4:51 PM on December 3, and the latest sunset is 2 hours, 11 minutes later at 7:02 PM on July 1.

Daylight saving time (DST) is not observed in Shanghai during 2017.

Sunrise & Sunset with Twilight

Sunrise & Sunset with Twilight in ShanghaiJanFebMarAprMayJunJulAugSepOctNovDec12 AM2 AM4 AM6 AM8 AM10 AM12 PM2 PM4 PM6 PM8 PM10 PM12 AMJun 124:49 AMJun 124:49 AM7:02 PMJul 17:02 PMJul 1Dec 34:51 PMDec 34:51 PM6:53 AMJan 96:53 AMJan 9daynightnightnightnightSolarMidnightSolarMidnightSolarNoonSunriseSunset
The solar day over the course of the year 2017. From bottom to top, the black lines are the previous solar midnight, sunrise, solar noon, sunset, and the next solar midnight. The day, twilights (civil, nautical, and astronomical), and night are indicated by the color bands from yellow to gray.

Humidity

We base the humidity comfort level on the dew point, as it determines whether perspiration will evaporate from the skin, thereby cooling the body. Lower dew points feel drier and higher dew points feel more humid. Unlike temperature, which typically varies significantly between night and day, dew point tends to change more slowly, so while the temperature may drop at night, a muggy day is typically followed by a muggy night.

Shanghai experiences extreme seasonal variation in the perceived humidity.

The muggier period of the year lasts for 4.7 months, from May 18 to October 8, during which time the comfort level is muggy, oppressive, or miserable at least 25% of the time. The muggiest day of the year is July 25, with muggy conditions 100% of the time.

The least muggy day of the year is January 29, when muggy conditions are essentially unheard of.

Humidity Comfort Levels

Humidity Comfort Levels in ShanghaimuggyJanFebMarAprMayJunJulAugSepOctNovDec0%10%20%30%40%50%60%70%80%90%100%Jan 290%Jan 290%100%Jul 25100%Jul 25May 1825%May 1825%Oct 825%Oct 825%drydrymiserablemiserableoppressiveoppressivehumidhumidmuggymuggycomfortablecomfortable
The percentage of time spent at various humidity comfort levels, categorized by dew point: dry < 55°F < comfortable < 60°F < humid < 65°F < muggy < 70°F < oppressive < 75°F < miserable.

Wind

This section discusses the wide-area hourly average wind vector (speed and direction) at 10 meters above the ground. The wind experienced at any given location is highly dependent on local topography and other factors, and instantaneous wind speed and direction vary more widely than hourly averages.

The average hourly wind speed in Shanghai experiences mild seasonal variation over the course of the year.

The windier part of the year lasts for 6.2 months, from November 14 to May 21, with average wind speeds of more than 11.2 miles per hour. The windiest day of the year is March 10, with an average hourly wind speed of 12.0 miles per hour.

The calmer time of year lasts for 5.8 months, from May 21 to November 14. The calmest day of the year is June 24, with an average hourly wind speed of 10.4 miles per hour.

Average Wind Speed

Average Wind Speed in ShanghaiwindywindyJanFebMarAprMayJunJulAugSepOctNovDec0 mph2 mph4 mph6 mph8 mph10 mph12 mph14 mph16 mph18 mphMar 1012.0 mphMar 1012.0 mphJun 2410.4 mphJun 2410.4 mphNov 1411.2 mphNov 1411.2 mph
The average of mean hourly wind speeds (dark gray line), with 25th to 75th and 10th to 90th percentile bands.

The predominant average hourly wind direction in Shanghai varies throughout the year.

The wind is most often from the east for 1.4 weeks, from April 1 to April 11; for 1.0 months, from May 21 to June 21; and for 1.6 months, from August 11 to September 29, with a peak percentage of 44% on September 13. The wind is most often from the south for 1.3 months, from April 11 to May 21 and for 1.7 months, from June 21 to August 11, with a peak percentage of 53% on July 21. The wind is most often from the north for 6.1 months, from September 29 to April 1, with a peak percentage of 54% on January 1.

Wind Direction

Wind Direction in ShanghaiNESESENJanFebMarAprMayJunJulAugSepOctNovDec0%100%20%80%40%60%60%40%80%20%100%0%southeastnorthwest
The percentage of hours in which the mean wind direction is from each of the four cardinal wind directions (north, east, south, and west), excluding hours in which the mean wind speed is less than 1 mph. The lightly tinted areas at the boundaries are the percentage of hours spent in the implied intermediate directions (northeast, southeast, southwest, and northwest).

Water Temperature

Shanghai is located near a large body of water (e.g., ocean, sea, or large lake). This section reports on the wide-area average surface temperature of that water.

The average water temperature experiences significant seasonal variation over the course of the year.

The time of year with warmer water lasts for 3.3 months, from June 26 to October 2, with an average temperature above 74°F. The day of the year with the warmest water is August 8, with an average temperature of 82°F.

The time of year with cooler water lasts for 3.3 months, from December 24 to April 4, with an average temperature below 52°F. The day of the year with the coolest water is February 10, with an average temperature of 45°F.

Average Water Temperature

The daily average water temperature (purple line), with 25th to 75th and 10th to 90th percentile bands.

Best Time of Year to Visit

To characterize how pleasant the weather is in Shanghai throughout the year, we compute two travel scores.

The tourism score favors clear, rainless days with perceived temperatures between 65°F and 80°F. Based on this score, the best time of year to visit Shanghai for general outdoor tourist activities is from mid September to mid October, with a peak score in the first week of October.

Tourism Score

Tourism Score in ShanghaiJanFebMarAprMayJunJulAugSepOctNovDec02468107.57.50.20.26.56.53.43.4precipitationprecipitationcloudscloudstemperaturetemperaturetourism score
The tourism score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

The beach/pool score favors clear, rainless days with perceived temperatures between 75°F and 90°F. Based on this score, the best time of year to visit Shanghai for hot-weather activities is from early August to late September, with a peak score in the first week of September.

Beach/Pool Score

Beach/Pool Score in Shanghaibest timeJanFebMarAprMayJunJulAugSepOctNovDec02468106.16.10.00.0 precipitationprecipitationcloudscloudstemperaturetemperaturebeach/pool score
The beach/pool score (filled area), and its constituents: the temperature score (red line), the cloud cover score (blue line), and the precipitation score (green line).

Methodology

For each hour between 8:00 AM and 9:00 PM of each day in the analysis period (1980 to 2016), independent scores are computed for perceived temperature, cloud cover, and total precipitation. Those scores are combined into a single hourly composite score, which is then aggregated into days, averaged over all the years in the analysis period, and smoothed.

Our cloud cover score is 10 for fully clear skies, falling linearly to 9 for mostly clear skies, and to 1 for fully overcast skies.

Our precipitation score, which is based on the three-hour precipitation centered on the hour in question, is 10 for no precipitation, falling linearly to 9 for trace precipitation, and to 0 for 0.04 inches of precipitation or more.

Our tourism temperature score is 0 for perceived temperatures below 50°F, rising linearly to 9 for 65°F, to 10 for 75°F, falling linearly to 9 for 80°F, and to 1 for 90°F or hotter.

Our beach/pool temperature score is 0 for perceived temperatures below 65°F, rising linearly to 9 for 75°F, to 10 for 82°F, falling linearly to 9 for 90°F, and to 1 for 100°F or hotter.

Growing Season

Definitions of the growing season vary throughout the world, but for the purposes of this report, we define it as the longest continuous period of non-freezing temperatures (≥ 32°F) in the year (the calendar year in the Northern Hemisphere, or from July 1 until June 30 in the Southern Hemisphere).

The growing season in Shanghai typically lasts for 9.5 months (288 days), from around February 25 to around December 9, rarely starting before February 3 or after March 20, and rarely ending before November 21 or after December 29.

Time Spent in Various Temperature Bands and the Growing Season

Time Spent in Various Temperature Bands and the Growing Season in Shanghaigrowing seasonJanFebMarAprMayJunJulAugSepOctNovDec0%100%10%90%20%80%30%70%40%60%50%50%60%40%70%30%80%20%90%10%100%0%50%Feb 2550%Feb 2550%Dec 950%Dec 990%Mar 2090%Mar 2090%Nov 2190%Nov 2110%Feb 310%Feb 310%Dec 2910%Dec 290%Jan 140%Jan 14Jul 28100%Jul 28100%warmhotcoldcoolvery coldcomfortable
The percentage of time spent in various temperature bands: frigid < 15°F < freezing < 32°F < very cold < 45°F < cold < 55°F < cool < 65°F < comfortable < 75°F < warm < 85°F < hot < 95°F < sweltering. The black line is the percentage chance that a given day is within the growing season.

Growing degree days are a measure of yearly heat accumulation used to predict plant and animal development, and defined as the integral of warmth above a base temperature, discarding any excess above a maximum temperature. In this report, we use a base of 50°F and a cap of 86°F.

Based on growing degree days alone, the first spring blooms in Shanghai should appear around March 19, only rarely appearing before March 3 or after April 7.

Growing Degree Days

The average growing degree days accumulated over the course of the year, with 25th to 75th and 10th to 90th percentile bands.

Solar Energy

This section discusses the total daily incident shortwave solar energy reaching the surface of the ground over a wide area, taking full account of seasonal variations in the length of the day, the elevation of the Sun above the horizon, and absorption by clouds and other atmospheric constituents. Shortwave radiation includes visible light and ultraviolet radiation.

The average daily incident shortwave solar energy experiences significant seasonal variation over the course of the year.

The brighter period of the year lasts for 1.9 months, from April 22 to June 18, with an average daily incident shortwave energy per square meter above 5.4 kWh. The brightest day of the year is May 22, with an average of 6.0 kWh.

The darker period of the year lasts for 3.0 months, from November 7 to February 7, with an average daily incident shortwave energy per square meter below 3.5 kWh. The darkest day of the year is January 3, with an average of 2.9 kWh.

Average Daily Incident Shortwave Solar Energy

Average Daily Incident Shortwave Solar Energy in ShanghaibrightdarkdarkJanFebMarAprMayJunJulAugSepOctNovDec0 kWh1 kWh2 kWh3 kWh4 kWh5 kWh6 kWh7 kWh8 kWhMay 226.0 kWhMay 226.0 kWhJan 32.9 kWhJan 32.9 kWhNov 73.5 kWhNov 73.5 kWh
The average daily shortwave solar energy reaching the ground per square meter (orange line), with 25th to 75th and 10th to 90th percentile bands.

Topography

For the purposes of this report, the geographical coordinates of Shanghai are 31.222 deg latitude, 121.458 deg longitude, and 33 ft elevation.

The topography within 2 miles of Shanghai contains only modest variations in elevation, with a maximum elevation change of 262 feet and an average elevation above sea level of 40 feet. Within 10 miles also contains only modest variations in elevation (335 feet). Within 50 miles contains only modest variations in elevation (719 feet).

The area within 2 miles of Shanghai is covered by artificial surfaces (98%), within 10 miles by artificial surfaces (85%), and within 50 miles by water (50%) and cropland (35%).

Data Sources

This report illustrates the typical weather in Shanghai, based on a statistical analysis of historical hourly weather reports and model reconstructions from January 1, 1980 to December 31, 2016.

Temperature and Dew Point

There are 2 weather stations near enough to contribute to our estimation of the temperature and dew point in Shanghai.

For each station, the records are corrected for the elevation difference between that station and Shanghai according to the International Standard Atmosphere , and by the relative change present in the MERRA-2 satellite-era reanalysis between the two locations.

The estimated value at Shanghai is computed as the weighted average of the individual contributions from each station, with weights proportional to the inverse of the distance between Shanghai and a given station.

The stations contributing to this reconstruction are: Shanghai Hongqiao International Airport (83%, 12 kilometers, west) and Shanghai Pudong International Airport (17%, 34 kilometers, east).

Other Data

All data relating to the Sun's position (e.g., sunrise and sunset) are computed using astronomical formulas from the book, Astronomical Tables of the Sun, Moon and Planets , by Jean Meeus.

All other weather data, including cloud cover, precipitation, wind speed and direction, and solar flux, come from NASA's MERRA-2 Modern-Era Retrospective Analysis . This reanalysis combines a variety of wide-area measurements in a state-of-the-art global meteorological model to reconstruct the hourly history of weather throughout the world on a 50-kilometer grid.

Land Use data comes from the Global Land Cover SHARE database , published by the Food and Agriculture Organization of the United Nations.

Elevation data comes from the Shuttle Radar Topography Mission (SRTM) , published by NASA's Jet Propulsion Laboratory.

Names, locations, and time zones of places and some airports come from the GeoNames Geographical Database .

Time zones for aiports and weather stations are provided by AskGeo.com .

Maps are © Esri, with data from National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, and iPC.

Disclaimer

The information on this site is provided as is, without any assurances as to its accuracy or suitability for any purpose. Weather data is prone to errors, outages, and other defects. We assume no responsibility for any decisions made on the basis of the content presented on this site.

We draw particular cautious attention to our reliance on the MERRA-2 model-based reconstructions for a number of important data series. While having the tremendous advantages of temporal and spatial completeness, these reconstructions: (1) are based on computer models that may have model-based errors, (2) are coarsely sampled on a 50 km grid and are therefore unable to reconstruct the local variations of many microclimates, and (3) have particular difficulty with the weather in some coastal areas, especially small islands.

We further caution that our travel scores are only as good as the data that underpin them, that weather conditions at any given location and time are unpredictable and variable, and that the definition of the scores reflects a particular set of preferences that may not agree with those of any particular reader.