Skip to content
FuelWide

Cost to drive from Los Angeles to San Francisco

Driving from Los Angeles to San Francisco covers 382 miles (615 km) and takes about 7h 8min without stops. At the latest average price in each state along the way, the gas for the trip costs about $78 in a typical gas car — here's the full breakdown for gas, diesel and electric.

Los AngelesSan Francisco
382 miles (615 km)7h 8min driving

Where the gas money goes

The 12.7 gal a typical gas car burns on this drive, priced where it is burned.

California382 mi · 12.7 gal at $6.08/gal$77.51
Gas for the whole drive$78

Where to fill up

This route is already close to the lowest-cost option — refuel whenever it suits you.

  1. 1.Any station in Californiaat 159 mi7.4 gal at $6.08/gal
  2. 2.Any station in Californiaat 382 mi2 gal at $6.08/gal

Assumes a 13-gallon tank that starts half full. Your car will differ — plan it with your own numbers.

Tolls and vignettes: not included — we hold no verified toll tariffs for United States, and we don't guess them.

Gas, diesel or electric — priced for your car

Pick the kind of car you drive and whether you are coming back. Prices are the average across every state on the route.

Price this trip
1 person
Petrol$77.54
30 MPG · 12.7 gal
Diesel$91.23
35 MPG · 10.9 gal
Electriccheapest$18.56
3.5 mi/kWh · 109.2 kWh

Driving Los AngelesSan Francisco in a family car, electric costs $72.67 less than diesel80% of the bill.

Fuel needed
12.7 gal
petrol
Tank fills
0.8
15 gal tank
Per mile
$0.203
fuel only
Per person
$77.54
1 traveller
Driving time
7h 8m
one way
CO₂
111 kg
tailpipe

Los Angeles vs San Francisco: which end is cheaper?

Both ends of this route draw on the same regional averages — the comparison below shows what that means at the pump.

$6.09/galPetrol$6.09/gal
Same price at both ends
$8.35/galDiesel$8.35/gal
Same price at both ends
$0.17/kWhElectricity$0.17/kWh
Same price at both ends
No advantage either way. The 12.7 gal this trip needs costs the same at both ends — fill up wherever is convenient.
Official averages, week of 2026-09-14. Electricity is a typical domestic rate; public rapid charging costs two to three times more.

What if fuel prices move?

Booking this drive for later in the year? Pump prices swing with crude, season and tax changes — here is the same 382 miles in a typical petrol car at four price levels.

If prices fall 10%$70$-8
At today's prices$78
If prices rise 10%$85+$8
If prices rise 25%$97+$19
Exact cost for your car

Your car's mpg, tank and fuel level — plus tolls, route options and the cheapest stops.

Plan this trip →

How this cost is calculated

We take the real driving route between Los Angeles and San Francisco (382 miles) from OpenStreetMap routing, work out how far it runs in each state, and price the fuel a typical car burns in each one at that place's latest published average. The gas 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 trip planner for your exact numbers, or check prices on the California fuel prices page.

Related routes

Frequently asked questions

How much does it cost to drive from Los Angeles to San Francisco?

The drive is 382 miles (615 km) and takes about 7h 8min without stops. Gas costs roughly $77.51 in an average gas car, $91.17 in a diesel, and $18.56 in an electric car, using the latest average price in each state along the way.

How far is it from Los Angeles to San Francisco in miles and km?

About 382 miles or 615 kilometres by road — roughly 7h 8min of driving.

Is it cheaper to fill up in Los Angeles or San Francisco?

Both ends use the same regional prices on this route.

How many times will I need to fill up between Los Angeles and San Francisco?

None on the way. The drive needs about 12.7 gal of petrol and a typical 15 gal tank covers roughly 450 miles, so one full tank at the start does the whole trip.

Is it cheaper to drive or fly from Los Angeles to San Francisco?

On fuel alone the drive costs about $78 one way, and that cost splits across everyone in the car — with $19 each for four people, which is where driving usually wins. Against that, the drive takes 7h 8min without stops, and a fair comparison also counts tolls, parking, wear and any overnight stay.

What will this trip cost if fuel prices change?

At today's prices the gas is about $78. A 10% rise takes it to $85, a 25% rise to $97, and a 10% fall to $70. Prices here refresh as each source publishes, so this page always reflects the latest figures.

How do I get the exact cost for my car?

Set the vehicle type on this page for an instant estimate, or open the FuelWide trip planner with your car's fuel economy, tank size and how full it is — it prices the drive state by state and suggests the cheapest places to stop.

Driving distance via OSRM / OpenStreetMap. Fuel prices are the latest published averages for each state on the route (sources named on each price page); efficiency and electricity rates are typical estimates, and tolls are not included unless listed above. Your figure will vary — use the planner for an exact result.