In 2018, San Francisco, California had a population of 4,673,221 people with a median age of 38 and a median household income of $99,592. The median property value in San Francisco is $781,200 and the homeownership rate is 54% .