How far is Sunnyvale from the ocean?

Sunnyvale is on the coast: the nearest shoreline is 3.7 miles (6 km) away in a straight line. The nearest stretch of coast is in California, United States.

To the coast

3.7 miles

6 km · straight line

Nearest land border

433 miles

with Mexico

Setting

On the coast

696th farthest from the ocean of 861 cities

SunnyvaleNearest 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.

Sunnyvale at a glance

Coordinates
37.3688° N, 122.0363° W
Region
California, United States
Distance to the coast
3.7 miles (6 km), in a straight line
Nearest point on the coast
37.4165° N, 122.0685° W (California, United States)
Nearest land border
433 miles (697 km), with Mexico
Among United States's cities
249th farthest from the ocean of the 300 cities measured

Nearby cities and the coast

CityCountryTo the coast
Santa ClaraUnited States5.5 miles (8.9 km)
San JoseUnited States7.3 miles (12 km)
FremontUnited States3 miles (4.9 km)
San MateoUnited States1.4 miles (2.2 km)
HaywardUnited States4.3 miles (6.9 km)
OaklandUnited States0.8 miles (1.2 km)

Explore United States

Questions

How far is Sunnyvale from the ocean?

Sunnyvale is on the coast: the nearest shoreline is 3.7 miles (6 km) away in a straight line. The nearest stretch of coast is in California, United States.

Is that the driving distance?

No. 3.7 miles (6 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 Sunnyvale from the nearest border?

Sunnyvale is 433 miles (697 km) from the nearest land border, with Mexico, in a straight line.

Where in Sunnyvale is this measured from?

From the city's centre point (37.3688° N, 122.0363° 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 19, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.