Williamsburg is about 274 times smaller than Shanghai.

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