Edinburgh is about 2.1 times bigger than San Francisco.

San Francisco (including the city proper only) is approximately 121 sq km, while Edinburgh (map shows its 30 named neighbourhoods; the area covers the whole city) is approximately 259 sq km, making Edinburgh 114% larger than San Francisco.
Tip: This to-scale comparison of San Francisco vs. Edinburgh 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.