mapbench

October 13, 2026 · 9 min read · MapBench editorial

How Far Is Every US State Capital From the Coast?

We measured the straight-line distance from all 50 US state capitals to the nearest coastline. Pierre, South Dakota is the most landlocked at 924.4 miles — explore the full ranked table.

How far would you have to travel — as the crow flies — from your state capital to reach the coast? We computed the straight-line distance from all 50 US state capitals to the nearest coastline using the same great-circle distance method behind MapBench's distance tools, with capital coordinates from Wikipedia and the Natural Earth 1:10m coastline dataset.

The results hold a few surprises: Denver's nearest coast isn't California or Texas — it's the Gulf of California in Mexico. And for the northern plains capitals, the closest “coast” isn't an ocean at all, but Canada's Hudson Bay.

The 10 state capitals furthest from the coast

#CapitalStateDistanceNearest coast
1PierreSouth Dakota924.4 mi (1487.7 km)Hudson Bay, Manitoba, Canada
2CheyenneWyoming826.2 mi (1329.7 km)Gulf of California (Sea of Cortez), Sonora, Mexico
3Des MoinesIowa801.8 mi (1290.4 km)Gulf of Mexico near the Texas-Louisiana border
4BismarckNorth Dakota773.5 mi (1244.9 km)Hudson Bay, Manitoba, Canada
5LincolnNebraska769.6 mi (1238.6 km)Galveston Bay, Gulf of Mexico, Texas
6Saint PaulMinnesota747.9 mi (1203.7 km)Hudson Bay, Canada
7DenverColorado744.8 mi (1198.7 km)Gulf of California (Sea of Cortez), Sonora, Mexico
8MadisonWisconsin675.7 mi (1087.4 km)James Bay (southern Hudson Bay), Ontario, Canada
9TopekaKansas633.9 mi (1020.1 km)Gulf of Mexico near the Texas-Louisiana border
10SpringfieldIllinois632.5 mi (1018.0 km)Gulf of Mexico near Mobile Bay, Alabama

The 10 state capitals closest to the coast

#CapitalStateDistanceNearest coast
1JuneauAlaska0.3 mi (0.4 km)Gastineau Channel shoreline, Juneau, Alaska
2BostonMassachusetts0.5 mi (0.8 km)Boston Harbor, Massachusetts
3OlympiaWashington0.7 mi (1.1 km)Budd Inlet, Puget Sound, Washington
4HonoluluHawaii1.0 mi (1.5 km)South shore of Oahu near Waikiki, Hawaii
5AnnapolisMaryland1.3 mi (2.0 km)Chesapeake Bay near the Severn River, Maryland
6ProvidenceRhode Island1.6 mi (2.6 km)Narragansett Bay, Rhode Island
7DoverDelaware6.4 mi (10.2 km)Delaware Bay, Delaware
8RichmondVirginia17.0 mi (27.4 km)Tidal James River, Virginia
9AugustaMaine17.3 mi (27.9 km)Muscongus Bay, Maine coast
10TrentonNew Jersey19.6 mi (31.5 km)Tidal Delaware River near Philadelphia, Pennsylvania

Surprising findings

  • Denver's nearest coast is in Mexico. At 744.8 miles, the Gulf of California (Sea of Cortez) in Sonora beats both the Pacific and the Gulf of Mexico.
  • The Hudson Bay effect. Pierre, Bismarck, Saint Paul and Madison are all closer to Canada's Hudson Bay than to any US ocean coast — Pierre is 924 miles from it and still the most landlocked capital in the nation.
  • Rivers count. Several capitals sit near tidal waterways that are part of the coastline dataset: Richmond on the tidal James, Trenton on the tidal Delaware, Albany on the tidal Hudson, and Montpelier — whose nearest “coast” is the St. Lawrence River near Montreal, Canada.
  • Phoenix is closer to the ocean than you think. Arizona's capital is just 163.9 miles from the Gulf of California — closer than Atlanta is to the Atlantic (235.7 miles).

All 50 state capitals, ranked closest to furthest

The complete ranked table. Every distance is a straight-line great-circle measurement from the capital's coordinates to the nearest point on the coastline, with the exact water body named per row.

#CapitalStateDistanceNearest coast
1JuneauAlaska0.3 mi (0.4 km)Gastineau Channel shoreline, Juneau, Alaska
2BostonMassachusetts0.5 mi (0.8 km)Boston Harbor, Massachusetts
3OlympiaWashington0.7 mi (1.1 km)Budd Inlet, Puget Sound, Washington
4HonoluluHawaii1.0 mi (1.5 km)South shore of Oahu near Waikiki, Hawaii
5AnnapolisMaryland1.3 mi (2.0 km)Chesapeake Bay near the Severn River, Maryland
6ProvidenceRhode Island1.6 mi (2.6 km)Narragansett Bay, Rhode Island
7DoverDelaware6.4 mi (10.2 km)Delaware Bay, Delaware
8RichmondVirginia17.0 mi (27.4 km)Tidal James River, Virginia
9AugustaMaine17.3 mi (27.9 km)Muscongus Bay, Maine coast
10TrentonNew Jersey19.6 mi (31.5 km)Tidal Delaware River near Philadelphia, Pennsylvania
11TallahasseeFlorida23.2 mi (37.3 km)Apalachee Bay, Gulf of Mexico, Florida
12SacramentoCalifornia31.7 mi (51.0 km)Suisun Bay (San Francisco Bay-Delta), California
13HartfordConnecticut33.3 mi (53.5 km)Long Island Sound near the Connecticut River mouth
14ConcordNew Hampshire40.9 mi (65.9 km)New Hampshire Atlantic seacoast
15SalemOregon47.8 mi (77.0 km)Pacific coast near Lincoln City, Oregon
16Baton RougeLouisiana48.2 mi (77.5 km)Louisiana Gulf coast near Breton Sound
17HarrisburgPennsylvania65.6 mi (105.6 km)Upper Chesapeake Bay, Maryland
18MontpelierVermont93.2 mi (149.9 km)St. Lawrence River near Montreal, Quebec, Canada
19AlbanyNew York93.2 mi (150.0 km)Tidal Hudson River near Peekskill, New York
20ColumbiaSouth Carolina101.5 mi (163.3 km)Atlantic coast near Hilton Head Island, South Carolina
21RaleighNorth Carolina106.7 mi (171.7 km)Atlantic coast near Topsail Island, North Carolina
22Carson CityNevada121.0 mi (194.8 km)Sacramento-San Joaquin Delta shoreline, California
23AustinTexas124.9 mi (201.0 km)Gulf of Mexico near Port Lavaca, Texas
24MontgomeryAlabama128.0 mi (205.9 km)Gulf of Mexico near Destin, Florida
25JacksonMississippi131.8 mi (212.2 km)Louisiana Gulf coast near the Mississippi Delta
26PhoenixArizona163.9 mi (263.7 km)Gulf of California (Sea of Cortez), Sonora, Mexico
27CharlestonWest Virginia231.5 mi (372.6 km)Tidal Potomac River near Fredericksburg, Virginia
28AtlantaGeorgia235.7 mi (379.3 km)Atlantic coast near Sapelo Island, Georgia
29ColumbusOhio320.1 mi (515.1 km)Tidal Potomac River near Fredericksburg, Virginia
30Little RockArkansas324.1 mi (521.7 km)Louisiana Gulf coast near the Mississippi Delta
31NashvilleTennessee384.1 mi (618.1 km)Gulf of Mexico near Pensacola, Florida
32BoiseIdaho389.6 mi (627.0 km)Pacific coast near the Columbia River mouth, Washington
33Oklahoma CityOklahoma420.4 mi (676.6 km)Galveston Bay, Gulf of Mexico, Texas
34FrankfortKentucky451.6 mi (726.8 km)Atlantic coast near Hilton Head Island, South Carolina
35LansingMichigan476.6 mi (767.0 km)Tidal Potomac River near Quantico, Virginia
36IndianapolisIndiana480.6 mi (773.5 km)Tidal Potomac River near Fredericksburg, Virginia
37HelenaMontana486.0 mi (782.1 km)Puget Sound near Whidbey Island, Washington
38Santa FeNew Mexico513.6 mi (826.6 km)Gulf of California (Sea of Cortez), Sonora, Mexico
39Jefferson CityMissouri576.0 mi (927.0 km)Louisiana Gulf coast near the Mississippi Delta
40Salt Lake CityUtah595.4 mi (958.2 km)Pacific coast near Long Beach, California
41SpringfieldIllinois632.5 mi (1018.0 km)Gulf of Mexico near Mobile Bay, Alabama
42TopekaKansas633.9 mi (1020.1 km)Gulf of Mexico near the Texas-Louisiana border
43MadisonWisconsin675.7 mi (1087.4 km)James Bay (southern Hudson Bay), Ontario, Canada
44DenverColorado744.8 mi (1198.7 km)Gulf of California (Sea of Cortez), Sonora, Mexico
45Saint PaulMinnesota747.9 mi (1203.7 km)Hudson Bay, Canada
46LincolnNebraska769.6 mi (1238.6 km)Galveston Bay, Gulf of Mexico, Texas
47BismarckNorth Dakota773.5 mi (1244.9 km)Hudson Bay, Manitoba, Canada
48Des MoinesIowa801.8 mi (1290.4 km)Gulf of Mexico near the Texas-Louisiana border
49CheyenneWyoming826.2 mi (1329.7 km)Gulf of California (Sea of Cortez), Sonora, Mexico
50PierreSouth Dakota924.4 mi (1487.7 km)Hudson Bay, Manitoba, Canada

How this was calculated

We took each capital's coordinates from Wikipedia (accessed 2026-10-13), then found the nearest point on the Natural Earth 1:10m coastline and measured the haversine great-circle distance — the same method MapBench's distance tools use. Six results were independently re-verified. The full methodology, sources and limitations are documented alongside the dataset, which is free to cite with attribution to MapBench.

Frequently asked questions

  • Which US state capital is furthest from the ocean? Pierre, South Dakota — 924.4 miles (1,487.7 km) from the nearest coastline, which is Hudson Bay in Manitoba, Canada.
  • Which US state capital is closest to the coast? Juneau, Alaska — just 0.3 miles (0.4 km) from the Gastineau Channel shoreline, followed by Boston (0.5 mi) and Olympia, Washington (0.7 mi).
  • Are these driving distances? No — these are straight-line (“as the crow flies”) distances. Driving distances would be longer.
  • Why do some distances point to rivers or Canada/Mexico? The coastline dataset includes major tidal bays, estuaries and tidal rivers, and “nearest coast” was measured without regard to national borders. Each row names the exact water body.
Editorial note: This guide is written and reviewed for MapBench. We correct factual or technical errors when they are reported. See our editorial policy.