The population density of San Francisco, CA was 18,438 in 2017.

Population Density

Population Density is computed by dividing the total population by Land Area Per Square Mile.

Above charts are based on data from the U.S. Census American Community Survey | ODN Dataset | API - Notes:

1. ODN datasets and APIs are subject to change and may differ in format from the original source data in order to provide a user-friendly experience on this site.

2. To build your own apps using this data, see the ODN Dataset and API links.

3. If you use this derived data in an app, we ask that you provide a link somewhere in your applications to the Open Data Network with a citation that states: "Data for this application was provided by the Open Data Network" where "Open Data Network" links to Where an application has a region specific module, we ask that you add an additional line that states: "Data about REGIONX was provided by the Open Data Network." where REGIONX is an HREF with a name for a geographical region like "Seattle, WA" and the link points to this page URL, e.g.

Geographic and Population Datasets Involving San Francisco, CA

  • API

    San Mateo County And California Crime Rates 2000-2014 | Last Updated 2016-08-31T20:40:07.000Z

    Violent and property crime rates per 100,000 population for San Mateo County and the State of California. The total crimes used to calculate the rates for San Mateo County include data from: Sheriff's Department Unincorporated, Atherton, Belmont, Brisbane, Broadmoor, Burlingame, Colma, Daly City, East Palo Alto, Foster City, Half Moon Bay, Hillsborough, Menlo Park, Millbrae, Pacifica, Redwood City, San Bruno, San Carlos, San Mateo, South San Francisco, Bay Area DPR, BART, Union Pacific Railroad, and CA Highway Patrol.

  • API

    San Francisco Plant Finder Data | Last Updated 2019-09-06T00:44:44.000Z

    This is the plant list used by the SF Plant Finder ( The San Francisco Plant Finder is a resource for gardeners, designers, ecologists and anyone who is interested in greening neighborhoods, enhancing our urban ecology and surviving the drought. The Plant Finder recommends appropriate habitat-building plants for sidewalks, gardens and roofs that are adapted to San Francisco's unique environment and climate. The plants in the database include California natives and Mediterranean climate exotics. A large subset of the California natives are actually local San Francisco natives. We strongly recommend local natives since they provide the best habitat for local pollinators and other wildlife with whom they have co-evolved. San Francisco natives are the most closely adapted to the climate and environment of the San Francisco peninsula of course, and so they are the best in terms of water and soil conservation, ecosystem health, and overall sustainability. You can get the geographic ares for plant communities represented in this dataset here:

  • API

    San Francisco Municipal Greenhouse Gas Inventory | Last Updated 2020-03-31T18:44:54.000Z

    The purpose of the San Francisco Municipal Greenhouse Gas Inventory is to measure and track departmental greenhouse gas emissions as part of the City's climate action strategy. Per Environment Code Chapter 9, this data is collected and calculated by the Department of the Environment. Note: Data as of 10/20/18. San Francisco municipal greenhouse gas inventory for Fiscal Years 2012 per the California Air Resources Board's Local Government Operations Protocol Version 1.1 (May 2010). Third-party verification of Fiscal Year 2012 which was completed in March 2015 is available at

  • API

    COVID-19 Hospitalizations | Last Updated 2020-08-04T15:31:25.000Z

    <strong>A. SUMMARY</strong> Count of COVID+ patients admitted to the hospital. Patients who are hospitalized and test positive for COVID-19 may be admitted to an acute care bed (a regular hospital bed), or an intensive care unit (ICU) bed. This data shows the daily total count of COVID+ patients in these two bed types, and the data reflects totals from all San Francisco Hospitals. <strong>B. HOW THE DATASET IS CREATED</strong> Hospital information is based on admission data reported to the San Francisco Department of Public Health. <strong>C. UPDATE PROCESS</strong> Updated daily, dataset uploaded manually by staff <strong>D. HOW TO USE THIS DATASET</strong> Each record represents how many people were hospitalized on the date recorded in either an ICU bed or acute care bed (shown as Med/Surg under DPHCategory field). Data shown here include all San Francisco hospitals and will be updated daily with a two-day lag as information is collected and verified. Data may change as more current information becomes available.

  • API

    Street Tree List | Last Updated 2020-08-04T15:11:16.000Z

    List of dpw maintained street trees including: Planting date, species, and location

  • API

    Pit Stop Locations | Last Updated 2020-08-04T15:09:17.000Z

    San Francisco Public Works operates the Pit Stop program, which provides clean and safe public toilets, sinks, used needle receptacles and dog waste stations in San Francisco's most impacted neighborhoods.

  • API

    COVID-19 Cases and Deaths Summarized by Geography | Last Updated 2020-08-04T14:00:30.000Z

    <strong>A. SUMMARY</strong> Medical provider confirmed COVID-19 cases and confirmed COVID-19 related deaths in San Francisco, CA aggregated by several different geographic areas and normalized by 2018 American Community Survey (ACS) 5-year estimates for population data to calculate rate per 10,000 residents. Cases and deaths are both mapped to the residence of the individual, not to where they were infected or died. For example, if one was infected in San Francisco at work but lives in the East Bay, those are not counted as SF Cases or if one dies in Zuckerberg San Francisco General but is from another county, that is also not counted in this dataset. Dataset is cumulative and covers cases going back to March 2nd, 2020 when testing began. It is updated daily. Geographic areas summarized are: 1. <a href="">Analysis Neighborhoods</a> 2. <a href="">Census Tracts</a> 3. <a href="">Census Zip Code Tabulation Areas</a> <strong>B. HOW THE DATASET IS CREATED</strong> Addresses from medical data are geocoded by the San Francisco Department of Public Health (SFDPH). Those addresses are spatially joined to the geographic areas. Counts are generated based on the number of address points that match each geographic area. The 2018 ACS estimates for population provided by the Census are used to create a rate which is equal to ([count] / [acs_population]) * 10000) representing the number of cases per 10,000 residents. <strong>C. UPDATE PROCESS</strong> Geographic analysis is scripted by SFDPH staff and synced to this dataset each day. <strong>D. HOW TO USE THIS DATASET</strong> <em>Privacy rules in effect</em> To protect privacy, certain rules are in effect: 1. Case counts greater than 0 and less than 10 are dropped - these will be null (blank) values 2. Death counts greater than 0 and less than 10 are dropped - these will be null (blank) values 3. Cases and deaths dropped altogether for areas where acs_population < 1000 <em>Rate suppression in effect where counts lower than 20</em> Rates are not calculated unless the case count is greater than or equal to 20. Rates are generally unstable at small numbers, so we avoid calculating them directly. We advise you to apply the same approach as this is best practice in epidemiology. <em>A note on Census ZIP Code Tabulation Areas (ZCTAs)</em> ZIP Code Tabulation Areas are special boundaries created by the U.S. Census based on ZIP Codes developed by the USPS. They are not, however, the same thing. ZCTAs are areal representations of routes. <a href="">Read how the Census develops ZCTAs on their website</a>. <em>Row included for Citywide case counts, incidence rate, and deaths</em> A single row is included that has the Citywide case counts and incidence rate. This can be used for comparisons. Citywide will capture all cases regardless of address quality. While some cases cannot be mapped to sub-areas like Census Tracts, ongoing data quality efforts result in improved mapping on a rolling bases.

  • API

    Mobile Food Facility Permit | Last Updated 2020-08-04T15:05:44.000Z

    Mobile Food Facility Permits including name of vendor, location, type of food sold and status of permit. Mobile Food Facility Permit Schedule is here

  • API

    Street Acceptance Data | Last Updated 2020-08-04T15:11:44.000Z

    List of streets by block (street segment) accepted for maintenance. Please Note: a few block may appear in this list more than once due to multiple Caltrans maintenance agreement links per block.

  • API

    Next Generation Simulation (NGSIM) Vehicle Trajectories and Supporting Data | Last Updated 2020-06-22T19:15:56.000Z

    Researchers for the Next Generation Simulation (NGSIM) program collected detailed vehicle trajectory data on southbound US 101 and Lankershim Boulevard in Los Angeles, CA, eastbound I-80 in Emeryville, CA and Peachtree Street in Atlanta, Georgia. Data was collected through a network of synchronized digital video cameras. NGVIDEO, a customized software application developed for the NGSIM program, transcribed the vehicle trajectory data from the video. This vehicle trajectory data provided the precise location of each vehicle within the study area every one-tenth of a second, resulting in detailed lane positions and locations relative to other vehicles. Click the "Show More" button below to find additional contextual data and metadata for this dataset.