WeatherJourney.com

Shanghai weather by month — averages, rainfall & climate trends

The Yangtze delta's global metropolis wears its humid subtropical climate openly — steamy summers, typhoon-season drama, and cool, surprisingly brisk winters when Siberian air can reach straight through the city's towers. Average temperatures and rainfall by month, a climate graph, today's conditions versus the long-term average, and how the climate has shifted since 1940 — all on one page for Shanghai, China.

Right now

What it's doing today vs the historical average for this date.
Overcast

Right now

27.4°

34°feels like
92%humidity
26°dew point
3 km/hfrom S
sunrise05:03sunset18:57day length13h 54m
MonShowers33°27°
TueOvercast32°27°
WedOvercast35°27°
ThuPartly cloudy36°27°
FriOvercast38°27°
SatOvercast38°28°
SunPartly cloudy38°27°

On this date — July 19

Today (forecast)
33° / 27°
Average for July 19
32° / 26°

About average

  • Record high: 36.7° · 2024
  • Record low: 21.7° · 1941
  • One year ago: 31.8°

Every July 19 in history — coldest to hottest

Daily highsDaily lows

Dots show daily highs (top) and lows (bottom) for each July 19 on record (n = 87). Outlined dots are today's forecast.

Area we sample

Each city's history comes from one ERA5 grid cell — about 28 km across, shown by the dashed box. Near mountains or coasts, conditions can vary across the cell.

Location & data

Historical weather for Shanghai is sampled from the ECMWF ERA5 reanalysis at 31.22°N, 121.46°E, with daily records since 1940.

Coordinates
31.22°N, 121.46°E
Time zone
Asia/Shanghai
Period
1940–2026
Data source
ERA5 (ECMWF)

Last 30 days

20 of the last 31 days were warmer than the historical average for that date. Average difference: +1.1°C.

Each bar is one day, from morning low to afternoon high. Warm-colored bars are days whose mean ran above average; cool bars ran below. The dot inside the bar is the daily mean. The shaded band is the typical 10–90% range expected for that date. Average = the day's mean temperature averaged across every year of record (1940–2026) for that calendar date.

This date over the years

One dot per year — the mean temperature on this calendar date. Dots are warmer or cooler than the long-term average (dashed line); the shaded band is the typical 10–90% range, and the highlighted dot is today's forecast. Based on ERA5 reanalysis — modelled estimates, not station readings.

Weather by month

Average temperatures and rainfall for each month — what a typical year looks like, from the full record.

Climate overview

Shanghai spreads along the Yangtze Estuary on China's central coast, with a humid subtropical climate (Köppen Cfa) of four distinct seasons. Summers are hot and humid; winters are cool and damp, often cold, with northwesterly winds arriving from Siberia capable of dropping temperatures sharply. Autumn tends to be the clearest and most settled season. The coastal position exposes the city to typhoons in summer and early autumn, which can deliver intense rainfall and storm surges.

Shanghai sits at the confluence of two great climatic systems — the cold continental interior to the north and the humid subtropical coastline — making for variable and sometimes extreme weather. On 21 July 2017, and again on 13 July 2022, the city set new all-time temperature records during heat events that highlighted a warming trend across recent decades.

The warmest month is July, with a daily mean around 28.1°C and typical afternoon highs of 31.2°C. On about 135 nights a year, the temperature never drops below 20°C. The coolest month is January, when daily means fall to about 4.6°C and overnight lows sit around 1.7°C. Around 13 days a year dip below freezing.

In total, Shanghai averages about 1343 mm of precipitation a year; June is usually the wettest month (266 mm) and December the driest (39 mm).

The record here starts in 1940, and since then the annual mean in Shanghai has climbed 1.7°C from the first ten years to the last ten. Days above 30°C have grown noticeably more frequent — from around 45 a year in the first decade to about 75 in the last.

Sources:en.wikipedia.orgbritannica.comcma.gov.cn

Climate graph (climograph)

July is the warmest month, January the coolest — a yearly swing of 24°C. Wettest month: June (~266 mm). Whole year averages ~1343 mm of rain.

Bars = average monthly rainfall (right axis). Lines = average daily high and low (left axis). Average = each month's value averaged across every year of record (1940–2026).

Monthly wind

Average daily peak wind at 10 m, by month.

Monthly solar energy

Average daily incoming solar energy in megajoules per square metre — a measured proxy for how sunny the month is.

Shanghai month by month — what to expect

Typical conditions for each month, averaged across the full record (since 1940). Daylight is the time from sunrise to sunset. Record high/low are the most extreme values in the ERA5 dataset (modelled since 1940), so they can differ from official weather-station readings.

MonthAvg highAvg lowRainDaylightRecord highRecord low
January7.7°1.7°51 mm10.2 h23.2° (1950)-9.4° (1958)
February8.9°3.0°64 mm10.9 h24.4° (2014)-8.5° (1980)
March12.9°6.8°94 mm11.8 h29.3° (2025)-3.6° (1958)
April18.5°12.0°118 mm12.8 h32.0° (1967)2.0° (1962)
May23.3°17.1°146 mm13.6 h34.6° (1991)9.0° (1965)
June26.8°21.6°266 mm14.0 h37.7° (1946)13.5° (1954)
July31.2°25.9°173 mm13.8 h38.8° (2013)18.0° (1976)
August30.9°25.8°138 mm13.1 h39.5° (2013)19.7° (1974)
September27.0°22.0°137 mm12.2 h40.1° (1946)13.2° (1957)
October22.0°16.4°65 mm11.2 h35.3° (2025)4.7° (1978)
November16.6°10.6°52 mm10.4 h28.4° (2023)-5.0° (1979)
December10.5°4.1°39 mm10.0 h22.8° (2023)-7.0° (1967)

How it has changed

Year-by-year signals from 1940 to today.

Climate stripes

Annual mean shifted from 1940–1949 to 2016–2025 by +1.7°C.

Each vertical stripe is one year. Color encodes how much that year's annual mean differed from the long-term average. Average = each year's annual mean compared to the average of all years (1940–2026). cooler ← → warmer

Annual mean temperature

Long-term trend: +0.21°C per decade.

One point per year — the temperature averaged across the whole year. The dashed line is the least-squares long-term trend. Based on ERA5 reanalysis — modelled estimates, not station readings.

Seasonal warming

Mar–May is warming fastest: +0.29°C per decade.

Each faint line is one three-month period's average per year; the bold dashed line is its long-term trend. Different parts of the year often warm at different rates. Based on ERA5 reanalysis — modelled estimates, not station readings.

Hot days vs frost days

Days ≥ 30°C per year: 46.6 early in the record → 73.2 recently. Frost days: 25 → 13.

Thin lines are raw yearly counts; thick lines are the smoothed trend that removes year-to-year noise. The hot-day threshold is auto-picked per city so the line actually moves. Average = a centered 5-year rolling average to smooth weather noise.

Yearly hot & cold extremes

All-time high in 1946, all-time low in 1958: 40.1°C / -9.4°C.

One point per year — the single hottest and coldest day recorded that year.

Annual rainfall

~1343 mm/year on average. Last decade ran +2% vs that average. Long-term trend: +7 mm per decade.

One bar per year of total rainfall. Dashed line is the long-term average. Average = the average annual rainfall across every year of record (1940–2026).

Day-by-day grid

Each tiny square is one calendar day across the full record — ~30,000 days per city. Use the mode switch above the chart: Anomaly colors each day by how far it ran from the historical average for that date (red = warmer, blue = cooler), Daily mean temp shows the absolute mean temperature for the day (useful to see seasons and heatwaves), and Precipitation shows daily rainfall (useful to spot wet/dry seasons and droughts). Average = the long-term average for that calendar date (1940–2026).

Shanghai — Frequently asked questions

Which is the warmest month in Shanghai?
On long-term average, the warmest month in Shanghai is July (mean about 28.1°C) and the coolest is January (about 4.6°C).
How does today's temperature in Shanghai compare to the historical average?
On 2026-07-19, Shanghai is forecast to reach a high of 33.4°C and a low of 27.4°C. The long-term average for this date (the full record since 1940) is a high of 31.7°C and a low of 26.4°C — today's high is 1.7°C warmer than that average.
How much has Shanghai warmed since 1940?
Comparing the first decade of the record (1940–1949) with the most recent (2016–2025), the annual mean temperature in Shanghai is about 1.7°C warmer.
How much does it rain in Shanghai?
Shanghai receives about 1343 mm of precipitation per year on long-term average, with June typically the wettest month.
What is the average temperature in Shanghai?
Over the full record (since 1940), the annual mean temperature in Shanghai is about 16.6°C. The warmest month is July and the coolest is January.
What are the average temperatures in Shanghai by month?
Average daily highs and lows for each month in Shanghai (°C, full record since 1940): January 8°/2°, February 9°/3°, March 13°/7°, April 19°/12°, May 23°/17°, June 27°/22°, July 31°/26°, August 31°/26°, September 27°/22°, October 22°/16°, November 17°/11°, December 11°/4°.
How many days a year does it rain in Shanghai?
On long-term average, Shanghai has about 128 days a year with measurable rain, totalling roughly 1343 mm.

Weather in nearby cities