Contra Costa County vs San Francisco County
Two neighbouring counties in California, compared on population, size, income and housing. They share 4.5 mi of border.
Contra Costa County
California
San Francisco County
California
Both outlines are drawn at true relative size. Contra Costa County spans about 75.2 km at its widest.
Side by side
| Measure | Contra Costa County | Difference | San Francisco County |
|---|---|---|---|
| Population | 1,170,070 | +41.6% | 826,079 |
| Change since 2020 | 0.3% | +5.9 pp | -5.6% |
| Land area | 716.9 sq mi | +1435.6% | 46.7 sq mi |
| Population density | 1,632 per sq mi | -90.8% | 17,695 per sq mi |
| Median household income | $127,229 | -9.7% | $140,970 |
| Median home value | $866,800 | -37.8% | $1,394,500 |
| Median age | 40.5 | +1.3% | 40.0 |
| Households | 414,417 | +13.9% | 363,970 |
| Housing units | 429,260 | +3.5% | 414,602 |
Sources: US Census Bureau, Population Estimates Program, Vintage 2025 Population Estimates, released 26 March 2026; US Census Bureau, Gazetteer Files, 2025 Gazetteer Files, released 10 September 2025; US Census Bureau, American Community Survey, American Community Survey 2020-2024 5-Year Estimates, released 29 January 2026; US Census Bureau, County Adjacency File, 2025 County Adjacency File, released 15 September 2025. The difference column is computed here: the first county's figure against the second, expressed as a percentage of the second. The change-since-2020 row is the exception: two growth rates differ in percentage points (pp), not percent. Retrieved 30 August 2026.
What the numbers say
- Contra Costa County holds about 1.4 times the population of San Francisco County: 1,170,070 against 826,079.
- Contra Costa County covers more ground, at 716.9 square miles against 46.7.
- San Francisco County is the more crowded of the two, at 17,695 people per square mile against 1,632.
- Median household income is higher in San Francisco County, by 13,741 dollars a year.
- Since 2020, Contra Costa County has grown by 0.3% and San Francisco County has shrunk by 5.6%.
- They share 4.5 mi of common border, which the Census Bureau publishes in its county adjacency file and which almost no other county reference presents.
Full pages
Want a different pair? Compare any two of the 3,144 US counties.
Rebuilt from source data 30 August 2026. How these figures are produced.