MSA—$591.9 billion (4th)
San Francisco is a city in the state of California in the United States. It is in the northern part of California, between the Pacific Ocean and San Francisco Bay. With 873,965 people in 2020, San Francisco is the 4th largest city in California and the 17th largest city in the United States. It is the economic and cultural center of the San Francisco Bay Area, a metropolitan area with over 7 million people. The city is famous for the Golden Gate Bridge, steep hills, unique architecture, and its large LGBTQ+ population.