Shanghai is about 2.6 times smaller than Beijing.

Beijing is approximately 16,411 sq km, while Shanghai is approximately 6,341 sq km, making Shanghai 38.64% the size of Beijing.
Tip: This to-scale comparison of Beijing vs. Shanghai uses the Mercator projection, which distorts the size of regions near the poles.
Our free app, MapSize by MyLifeElsewhere — compare any two places, to scale on your mobile device.