The population density of San Francisco, CA was 18,562 in 2018.

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 http://opendatanetwork.com. 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. http://opendatanetwork.com/region/1600000US5363000/Seattle_WA

Geographic and Population Datasets Involving San Francisco, CA

  • API

    San Mateo County And California Crime Rates 2000-2014

    performance.smcgov.org | 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

    COVID Vaccinations Given to SF Residents Over Time

    data.sfgov.org | Last Updated 2022-07-04T00:01:22.000Z

    Note April 2022: We have identified and corrected an issue with our data processing. You will notice an increase in vaccination numbers and percentages as a result of this correction <strong>A. SUMMARY</strong> This dataset represents the COVID-19 vaccinations given to San Franciscans over time. All vaccines given to people who live in San Francisco are included, no matter where the vaccination took place (the vaccine may have been administered in San Francisco or outside of San Francisco). As of December 21, 2021, four dose types are being counted separately, i.e. (1) first doses administered as a part of a two-dose primary vaccination series, (2) second doses administered as part of a two-dose primary vaccination series, (3) single-dose vaccines administered as part of a one-dose primary vaccination series, and (4) booster doses regardless of primary vaccine type. <strong>B. HOW THE DATASET IS CREATED</strong> Information on doses administered to those who live in San Francisco is from the California Immunization Registry (CAIR), run by the California Department of Public Health (CDPH). <strong>C. UPDATE PROCESS</strong> Updated daily via automated process <strong>D. HOW TO USE THIS DATASET</strong> Different vaccines have different dosage requirements. For example, the Moderna and the Pfizer vaccines require two doses in order for a resident to be considered fully vaccinated (as of December 21, 2021). Each dose is recorded separately in its respective dataset column. Other vaccines, such as Johnson & Johnson, would only require a single dose for a resident to be considered fully vaccinated (as of December 21, 2021). Single dose vaccines counts are recorded in a separate column. Summing the NEW_1ST_DOSES, NEW_2ND_DOSES, NEW_SINGLE_DOSES columns would give you the total count of primary vaccine series doses administered on a given day. To count the number of individuals fully vaccinated on a given day, use the NEW_SERIES_COMPLETED column. To count the number of individuals vaccinated (with any primary series dose) for the first time on a given day, use the NEW_RECIPIENTS column. To count the number of individuals who got a vaccine booster on a given day, use the NEW_BOOSTER_RECIPIENTS column. To count the number of booster doses administered on a given day, use the NEW_BOOSTER_DOSES column. To count the total number of individuals who have received a booster over time, use the CUMULATIVE_BOOSTER_RECIPIENTS column. To count the total number of booster doses that have been administered over time, use the CUMULATIVE_BOOSTER_DOSES column. In <a href="https://data.sfgov.org/stories/s/COVID-19-Vaccinations-Progress/7mye-zncy/">our public dashboards</a> we combine this dataset with <a href="https://data.census.gov/cedsci/table?q=popualtion%20age&g=0500000US06075&tid=ACSST5Y2019.S0101&hidePreview=false">the US Census's 2019 five-year American Community Survey population estimates</a> to estimate the percent of San Franciscans vaccinated.

  • API

    COVID-19 Vaccine Doses Given to San Franciscans by Demographics Over Time

    data.sfgov.org | Last Updated 2022-07-04T00:03:31.000Z

    Note April 2022: We have identified and corrected an issue with our data processing. You will notice an increase in vaccination numbers and percentages as a result of this correction. <strong>A. SUMMARY</strong> This dataset represents doses of COVID-19 vaccine administered in California to San Francisco residents over time. All vaccines given to people who live in San Francisco are included, no matter where the vaccination took place (the vaccine may have been administered in San Francisco or outside of San Francisco). The data are broken down by multiple demographic stratifications. As of December 21, 2021, four dose types are counted separately, i.e. (1) first doses administered as a part of a two-dose primary vaccination series, (2) second doses administered as part of a two-dose primary vaccination series, and (3) single-dose vaccines administered as part of a one-dose primary series, and (4) booster doses regardless of primary vaccine type. <strong>B. HOW THE DATASET IS CREATED</strong> Information on doses administered to those who live in San Francisco is from the <a href="https://cairweb.org/about-cair/">California Immunization Registry (CAIR)</a>, run by the California Department of Public Health (CDPH). The information on individuals’ city of residence, age, race, and ethnicity are also recorded in CAIR and are self-reported at the time of vaccine administration. In order to estimate the percent of San Franciscans vaccinated, we provide <a href="https://data.census.gov/cedsci/table?q=popualtion%20age&g=0500000US06075&tid=ACSST5Y2019.S0101&hidePreview=false">the same 2019 five-year American Community Survey population estimates</a> that are used in <a href="https://data.sfgov.org/stories/s/COVID-19-Vaccinations-Progress/7mye-zncy/">our public dashboards</a>. <strong>C. UPDATE PROCESS</strong> Updated daily via automated process <strong>D. HOW TO USE THIS DATASET</strong> Before analysis, you must filter the dataset to the desired stratification of data using the OVERALL_SEGMENT column. For example, filtering OVERALL_SEGMENT to "Ages 5+ by Age Bracket, Administered by All Providers" will filter the data to residents 5 and over whose vaccinations were administered by any provider. You can then further segment the data and calculate percentages by Age Brackets. If you filter OVERALL_SEGMENT to "Ages 65+ by Race/Ethnicity, Administered by DPH Only", you will see the race/ethnicity breakdown for residents aged 65+ who received vaccinations from San Francisco’s Department of Public Health (DPH).

  • API

    COVID-19 Cases and Deaths Summarized by Geography

    data.sfgov.org | Last Updated 2022-07-04T23:11:04.000Z

    Note: On February 23, 2022, the New Cases Map dashboard began pulling from this dataset. To access Cases by Geography and Date, please refer to this dataset: https://data.sfgov.org/COVID-19/COVID-19-Cases-by-Geography-and-Date/d2ef-idww Note: On January 22, 2022, system updates to improve the timeliness and accuracy of San Francisco COVID-19 cases and deaths data were implemented. You might see some fluctuations in historic data as a result of this change. Due to the changes, starting on January 22, 2022, the number of new cases reported daily will be higher than under the old system as cases that would have taken longer to process will be reported earlier. <i><b>Note: As of April 16, 2021, this dataset will update daily with a five-day data lag.</i></b> <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 2019 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. Geographic areas summarized are: 1. <a href="https://data.sfgov.org/Geographic-Locations-and-Boundaries/Analysis-Neighborhoods/p5b7-5n3h">Analysis Neighborhoods</a> 2. <a href="https://data.sfgov.org/Geographic-Locations-and-Boundaries/Census-2010-Tracts-for-San-Francisco/rarb-5ahf">Census Tracts</a> 3. <a href="https://www.census.gov/programs-surveys/geography/guidance/geo-areas/zctas.html">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 2019 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 daily at 7:30 Pacific Time. <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="https://www.census.gov/programs-surveys/geography/guidance/geo-areas/zctas.html">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

  • API

    COVID-19 Vaccine Doses Given to San Franciscans by Demographics

    data.sfgov.org | Last Updated 2022-07-04T00:02:15.000Z

    Note April 2022: We have identified and corrected an issue with our data processing. You will notice an increase in vaccination numbers and percentages as a result of this correction. <strong>A. SUMMARY</strong> This dataset represents doses of COVID-19 vaccine administered in California to residents of San Francisco. All vaccines given to people who live in San Francisco are included, no matter where the vaccination took place (the vaccine may have been administered in San Francisco or outside of San Francisco). The data are broken down by multiple demographic stratifications. As of December 21, 2021, four dose types are being counted separately, i.e. (1) first doses administered as a part of a two-dose primary vaccination series, (2) second doses administered as part of a two-dose primary vaccination series, and (3) single-dose vaccines administered as part of a one-dose primary vaccinations series, and (4) booster doses regardless of primary vaccine type (can include more than one booster dose per recipient). <strong>B. HOW THE DATASET IS CREATED</strong> Information on doses administered to those who live in San Francisco is from the <a href="https://cairweb.org/about-cair/">California Immunization Registry (CAIR)</a>, run by the California Department of Public Health (CDPH). The information on individuals’ city of residence, age, race, and ethnicity are also recorded in CAIR and are self-reported at the time of vaccine administration. In order to estimate the percent of San Franciscans vaccinated, we provide <a href="https://data.census.gov/cedsci/table?q=popualtion%20age&g=0500000US06075&tid=ACSST5Y2019.S0101&hidePreview=false">the same 2019 five-year American Community Survey population estimates</a> that are used in <a href="https://data.sfgov.org/stories/s/COVID-19-Vaccinations-Progress/7mye-zncy/">our public dashboards</a>. <strong>C. UPDATE PROCESS</strong> Updated daily via automated process <strong>D. HOW TO USE THIS DATASET</strong> Before analysis, you must filter the dataset to the desired stratification of data using the OVERALL_SEGMENT column. For example, filtering OVERALL_SEGMENT to "Ages 5+ by Age Bracket, Administered by All Providers" will filter the data to residents 5 and over whose vaccinations were administered by any provider. You can then further segment the data and calculate percentages by Age Brackets. If you filter OVERALL_SEGMENT to "Ages 65+ by Race/Ethnicity, Administered by DPH Only", you will see the race/ethnicity breakdown for residents aged 65+ who received vaccinations from San Francisco’s Department of Public Health (DPH).

  • API

    San Francisco Municipal Greenhouse Gas Inventory

    data.sfgov.org | Last Updated 2021-04-16T16:51:47.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 http://sfenvironment.org/download/fiscal-year-2012-municipal-ghg-inventory-memo

  • API

    San Francisco Plant Finder Data

    data.sfgov.org | Last Updated 2019-09-06T00:44:44.000Z

    This is the plant list used by the SF Plant Finder (http://sfplantfinder.org). 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: https://data.sfgov.org/d/27u4-a5b3

  • API

    COVID-19 Vaccines Given to San Franciscans by Geography

    data.sfgov.org | Last Updated 2022-07-04T00:03:39.000Z

    Note April 2022: We have identified and corrected an issue with our data processing. You will notice an increase in vaccination numbers and percentages as a result of this correction. <strong>A. SUMMARY</strong> This dataset represents the COVID-19 vaccinations given to SF residents summarized by the geographic region of their residential address. All vaccines given to SF residents are included, no matter where the vaccination took place (the vaccine may have been administered in San Francisco or outside of San Francisco). As of December 21, 2021, data provides counts for people who have received at least one dose, people who have completed a primary vaccine series, and people who have received a booster dose of the vaccine. A primary vaccine series is complete after an individual has received both doses of a two-dose vaccine or one dose of a one-dose vaccine. <strong>B. HOW THE DATASET IS CREATED</strong> Information on doses administered to those who live in San Francisco is from the California Immunization Registry (CAIR), run by the California Department of Public Health (CDPH). In order to estimate the percent of San Francisco residents vaccinated (as we do on the public dashboard at https://sf.gov/data/covid-19-vaccinations-neighborhood), we have included the 2019 5-year American Community Survey population estimate for each analysis neighborhood. (https://api.census.gov/data/2019/acs/acs5/groups/B01001.html) <strong>C. UPDATE PROCESS</strong> Updated daily via automated process <strong>D. HOW TO USE THIS DATASET</strong> This dataset contains counts of San Franciscans who have received at least one dose (count_vaccinated), as well as counts of San Franciscans who have received at least one dose from the SF Department of Public Health (count_vaccinated_by_dph). This dataset also contains counts of San Franciscans who have completed their vaccine series (count_series_completed) and counts of residents who have received a booster dose (count_received_booster). This data is grouped by San Franciscans’ analysis neighborhoods of residence.

  • API

    COVID-19 Deaths Over Time

    data.sfgov.org | Last Updated 2022-07-05T04:20:53.000Z

    Note: On January 22, 2022, system updates to improve the timeliness and accuracy of San Francisco COVID-19 cases and deaths data were implemented. You might see some fluctuations in historic data as a result of this change. <strong>A. SUMMARY</strong> This dataset represents San Francisco COVID-19 related deaths by day. Deaths are included on the date the individual died. Data is lagged by five days, meaning the most date included is 5 days prior to today. All data update daily as more information becomes available. <strong>B. HOW THE DATASET IS CREATED</strong> COVID-19 deaths are suspected to be associated with COVID-19. This means COVID-19 is listed as a cause of death or significant condition on the death certificate. Deaths may be reported by: * Healthcare providers * The California Department of Public Health Vital Records * Case investigation or outbreak investigation * The Office of the Chief Medical Examiner It takes time to process this data. Because of this, data is lagged by 5 days and death totals for previous days may increase or decrease. More recent data is less reliable. Data are continually updated to maximize completeness of information and reporting on San Francisco COVID-19 deaths. <strong>C. UPDATE PROCESS</strong> Updates automatically at 05:00 AM Pacific Time each day. Redundant runs are scheduled at 07:00 AM and 09:00 AM in case of pipeline failure. Dataset will not update on the business day following any federal holiday. <strong>D. HOW TO USE THIS DATASET</strong> This dataset shows new deaths and cumulative deaths by date of death. New deaths are the count of deaths on that specific date. Cumulative deaths are the running total of all San Francisco COVID-19 deaths up to the date listed. Use the <a href="https://data.sfgov.org/d/kkr3-wq7h">Deaths by Population Characteristics dataset</a> to see deaths by different subgroups including race/ethnicity, age, gender, and homelessness.

  • API

    Street Tree List

    data.sfgov.org | Last Updated 2022-07-04T12:20:20.000Z

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