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

The driving distance from San Bernardino, CA to Danville, CA is about 409.3 miles (658.7 km), with a travel time of about 07h 35m by car.

  • The straight-line flight distance is about 367.6 miles (591.6 km).
  • For a round trip, plan for roughly 15h 11m 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
409.27 mi
07h 35m
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 San Bernardino.

Flight Distance

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

Driving Distance

Road route
409.27 mi
Kilometers
658.66 km
Drive Time
07h 35m

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 07h 35m.

Arrival Snapshot
Arrive in Danville
Sun, May 31, 2:28 AM PDT
Return by in San Bernardino
Sun, May 31, 10:04 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Bernardino
2026-05-30T18:53
Arrive Danville
Sun, May 31, 2:28 AM PDT
Route Timing
07h 35m
One way by road
Best Departure Window
6:00 AM to 7:30 AM PDT
Treat this as a longer travel day
Arrive between
1:36 PM to 3:06 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
8:48 PM PDT
Keeps a same-day return open with about 08h 00m at the destination.
Back in San Bernardino
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 San Bernardino
204.6 mi
03h 47m
To Danville
204.6 mi
03h 47m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
83°F
This Afternoon

Sunny

Starts
Sat, May 30 2:00 PM PDT
Wind
10 mph W
Destination
77°F
Today

Sunny

Starts
Sat, May 30 9:00 AM PDT
Wind
5 to 8 mph SW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on West 5th Street

    1.1 km · 1 min · West 5th Street

  2. 2

    Take the ramp right toward I 215 North: Barstow

    1769 ft · 45 sec

  3. 3

    Merge slight left onto San Bernardino Freeway

    1.5 mi · 2 min · San Bernardino Freeway

  4. 4

    Continue on Barstow Freeway

    2632 ft · 35 sec · Barstow Freeway

  5. 5

    Take the exit slight right toward CA 210 West: Pasadena

    1 mi · 2 min

  6. 6

    Merge slight left onto Foothill Freeway

    21.4 mi · 25 min · Foothill Freeway

  7. 7

    Keep slight right to continue on Foothill Freeway

    1.2 mi · 1 min · Foothill Freeway

  8. 8

    Keep slight right to continue on Foothill Freeway

    2.4 mi · 3 min · Foothill Freeway

  9. 9

    Keep slight right to continue on Foothill Freeway

    1.4 mi · 2 min · Foothill Freeway

  10. 10

    Keep slight right to continue on Foothill Freeway

    1.8 mi · 2 min · Foothill Freeway

  11. 11

    Keep slight right to continue on Foothill Freeway

    20 mi · 23 min · Foothill Freeway

  12. 12

    Keep slight right to continue on Foothill Freeway

    25.6 mi · 30 min · Foothill Freeway

  13. 13

    Keep slight right

    686 ft · 9 sec

  14. 14

    Merge slight right

    1.6 km · 1 min

  15. 15

    Keep slight left

    36.1 mi · 42 min

  16. 16

    Keep slight left to continue on Golden State Freeway

    22.3 mi · 25 min · Golden State Freeway

  17. 17

    Keep slight right to continue on Westside Freeway

    225.6 mi · 4 hr 2 min · Westside Freeway

  18. 18

    Keep slight left to continue on William Elton Brown Freeway

    15.9 mi · 17 min · William Elton Brown Freeway

  19. 19

    Keep slight right to continue on William Elton Brown Freeway

    1.1 mi · 1 min · William Elton Brown Freeway

  20. 20

    Merge slight left onto Arthur H. Breed Junior Freeway

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

  21. 21

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

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

  22. 22

    Take the exit slight right toward I 680 South, I 680 North: San Jose, Sacramento, Concord, Walnut Creek

    857 ft · 16 sec

  23. 23

    Keep slight right to continue on I 680 North: Walnut Creek, Concord, Sacramento

    1614 ft · 30 sec

  24. 24

    Merge slight left onto Donald D Doyle Highway

    8 mi · 9 min · Donald D Doyle Highway

  25. 25

    Take the exit slight right toward Sycamore Valley Road

    1596 ft · 41 sec

  26. 26

    Turn left onto Sycamore Valley Road

    954 ft · 27 sec · Sycamore Valley Road

  27. 27

    Turn right onto San Ramon Valley Boulevard

    2660 ft · 60 sec · San Ramon Valley Boulevard

  28. 28

    Turn left onto Railroad Avenue

    1493 ft · 37 sec · Railroad Avenue

  29. 29

    Turn right onto West Prospect Avenue

    76 m · 13 sec · West Prospect Avenue

  30. 30

    Arrive at your destination

    0 m · 1 sec · West Prospect Avenue

Car Route Details

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

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
30 steps
4 turns on the saved route
Ramps & Exits
9
5 merges, 4 ramps or exits
Navigation Density
7.3 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
226 mi · 55%
Foothill Freeway
111 mi · 27%
Golden State Freeway
22.3 mi · 5%
Arthur H. Breed Junior Freeway
19.6 mi · 5%
William Elton Brown Freeway
17 mi · 4%
Donald D Doyle Highway
8 mi · 2%
Longest Stretch

Westside Freeway

Keep slight right to continue on Westside Freeway

226 mi · 04h 02m

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
07h 35m
Overnight route
Same-Day Return
15h 12m
Round-trip wheel time
Road vs Air
+41.7 mi
367.6 mi direct line
Halfway Stop
Lost Hills
03h 47m from San Bernardino
Leave By
8:48 PM PDT
Overnight-style route
Weather Watch

Sunny leaving San Bernardino and Sunny near Danville.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 409.3 miles (658.7 km) and usually takes 07h 35m 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.6 miles from San Bernardino and 204.6 miles from Danville.

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 41.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 $83.30 one way or $166.61 round trip. Estimated CO2 is about 128.3 kg one way.

What should you check before leaving?

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

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 San Bernardino and Danville. Straight-line distance: 367.6 mi (591.59 km).

San Bernardino

#1 San Bernardino

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

Population217,491
Coordinates34.1083400, -117.2897700
Altitude321
CountryUnited States
Danville

#2 Danville

Town in Contra Costa County, California

Population44,883
Coordinates37.8215900, -121.9999600
Altitude109
CountryUnited States
Start: San Bernardino (-117.28977, 34.10834)
End: Danville (-121.99996, 37.82159)

Estimated Travel Time

Distance: 659 km by road

SpeedTime
30 mph (48.3 km/h)13h 38m
40 mph (64.37 km/h)10h 13m
50 mph (80.47 km/h)08h 11m
60 mph (96.56 km/h)06h 49m
70 mph (112.65 km/h)05h 50m
80 mph (129 km/h)05h 06m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
14.44 gal
54.67 L · about $83.30
Round trip
$166.61
28.88 gal · 109.34 L
Estimated CO2
128.3 kg one way
Round trip: 256.7 kg / 566 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $83.30 $166.61
Mid-grade $6.07 $87.59 $175.19
Premium $6.24 $90.15 $180.30
Diesel $7.57 $109.27 $218.53

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 San Bernardino and Danville. The current time is 18:53:07.

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.