How far is San Francisco, CA from Barstow, CA?

The driving distance from San Francisco, CA to Barstow, CA is about 179.8 miles (289.4 km), with a travel time of about 03h 37m by car.

  • The straight-line flight distance is about 150.1 miles (241.5 km).
  • For a round trip, plan for roughly 07h 14m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 6:00 AM to 8:00 AM PDT.
Trip Tools

Reverse, save, or send this route

This drive is better planned with a longer stop or an overnight stay. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
179.86 mi
03h 37m
Flight
150.07 mi
241.52 km direct

This drive is better planned with a longer stop or an overnight stay.

Learn Distance

Choose another destination from San Francisco.

Flight Distance

Direct air line
150.07 mi
Kilometers
241.52 km
Flight Time
00h 18m

Driving Distance

Road route
179.86 mi
Kilometers
289.45 km
Drive Time
03h 37m

Gas Cost Calculator

Leave and Arrive Planner

Pick a departure time to see your estimated arrival and same-day return window.

Drive time stays fixed at 03h 37m.

Arrival Snapshot
Arrive in Barstow
Wed, Apr 22, 11:21 PM PDT
Return by in San Francisco
Thu, Apr 23, 2:58 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-04-22T19:44
Arrive Barstow
Wed, Apr 22, 11:21 PM PDT
Route Timing
03h 37m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
9:37 AM to 11:37 AM PDT

An early departure helps you fit a real stop into the day without turning the return into a late-night drive.

Leave by
9:46 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in San Francisco
9:00 PM PDT
Early departure recommended

You are leaving earlier than the recommended window, which gives you extra margin for breaks and traffic.

Halfway Point

A useful midpoint for breaks, coffee, or meeting in the middle.

Mid-route stop
Modesto
CA

The third most populous city in Stanislaus County, California.

From San Francisco
89.9 mi
01h 48m
To Barstow
90 mi
01h 48m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
65°F
Wednesday

Chance Light Rain

Starts
Wed, Apr 22 6:00 AM PDT
Wind
2 to 9 mph WSW
Destination
68°F
This Afternoon

Slight Chance Showers And Thunderstorms

Starts
Wed, Apr 22 12:00 PM PDT
Wind
5 to 10 mph NW

Driving Route Map

The map below follows the saved road route between San Francisco and Barstow.

Turn-by-Turn Driving Directions

Step-by-step road directions between San Francisco and Barstow.

  1. 1

    Start on Market Street

    95 m · 8 sec · Market Street

  2. 2

    Turn right onto 11th Street

    3173 ft · 2 min · 11th Street

  3. 3

    Turn left onto Bryant Street

    1724 ft · 1 min · Bryant Street

  4. 4

    Take the ramp left toward I 80 East: Oakland

    1538 ft · 26 sec

  5. 5

    Merge slight right onto Route 80

    1.5 km · 1 min · Route 80

  6. 6

    Continue on Dwight D. Eisenhower Highway

    5.8 mi · 9 min · Dwight D. Eisenhower Highway

  7. 7

    Take the exit slight right toward I 580 East: Downtown Oakland, Hayward-Stockton

    1.6 km · 1 min

  8. 8

    Merge slight left onto MacArthur Freeway

    15.9 mi · 18 min · MacArthur Freeway

  9. 9

    Merge slight left onto Arthur H. Breed Junior Freeway

    11.5 mi · 13 min · Arthur H. Breed Junior Freeway

  10. 10

    Keep slight right to continue on Arthur H. Breed Junior Freeway

    17.8 mi · 21 min · Arthur H. Breed Junior Freeway

  11. 11

    Keep slight left to continue on Robert T. Monagan Freeway

    3.9 mi · 4 min · Robert T. Monagan Freeway

  12. 12

    Keep slight left to continue on Robert T. Monagan Freeway

    10.7 mi · 12 min · Robert T. Monagan Freeway

  13. 13

    Merge slight left onto Westside Freeway

    1.6 km · 1 min · Westside Freeway

  14. 14

    Take the exit slight right toward CA 120 East: Manteca, Sonora

    143 m · 6 sec

  15. 15

    Continue straight

    6.2 mi · 7 min

  16. 16

    Take the exit slight right toward CA 99 South: Modesto, Fresno

    1.1 km · 2 min

  17. 17

    Merge slight left

    97.5 mi · 1 hr 52 min

  18. 18

    Take the exit slight right toward Herndon Avenue

    2831 ft · 34 sec

  19. 19

    Continue on North Golden State Boulevard

    1895 ft · 37 sec · North Golden State Boulevard

  20. 20

    Turn right onto West Herndon Avenue

    1260 ft · 28 sec · West Herndon Avenue

  21. 21

    At the end of the road, turn right onto North Parkway Drive

    2553 ft · 1 min · North Parkway Drive

  22. 22

    Continue on West Herndon Avenue

    2.7 mi · 6 min · West Herndon Avenue

  23. 23

    Continue on North Dickenson Avenue

    1.2 mi · 3 min · North Dickenson Avenue

  24. 24

    Turn left onto West Barstow Avenue

    46 m · 7 sec · West Barstow Avenue

  25. 25

    Arrive at your destination

    0 m · 1 sec · West Barstow Avenue

Car Route Details

A richer read on the saved driving route between San Francisco and Barstow.

OSRM road route
Drive Character

Interchange-aware route

The drive includes several ramps, exits, or merges, so checking the next few maneuvers before busy interchanges is useful.

Directions
25 steps
5 turns on the saved route
Ramps & Exits
10
5 merges, 5 ramps or exits
Navigation Density
13.9 / 100 mi
Decision points by distance
Main Roads
CA 99 South
98.2 mi · 55%
Arthur H. Breed Junior Freeway
29.3 mi · 16%
MacArthur Freeway
15.9 mi · 9%
Robert T. Monagan Freeway
14.6 mi · 8%
CA 120 East
6.27 mi · 3%
Dwight D. Eisenhower Highway
5.76 mi · 3%
Longest Stretch

CA 99 South

Merge slight left

97.5 mi · 01h 52m

Route Summary

A quick read on whether this route feels easy, ambitious, or worth planning around.

Trip Read

A longer out-and-back drive

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

Drive Time
03h 37m
Long day trip
Same-Day Return
07h 14m
Round-trip wheel time
Road vs Air
+29.7 mi
150.1 mi direct line
Halfway Stop
Modesto
01h 48m from San Francisco
Leave By
9:46 AM PDT
Early departure recommended
Weather Watch

Chance Light Rain leaving San Francisco and Slight Chance Showers And Thunderstorms near Barstow.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from San Francisco to Barstow?

The road trip is about 179.8 miles (289.4 km) and usually takes 03h 37m in normal driving conditions.

Is this a same-day trip or an overnight route?

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

What is the halfway point on this route?

Modesto is a useful midpoint, sitting about 89.9 miles from San Francisco and 90 miles from Barstow.

How much longer is the road route than the straight-line distance?

The direct path is about 150.1 miles (241.5 km), while the road route adds roughly 29.7 extra miles because roads do not follow the straight air line.

When is the best time to leave for this route?

A good departure window is usually 6:00 AM to 8:00 AM PDT. If you want a more comfortable same-day return, try to leave by 9:46 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $36.63 one way or $73.27 round trip. Estimated CO2 is about 56.4 kg one way.

What should you check before leaving?

Before you leave, expect Chance Light Rain around San Francisco and Slight Chance Showers And Thunderstorms near Barstow.

Stop Ideas Near Modesto

Useful break, food, and waypoint ideas within about 15 miles of the route midpoint.

Mid-route Guidance
Local place coverage is thin around Modesto, so nearby transit and meeting points are shown instead.
Reviewed stop coverage is still thin around this midpoint, so practical transit waypoints are shown on the right.

Transit and Meeting Points

Useful pickup, handoff, or rendezvous points close to Modesto.

RAIL

Modesto station

8 mi away
1700 Held Drive
RAIL

Denair station

21 mi away
3800 Santa Fe Avenue
RAIL

Manteca, CA

29 mi away
17800 Shideler Parkway
RAIL

Tracy, CA

39 mi away
4800 Tracy Boulevard

Flight Path Map

This map shows the direct air route between San Francisco and Barstow. Straight-line distance: 150.07 mi (241.52 km).

San Francisco

#1 San Francisco

The seventeenth most populous city in the United States and the center of the San Francisco Bay Area.

Population866,606
Coordinates37.7749300, -122.4194200
Altitude16
CountryUnited States
Barstow

#2 Barstow

City in San Bernardino County, California, United States

Population23,581
Coordinates36.8152200, -119.9698800
Altitude84
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Barstow (-119.96988, 36.81522)

Estimated Travel Time

Distance: 289 km by road

SpeedTime
30 mph (48.3 km/h)05h 59m
40 mph (64.37 km/h)04h 29m
50 mph (80.47 km/h)03h 35m
60 mph (96.56 km/h)02h 59m
70 mph (112.65 km/h)02h 34m
80 mph (129 km/h)02h 14m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
6.35 gal
24.02 L · about $36.63
Round trip
$73.27
12.7 gal · 48.04 L
Estimated CO2
56.4 kg one way
Round trip: 112.9 kg / 249 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $36.63 $73.27
Mid-grade $6.07 $38.52 $77.04
Premium $6.24 $39.64 $79.29
Diesel $7.57 $48.05 $96.10

Assumes 8.3 L/100 km (about 28.3 MPG). CO2 is an estimate and varies by vehicle, fuel blend, traffic, and terrain.

Prices in California · Apr 23, 2026

There is no time difference between San Francisco and Barstow. The current time is 19:44:38.

Distance to Other Cities

Planning a road trip? See the full trip guide on Trip.ovh — stops, fuel costs, weather, and departure timing.

How did we calculate? Place names are translated into coordinates. The Haversine formula calculates straight-line distance; driving distance uses road network data.