How far is Sacramento from the ocean?

Sacramento is inland, 34 miles (55 km) from the nearest coastline in a straight line. The nearest stretch of coast is in California, United States.

To the coast

34 miles

55 km · straight line

Nearest land border

484 miles

with Mexico

Setting

Inland

93rd farthest from the ocean of 182 cities

SacramentoNearest point on the coast

How far are you from the ocean?

Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot, not the city centre.

Sacramento at a glance

Coordinates
38.5816° N, 121.4944° W
Region
California, United States
Distance to the coast
34 miles (55 km), in a straight line
Nearest point on the coast
38.1138° N, 121.7119° W (California, United States)
Nearest land border
484 miles (779 km), with Mexico
Among United States's cities
27th farthest from the ocean of the 40 cities measured

Nearby cities and the coast

CityCountryTo the coast
San FranciscoUnited States1.2 miles (1.9 km)
San JoseUnited States7.3 miles (12 km)
FresnoUnited States109 miles (176 km)
Los AngelesUnited States14 miles (22 km)
Las VegasUnited States236 miles (379 km)
San DiegoUnited States0.5 miles (0.8 km)

Questions

How far is Sacramento from the ocean?

Sacramento is inland, 34 miles (55 km) from the nearest coastline in a straight line. The nearest stretch of coast is in California, United States.

Is that the driving distance?

No. 34 miles (55 km) is the straight-line distance from the city centre to the nearest point on the shore. The drive to a beach is longer, often much longer, and depends on the roads.

How far is Sacramento from the nearest border?

Sacramento is 484 miles (779 km) from the nearest land border, with Mexico, in a straight line.

Where in Sacramento is this measured from?

From the city's centre point (38.5816° N, 121.4944° W). A large city spreads out, so some neighbourhoods are closer to the ocean than this and some farther. For an exact figure from where you are, use your own location.

Measured by MapGO on October 8, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.