San José (Costa Rica) vs Shanghai (China): Temperature, Rainfall and Sunshine

Reference period: San José 2013–2023 · Shanghai 2013–2023

Across the 12 monthly averages, San José (Costa Rica) is warmer in 7 months and Shanghai (China) in 5; 0 months are equal at the displayed precision.

Key monthly differences

Warmest month

San José
April · 21.28 °C
Shanghai
August · 28.29 °C

Coolest month

San José
October · 19.72 °C
Shanghai
January · 5.26 °C

Driest month

San José
February · 0.41 mm/day
Shanghai
December · 1.38 mm/day

Sunniest month

San José
March · 10.80 hours/day
Shanghai
August · 9.58 hours/day
Chart
Share
Share this climate chart on Share
Climate Compare: Shanghai (China)
Climate Compare: San José (Costa Rica)

Choose another comparison

Climate comparison questions

When are the temperatures most similar and most different?

The smallest difference in monthly mean temperature is 0.04 °C (May); the largest is 14.80 °C (January).

How much do temperatures vary across the year?

The difference between the warmest and coolest monthly means is 1.56 °C in San José (Costa Rica) 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?

San José (Costa Rica) has a higher daily rainfall average in 9 months and Shanghai (China) in 3; 0 months are equal at the displayed precision. Rainfall amounts do not tell us how many days it rains.

Which location has more sunshine?

San José (Costa Rica) has more average sunshine hours per day in 10 months and Shanghai (China) in 2; 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 San José (Costa Rica)

Temperature °C

Month San José Shanghai +/-
Jan 20.06 5.26 −14.80
Feb 20.56 6.44 −14.12
Mar 21.01 11.03 −9.98
Apr 21.28 15.74 −5.53
May 20.70 20.74 +0.04
Jun 20.43 24.23 +3.80
Jul 20.50 28.23 +7.73
Aug 20.31 28.29 +7.98
Sep 20.02 24.04 +4.02
Oct 19.72 18.91 −0.81
Nov 19.82 13.71 −6.10
Dec 19.91 6.64 −13.28
Annual mean 20.36 16.94 −3.42

Average sunshine (hours/day)

Month San José Shanghai +/-
Jan 10.28 5.82 −4.46
Feb 10.74 5.73 −5.02
Mar 10.80 6.75 −4.04
Apr 10.02 7.97 −2.05
May 8.24 7.64 −0.60
Jun 7.72 6.55 −1.17
Jul 8.01 8.73 +0.73
Aug 8.12 9.58 +1.46
Sep 7.91 7.71 −0.20
Oct 7.42 7.16 −0.26
Nov 8.23 6.10 −2.14
Dec 9.88 6.33 −3.54
Annual mean 8.95 7.17 −1.77

Average daily rainfall (mm/day)

Month San José Shanghai +/-
Jan 1.00 1.91 +0.91
Feb 0.41 2.35 +1.94
Mar 0.85 2.67 +1.82
Apr 3.32 3.16 −0.15
May 11.67 4.32 −7.35
Jun 11.59 8.37 −3.22
Jul 8.48 6.82 −1.65
Aug 12.17 5.10 −7.07
Sep 14.08 4.86 −9.22
Oct 16.62 2.08 −14.54
Nov 9.21 2.11 −7.09
Dec 2.45 1.38 −1.07
Annual mean 7.65 3.76 −3.89

Snow (mm)

Month San José 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