Skip to content
All articles
7 min readBy the GasBudgeter Research Team·July 20, 2026

How Much Does It Cost to Drive from Los Angeles to San Francisco?

Find the real cost to drive from LA to San Francisco in 2026 with one-way and round-trip gas estimates by MPG. California gas is pricey. Calculate yours now.

Quick Answer

The roughly 380-mile I-5 drive from Los Angeles to San Francisco costs about $60.80 in gas one-way at 30 MPG, or around $121.60 round-trip. California’s high pump prices make this pricier than similar distances elsewhere.

Everyone romanticizes the California coast drive, and for good reason. But whether you take the fast I-5 or the scenic Highway 1, the cost to drive from LA to San Francisco lands higher than most people expect, because California gas is among the priciest in the nation.

I-5 is the direct route at about 380 miles. Highway 1 is gorgeous but adds real distance and fuel. Here is what each really costs, how your vehicle changes it, and where to fill up to soften the California pump shock.

What it costs to drive from Los Angeles to San Francisco

Here is the same trip at three common fuel-economy levels, based on about 380 miles and roughly $4.80 a gallon. Find where your car lands, and remember round-trip simply doubles it.

Your car’s MPGOne-wayRound-trip
20 MPG$91.20$182.40
30 MPG$60.80$121.60
40 MPG$45.60$91.20

Those figures assume a fairly efficient car. Drive something thirstier, or hit mountains, heat, or heavy traffic, and your real number climbs. That is exactly why it helps to price the trip by your own vehicle rather than a generic average. And remember, the gas figure is per car, not per person: split it among three or four passengers and the Los Angeles to San Francisco drive becomes one of the cheapest ways to travel, often beating a single plane ticket outright.

How your vehicle changes the cost to drive from Los Angeles to San Francisco

The number that matters most is not the pump price. It is your car. On a 380-mile drive at about $4.80 a gallon, the gap between a thrifty hybrid and a thirsty pickup is dramatic. Here is the same trip across five common vehicle types so you can see where yours lands.

Vehicle typeOne-way gasRound-trip gas
Hybrid (~48 MPG)$38.00$76.00
Compact car (~38 MPG)$48.00$96.00
Midsize sedan (~30 MPG)$60.80$121.60
SUV / crossover (~24 MPG)$76.00$152.00
Pickup / large SUV (~17 MPG)$107.29$214.59

See the spread? Swapping a 17-MPG truck for a 30-MPG sedan can cut the fuel bill for this route roughly in half. If you own more than one vehicle, this table alone can tell you which one to take, which is a small decision that quietly saves real money over a year of trips. Real-world mileage tends to run 10 to 15% below the window sticker, thanks to how you drive, tire pressure, cargo weight, and even the weather, so measure yours with the MPG calculator before you trust any estimate. Then run your own figure through the gas cost calculator for a number matched to your exact car, and use the fuel consumption calculator to see the gallons you will actually burn.

The real cost is more than gas

Fuel is the headline, but it is rarely the whole bill. I-5 is toll-free; you only hit a toll if you cross certain Bay Area bridges heading into San Francisco. Then there is the stuff most people forget: coffee and snacks at every stop, a meal or two on a longer haul, and the slow, invisible cost of wear on your tires, brakes, and engine.

That wear is real money. When you price a trip by cost per mile instead of gas alone, you capture maintenance and depreciation too, which is how rideshare and delivery drivers think about every mile. A good habit is to pad your fuel estimate by 10 to 15% to cover the odd detour, an unexpected price jump, or a heavier load than planned, so you are never caught short at the pump. For a clean way to line up fuel, tolls, food, and lodging for this trip, drop them into the gas budget worksheet and you will get a number you can actually plan around.

What moves the price on the LA to San Francisco drive

California’s pump prices. The entire route stays in California, which regularly tops the list of most expensive states for gas. Special fuel blends, high taxes, and refinery distance all add up, as our most expensive states page explains.

Which route you take. I-5 through the Central Valley is the shortest and cheapest on fuel. The coastal Highway 1 can add 80 miles or more of slow, winding driving, which burns extra gas even though the views are worth it.

Your MPG. The Grapevine climb out of LA and Highway 1’s constant curves both lower real-world mileage. A hybrid shines on this trip, while a big SUV feels California prices twice as hard.

Where to fill up cheapest on the Los Angeles to San Francisco drive

Coastal cities like LA and San Francisco tend to charge the most, while stations in the Central Valley along I-5, around Bakersfield, Kettleman City, and Santa Nella, often run cheaper. Fill up mid-route rather than in the metros. It will not match Nevada or Arizona prices, since you never leave California, but a well-timed Valley fill-up still beats topping off downtown at either end.

Before you leave, glance at the live gas price tracker so you know what a good price looks like, and compare state-by-state averages on the gas prices by state page. On the road, a gas price app will point you to the cheapest pump near your exit instead of the first flashy sign off the ramp, which is often the priciest.

Should you drive, fly, or take the bus?

LA to San Francisco is one of the busiest flight routes in the country, with cheap fares and hourly departures. For a solo traveler in a hurry, flying often wins outright. Driving pays off when you want the car in the Bay Area, are splitting fuel among passengers, or plan to make the scenic Highway 1 run part of the trip itself.

The rule of thumb: driving usually wins when you are splitting fuel between passengers or need your car at the destination, while flying or the bus can win for a solo traveler on a longer route. Run the trade-off with the logic in our fly vs drive cost calculator guide before you book anything.

Doing this trip in an electric car?

If you are behind the wheel of an EV, the math flips in your favor. Covering 380 miles takes roughly 114 kWh for a typical electric car. Charge at home at normal residential rates and that works out to about $15.96 to $20.52 one-way, well under the $60.80 a 30-MPG gas car would burn. Lean on public DC fast chargers and it climbs to around $51.30, since fast charging costs more per kWh. California has the densest EV charging network in the U.S., so an EV covers this route with ease, and charging is dramatically cheaper than the state’s steep gas prices.

Charging prices swing a lot by state and network, so check EV charging prices by state and put the full comparison side by side with EV vs gas by state before you assume the plug always wins.

The best time to make the Los Angeles to San Francisco drive

Summer and holiday weekends jam I-5 and push prices up. Winter can bring fog and rain to the Grapevine and the Valley. A clear weekday keeps the drive smooth and the fuel bill lower.

Prices also drift over the week. Gas is often cheapest early in the week and creeps up before the weekend, which we break down in our best day to buy gas guide. Time your fill-up accordingly and you shave a little off every gallon.

How to spend less on the Los Angeles to San Francisco drive

How we calculate the cost to drive this route

No black box here. The formula is simple: trip cost = (distance ÷ your MPG) × price per gallon. For the Los Angeles to San Francisco run we use a driving distance of about 380 miles and a blended pump price of roughly $4.80 a gallon across the states you cross. Swap in your own numbers for an exact figure. Our gas cost calculator does the arithmetic instantly, and the road trip cost calculator handles multi-stop trips.

Where the numbers come from: pump prices trace to the U.S. Energy Information Administration (EIA) weekly retail survey, refreshed on our state price pages every business day. Distances reflect the main highway route between the two cities. You can read exactly how each figure is sourced on our methodology and sources pages, and track longer trends on the gas price history page.

Calculations reviewed by Alex Morgan · Last reviewed: July 12, 2026

Frequently Asked Questions

How much does it cost in gas to drive from LA to San Francisco?

About $61 one-way on I-5 for a 30-MPG car at $4.80 a gallon, or roughly $122 round-trip. Highway 1 costs more because of the extra distance.

Is I-5 or Highway 1 cheaper?

I-5 is cheaper and faster at about 380 miles. Highway 1 is far more scenic but adds distance and slow driving that raises your fuel cost.

Why is this drive so expensive?

The whole route is in California, which has some of the highest gas prices in the country due to special fuel blends and high state taxes.

Is it cheaper to fly or drive LA to San Francisco?

Solo, cheap frequent flights often beat driving. Driving wins for groups splitting gas or when you need the car in the Bay Area.

What would an EV cost on this route?

Charging at home, roughly $16 to $21 one-way, a fraction of the $60-plus a gas car spends.

The bottom line

Driving from Los Angeles to San Francisco costs most people between $45.60 and $91.20 in gas one-way, depending on the vehicle and the price on the day, with round-trip simply double that. The two levers you actually control are which car you take and where you fill up. Nail both, and you keep real money in your pocket.

Before you go, run your exact numbers in the gas cost calculator and check today’s live prices. Planning the whole route with stops? The road trip cost calculator maps every fill-up before you turn the key.


Try These Tools

More Articles