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

The driving distance from Danville, CA to San Bernardino, CA is about 413.5 miles (665.4 km), with a travel time of about 06h 51m by car.

  • The straight-line flight distance is about 367.6 miles (591.6 km).
  • For a round trip, plan for roughly 13h 42m 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
413.47 mi
06h 51m
Flight
367.6 mi
591.59 km direct

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

Learn Distance

Choose another destination from Danville.

Flight Distance

Direct air line
367.6 mi
Kilometers
591.59 km
Flight Time
00h 44m

Driving Distance

Road route
413.47 mi
Kilometers
665.42 km
Drive Time
06h 51m

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 51m.

Arrival Snapshot
Arrive in San Bernardino
Sun, May 31, 12:30 AM PDT
Return by in Danville
Sun, May 31, 7:21 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Danville
2026-05-30T17:39
Arrive San Bernardino
Sun, May 31, 12:30 AM PDT
Route Timing
06h 51m
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:51 PM to 2:21 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
10:18 PM PDT
Keeps a same-day return open with about 08h 00m at the destination.
Back in Danville
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
Lost Hills
CA

Census-designated place in Kern County, California

From Danville
204.5 mi
03h 25m
To San Bernardino
209 mi
03h 25m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
77°F
Today

Sunny

Starts
Sat, May 30 9:00 AM PDT
Wind
5 to 8 mph SW
Destination
83°F
This Afternoon

Sunny

Starts
Sat, May 30 2:00 PM PDT
Wind
10 mph W

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on West Prospect Avenue

    76 m · 17 sec · West Prospect Avenue

  2. 2

    Turn left onto Railroad Avenue

    1416 ft · 30 sec · Railroad Avenue

  3. 3

    Turn right onto San Ramon Valley Boulevard

    2724 ft · 1 min · San Ramon Valley Boulevard

  4. 4

    Turn left onto Sycamore Valley Road

    67 m · 13 sec · Sycamore Valley Road

  5. 5

    Take the ramp slight right toward I 680 South: San Jose

    1516 ft · 39 sec

  6. 6

    Merge slight left onto Donald D Doyle Highway

    7.7 mi · 9 min · Donald D Doyle Highway

  7. 7

    Take the exit slight right toward I 580 East: Livermore, Stockton

    1362 ft · 33 sec

  8. 8

    Keep slight left to continue on I 580 East: Livermore, Stockton

    1.1 km · 1 min

  9. 9

    Keep slight left to continue on I 580: Stockton

    1581 ft · 39 sec

  10. 10

    Merge slight left onto Arthur H. Breed Junior Freeway

    1.4 mi · 2 min · Arthur H. Breed Junior Freeway

  11. 11

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

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

  12. 12

    Keep slight right to continue on William Elton Brown Freeway

    11.1 mi · 12 min · William Elton Brown Freeway

  13. 13

    Keep slight left to continue on William Elton Brown Freeway

    5.9 mi · 6 min · William Elton Brown Freeway

  14. 14

    Merge slight left onto Westside Freeway

    224.4 mi · 4 hr · Westside Freeway

  15. 15

    Keep slight right

    58.4 mi · 1 hr 7 min

  16. 16

    Keep slight left to continue on Golden State Freeway

    2 mi · 2 min · Golden State Freeway

  17. 17

    Take the exit slight right toward I 210 East: Pasadena

    1347 ft · 18 sec

  18. 18

    Continue on Foothill Freeway

    24.4 mi · 28 min · Foothill Freeway

  19. 19

    Keep slight right to continue on Foothill Freeway

    19.1 mi · 22 min · Foothill Freeway

  20. 20

    Keep slight right to continue on Foothill Freeway

    2.9 mi · 3 min · Foothill Freeway

  21. 21

    Keep slight right to continue on Foothill Freeway

    1.4 mi · 2 min · Foothill Freeway

  22. 22

    Keep slight right to continue on Foothill Freeway

    1.2 mi · 1 min · Foothill Freeway

  23. 23

    Keep slight right to continue on Foothill Freeway

    1.8 mi · 2 min · Foothill Freeway

  24. 24

    Keep slight right to continue on Foothill Freeway

    22.8 mi · 26 min · Foothill Freeway

  25. 25

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

    1209 ft · 29 sec

  26. 26

    Keep slight right to continue on I 215 South: Riverside

    3196 ft · 1 min

  27. 27

    Merge slight left onto Barstow Freeway

    1033 ft · 14 sec · Barstow Freeway

  28. 28

    Continue on San Bernardino Freeway

    1.8 mi · 2 min · San Bernardino Freeway

  29. 29

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

    1873 ft · 53 sec

  30. 30

    Turn left onto West 5th Street

    1.2 km · 2 min · West 5th Street

  31. 31

    Arrive at your destination

    0 m · 1 sec · West 5th Street

Car Route Details

A richer read on the saved driving route between Danville 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
31 steps
4 turns on the saved route
Ramps & Exits
9
4 merges, 5 ramps or exits
Navigation Density
7.5 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
283 mi · 68%
Foothill Freeway
73.7 mi · 18%
Arthur H. Breed Junior Freeway
19.2 mi · 5%
William Elton Brown Freeway
17 mi · 4%
Donald D Doyle Highway
7.65 mi · 2%
Golden State Freeway
2 mi
Longest Stretch

Westside Freeway

Merge slight left onto Westside Freeway

224 mi · 04h 00m

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 51m
Overnight route
Same-Day Return
13h 42m
Round-trip wheel time
Road vs Air
+45.9 mi
367.6 mi direct line
Halfway Stop
Lost Hills
03h 25m from Danville
Leave By
10:18 PM PDT
Overnight-style route
Weather Watch

Sunny leaving Danville 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 Danville to San Bernardino?

The road trip is about 413.5 miles (665.4 km) and usually takes 06h 51m 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?

Lost Hills is a useful midpoint, sitting about 204.5 miles from Danville and 209 miles from San Bernardino.

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

The direct path is about 367.6 miles (591.6 km), while the road route adds roughly 45.9 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 $84.17 one way or $168.34 round trip. Estimated CO2 is about 129.7 kg one way.

What should you check before leaving?

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

Stop Ideas Near Lost Hills

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

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

RAIL

Wasco station

33 mi away
700 G Street
BUS

Kettleman City, California

47 mi away
3300 Hubert Way
RAIL

Corcoran station

55 mi away
1099 Otis Ave.
RAIL

Bakersfield

67 mi away
601 Truxtun Ave

Flight Path Map

This map shows the direct air route between Danville and San Bernardino. Straight-line distance: 367.6 mi (591.59 km).

Danville

#1 Danville

Town in Contra Costa County, California

Population44,883
Coordinates37.8215900, -121.9999600
Altitude109
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: West Prospect Avenue (-121.999958, 37.821586)
End: West 5th Street (-117.289794, 34.108326)

Estimated Travel Time

Distance: 665 km by road

SpeedTime
30 mph (48.3 km/h)13h 46m
40 mph (64.37 km/h)10h 20m
50 mph (80.47 km/h)08h 16m
60 mph (96.56 km/h)06h 53m
70 mph (112.65 km/h)05h 54m
80 mph (129 km/h)05h 09m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
14.59 gal
55.23 L · about $84.17
Round trip
$168.34
29.18 gal · 110.46 L
Estimated CO2
129.7 kg one way
Round trip: 259.3 kg / 572 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $84.17 $168.34
Mid-grade $6.07 $88.50 $177.01
Premium $6.24 $91.09 $182.17
Diesel $7.57 $110.40 $220.81

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 · May 31, 2026

There is no time difference between Danville and San Bernardino. The current time is 17:39:09.

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.