City · San Francisco County, California
San Francisco, California
San Francisco is a city in San Francisco County, California, part of the San Francisco-Oakland-Fremont, CA metro area. It has 830,235 residents. San Francisco, California has a quality-of-life score of 89 out of 100 (very high), ranking #1,752 of 15,651 US cities and towns. Within California it ranks #49 of 1,062 cities and towns. It ranks best on distance to an emergency room (low), adult obesity (low) and access to exercise opportunities (high). It ranks worst on home price to income ratio (high), drug overdose deaths (high) and income inequality (Gini index) (high).
- Quality-of-life score
- #1,752 of 15,651 cities and towns
- California
- #49 of 1,062 in CA
- Population
- 830,235 (2020-2024)
- Land area
- 47 mi²
- Density
- 17,783.8 /mi²
- FIPS code
- 0667000
Percentile-based score (100 is the best in the country) from 79 of 83 indicators, with the default “Explorer” weights.
Scores by category
Each category averages its indicators' percentile scores among US cities and towns.
- Safety33#10,516/15,639
- Economy73#4,210/15,631
- Housing77#3,433/14,977
- Health88#1,796/15,609
- Healthcare97#453/15,650
- Environment96#659/15,453
- Education41#9,162/15,650
- Infrastructure79#3,325/15,651
- Community64#5,570/15,651
- Leisure & amenities99#99/15,651
- Nature & outdoors—
Strengths · Weaknesses
Indicators where San Francisco, California ranks highest and lowest among US cities and towns (score = percentile, 100 = best). Values marked “San Francisco County value” are the county’s: the source publishes no figure for this city or town, and the county holding most of its residents stands in.
Strengths
- Distance to an emergency room · low1.5 mi100/100California 4.3 miUnited States 5.5 miOct 2026Centers for Medicare & Medicaid ServicesSan Francisco County value
- Adult obesity · low17.5%100/100California 30.4%United States 38.2%2023University of Wisconsin Population Health InstituteModel-based estimate
- Access to exercise opportunities · high100.0%100/100California 94.3%United States 84.5%2022 & 2024University of Wisconsin Population Health InstituteSan Francisco County value
- Dentists · high176 /100k100/100California 95 /100kUnited States 75 /100k2023University of Wisconsin Population Health InstituteSan Francisco County value
- Average weekly wage · high$3,776100/100California $1,865United States $1,5142025U.S. Bureau of Labor StatisticsSan Francisco County value
- Primary care physicians · high172 /100k99/100California 83 /100kUnited States 76 /100k2022University of Wisconsin Population Health InstituteSan Francisco County value
Weaknesses
- Home price to income ratio · high9.9×
- Drug overdose deaths · high50.6 /100k1/100California 19.4 /100kUnited States 17.8 /100kMay 2025–Apr 2026Centers for Disease Control and PreventionProvisional dataSan Francisco County value
- Income inequality (Gini index) · high0.522
- Property crime rate · high2,987 /100k2/100California 1,792 /100kUnited States 1,535 /100k2025Federal Bureau of InvestigationSan Francisco County value
- Child care net cost · high41.4%5/100California 29.7%United States 27.9%2023 & 2024University of Wisconsin Population Health InstituteSan Francisco County value
- Students per teacher · high21.2×5/100California 21.7×United States 15.2×2024National Center for Education StatisticsSan Francisco County value
Trends
The largest changes over about five years, next to the country's over the same periods.
- PopulationFalling
874,961 (2015-2019) → 830,235 (2020-2024)
−5.1%5 yearsCensus table B01003US 328,329,953 → 340,003,797
- Public transit commutersWorsening
34.8% (2015-2019) → 18.7% (2020-2024)
−16 pts5 yearsCensus table B08301US 5.0% → 3.2%
- New homes permittedWorsening
2.9 /1k (2021) → 1.4 /1k (Nov 2025–Oct 2026)
−51%5 yearsUS 5.2 /1k → 4.1 /1k
- Households subscribed to broadbandImproving
87.6% (2015-2019) → 93.0% (2020-2024)
+5.4 pts5 yearsCensus table B28002US 82.7% → 91.0%
- Median household incomeImproving
$112,449 (2015-2019) → $140,970 (2020-2024)
+25%5 yearsCensus table B19013US $65,712 → $81,604
- Rent-burdened householdsWorsening
36.7% (2015-2019) → 39.6% (2020-2024)
+2.9 pts5 yearsCensus table B25070US 49.6% → 51.1%
What changed in five years
How each measure moved between two periods about five years apart, read against whether more or less is better, the published margin of error and the same change in other places.
Cities and towns like San Francisco, California five years ago that improved
The places whose measures looked most like those of San Francisco, California in the earlier period, ranked by how many measures improved beyond the margin of error, minus how many declined. A comparison of published data, not a forecast and not advice.
Who lives here
Age, race and education of residents, from the American Community Survey. Shares are of all residents (age), residents of every origin (race) or adults 25 and over (education).
Income
How household income is spread, not just the middle: each bar is the share of households in that income range.
Homes
Who owns and who rents, what homes cost, and what the housing stock looks like.
Getting to work
How workers travel to their job and how long it takes them.
Jobs and pay
What the largest occupations here pay, from the Bureau of Labor Statistics' Occupational Employment and Wage Statistics survey.
The Bureau of Labor Statistics publishes pay by metro area, not by county or city. The metro area page lists its largest occupations and lets you look up any job.
Pay in the San Francisco-Oakland-Fremont, CALocal businesses
Employer businesses and sole proprietors by industry, per resident and against the state and the nation. Counts of businesses next to counts of people, not a measure of demand.
Public schools
Public schools located in San Francisco, California and the districts that run them (NCES Common Core of Data). Students per teacher counts full-time-equivalent teachers, not the size of each class.
Federal contracts performed here
Grants and other federal assistance are counted by county here, not split among cities: San Francisco is mostly in San Francisco County.
See federal money in San Francisco CountyRepresentation in Congress
Members serving today, with their record in the current Congress (party-unity votes cast with their caucus, roll calls missed). Not a grade.
County
A city can lie in several counties. Some indicators are published for counties only: the page marks them.
Metro area
The metro or micro area the city belongs to.
Similar cities and towns
Closest indicator profiles across the country (no model: score distances).
- San Mateo, CA95Alike on Great Lakes, Price / income, Foreign-born
- Alameda, CA76Alike on Great Lakes, Rent, Bachelor's+
- Santa Monica, CA63Alike on Income per capita, Great Lakes, Inequality
- Burlingame, CA95Alike on Great Lakes, Income per capita, Foreign-born
- West Hollywood, CA53Alike on Density, Work from home, Price / income
Data and sources
Latest published value of each indicator; periods differ by source. Values flagged by their publisher are marked.
- PLACES: Local Data for Better HealthCenters for Disease Control and Prevention · release 2025
- National Broadband Map (Broadband Data Collection)Federal Communications Commission · release 2026-06-30
- Local Area Unemployment StatisticsU.S. Bureau of Labor Statistics · release 2025
- American Community Survey 5-Year EstimatesU.S. Census Bureau · release 2017-2024
- Building Permits SurveyU.S. Census Bureau · release 2026-10
- Population Estimates ProgramU.S. Census Bureau · release 2025
- Small Area Health Insurance EstimatesU.S. Census Bureau · release 2024
- Small Area Income and Poverty EstimatesU.S. Census Bureau · release 2024
- County Health Rankings & RoadmapsUniversity of Wisconsin Population Health Institute · release 2022-2025+2026-03-supplement