Los Angeles vs San Francisco

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

PlaceLos AngelesLos Angeles

California, United States

San FranciscoSan Francisco

California, United States

Location
State / regionCaliforniaCalifornia
Country🇺🇸 United States🇺🇸 United States
Coordinates34.019, -118.41137.727, -123.032
Elevation29 m0 m
Size
Population3,878,718827,526
Land area470.5 mi²46.7 mi²
Water area31.0 mi²185.2 mi²
Density (per mi²)8,24417,720
Housing units1,587,311420,054
Demographics
Median age37.540.5
White (non-Hispanic)32.7%38.3%
Black or African American8.2%5.0%
Asian12.4%35.4%
Hispanic or Latino47.2%16.8%
Economy & education
Median household income$82,263$139,801
Median home value$947,900$1,314,700
Bachelor's or higher39.9%60.9%
Poverty rate16.0%11.3%
Unemployment6.7%5.8%
Climate
Avg high temp70°F56°F
Avg low temp55°F53°F
Annual precipitation16.2 in21.0 in
Sunshine % of year81.0%62.0%
Annual solar (kWh/m²)2,0611,595
Air & environment
US AQI7348
Air quality categoryModerateGood
PM2.5 (µg/m³)21.510.4
PM10 (µg/m³)29.518.5
Ozone (µg/m³)69.064.0
NO₂ (µg/m³)19.60.2
Wildlife species observed1010
Wildlife observations1,353,386234,909
Risk & hazards
Earthquakes (last 10y)1,256769
Largest earthquake (mag)5.46.0
Active weather alerts11
Health
Obesity27.4%17.5%
Diabetes11.9%9.6%
Smoking12.0%9.1%
Schools
Schools total518
Elementary schools297
Middle schools76
High schools127
Civic & interest
Notable people (Wikidata)160
Books about this place88
Wikipedia views (last 30d)14,5986,148
Overview
Summary

Los Angeles is the most populous city in the U.S. state of California, and the commercial, financial, and cultural center of Southern California. With an estimated 3.87 million residents within the city limits as of 2025, it is the second-most populous city in the United States, behind New York City, and the largest city in the Western United States. The city has an ethnically and culturally diverse population, and is the principal city of a metropolitan area of 12.9 million people (2024). Greater Los Angeles, a combined statistical area that includes the Los Angeles and Riverside–San Bernardino metropolitan areas, is a sprawling metropolis of over 18 million residents.

Wikipedia

San Francisco, officially the City and County of San Francisco, is the fourth-most populous city in California and the 17th-most populous in the United States, with a population of 826,079 in 2025. Among U.S. cities with a population of 200,000 or more, San Francisco is ranked first by per capita income, third by population density, and sixth by aggregate income as of 2024. Some 4.6 million residents live in the city's metropolitan statistical area, which is the 13th-largest in the United States. Around 9.2 million live in the San Jose–San Francisco–Oakland combined statistical area, the fifth-largest in the United States.

Wikipedia

Want a deeper comparison or to add a third city?

Open in interactive compare