Latitude and Longitude of Shanghai, China

The GPS coordinates of Shanghai, China are 31.222220, 121.458060 in decimal degrees, or 31° 13' 19.99" N, 121° 27' 29.02" E in degrees, minutes and seconds. The city, in China, sits roughly 3,456 km north of the Equator in the Northern Hemisphere.

With about 24,874,500 inhabitants in the GeoNames gazetteer, it is the most populous city in China. The ground is about 12 m (39 ft) above sea level. Clocks follow the Asia/Shanghai time zone.

The nearest major city on our list is Kunshan, 51 km (32 mi) to the west-northwest. China's capital, Beijing, is 1,067 km (663 mi) away on a bearing of 336° (NNW).

Coordinates of Shanghai

Decimal degrees (lat, long)
31.222220, 121.458060
Degrees, minutes, seconds (DMS)
31° 13' 19.99" N, 121° 27' 29.02" E
Degrees, decimal minutes (DDM)
31° 13.3332' N, 121° 27.4836' E
UTM (zone, easting, northing)
51R 353131 3455254
MGRS
51R UQ 53131 55254
Plus Code
8Q336FC5+V6
Geohash
wtw3egg49

Facts

Country
China
Region
Shanghai
Elevation
12 m (39 ft)Source: GeoNames digital elevation model (average ground height of the surrounding grid cell)
Time zone
Asia/ShanghaiCurrent offset UTC+08:00 (CST) (December 6, 2026)
Population
24,874,500GeoNames estimate

Map loads when you scroll here.

Open in OpenStreetMap

Districts of Shanghai

GeoNames lists these parts of Shanghai as separate places. Their population figures cover each part only.

Districts of Shanghai
PlaceLatitudeLongitudePopulationCopy
Pudong31.2400121.50095,681,512
Minhang31.1088121.37472,716,600
Baoshan31.4084121.48962,265,900
Songjiang31.0344121.22331,973,500
Jiading31.3858121.24461,886,100
Qingpu31.1539121.11411,271,424
Putuo31.2510121.38971,239,100
Yangpu31.2619121.51901,210,800
Fengxiang30.8584121.46781,140,872
Xuhui31.1959121.44711,109,800

Nearest major cities to Shanghai

Distances are measured along the surface of the WGS84 ellipsoid (Vincenty's formula); the bearing is the initial compass direction from Shanghai.

CityDistanceBearingCopy
Kunshan51 km (32 mi)290° WNW
Suzhou83 km (51 mi)277° W
Changshu83 km (51 mi)305° NW
Jiaxing85 km (53 mi)233° SW
Nantong105 km (65 mi)328° NNW
Zhangjiagang113 km (70 mi)309° NW
Wuxi118 km (73 mi)289° WNW
Cixi118 km (73 mi)190° S

Use the coordinates of Shanghai in our tools

Place data: GeoNames, licensed under CC BY 4.0 (downloaded December 4, 2026). Population figures are GeoNames estimates and can differ from the latest census. Coordinates are those of the city centre as recorded by GeoNames.

Frequently asked questions

What are the GPS coordinates of Shanghai?

Shanghai, China is at latitude 31.222220 and longitude 121.458060 in decimal degrees, which is 31° 13' 19.99" N, 121° 27' 29.02" E in degrees, minutes and seconds.

What time zone is Shanghai in?

Shanghai uses the Asia/Shanghai time zone. On December 6, 2026 its offset from UTC is UTC+08:00 (CST).

How far is Shanghai from Beijing?

The straight-line (great-circle) distance from Shanghai to Beijing, the capital of China, is about 1,067 km (663 mi), heading 336° (NNW).