Fremont is about 31 times smaller than Shanghai.

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