Population
Population
topographic
Population

San Francisco

873,965
Total Population in 2020
In 2020, San Francisco was home to 873,965 people. Residents were predominantly working age, while those 65 and older were a larger segment of the community than those under 18. The population was diverse, with no racial group in the majority.

Most Populous Demographics

CategoryDemographicTotalPercentage
Age18-64618,63971%
SexMale446,14451%
Race and Hispanic or LatinoWhite (Not Hispanic or Latino)341,30639%

Age

38.2
Median Age
In 2020, San Francisco's population was predominantly working-age adults, while those 65 and older were a moderately larger share of the community than those under age 18. Looking at 10-year age ranges, 30-39 was the largest group.

Population by Age Range

050k100k150k200k0-910-1920-2930-3940-4950-5960-6970-7980+7%7%18%21%13%12%11%7%4%
050k100k150k200k7%7%18%21%13%12%11%7%4%0-910-1920-2930-3940-4950-5960-6970-7980+
/View Population by Age Range dynamic table

Population by Age Group

71%18-64
    113,227
    Under 18
    618,639
    18-64
    142,099
    65 and over
/View Population by Age Group dynamic table

Table: Population by Age Range

Age RangePopulation in San Francisco
TotalPercentage
0-965,3767%
10-1960,9407%
20-29153,47618%
30-39182,50521%
40-49114,72613%
50-59106,60212%
60-6992,32111%
70-7960,0767%
80+37,9434%

Table: Population by Age Group

Age GroupPopulation in San Francisco
TotalPercentage
Under 18113,22713%
18-64618,63971%
65 and over142,09916%
* For both charts above, the data is collected from the U.S. Census Bureau Decennial Data 2020, Demographic and Housing Characteristics File (DHC), P12 Sex by Age for Selected Age Categories.

Sex and Age

In 2020, males outnumbered females by a moderate amount in San Francisco. Males 30-39 were the largest group by age, followed by females 30-39 and males 20-29. The biggest gap was in the 30-39 age group, where males were the larger share.

Population by Sex

51%Male
    446,144
    Male
    427,821
    Female
/View Population by Sex dynamic table

Population by Sex and Age

025k50k75k100k0-910-1920-2930-3940-4950-5960-6970-7980+33,25630,70076,82496,76561,07457,51446,86028,07415,07732,12030,24076,65285,74053,65249,08845,46132,00222,866
025k50k75k100k0-910-1920-2930-3940-4950-5960-6970-7980+33,25630,70076,82496,76561,07457,51446,86028,07415,07732,12030,24076,65285,74053,65249,08845,46132,00222,866
100k75k50k25k025k50k75k100k0-910-1920-2930-3940-4950-5960-6970-7980+33,25630,70076,82496,76561,07457,51446,86028,07415,07732,12030,24076,65285,74053,65249,08845,46132,00222,866
/View Population by Sex and Age dynamic table
Male
Female

Table: Population by Sex

SexSan Francisco
TotalPercentage
Male446,14451%
Female427,82149%

Table: Population by Sex and Age

Sex and AgeSan Francisco
TotalPercentage
Male446,14451%
Male: 0-933,2564%
Male: 10-1930,7004%
Male: 20-2976,8249%
Male: 30-3996,76511%
Male: 40-4961,0747%
Male: 50-5957,5147%
Male: 60-6946,8605%
Male: 70-7928,0743%
Male: 80+15,0772%
Female427,82149%
Female: 0-932,1204%
Female: 10-1930,2403%
Female: 20-2976,6529%
Female: 30-3985,74010%
Female: 40-4953,6526%
Female: 50-5949,0886%
Female: 60-6945,4615%
Female: 70-7932,0024%
Female: 80+22,8663%
* For both charts above, the data is collected from the U.S. Census Bureau Decennial Data 2020, Demographic and Housing Characteristics File (DHC), P12 Sex by Age for Selected Age Categories.

Race and Hispanic or Latino

39%
White (Not Hispanic or Latino)
In 2020, San Francisco had a diverse population with no race/ethnicity being a majority. White and Asian people were the largest groups in the community, while Hispanic and other/multiracial residents were the next biggest segments of the population.

Population by Race and Hispanic or Latino

090k180k270k360kWhite*Black or African American*American Indian / Alaska Native*Asian*Native Hawaiian / Pacific Islander*Other / Multi-racial*Hispanic or Latino (any race)39%5%<1%34%<1%6%16%
090k180k270k360kWhite*Black or African American*American Indian / Alaska Native*Asian*Native Hawaiian / Pacific Islander*Other / Multi-racial*Hispanic or Latino (any race)39%5%<1%34%<1%6%16%
090k180k270k360kWhite*Black or African American*American Indian / Alaska Native*Asian*Native Hawaiian / Pacific Islander*Other / Multi-racial*Hispanic or Latino (any race)39%5%<1%34%<1%6%16%
/View Population by Race and Hispanic or Latino dynamic table

Table: Population by Race and Hispanic or Latino

Race and Hispanic or LatinoPopulation in San Francisco
TotalPercentage
White341,30639%
Black or African American45,0715%
American Indian / Alaska Native1,570<1%
Asian294,22034%
Native Hawaiian / Pacific Islander3,244<1%
Other / Multi-racial51,7936%
Hispanic or Latino (any race)136,76116%
* Categorized as Not Hispanic. This means that all the racial groups marked with an asterisk — White, Black or African American, American Indian / Alaska Native, Asian, Native Hawaiian / Pacific Islander, and Other / Multi-racial — do not include individuals who identify as Hispanic or Latino. The "Hispanic or Latino (any race)" category is separate, as Hispanic/Latino is considered an ethnicity rather than a racial category. For the chart above, the data is collected from the U.S. Census Bureau Decennial Data 2020, Demographic and Housing Characteristics File (DHC), P5 Hispanic or Latino Origin by Race.