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

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

  • The straight-line flight distance is about 251.2 miles (404.3 km).
  • For a round trip, plan for roughly 10h 13m 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
296.96 mi
05h 06m
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 Madera.

Flight Distance

Direct air line
251.23 mi
Kilometers
404.31 km
Flight Time
00h 30m

Driving Distance

Road route
296.96 mi
Kilometers
477.91 km
Drive Time
05h 06m

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

Arrival Snapshot
Arrive in San Bernardino
Thu, Apr 16, 10:30 AM PDT
Return by in Madera
Thu, Apr 16, 3:36 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Madera
2026-04-16T05:23
Arrive San Bernardino
Thu, Apr 16, 10:30 AM PDT
Route Timing
05h 06m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
11:07 AM to 1:07 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:46 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in Madera
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
Greenfield
CA

City in Monterey County, California, United States

From Madera
146.2 mi
02h 33m
To San Bernardino
150.7 mi
02h 33m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
70°F
Thursday

Sunny

Starts
Thu, Apr 16 6:00 AM PDT
Wind
10 to 15 mph NW
Destination
76°F
Thursday

Patchy Fog then Partly Sunny

Starts
Thu, Apr 16 6:00 AM PDT
Wind
0 to 15 mph SW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on North Gateway Drive

    2104 ft · 42 sec · North Gateway Drive

  2. 2

    Turn right onto South Madera Avenue

    1574 ft · 34 sec · South Madera Avenue

  3. 3

    Take the ramp left toward CA 99 South: Fresno

    1272 ft · 31 sec

  4. 4

    Merge slight left

    21.2 mi · 23 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 Madera and San Bernardino.

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
25 steps
2 turns on the saved route
Ramps & Exits
6
2 merges, 4 ramps or exits
Navigation Density
8.4 / 100 mi
Decision points by distance
Main Roads
Golden State Freeway
92.8 mi · 31%
Foothill Freeway
73.7 mi · 25%
CA 99 South
62.4 mi · 21%
Golden State Highway
58.6 mi · 20%
San Bernardino Freeway
1.84 mi · 1%
West 5th Street
0.76 mi
Longest Stretch

Golden State Highway

Keep slight left to continue on Golden State Highway

58.6 mi · 01h 03m

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 06m
Long day trip
Same-Day Return
10h 14m
Round-trip wheel time
Road vs Air
+45.8 mi
251.2 mi direct line
Halfway Stop
Greenfield
02h 33m from Madera
Leave By
6:46 AM PDT
Early departure recommended
Weather Watch

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

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 297 miles (477.9 km) and usually takes 05h 06m 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 Madera and 150.7 miles from San Bernardino.

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 45.8 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:46 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $60.46 one way or $120.92 round trip. Estimated CO2 is about 93.1 kg one way.

What should you check before leaving?

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

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 Madera and San Bernardino. Straight-line distance: 251.23 mi (404.31 km).

Madera

#1 Madera

The most populous city in Madera County, California.

Population66,723
Coordinates36.9613400, -120.0607200
Altitude83
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: North Gateway Drive (-120.060676, 36.96137)
End: West 5th Street (-117.289794, 34.108326)

Estimated Travel Time

Distance: 478 km by road

SpeedTime
30 mph (48.3 km/h)09h 53m
40 mph (64.37 km/h)07h 25m
50 mph (80.47 km/h)05h 56m
60 mph (96.56 km/h)04h 56m
70 mph (112.65 km/h)04h 14m
80 mph (129 km/h)03h 42m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
10.48 gal
39.67 L · about $60.46
Round trip
$120.92
20.96 gal · 79.34 L
Estimated CO2
93.1 kg one way
Round trip: 186.3 kg / 411 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $60.46 $120.92
Mid-grade $6.07 $63.57 $127.14
Premium $6.24 $65.43 $130.85
Diesel $7.57 $79.30 $158.60

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 Madera and San Bernardino. The current time is 05:23:47.

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.