Even if you have a net worth of $1 million, it's not enough to feel financially comfortable in San Francisco.