San Francisco, officially City and County of San Francisco and colloquially known by its initialism SF, is a city in, and the cultural, commercial, and financial center of, Northern California. San Francisco is the 13th most populous city in the United States, and the fourth most populous in California, with 883,305 residents as of 2018.
It covers an area of about, mostly at the north end of the San Francisco Peninsula in the San Francisco Bay Area, making it the second most densely populated large U.S. city, and the fifth most densely populated U.S. county, behind only four of the five New York City boroughs. San Francisco is the 12th-largest metropolitan statistical area in the United States, with 4,729,484 people in 2018. With San Jose, it forms the fifth most populous combined statistical area in the United States, the San Jose–San Francisco–Oakland, CA Combined Statistical Area .
As of 2017, it was the seventh-highest income county in the United States, with a per capita personal income of $119,868. As of 2015, San Francisco proper had a GDP of $154.2 billion, and a GDP per capita of $178,479. The San Francisco CSA was the country's third-largest urban economy as of 2017, with a GDP of $907 billion. Of the 500+ primary statistical areas in the U.S., the San Francisco CSA had among the highest GDP per capita in 2017, at $93,938. San Francisco was ranked 16th in the world and third in the United States on the Global Financial Centres Index as of March 2019.
San Francisco was founded on June 29, 1776, when colonists from Spain established Presidio of San Francisco at the Golden Gate and Mission San Francisco de Asís a few miles away, all named for St. Francis of Assisi. The California Gold Rush of 1849 brought rapid growth, making it the largest city on the West Coast at the time. San Francisco became a consolidated city-county in 1856. San Francisco's status as the West Coast's largest city peaked between 1870 and 1900, when around 25% of California's population resided in the city proper. After three-quarters of the city was destroyed by the 1906 earthquake and fire, San Francisco was quickly rebuilt, hosting the Panama-Pacific International Exposition nine years later. In World War II, San Francisco was a major port of embarkation for service members shipping out to the Pacific Theater. It then became the birthplace of the United Nations in 1945. After the war, the confluence of returning servicemen, significant immigration, liberalizing attitudes, along with the rise of the "hippie" counterculture, the Sexual Revolution, the Peace Movement growing from opposition to United States involvement in the Vietnam War, and other factors led to the Summer of Love and the gay rights movement, cementing San Francisco as a center of liberal activism in the United States. Politically, the city votes strongly along liberal Democratic Party lines.
A popular tourist destination, [. The Hotel Price Index. Retrieved April 12, 2014.] San Francisco is known for its cool summers, fog, steep rolling hills, eclectic mix of architecture, and landmarks, including the Golden Gate Bridge, cable cars, the former Alcatraz Federal Penitentiary, Fisherman's Wharf, and its Chinatown district. San Francisco is also the headquarters of five major banking institutions and various other companies such as Levi Strauss & Co., Gap Inc., Fitbit, Salesforce.com, Dropbox, Reddit, Square, Inc., Dolby, Airbnb, Weebly, Pacific Gas and Electric Company, Yelp, Pinterest, Twitter, Uber, Lyft, Mozilla, Wikimedia Foundation, Craigslist, and Weather Underground. It is home to a number of educational and cultural institutions, such as the University of San Francisco, University of California, San Francisco, San Francisco State University, the De Young Museum, the San Francisco Museum of Modern Art, and the California Academy of Sciences.
, San Francisco is the highest rated American city on world liveability rankings.