The 2021 United States Census reported that San Francisco had a population of 815,201—an increase from the 2010 Census count of 805,235. With a population density of 18,633 per square mile (7,194/km2), San Francisco is the second-most densely populated major American city, behind only New York (among cities greater than 200,000 population).