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

The driving distance from San Bernardino, CA to Madera, CA is about 292.4 miles (470.5 km), with a travel time of about 05h 28m by car.

  • The straight-line flight distance is about 251.2 miles (404.3 km).
  • For a round trip, plan for roughly 10h 57m 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
292.34 mi
05h 28m
Flight
251.23 mi
404.31 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
251.23 mi
Kilometers
404.31 km
Flight Time
00h 30m

Driving Distance

Road route
292.34 mi
Kilometers
470.47 km
Drive Time
05h 28m

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 05h 28m.

Arrival Snapshot
Arrive in Madera
Thu, Apr 16, 12:37 PM PDT
Return by in San Bernardino
Thu, Apr 16, 6:06 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Bernardino
2026-04-16T07:09
Arrive Madera
Thu, Apr 16, 12:37 PM PDT
Route Timing
05h 28m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
11:29 AM to 1:29 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
6:02 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in San Bernardino
9:00 PM PDT
Early departure recommended

This departure sits inside the recommended comfort window for the route.

Halfway Point

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

Mid-route stop
Greenfield
CA

City in Monterey County, California, United States

From San Bernardino
146.2 mi
02h 44m
To Madera
146.1 mi
02h 44m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
76°F
Thursday

Patchy Fog then Partly Sunny

Starts
Thu, Apr 16 6:00 AM PDT
Wind
0 to 15 mph SW
Destination
70°F
Thursday

Sunny

Starts
Thu, Apr 16 6:00 AM PDT
Wind
10 to 15 mph NW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  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 left to continue on Golden State Freeway

    27.4 mi · 30 min · Golden State Freeway

  18. 18

    Keep slight left to continue on Golden State Freeway

    6 mi · 7 min · Golden State Freeway

  19. 19

    Continue on Golden State Highway

    111.4 mi · 2 hr · Golden State Highway

  20. 20

    Take the exit slight right toward Avenue 7

    2522 ft · 31 sec

  21. 21

    Merge slight left

    8.8 mi · 10 min

  22. 22

    Take the exit slight right toward CA 145: Madera Avenue, Yosemite

    1335 ft · 33 sec

  23. 23

    Keep slight right to continue on CA 145: Madera Avenue, Yosemite

    75 m · 6 sec

  24. 24

    Continue on South Madera Avenue

    1025 ft · 18 sec · South Madera Avenue

  25. 25

    Continue on South Gateway Drive

    2104 ft · 42 sec · South Gateway Drive

  26. 26

    Arrive at your destination

    0 m · 1 sec · North Gateway Drive

Car Route Details

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

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
26 steps
0 turns on the saved route
Ramps & Exits
8
4 merges, 4 ramps or exits
Navigation Density
8.9 / 100 mi
Decision points by distance
Main Roads
Golden State Highway
111 mi · 38%
Foothill Freeway
111 mi · 38%
Golden State Freeway
55.6 mi · 19%
Avenue 7
9.32 mi · 3%
San Bernardino Freeway
1.52 mi · 1%
CA 210 West
1.02 mi
Longest Stretch

Golden State Highway

Continue on Golden State Highway

111 mi · 02h 00m

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
05h 28m
Long day trip
Same-Day Return
10h 58m
Round-trip wheel time
Road vs Air
+41.2 mi
251.2 mi direct line
Halfway Stop
Greenfield
02h 44m from San Bernardino
Leave By
6:02 AM PDT
Early departure recommended
Weather Watch

Patchy Fog then Partly Sunny leaving San Bernardino and Sunny near Madera.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 292.4 miles (470.5 km) and usually takes 05h 28m 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?

Greenfield is a useful midpoint, sitting about 146.2 miles from San Bernardino and 146.1 miles from Madera.

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

The direct path is about 251.2 miles (404.3 km), while the road route adds roughly 41.2 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 6:02 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $59.54 one way or $119.07 round trip. Estimated CO2 is about 91.7 kg one way.

What should you check before leaving?

Before you leave, expect Patchy Fog then Partly Sunny around San Bernardino and Sunny near Madera.

Stop Ideas Near Greenfield

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

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

RAIL

Bakersfield

12 mi away
601 Truxtun Ave
RAIL

Wasco station

47 mi away
700 G Street
BUS

Tehachapi, California

52 mi away
Westside of Mullbery Street
BUS

Mojave, California

79 mi away
15900 Sierra Highway

Flight Path Map

This map shows the direct air route between San Bernardino and Madera. Straight-line distance: 251.23 mi (404.31 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
Madera

#2 Madera

The most populous city in Madera County, California.

Population66,723
Coordinates36.9613400, -120.0607200
Altitude83
CountryUnited States
Start: San Bernardino (-117.28977, 34.10834)
End: Madera (-120.06072, 36.96134)

Estimated Travel Time

Distance: 470 km by road

SpeedTime
30 mph (48.3 km/h)09h 44m
40 mph (64.37 km/h)07h 18m
50 mph (80.47 km/h)05h 50m
60 mph (96.56 km/h)04h 52m
70 mph (112.65 km/h)04h 10m
80 mph (129 km/h)03h 38m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
10.32 gal
39.05 L · about $59.54
Round trip
$119.07
20.64 gal · 78.1 L
Estimated CO2
91.7 kg one way
Round trip: 183.4 kg / 404 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $59.54 $119.07
Mid-grade $6.07 $62.60 $125.20
Premium $6.24 $64.43 $128.86
Diesel $7.57 $78.09 $156.18

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 16, 2026

There is no time difference between San Bernardino and Madera. The current time is 07:09:22.

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.