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 90 out of 100 (very high), ranking #1,626 of 15,651 US cities and towns. Within California it ranks #54 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,626 of 15,651 cities and towns
- California
- #54 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 76 of 80 indicators, with the default “Explorer” weights.
Scores by category
Each category averages its indicators' percentile scores among US cities and towns.
- Safety32#10,691/15,637
- Economy73#4,216/15,631
- Housing78#3,306/14,977
- Health88#1,838/15,609
- Healthcare97#458/15,650
- Environment96#665/15,453
- Education49#7,984/15,649
- Infrastructure78#3,510/15,650
- Community64#5,570/15,651
- Leisure & amenities99#99/15,651
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 miJul 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 · high52.9 /100k1/100California 20.1 /100kUnited States 18.4 /100kMar 2025–Feb 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
- Students per teacher · high21.2×5/100California 21.7×United States 15.2×2024National Center for Education StatisticsSan Francisco County value
- Child care cost burden · high41.4%5/100California 29.7%United States 27.9%2023 & 2024University of Wisconsin Population Health InstituteSan 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.8 /1k (Sep 2025–Aug 2026)
−40%5 yearsUS 5.2 /1k → 4.2 /1k
- Broadband subscriptionsImproving
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.
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).
- Alameda, CA76Alike on Rent, Bachelor's+, Work from home
- San Mateo, CA95Alike on Price / income, Foreign-born, Mental distress
- Santa Monica, CA65Alike on Income per capita, Inequality, Rent
- West Hollywood, CA57Alike on Density, Work from home, Price / income
- Redwood City, CA96Alike on Foreign-born, Mental distress, 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
- 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-08
- 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