San Francisco vs Philadelphia

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

PlaceSan FranciscoSan Francisco

California, United States

PhiladelphiaPhiladelphia

Pennsylvania, United States

Location
State / regionCaliforniaPennsylvania
Country🇺🇸 United States🇺🇸 United States
Coordinates37.727, -123.03240.009, -75.133
Elevation0 m32 m
Size
Population827,5261,573,916
Land area46.7 mi²134.4 mi²
Water area185.2 mi²8.3 mi²
Density (per mi²)17,72011,714
Housing units420,054763,527
Demographics
Median age40.535.7
White (non-Hispanic)38.3%35.5%
Black or African American5.0%38.7%
Asian35.4%8.3%
Hispanic or Latino16.8%16.4%
Economy & education
Median household income$139,801$60,521
Median home value$1,314,700$253,600
Bachelor's or higher60.9%36.4%
Poverty rate11.3%19.7%
Unemployment5.8%5.9%
Climate
Avg high temp56°F65°F
Avg low temp53°F48°F
Annual precipitation21.0 in48.6 in
Sunshine % of year62.0%55.0%
Annual solar (kWh/m²)1,5951,408
Air & environment
US AQI4877
Air quality categoryGoodModerate
PM2.5 (µg/m³)10.428.2
PM10 (µg/m³)18.528.3
Ozone (µg/m³)64.020.0
NO₂ (µg/m³)0.245.0
Wildlife species observed1010
Wildlife observations234,9093,166,297
Risk & hazards
Earthquakes (last 10y)76913
Largest earthquake (mag)6.04.8
Active weather alerts13
Health
Obesity17.5%
Diabetes9.6%
Smoking9.1%
Schools
Schools total298
Elementary schools190
Middle schools17
High schools69
Civic & interest
Notable people (Wikidata)016
Books about this place88
Wikipedia views (last 30d)6,1486,719
Overview
Summary

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

Philadelphia, colloquially referred to as Philly, is the most populous city in the U.S. state of Pennsylvania and the sixth-most populous city in the United States. Its population was 1.60 million at the 2020 census and estimated at 1.57 million in 2025. The Philadelphia metropolitan area, also known as the Delaware Valley, has 6.33 million residents and is the nation's ninth-largest metropolitan area. Philadelphia is known for its culture, cuisine, and history, maintaining contemporary influence in business and technology, sports, and music.

Wikipedia

Want a deeper comparison or to add a third city?

Open in interactive compare