How San Francisco County compares

San Francisco County (827,526 residents) beside neighboring counties (within 60 miles) — 3 counties. Every figure links to where it comes from. “Middle of the group” is the median; “middle half” is the range the middle half of counties fall in. A dead end means the figure hasn’t been gathered yet, never that it’s hidden.

Compare with:My size, my stateMy size, nationwideMy neighborsMy whole stateThe whole nation
Show:Per residentTotal dollars

Who’s in the group: Counties whose geographic center is within 60 miles of its center, in any state (2024 Census Gazetteer).

Grants and federal money

Item — open one to see every countySan FranciscoMiddle of the groupMiddle halfRank, highest first
Federal grants, fiscal 2025$3.40 billion$177.8 million1st of 4
American Rescue Plan money, 2021 to date$3.57 billion$549.0 million1st of 4

Source: Federal grants: USAspending.gov, grant awards by place of performance, fiscal 2025 (Oct. 2024 to Sept. 2025) — money for work done in the county by anyone: the county, its cities, schools, hospitals, nonprofits and others, not only the county government. American Rescue Plan: USAspending.gov, disaster emergency fund code V, by recipient location, March 2021 to date. Both pulled through the USAspending API (spending by geography). Per resident uses the 2024 Census population estimate.

From the counties’ own budgets, line by line

San Francisco County’s own 2027 budget, line by line, beside the 3 of 3 neighboring counties (within 60 miles) whose budgets we’ve read.

Item — open one to see every countySan FranciscoMiddle of the groupMiddle halfRank, highest first
Whole budget, all funds$16.85 billion$1.79 billion1st of 4
Capital projects · dead end: no line matched — may sit inside a combined fund$0$173.5 million—
Debt and bond payments · dead end: no line matched — may sit inside a combined fund$0$40.8 million—
County judge, commissioners and governing body$480.4 million$18.7 million1st of 4
Juvenile services · dead end: no line matched — may sit inside a combined fund$0$17.8 million—
Jail and detention · dead end: no line matched — may sit inside a combined fund$0$87.2 million—
Prosecutor and county attorney$98.6 million$34.4 million1st of 4
Public defender$60.9 million$17.9 million1st of 4
Sheriff and patrol$1.22 billion$125.8 million1st of 4
Coroner and medical examiner · dead end: no line matched — may sit inside a combined fund$0$3.1 million—
Courts and court clerks$65.3 million$47.7 million2nd of 4
Public safety and justice, combined (not split by office) · dead end: no line matched — may sit inside a combined fund$0$8.7 million—
Elections · dead end: no line matched — may sit inside a combined fund$0$6.7 million—
Assessor and property valuation · dead end: no line matched — may sit inside a combined fund$0$14.0 million—
Treasurer and tax collection · dead end: no line matched — may sit inside a combined fund$0$17.7 million—
County clerk and records · dead end: no line matched — may sit inside a combined fund$0$3.8 million—
Technology and data · dead end: no line matched — may sit inside a combined fund$0$4.8 million—
Emergency management and 911$111.5 million$8.6 million1st of 4
Fire protection$560.6 million$50.3 million1st of 4
Public health and mental health$3.58 billion$290.6 million1st of 4
Veterans services · dead end: no line matched — may sit inside a combined fund$0$50,653—
Indigent care and human services$2.75 billion$327.6 million1st of 4
Roads and bridges$1.91 billion$39.7 million1st of 4
Solid waste and recycling · dead end: no line matched — may sit inside a combined fund$0$9.3 million—
Extension, 4-H and conservation · dead end: no line matched — may sit inside a combined fund$0$7.5 million—
Libraries$198.0 million$01st of 4
Parks, fair and recreation$344.4 million$40.9 million1st of 4
Planning, zoning and development$177.9 million$24.4 million1st of 4
Utilities (water, sewer, power, airport, port, transit)$3.88 billion$45.7 million1st of 4
Buildings and maintenance · dead end: no line matched — may sit inside a combined fund$0$16.9 million—
General government, insurance and grants$60.4 million$56.0 million2nd of 4
Cemeteries, airports, museums and other · dead end: no line matched — may sit inside a combined fund$0$3.9 million—
General fund, not split by office$756.2 million$01st of 4
Lines not matched to a category yet$604.5 million$181.3 million1st of 4

Not shown, because San Francisco County and most of the group show $0: transfers between funds and reserves; federal relief and payments (arpa, cares, latcf, pilt, opioid); natural resources and environment; employee benefits, workers’ comp and fleet; ambulance and ems; hospitals; health and human services, combined (not split); weed, pest and mosquito control; schools and colleges.

Source: Each county’s own adopted budget: Arkansas counties from their appropriation ordinances, Idaho counties from their filings with the State Controller, and the other full County Commons sites from their published budgets. Every line is matched to one shared category, by Arkansas’s standard department code where there is one, otherwise by words in its name — open any category to see each line and the rule that matched it, and download every line. Years differ (most are 2026 or fiscal 2025) and so do the jobs counties do, so read these as a guide to scale. Only counties whose budgets we’ve read can appear here; for the rest this is a dead end until their budget is read.

San Francisco County’s lines not matched to a category yet — dead ends to fix

If you know what one of these pays for, tell us.

County government spending, by the Census Bureau’s national categories

Item — open one to see every countySan FranciscoMiddle of the groupMiddle halfRank, highest first
All county government spending · dead end: no figure—$1.66 billion—
Jail and corrections · dead end: no figure—$108.8 million—
Sheriff and police · dead end: no figure—$98.2 million—
Courts and legal · dead end: no figure—$49.5 million—
Roads and highways · dead end: no figure—$34.6 million—
Public health · dead end: no figure—$173.6 million—
Public welfare · dead end: no figure—$227.2 million—
Fire protection · dead end: no figure—$11.2 million—
Parks and recreation · dead end: no figure—$38.7 million—
Trash and recycling · dead end: no figure—$5.7 million—
Sewers · dead end: no figure—$19.8 million—
Schools and colleges · dead end: no figure—$70.3 million—
Running the government (finance, staff, buildings) · dead end: no figure—$55.8 million—
Utilities (water, power, transit) · dead end: no figure—$43.4 million—
Everything else · dead end: no figure—$251.7 million—

Source: U.S. Census Bureau, 2022 Census of Governments: Finance, individual unit file, fiscal 2022. The Census Bureau sorts every county government’s spending into the same categories, so these compare across states — but counties do different jobs in different states (in some, counties run hospitals or schools; in others, cities or the state do), so the closest comparisons are within a state. Counties where the Bureau estimated half or more of the figures are left out of the middle and range. Per resident uses the population the Bureau used.