San Diego vs San Francisco

A side-by-side comparison of San Diego, California and San Francisco, California — population, climate, cost of living, demographics, and more.

PlaceSan DiegoSan Diego

California, United States

San FranciscoSan Francisco

California, United States

Location
State / regionCaliforniaCalifornia
Country🇺🇸 United States🇺🇸 United States
Coordinates32.815, -117.13637.727, -123.032
Elevation128 m0 m
Size
Population1,404,461827,526
Land area326.1 mi²46.7 mi²
Water area46.3 mi²185.2 mi²
Density (per mi²)4,30717,720
Housing units588,866420,054
Demographics
Median age36.640.5
White (non-Hispanic)44.7%38.3%
Black or African American5.4%5.0%
Asian17.7%35.4%
Hispanic or Latino30.5%16.8%
Economy & education
Median household income$111,032$139,801
Median home value$980,700$1,314,700
Bachelor's or higher53.6%60.9%
Poverty rate10.4%11.3%
Unemployment5.6%5.8%
Climate
Avg high temp70°F56°F
Avg low temp56°F53°F
Annual precipitation13.5 in21.0 in
Sunshine % of year70.0%62.0%
Annual solar (kWh/m²)1,7931,595
Air & environment
US AQI3048
Air quality categoryGoodGood
PM2.5 (µg/m³)7.310.4
PM10 (µg/m³)11.618.5
Ozone (µg/m³)65.064.0
NO₂ (µg/m³)2.70.2
Wildlife species observed1010
Wildlife observations3,162,085235,077
Risk & hazards
Earthquakes (last 10y)1,236771
Largest earthquake (mag)5.46.0
Active weather alerts31
Health
Obesity24.6%17.5%
Diabetes9.4%9.6%
Smoking9.6%9.1%
Schools
Schools total275—
Elementary schools173—
Middle schools35—
High schools49—
Civic & interest
Notable people (Wikidata)80
Books about this place88
Wikipedia views (last 30d)3,8705,561
Overview
Summary

San Diego is a city on the Pacific coast of Southern California, next to the Mexican border. It is the eighth-most populous city in the U.S. and second-most populous city in California with a population of over 1.4 million, while the San Diego area with over 3.3 million residents is the 18th-largest metropolitan area in the country. San Diego is the county seat of San Diego County. It is known for its mild Mediterranean climate, extensive beaches and parks, long association with the United States Navy, and recent emergence as a Wireless, electronics, healthcare, and biotechnology development center.

Wikipedia

San Francisco, officially the City and County of San Francisco, is the 17th-largest city and second-densest major city in the United States, with a 2025 population of 826,079. It is the fourth-most populous city in California and the second most-populous in the Bay Area. Some 4.6 million residents live in the city's metropolitan statistical area. Around 9.2 million live in the San Jose–San Francisco–Oakland combined statistical area, the fifth-largest in the United States. San Francisco is a global center for technology and finance, and is well-known for its affluence, eclectic architecture, and mild climate.

Wikipedia

Want a deeper comparison or to add a third city?

Open in interactive compare