Sacramento is about 25 times smaller than Shanghai.

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