Nine in ten on about 1% of the land
In the 2020 Census, 2,937,303 of Utah's 3,271,616 residents lived in an urban area. That is 89.8%. Utah's 25 urban areas cover 2,439 of the state's 213,355 square kilometers (km²) of land, or 1.1%.
The rest of the state held 334,313 people, 10.2%, on 98.9% of the land. In 2020, urban areas averaged 1,204 residents per km² of land. The rest of Utah averaged 1.6.
Most of the urban share is on the Wasatch Front. In 2020, the Salt Lake City, Ogden–Layton and Provo–Orem urban areas held 72.6% of Utahns on 0.82% of the land.
The Kem C. Gardner Policy Institute at the University of Utah reports the same 89.8%. Its October 2024 fact sheet by Mallory Bateman ranks Utah's urban share seventh among the states. Nationally, the share is 80%.
Six photographs in three pairs
A short video sets six of my photographs side by side. Each pair puts a city scene against a country scene.
- Neighbors: people under the cherry trees at the Utah State Capitol, and two wild horses at Simpson Springs in the West Desert.
- Traffic: freeway lights from Point of the Mountain, and a bison herd that crosses the road on Antelope Island.
- Night: Millcreek Common at dusk, and the Milky Way over Temple Mountain in the San Rafael Swell.
Each photograph changes into a cut-paper version of itself. An image model made each paper version from its photograph.
Under each picture, a small map of Utah marks the place. A city frame shows Utah in brick red, with the urban areas in cream. A country frame shows Utah in sage green, with the urban areas cut out. A figure from the poster follows. For example, urban areas average 3,119 people per square mile (1,204 per km²). The rest of Utah averages 4.1 (1.6 per km²).
The six frames
These are the six paper frames from the video, in order. Each frame shows the cut-paper version, a map of Utah, the place and one figure. City and country frames alternate. Select any frame to view it full size.






What counts as urban
A Census block is the smallest area the Census Bureau counts, often one city block. For the 2020 Census, the Bureau classed every block as urban or rural.
Urban areas include densely developed blocks and nearby land that meets the Census criteria. In 2020, each qualifying area needed at least 2,000 housing units or 5,000 residents. Land outside those areas was classified as rural. Each urban block carries the code of its urban area.
The script, day09_urban_rural.py, reads the Utah block file from the Census Topologically Integrated Geographic Encoding and Referencing (TIGER)/Line files. It adds up residents and land area by block. The script passes the default checks of the ruff linter and uses its code format. The excerpts below are trimmed. A # ... line marks a cut.
pop, land = int(b.POP20.sum()), int(b.ALAND20.sum())
u = b[b.UR20 == "U"]
upop, uland = int(u.POP20.sum()), int(u.ALAND20.sum())
assert (pop, upop, len(u), int((b.UR20 == "R").sum())) == (
3_271_616,
2_937_303,
37_375,
33_832,
)
assert (land, uland) == (213_355_058_738, 2_439_090_096)
# ...
urban_by_county = b.groupby("COUNTYFP20").UR20.apply(lambda s: (s == "U").any())
f["counties"], f["rural_counties"] = (
len(urban_by_county),
int((~urban_by_county).sum()),
)
assert (f["counties"], f["rural_counties"]) == (
GARDNER["counties"],
GARDNER["rural_counties"],
)
day09_urban_rural.py. The script stops if a count differs from the value on the poster.The urban blocks fall in 25 urban areas. The largest, Salt Lake City, held 36.0% of Utahns. Eleven of Utah's 29 counties have no urban block at all.
Drawing the land the figures count
The brick-red shapes on the poster are the urban blocks, merged by urban area. Using the same blocks keeps the map and the counts closely aligned. The Census urban area file supplies only the names.
Some rural blocks are mostly water, in the Great Salt Lake, Lake Powell and Bear Lake. Drawn as land, these 128 blocks would fill in the lakes. The maps draw them as water, and the figures still count them.
# Rural blocks that are mostly water (the Great Salt Lake, Lake Powell, Bear Lake:
# 128 blocks, 205 km² of land, 68 people) would draw the lakes as land, so they
# draw as water. The figures still count every block.
land = (b.ALAND20 > 0) & ((b.UR20 == "U") | (b.ALAND20 > b.AWATER20))
sets = {
"urban": b[land & (b.UR20 == "U")],
"state": b[land],
"water": b[~land],
"outline": b,
}
for name, sub in sets.items():
if name in have:
continue
key = "UACE20" if name == "urban" else None
d = (
sub.dissolve(by=key, method="coverage")
if key
else gpd.GeoDataFrame(
geometry=[shapely.coverage_union_all(sub.geometry.values)], crs=CRS
)
)
# ...
day09_urban_rural.py. A coverage union merges blocks that share exact edges. If the result is not valid, or its area does not match the blocks, the script uses a slower merge.Both maps use an Albers equal-area projection centered on Utah. An equal-area projection keeps the relative sizes of areas correct, so the two halves compare fairly. The maps share one scale.
A title split on the seam
The poster is two equal fields that meet at the center. Each field has the same rows: a heavy rule, two large shares, a map, a key and two smaller figures. The type is Univers Next Pro.
The title runs across the seam. It splits inside two words, between letters: “Uta” and “hns”, then “o” and “f”. Each part is its own text, in the color of its field. No part is clipped, so no letter is cut.
The script measures the ink edges of each part and of the two letters together. It puts the seam halfway across the natural gap between the letters, and at least 1.5 px from each.
An earlier version drew each whole line twice and clipped each copy at the seam. Univers tucks the “f” under the “o”, so part of the “f” reached back across the seam.
Six palettes, checked for contrast
The first draft set the two halves in near-white and near-black. I tried six softer palettes and chose salt and juniper: pale sand for urban Utah and dark juniper green for rural Utah.
Before rendering, the script checks each selected palette’s contrast using ratios from the Web Content Accessibility Guidelines (WCAG). The main text and the small text need at least 4.5:1 against their background. The large figures, the label shares, and the urban and rural land need at least 3:1.
def luminance(hex_):
c = [int(hex_[i : i + 2], 16) / 255 for i in (1, 3, 5)]
c = [v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4 for v in c]
return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2]
def ratio(a, b):
la, lb = sorted((luminance(a), luminance(b)), reverse=True)
return (la + 0.05) / (lb + 0.05)
def check_palettes(names):
"""Every palette's contrast against CONTRAST, all failures reported at once."""
bad = []
for key in names:
p = PALETTES[key]
for field, a, b, least in CONTRAST:
ca = p["tag"] if a == "tag" else p[field][a]
r = ratio(ca, p[field][b])
if r < least:
bad.append(f"{key}: {field} {a} on {b} is {r:.2f}, needs {least}")
if bad:
raise SystemExit("contrast:\n" + "\n".join(bad))
day09_urban_rural.py. The CONTRAST list sets the minimum ratio for each pair of colors. The script reports every failure before it stops.Checks
- The script checks each count against the value on the poster and stops if one differs.
- The drawn urban areas cover 1.1427% of the drawn land. The counted share is 1.1432%. The script stops if the two differ by 0.01 point or more.
- The Gardner fact sheet reports the same Utah counts: 3,271,616 residents, 2,937,303 of them urban, or 89.8%.
- The script counts the counties with no urban block, 11 of 29. The count matches page 2 of the fact sheet.
- The urban and rural shares add to 100.0% for both people and land after rounding.
- After each render, a pixel check confirms that no title letter touches the seam.
- A new run of the linted, formatted script gives the posted poster, byte for byte. So does a run that merges the blocks again from the start.
Symbol guide
- Left half: the 25 urban areas are brick red. A thin gray line marks the state boundary.
- Labels give the share of Utahns in each of the five largest urban areas. The other 20 urban areas hold 9.6%.
- Right half: rural land is pale tan. The urban areas are cut out as dark green holes.
- Lakes are shaded on both maps.
- One scale bar, 100 km, applies to both maps.
- The large figures give each half's share of Utahns and of the land. The smaller figures give density, the state rank and the county count.
Data notes
- The counts are from the 2020 Census. They do not include growth since 2020.
- Urban and rural follow the Census Bureau's 2020 criteria. They are not planning or zoning categories.
- Land area excludes water. Each block records its land and water areas, and the shares use land only.
- West Wendover, NV–UT counts only its Utah part.
- Rural blocks that are mostly water draw as lakes. The figures still count their 68 residents and 205 km² of land.
- The state rank and the national share come from the Gardner fact sheet. The other figures are an independent count of the Census blocks.
Data and credit
The U.S. Census Bureau provides the 2020 TIGER/Line blocks for Utah, with each block's counts and its urban or rural class. The 2020 urban area file gives the area names. The Kem C. Gardner Policy Institute at the University of Utah published the fact sheet 2020 Census Urban Areas in Utah, by Mallory Bateman, in October 2024. Python draws the poster with GeoPandas and Matplotlib. The photographs in the video are from Dust & Starlight.
- Open the Census TIGER/Line files.
- Read the Census Bureau's urban and rural definitions.
- Open the Gardner fact sheet, a Portable Document Format (PDF) file.
Day 9 bonus
Utah Without Its Federal Land
Federal land is 65.8% of Utah's land. I removed that land to see how the urban and rural split changes. That leaves 28,144 square miles (72,891 km²) of state, tribal and private land.

Urban areas cover 1.1% of all land in Utah. They cover 3.3% of the land that is not federal. They still hold 89.8% of Utahns.

- Rural density rises from 4.1 to 12.3 people per square mile (1.6 to 4.7 per km²).
- Urban density moves from 3,119 to 3,164 people per square mile (1,204 to 1,222 per km²).
- Federal land is 1.4% of urban land, so the urban side changes very little.
- Salt Lake City, Ogden–Layton and Provo–Orem hold 72.6% of Utahns on 2.4% of the land that is not federal.
For each 2020 Census block, I reduced the land area by the share of the block that is federal. The Census counts people by block and does not show where they live inside a block, so the population stays by block. 3,052 Utahns live in blocks that are at least 95% federal.
The State of Utah School and Institutional Trust Lands Administration publishes the land ownership layer. Federal land is every polygon that the layer marks as federal. Tribal, state and private land stay on the map.
State land, hatched
State land is 7.9% of Utah's land and 23.0% of the land that is not federal. Much of it is trust land that the School and Institutional Trust Lands Administration manages. This map hatches that land and leaves the federal land cut away.

Without federal or state land, 21,669 square miles (56,123 km²) of private and tribal land remain. Urban areas cover 4.2% of that land. They still hold 89.8% of Utahns.
- Rural density rises to 16.1 people per square mile (6.2 per km²).
- Urban density moves to 3,196 people per square mile (1,234 per km²).
- 7,182 Utahns live in blocks that are at least 95% federal or state.
State land is every polygon that the same ownership layer marks as state. The method is the same as for federal land.
