How Far Is the Nearest Supermarket? Distances From Every Census Tract

On this page

Problem statement

How far does an American live from a supermarket? With the USDA's list of every store that takes SNAP and the Census Bureau's population centre of every tract, the question can be answered for the whole country in a few lines. Measured from each tract's centre of population to the nearest supermarket or super store, 45.0% of people in the states and DC live more than a mile from one, and 6,735,699 more than ten miles. The distances are straight lines, so on the road every one of them is longer. This page measures them, sums the people at each distance and shows where the longest ones are.

Quick answer

Find the nearest supermarket or super store to every tract's population centre, in an equal-area projection that measures in metres:

tr = pd.read_csv(Z.open("CenPop2020_Mean_TR.txt"), encoding="utf-8-sig", dtype={"STATEFP": str, "COUNTYFP": str, "TRACTCE": str})
tr = tr[tr.STATEFP != "72"]  # Puerto Rico has its own nutrition programme, not SNAP, and no SNAP retailers
tracts = gpd.GeoDataFrame(tr, geometry=gpd.points_from_xy(tr.LONGITUDE, tr.LATITUDE), crs=4269).to_crs(5070)
sm = snap[snap.Store_Type.isin(["Supermarket", "Super Store"])].to_crs(5070)
near = gpd.sjoin_nearest(tracts, sm[["Store_Name", "geometry"]], how="left", distance_col="m")
near = near[~near.index.duplicated()]
near["miles"] = near.m / 1609.34
for mi in [1, 5, 10, 20]:
    print(f"people more than {mi} mile{'s' * (mi > 1)} from a supermarket or super store: {near.loc[near.miles > mi, 'POPULATION'].sum():,} ({near.loc[near.miles > mi, 'POPULATION'].sum() / near.POPULATION.sum():.1%})")
people more than 1 mile from a supermarket or super store: 149,117,903 (45.0%)
people more than 5 miles from a supermarket or super store: 27,979,863 (8.4%)
people more than 10 miles from a supermarket or super store: 6,735,699 (2.0%)
people more than 20 miles from a supermarket or super store: 935,560 (0.3%)

149,117,903 people, 45.0%, live more than a mile from a supermarket or super store, 8.4% more than five miles, and 2.0% more than ten. Only 935,560, 0.3%, are more than twenty miles away. sjoin_nearest returns one row per tie, so the duplicate line keeps one store per tract. EPSG:5070, the US Albers projection, keeps distances true to within a few percent across the lower 48. Alaska's distances are rougher, but they are hundreds of miles either way.

Bars of people by distance to the nearest supermarket or super store: 76.3 million under half a mile, 106.0 million half a mile to a mile, 121.1 million one to five miles, 21.2 million five to ten, 6.7 million over ten. Bars of people by distance to the nearest supermarket or super store: 76.3 million under half a mile, 106.0 million half a mile to a mile, 121.1 million one to five miles, 21.2 million five to ten, 6.7 million over ten.
Americans by distance to the nearest supermarket.

Measuring tract distances to the nearest supermarket

1. The distribution of distances

print(f"people-weighted mean distance: {np.average(near.miles, weights=near.POPULATION):.2f} miles")
print(near.groupby(pd.cut(near.miles, [0, 0.5, 1, 5, 10, 500])).POPULATION.sum().map("{:,}".format).to_string())
people-weighted mean distance: 1.83 miles
miles
(0.0, 0.5]        76,308,510
(0.5, 1.0]       106,022,868
(1.0, 5.0]       121,138,040
(5.0, 10.0]       21,244,164
(10.0, 500.0]      6,735,699

The people-weighted mean distance is 1.83 miles. 76,308,510 people live within half a mile of a supermarket or super store and 106,022,868 between half a mile and a mile. 121,138,040 live between one and five miles away, which in most of the country means driving. The thresholds that food-access research uses, one mile in cities and ten in the country, cut through the two largest groups.

2. By state

st = near.groupby("STATEFP").apply(lambda d: d.loc[d.miles > 10, "POPULATION"].sum() / d.POPULATION.sum())
names = gpd.read_file("data/cb_2024_us_state_20m.zip").set_index("STATEFP").STUSPS
print(st.rename(index=names).sort_values(ascending=False).head(6).map("{:.1%}".format).to_string())
STATEFP
SD    17.7%
AK    14.5%
ND    13.9%
WY    11.0%
NE    10.3%
MT     9.8%

South Dakota has the largest share living more than ten miles from a supermarket or super store, 17.7%, then Alaska, North Dakota, Wyoming, Nebraska and Montana. These are states of small towns, where the nearest store may be a grocery store or a convenience store that the supermarket count leaves out.

Horizontal bars of the share of residents more than ten miles from a supermarket or super store: South Dakota 17.7%, Alaska 14.5%, North Dakota 13.9%, Wyoming 11.0%, Nebraska 10.3%. Horizontal bars of the share of residents more than ten miles from a supermarket or super store: South Dakota 17.7%, Alaska 14.5%, North Dakota 13.9%, Wyoming 11.0%, Nebraska 10.3%.
The states where a supermarket is farthest.

3. Counting grocery stores too

gr = snap[snap.Store_Type.isin(["Supermarket", "Super Store", "Grocery Store"])].to_crs(5070)
n2 = gpd.sjoin_nearest(tracts, gr[["geometry"]], how="left", distance_col="m2")
n2 = n2[~n2.index.duplicated()]
print(f"more than 10 miles from any supermarket, super store or grocery store: {n2.loc[n2.m2 / 1609.34 > 10, 'POPULATION'].sum():,}")
more than 10 miles from any supermarket, super store or grocery store: 3,239,459

Counting grocery stores as well halves the number who are more than ten miles away, to 3,239,459. So the choice of store types decides the answer. Grocery stores are smaller and their stock varies, and some of them in the list are corner shops, so neither count is the true one.

The tracts farthest from a supermarket

The data used on this page

The US Department of Agriculture's Food and Nutrition Service (FNS) publishes every store authorised to accept SNAP benefits as the SNAP Retailer Locator data. The copy used here was downloaded from the FNS feature service on 28 October 2026 and saved on this site, because the list changes every day as stores are authorised and withdrawn. Public domain. County and state boundaries, county populations and the 2020 tract centres of population are the Census Bureau's files, public domain. The setup builds snap, a GeoDataFrame of the retailers' points. Puerto Rico's tracts are left out: it has no SNAP retailers, because it runs a nutrition programme of its own.

from pathlib import Path
import zipfile

import geopandas as gpd
import numpy as np
import pandas as pd
import requests

Path("data").mkdir(exist_ok=True)
# USDA FNS SNAP Retailer Locator data (every authorised retailer), with the Census Bureau's 2024 county estimates,
# 2020 tract centres of population, counties and states. Saved 28 October 2026: the list changes every day as
# stores are authorised and withdrawn.
# Live: https://services1.arcgis.com/RLQu0rK7h4kbsBq5/arcgis/rest/services/snap_retailer_location_data/FeatureServer/0
ARCHIVE = "usda-snap-retailers-2026-10-28.zip"
if not Path(f"data/{ARCHIVE}").exists():
    Path(f"data/{ARCHIVE}").write_bytes(requests.get(f"https://data.spatialworkflow.io/{ARCHIVE}", timeout=600).content)
Z = zipfile.ZipFile(f"data/{ARCHIVE}")
for f in ["cb_2024_us_county_20m.zip", "cb_2024_us_state_20m.zip"]:
    Path(f"data/{f}").write_bytes(Z.read(f))
snap = pd.read_csv(Z.open("snap-retailers-2026-10-28.csv"), dtype={"Zip_Code": str, "Zip4": str})
snap = gpd.GeoDataFrame(snap, geometry=gpd.points_from_xy(snap.Longitude, snap.Latitude), crs=4326)
print(f"SNAP retailers: {len(snap):,} in {snap.State.nunique()} states and territories")
SNAP retailers: 248,872 in 53 states and territories

Example 1: the farthest tracts

print(near[near.POPULATION > 0].nlargest(5, "miles")[["STATEFP", "COUNTYFP", "TRACTCE", "POPULATION", "Store_Name", "miles"]].round(1).to_string(index=False))
STATEFP COUNTYFP TRACTCE  POPULATION                          Store_Name  miles
     02      185  000100        4934                      FRED MEYER 485  457.2
     02      016  000100         978 Three Bears Alaska Dutch Harbor 130  381.5
     02      185  000200        3367                    Nome Hanson 1835  376.5
     02      185  000300        2730                        Walmart 2722  297.3
     02      290  000300        1708                Three Bears Healy 45  267.0

The farthest tracts are all in Alaska. From the population centre of a North Slope Borough tract, the nearest supermarket in the list is a Fred Meyer 457.2 miles away. A tract in the Aleutians is 381.5 miles from the Three Bears store in Dutch Harbor. Any shop in those villages that takes SNAP is typed as something other than a supermarket, and a straight line of that length stands for no journey anyone makes. Report Alaska separately, or measure only within the road network.

Map of census tract population centres in the lower 48, grey within five miles of a supermarket, orange five to ten miles, red over ten, with red tracts spread across the Plains, the Mountain West and the rural South. Map of census tract population centres in the lower 48, grey within five miles of a supermarket, orange five to ten miles, red over ten, with red tracts spread across the Plains, the Mountain West and the rural South.
Tracts by distance to the nearest supermarket.