San Francisco to Sacramento distance
San Francisco and Sacramento are 75.0 miles (121 km) apart in a straight line and 87.4 miles (141 km) apart by road: about 1 hr 50 min of driving without stops, mostly on I-80. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.
By the Mapsfera Team
- By road
- 87.4 mi (141 km)
- Driving time
- 1 hr 50 min
- Straight line
- 75.0 mi (121 km)
- Driving route
- Straight line
- Straight-line midpoint
- Halfway by road
Lambert azimuthal equal-area projection centered on the midpoint. Route: FOSSGIS OSRM with data © OpenStreetMap contributors, calculated on October 31, 2026; simplified line.
The figures
| Figure | Value |
|---|---|
| Straight line | 75.0 mi (121 km) geodesic on the WGS84 ellipsoid |
| By road | 87.4 mi (141 km) fastest driving route (OSRM) |
| Driving time | 1 hr 50 min no stops, no traffic |
| Road detour | +16% 1.16 times the straight line |
| Average speed | 49 mph (78 km/h) along the route, without stops |
| Bearing | 42° (northeast) leaving San Francisco toward Sacramento |
| Midpoint | 38.1792° N, 121.9595° W near Suisun City (California) |
| Halfway by road | Near Suisun City (California) 43.7 mi from each city by road |
| Time difference | None both share the same time |
| Elevation | San Francisco: 55 ft (17 m) · Sacramento: 27 ft (8 m) USGS 3DEP |
| Population | San Francisco: 826,079 · Sacramento: 536,449 Census Bureau estimate for 2025 |
San Francisco to Sacramento by road
The fastest driving route is 87.4 miles (141 km) long and takes about 1 hr 50 min without stops or traffic. Almost all of it is on I-80: 79.9 mi of 87.4 mi.
The whole route stays in California. That’s an average of 49 mph (78 km/h), and at under two hours you can do it without stopping. The time is OSRM’s estimate with OpenStreetMap data: no traffic and speeds somewhat below the limits, so real trips can differ.
Straight-line distance and bearing
In a straight line, the shortest distance over the Earth’s surface, San Francisco and Sacramento are 75.0 miles (121 km) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 16% longer: for every 100 miles in a straight line you drive 116. That’s a normal detour between two cities. Of the 40 US pairs in this series, it ranks 12th for detour (the average is 14%).
From San Francisco, Sacramento lies to the northeast (bearing 42°), and from Sacramento, San Francisco lies to the southwest.
Halfway between San Francisco and Sacramento
Halfway along the straight line, 37.5 miles (60.4 km) from each city, is the point 38.1792° N, 121.9595° W. It falls near Suisun City (California, pop. 29,454), 5.5 mi away.
By road, the halfway point is 43.7 miles (70.3 km) from each city, near Suisun City (California, pop. 29,454), 4.3 mi away. The two midpoints are 8.3 mi apart: if you want to meet halfway, the one on the road is the useful one.
Time zone
San Francisco and Sacramento share the same time all year: both are on Pacific Time.
The two cities
San Francisco and Sacramento sit at almost the same elevation: 55 ft (17 m) and 27 ft (8 m).
San Francisco has 826,079 people and Sacramento 536,449 people (Census Bureau estimate for 2025).
Frequently asked questions
How many miles is it from San Francisco to Sacramento?
75.0 miles (121 km) in a straight line and 87.4 miles (141 km) by road on the fastest route (mostly on I-80).
How long is the drive from San Francisco to Sacramento?
About 1 hr 50 min without stops or traffic, according to OSRM with OpenStreetMap data.
Where is the halfway point between San Francisco and Sacramento?
In a straight line, near Suisun City (California). By road, 43.7 mi from each city, near Suisun City (California).
Are San Francisco and Sacramento in the same time zone?
Yes: both are on Pacific Time all year.
Which direction is Sacramento from San Francisco?
Northeast: the straight line leaves San Francisco on a bearing of 42° (0° is north and 90° is east).
Measure it yourself on the map
The same two cities, already set up in the tools: move the points, get the route by bike or on foot and download the map.
- Distance between two points Measure the distance between any two places or points on the map, in miles or kilometers.
- Straight line vs driving distance Compare the as-the-crow-flies distance with the real driving distance and see how much the road adds.
- Halfway point Find the exact halfway point between two places and see it on the map, ready to share.
More distances from San Francisco
All distancesSources
- Driving route: FOSSGIS OSRM, car profile (calculated on October 31, 2026) · FOSSGIS e.V.
- Roads, streets and places · © OpenStreetMap contributors (ODbL)
- Straight line, bearings and midpoint (geodesics on the WGS84 ellipsoid) · GeographicLib (C. F. F. Karney)
- US city centers (GNIS) and their elevation (3DEP) · USGS (public domain)
- Population estimates, Vintage 2025 · US Census Bureau (public domain)
- Places near the midpoints: Mapsfera gazetteer (GeoNames, INE, IGN and Census) · Mapsfera
- Time zones (timezone-boundary-builder outlines and the IANA database) · © OpenStreetMap contributors (ODbL)
- Map: provinces (IGN), states (US Census Bureau) and countries (Natural Earth) · IGN, Census and Natural Earth
- Methodology