Saint Petersburg is about 40 times smaller than Shanghai.

Shanghai is approximately 6,341 sq km, while Saint Petersburg is approximately 160 sq km, making Saint Petersburg 2.52% the size of Shanghai.
Tip: This to-scale comparison of Shanghai vs. Saint Petersburg 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.