How far is Bakersfield, CA from Danville, CA?

The driving distance from Bakersfield, CA to Danville, CA is about 257.9 miles (415 km), with a travel time of about 04h 47m by car.

  • The straight-line flight distance is about 236.6 miles (380.7 km).
  • For a round trip, plan for roughly 09h 35m 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
257.88 mi
04h 47m
Flight
236.54 mi
380.67 km direct

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

Learn Distance

Choose another destination from Bakersfield.

Flight Distance

Direct air line
236.54 mi
Kilometers
380.67 km
Flight Time
00h 28m

Driving Distance

Road route
257.88 mi
Kilometers
415.01 km
Drive Time
04h 47m

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 04h 47m.

Arrival Snapshot
Arrive in Danville
Thu, Apr 23, 4:57 AM PDT
Return by in Bakersfield
Thu, Apr 23, 9:45 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Bakersfield
2026-04-23T00:09
Arrive Danville
Thu, Apr 23, 4:57 AM PDT
Route Timing
04h 47m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
10:48 AM to 12:48 PM PDT

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

Leave by
7:24 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in Bakersfield
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
Mendota
CA

City in Illinois, United States

From Bakersfield
128.9 mi
02h 23m
To Danville
128.9 mi
02h 23m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
74°F
Thursday

Mostly Sunny

Starts
Thu, Apr 23 6:00 AM PDT
Wind
0 to 10 mph NW
Destination
70°F
Thursday

Sunny

Starts
Thu, Apr 23 6:00 AM PDT
Wind
2 to 8 mph W

Driving Route Map

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

Turn-by-Turn Driving Directions

Step-by-step road directions between Bakersfield and Danville.

  1. 1

    Start on Truxtun Avenue

    670 ft · 24 sec · Truxtun Avenue

  2. 2

    Continue on Truxtun Avenue

    2.2 mi · 4 min · Truxtun Avenue

  3. 3

    Take the ramp straight toward CA 58: Westside Parkway West

    2888 ft · 1 min

  4. 4

    Continue on Westside Parkway

    6.6 mi · 8 min · Westside Parkway

  5. 5

    Continue on Stockdale Highway

    4.3 mi · 6 min · Stockdale Highway

  6. 6

    Enter the roundabout and take exit 2 toward Stockdale Highway

    46 m · 2 sec · Stockdale Highway

  7. 7

    Exit the roundabout onto Stockdale Highway

    4.5 mi · 6 min · Stockdale Highway

  8. 8

    Take the exit straight toward I 5 North

    2621 ft · 1 min

  9. 9

    Merge slight left onto Westside Freeway

    192.7 mi · 3 hr 27 min · Westside Freeway

  10. 10

    Keep slight left to continue on William Elton Brown Freeway

    15.9 mi · 17 min · William Elton Brown Freeway

  11. 11

    Keep slight right to continue on William Elton Brown Freeway

    1.1 mi · 1 min · William Elton Brown Freeway

  12. 12

    Merge slight left onto Arthur H. Breed Junior Freeway

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

  13. 13

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

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

  14. 14

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

    857 ft · 16 sec

  15. 15

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

    1614 ft · 30 sec

  16. 16

    Merge slight left onto Donald D Doyle Highway

    8 mi · 9 min · Donald D Doyle Highway

  17. 17

    Take the exit slight right toward Sycamore Valley Road

    1596 ft · 41 sec

  18. 18

    Turn left onto Sycamore Valley Road

    954 ft · 27 sec · Sycamore Valley Road

  19. 19

    Turn right onto San Ramon Valley Boulevard

    2660 ft · 60 sec · San Ramon Valley Boulevard

  20. 20

    Turn left onto Railroad Avenue

    1493 ft · 37 sec · Railroad Avenue

  21. 21

    Turn right onto West Prospect Avenue

    76 m · 13 sec · West Prospect Avenue

  22. 22

    Arrive at your destination

    0 m · 1 sec · West Prospect Avenue

Car Route Details

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

OSRM road route
Drive Character

Highway-focused drive

Most of the mileage stays on named highways, so the important moments are ramps, exits, merges, and the final local approach.

Directions
22 steps
6 turns on the saved route
Ramps & Exits
9
3 merges, 6 ramps or exits
Navigation Density
8.5 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
193 mi · 75%
Arthur H. Breed Junior Freeway
19.6 mi · 8%
William Elton Brown Freeway
17 mi · 7%
Stockdale Highway
8.87 mi · 3%
Donald D Doyle Highway
8 mi · 3%
Westside Parkway
6.6 mi · 3%
Longest Stretch

Westside Freeway

Merge slight left onto Westside Freeway

193 mi · 03h 27m

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
04h 47m
Long day trip
Same-Day Return
09h 36m
Round-trip wheel time
Road vs Air
+21.3 mi
236.6 mi direct line
Halfway Stop
Mendota
02h 23m from Bakersfield
Leave By
7:24 AM PDT
Early departure recommended
Weather Watch

Mostly Sunny leaving Bakersfield and Sunny near Danville.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from Bakersfield to Danville?

The road trip is about 257.9 miles (415 km) and usually takes 04h 47m 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?

Mendota is a useful midpoint, sitting about 128.9 miles from Bakersfield and 128.9 miles from Danville.

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

The direct path is about 236.6 miles (380.7 km), while the road route adds roughly 21.3 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 7:24 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $52.50 one way or $105.00 round trip. Estimated CO2 is about 80.9 kg one way.

What should you check before leaving?

Before you leave, expect Mostly Sunny around Bakersfield and Sunny near Danville.

Stop Ideas Near Mendota

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

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

RAIL

Madera

41 mi away
Avenue 15 1/2 at 29th Road
RAIL

Fresno station

53 mi away
2650 Tulare St.
BUS

Lemoore (Naval Air Station), California

60 mi away
25th Ave and Highway 198
RAIL

Merced station

62 mi away
324 West 24th St

Flight Path Map

This map shows the direct air route between Bakersfield and Danville. Straight-line distance: 236.54 mi (380.67 km).

Bakersfield

#1 Bakersfield

The fifth most populous city in California and the center of the Bakersfield metropolitan area.

Population385,725
Coordinates35.3732900, -119.0187100
Altitude123
CountryUnited States
Danville

#2 Danville

Town in Contra Costa County, California

Population44,883
Coordinates37.8215900, -121.9999600
Altitude109
CountryUnited States
Start: Bakersfield (-119.01871, 35.37329)
End: Danville (-121.99996, 37.82159)

Estimated Travel Time

Distance: 415 km by road

SpeedTime
30 mph (48.3 km/h)08h 35m
40 mph (64.37 km/h)06h 26m
50 mph (80.47 km/h)05h 09m
60 mph (96.56 km/h)04h 17m
70 mph (112.65 km/h)03h 41m
80 mph (129 km/h)03h 13m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
9.1 gal
34.45 L · about $52.50
Round trip
$105.00
18.2 gal · 68.9 L
Estimated CO2
80.9 kg one way
Round trip: 161.7 kg / 356 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $52.50 $105.00
Mid-grade $6.07 $55.20 $110.40
Premium $6.24 $56.81 $113.62
Diesel $7.57 $68.86 $137.72

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 Bakersfield and Danville. The current time is 00:09:35.

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.