How far is Modesto, CA from San Bernardino, CA?

The driving distance from Modesto, CA to San Bernardino, CA is about 371 miles (597.1 km), with a travel time of about 06h 18m by car.

  • The straight-line flight distance is about 320.3 miles (515.4 km).
  • For a round trip, plan for roughly 12h 36m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 6:00 AM to 7:30 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
370.99 mi
06h 18m
Flight
320.24 mi
515.37 km direct

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

Learn Distance

Choose another destination from Modesto.

Flight Distance

Direct air line
320.24 mi
Kilometers
515.37 km
Flight Time
00h 38m

Driving Distance

Road route
370.99 mi
Kilometers
597.05 km
Drive Time
06h 18m

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 06h 18m.

Arrival Snapshot
Arrive in San Bernardino
Mon, Jun 1, 9:33 PM PDT
Return by in Modesto
Tue, Jun 2, 3:51 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Modesto
2026-06-01T15:15
Arrive San Bernardino
Mon, Jun 1, 9:33 PM PDT
Route Timing
06h 18m
One way by road
Best Departure Window
6:00 AM to 7:30 AM PDT
Treat this as a longer travel day
Arrive between
12:18 PM to 1:48 PM PDT

Starting early still helps, but most travelers will want a longer stop or an overnight stay on a route this long.

Leave by
11:24 PM PDT
Keeps a same-day return open with about 08h 00m at the destination.
Back in Modesto
8:00 PM PDT
Overnight-style route

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
McFarland
CA

City in Kern County, California, United States

From Modesto
182.4 mi
03h 09m
To San Bernardino
188.6 mi
03h 09m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
91°F
Today

Sunny

Starts
Mon, Jun 1 11:00 AM PDT
Wind
6 mph NW
Destination
88°F
This Afternoon

Sunny

Starts
Mon, Jun 1 3:00 PM PDT
Wind
10 to 15 mph W

Driving Route Map

The map below follows the saved road route between Modesto and San Bernardino.

Turn-by-Turn Driving Directions

Step-by-step road directions between Modesto and San Bernardino.

  1. 1

    Start on 11th Street

    25 m · 11 sec · 11th Street

  2. 2

    Turn left onto H Street

    2262 ft · 1 min · H Street

  3. 3

    Take the ramp left

    1163 ft · 28 sec

  4. 4

    Merge slight left

    93.9 mi · 1 hr 47 min

  5. 5

    Keep slight left

    41 mi · 44 min

  6. 6

    Keep slight left to continue on Golden State Highway

    58.6 mi · 1 hr 3 min · Golden State Highway

  7. 7

    Continue on Golden State Freeway

    5.2 mi · 6 min · Golden State Freeway

  8. 8

    Keep slight left to continue on Golden State Freeway

    27.4 mi · 30 min · Golden State Freeway

  9. 9

    Keep slight left to continue on Golden State Freeway

    58.2 mi · 1 hr 7 min · Golden State Freeway

  10. 10

    Keep slight left to continue on Golden State Freeway

    2 mi · 2 min · Golden State Freeway

  11. 11

    Take the exit slight right toward I 210 East: Pasadena

    1347 ft · 18 sec

  12. 12

    Continue on Foothill Freeway

    24.4 mi · 28 min · Foothill Freeway

  13. 13

    Keep slight right to continue on Foothill Freeway

    19.1 mi · 22 min · Foothill Freeway

  14. 14

    Keep slight right to continue on Foothill Freeway

    2.9 mi · 3 min · Foothill Freeway

  15. 15

    Keep slight right to continue on Foothill Freeway

    1.4 mi · 2 min · Foothill Freeway

  16. 16

    Keep slight right to continue on Foothill Freeway

    1.2 mi · 1 min · Foothill Freeway

  17. 17

    Keep slight right to continue on Foothill Freeway

    1.8 mi · 2 min · Foothill Freeway

  18. 18

    Keep slight right to continue on Foothill Freeway

    22.8 mi · 26 min · Foothill Freeway

  19. 19

    Take the exit slight right toward I 215: Barstow, Riverside

    1209 ft · 29 sec

  20. 20

    Keep slight right to continue on I 215 South: Riverside

    3196 ft · 1 min

  21. 21

    Merge slight left onto Barstow Freeway

    1033 ft · 14 sec · Barstow Freeway

  22. 22

    Continue on San Bernardino Freeway

    1.8 mi · 2 min · San Bernardino Freeway

  23. 23

    Take the exit slight right toward CA 66 West: 5th Street, Civic Center

    1873 ft · 53 sec

  24. 24

    Turn left onto West 5th Street

    1.2 km · 2 min · West 5th Street

  25. 25

    Arrive at your destination

    0 m · 1 sec · West 5th Street

Car Route Details

A richer read on the saved driving route between Modesto and San Bernardino.

OSRM road route
Drive Character

Long-distance drive

This route is long enough that fuel, rest stops, weather, and timing matter more than any single maneuver.

Directions
25 steps
2 turns on the saved route
Ramps & Exits
6
2 merges, 4 ramps or exits
Navigation Density
6.7 / 100 mi
Decision points by distance
Main Roads
H Street
135 mi · 37%
Golden State Freeway
92.8 mi · 25%
Foothill Freeway
73.7 mi · 20%
Golden State Highway
58.6 mi · 16%
San Bernardino Freeway
1.84 mi
West 5th Street
0.76 mi
Longest Stretch

H Street

Merge slight left

93.9 mi · 01h 47m

Route Summary

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

Trip Read

Better with a longer stop

This route is long enough that most travelers will be better off planning an overnight stay or a more deliberate stop window.

Drive Time
06h 18m
Overnight route
Same-Day Return
12h 36m
Round-trip wheel time
Road vs Air
+50.7 mi
320.3 mi direct line
Halfway Stop
McFarland
03h 09m from Modesto
Leave By
11:24 PM PDT
Overnight-style route
Weather Watch

Sunny leaving Modesto and Sunny near San Bernardino.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from Modesto to San Bernardino?

The road trip is about 371 miles (597.1 km) and usually takes 06h 18m in normal driving conditions.

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

This route is long enough that most travelers will be better off planning an overnight stay or a more deliberate stop window.

What is the halfway point on this route?

McFarland is a useful midpoint, sitting about 182.4 miles from Modesto and 188.6 miles from San Bernardino.

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

The direct path is about 320.3 miles (515.4 km), while the road route adds roughly 50.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 7:30 AM PDT. Starting early still helps, but most travelers will want a longer stop or an overnight stay on a route this long.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $75.52 one way or $151.03 round trip. Estimated CO2 is about 116.3 kg one way.

What should you check before leaving?

Before you leave, expect Sunny around Modesto and Sunny near San Bernardino.

Stop Ideas Near McFarland

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

Mid-route Guidance
Local place coverage is thin around McFarland, 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 McFarland.

RAIL

Wasco station

13 mi away
700 G Street
RAIL

Bakersfield

39 mi away
601 Truxtun Ave
RAIL

Corcoran station

55 mi away
1099 Otis Ave.
BUS

Visalia, California

72 mi away
425 E. Oak Street

Flight Path Map

This map shows the direct air route between Modesto and San Bernardino. Straight-line distance: 320.24 mi (515.37 km).

Modesto

#1 Modesto

The third most populous city in Stanislaus County, California.

Population215,666
Coordinates37.6391000, -120.9968800
Altitude28
CountryUnited States
San Bernardino

#2 San Bernardino

The second most populous city in San Bernardino County, California.

Population217,491
Coordinates34.1083400, -117.2897700
Altitude321
CountryUnited States
Start: 11th Street (-120.996829, 37.639137)
End: West 5th Street (-117.289794, 34.108326)

Estimated Travel Time

Distance: 597 km by road

SpeedTime
30 mph (48.3 km/h)12h 21m
40 mph (64.37 km/h)09h 16m
50 mph (80.47 km/h)07h 25m
60 mph (96.56 km/h)06h 10m
70 mph (112.65 km/h)05h 18m
80 mph (129 km/h)04h 37m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
13.09 gal
49.56 L · about $75.52
Round trip
$151.03
26.18 gal · 99.12 L
Estimated CO2
116.3 kg one way
Round trip: 232.7 kg / 513 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $75.52 $151.03
Mid-grade $6.07 $79.40 $158.81
Premium $6.24 $81.72 $163.44
Diesel $7.57 $99.05 $198.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 · Jun 01, 2026

There is no time difference between Modesto and San Bernardino. The current time is 15:15:25.

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.