Shanghai lies at approximately 31.2304° N, 121.4737° E. The magnetic declination there is roughly -2°, meaning magnetic north is 2° west of true north.