Malacca (Malaysia) vs Shanghai (China): Temperature, Rainfall and Sunshine

Reference period: Malacca 2013–2023 · Shanghai 2013–2023

Across the 12 monthly averages, Malacca (Malaysia) is warmer in 10 months and Shanghai (China) in 2; 0 months are equal at the displayed precision.

Key monthly differences

Warmest month

Malacca
May · 27.49 °C
Shanghai
August · 28.29 °C

Coolest month

Malacca
January · 26.20 °C
Shanghai
January · 5.26 °C

Driest month

Malacca
February · 3.23 mm/day
Shanghai
December · 1.38 mm/day

Sunniest month

Malacca
March · 10.15 hours/day
Shanghai
August · 9.58 hours/day
Chart
Share
Share this climate chart on Share
Climate Compare: Shanghai (China)
Climate Compare: Malacca (Malaysia)

Choose another comparison

Climate comparison questions

When are the temperatures most similar and most different?

The smallest difference in monthly mean temperature is 1.00 °C (July); the largest is 20.94 °C (January).

How much do temperatures vary across the year?

The difference between the warmest and coolest monthly means is 1.29 °C in Malacca (Malaysia) and 23.02 °C in Shanghai (China). This describes seasonal variation, not the range between daytime highs and nighttime lows.

Which location has more rainfall?

Malacca (Malaysia) has a higher daily rainfall average in 10 months and Shanghai (China) in 2; 0 months are equal at the displayed precision. Rainfall amounts do not tell us how many days it rains.

Which location has more sunshine?

Malacca (Malaysia) has more average sunshine hours per day in 11 months and Shanghai (China) in 1; 0 months are equal at the displayed precision. Sunshine duration is different from daylight duration.

Climate data notes

Show data and calculation

Daily values are averaged separately for each calendar month over the saved reference period. Temperatures are daily means, not daytime highs. Rainfall is an average daily amount, not a monthly total; sunshine is average hours per day. These historical averages are not a weather forecast. Each location’s reference period is listed below and may differ.

Mean of the 12 monthly averages

Monthly climate data

Difference: Shanghai (China) minus Malacca (Malaysia)

Temperature °C

Month Malacca Shanghai +/-
Jan 26.20 5.26 −20.94
Feb 26.67 6.44 −20.24
Mar 27.18 11.03 −16.15
Apr 27.24 15.74 −11.49
May 27.49 20.74 −6.75
Jun 27.48 24.23 −3.25
Jul 27.24 28.23 +1.00
Aug 26.99 28.29 +1.30
Sep 26.89 24.04 −2.85
Oct 26.84 18.91 −7.93
Nov 26.40 13.71 −12.69
Dec 26.24 6.64 −19.61
Annual mean 26.91 16.94 −9.97

Average sunshine (hours/day)

Month Malacca Shanghai +/-
Jan 9.06 5.82 −3.24
Feb 9.87 5.73 −4.15
Mar 10.15 6.75 −3.40
Apr 9.46 7.97 −1.49
May 9.11 7.64 −1.46
Jun 9.25 6.55 −2.70
Jul 9.60 8.73 −0.87
Aug 9.45 9.58 +0.13
Sep 9.11 7.71 −1.40
Oct 8.81 7.16 −1.64
Nov 7.74 6.10 −1.65
Dec 8.20 6.33 −1.87
Annual mean 9.15 7.17 −1.98

Average daily rainfall (mm/day)

Month Malacca Shanghai +/-
Jan 4.54 1.91 −2.63
Feb 3.23 2.35 −0.88
Mar 5.30 2.67 −2.63
Apr 7.79 3.16 −4.63
May 7.79 4.32 −3.47
Jun 5.55 8.37 +2.82
Jul 5.31 6.82 +1.52
Aug 6.57 5.10 −1.47
Sep 6.53 4.86 −1.67
Oct 7.13 2.08 −5.05
Nov 9.99 2.11 −7.88
Dec 8.86 1.38 −7.48
Annual mean 6.55 3.76 −2.79

Snow (mm)

Month Malacca Shanghai +/-
Jan 0.00 0.69 +0.69
Feb 0.00 0.99 +0.99
Mar 0.00 0.01 +0.01
Apr 0.00 0.00 0.00
May 0.00 0.00 0.00
Jun 0.00 0.00 0.00
Jul 0.00 0.00 0.00
Aug 0.00 0.00 0.00
Sep 0.00 0.00 0.00
Oct 0.00 0.00 0.00
Nov 0.00 0.01 +0.01
Dec 0.00 0.40 +0.40
Annual mean 0.00 0.17 +0.17