Cost to drive from San Francisco to Sacramento
Driving from San Francisco to Sacramento covers 88 miles (141 km) and takes about 1h 47min without stops. At California's current fuel prices (week of 2026-07-20), the fuel for the trip costs about $16.34 in a typical petrol car — here's the full breakdown for petrol, diesel and electric.
| Location | Petrol/gal | Diesel/gal |
|---|---|---|
| San Francisco | $5.59 | $6.81 |
| Sacramento | $5.59 | $6.81 |
Enter your fuel economy and see stops along the way.
How this cost is calculated
We take the real driving distance between San Francisco and Sacramento (88 miles) from OpenStreetMap routing, then multiply by a typical car's fuel use and California's current average pump price. The petrol figure assumes 30 MPG · 7.8 L/100km; diesel and EV use 35 MPG · 6.7 L/100km and 3.5 mi/kWh. Your real cost depends on your car, traffic, driving style and the stations you pick — use the planner for your exact numbers, and check live prices on the California fuel prices page.
Related routes
Frequently asked questions
How much does it cost to drive from San Francisco to Sacramento?
The drive is 88 miles (141 km) and takes about 1h 47min without stops. Fuel costs roughly $16.34 in an average petrol car, $17.04 in a diesel, and $4.26 in an electric car, using California's current fuel prices.
How far is it from San Francisco to Sacramento in miles and km?
About 88 miles or 141 kilometres by road — roughly 1h 47min of driving.
Is it cheaper to fill up in San Francisco or Sacramento?
Both ends use the same regional prices on this route.
How do I get the exact cost for my car?
Open the FuelWide route planner, enter your car's fuel economy, and it prices the trip on live data — and shows fuel or charging stops along the way.
Driving distance via OSRM / OpenStreetMap. Fuel prices are California's current official averages; efficiency and electricity rate are typical estimates. Your figure will vary — use the planner for an exact result.
