Bakersfield is about 16 times smaller than Shanghai.

Shanghai is approximately 6,341 sq km, while Bakersfield (map shows its 44 named neighbourhoods; the area covers the whole city) is approximately 389 sq km, making Bakersfield 6.14% the size of Shanghai.
Tip: This to-scale comparison of Shanghai vs. Bakersfield 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.