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

The driving distance from Merced, CA to San Bernardino, CA is about 339.6 miles (546.5 km), with a travel time of about 05h 53m by car.

  • The straight-line flight distance is about 284.2 miles (457.4 km).
  • For a round trip, plan for roughly 11h 46m 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
339.57 mi
05h 53m
Flight
284.2 mi
457.37 km direct

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

Learn Distance

Choose another destination from Merced.

Flight Distance

Direct air line
284.2 mi
Kilometers
457.37 km
Flight Time
00h 34m

Driving Distance

Road route
339.57 mi
Kilometers
546.48 km
Drive Time
05h 53m

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

Arrival Snapshot
Arrive in San Bernardino
Tue, May 12, 11:48 PM PDT
Return by in Merced
Wed, May 13, 5:42 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Merced
2026-05-12T17:55
Arrive San Bernardino
Tue, May 12, 11:48 PM PDT
Route Timing
05h 53m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
11:53 AM to 1:53 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
5:14 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in Merced
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
Bakersfield
CA

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

From Merced
163 mi
02h 56m
To San Bernardino
176.5 mi
02h 56m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
97°F
Tuesday

Sunny

Starts
Tue, May 12 6:00 AM PDT
Wind
5 to 15 mph NW
Destination
87°F
Tuesday

Sunny

Starts
Tue, May 12 6:00 AM PDT
Wind
5 to 15 mph SW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Canal Street

    86 m · 14 sec · Canal Street

  2. 2

    At the end of the road, turn right onto West Main Street

    145 m · 20 sec · West Main Street

  3. 3

    Turn left onto M Street

    122 m · 18 sec · M Street

  4. 4

    Turn left onto West 16th Street

    1 mi · 2 min · West 16th Street

  5. 5

    Take the ramp straight

    985 ft · 24 sec

  6. 6

    Merge slight left

    54.3 mi · 1 hr 2 min

  7. 7

    Keep slight left

    41 mi · 44 min

  8. 8

    Keep slight left to continue on Golden State Highway

    58.6 mi · 1 hr 3 min · Golden State Highway

  9. 9

    Continue on Golden State Freeway

    5.2 mi · 6 min · Golden State Freeway

  10. 10

    Keep slight left to continue on Golden State Freeway

    27.4 mi · 30 min · Golden State Freeway

  11. 11

    Keep slight left to continue on Golden State Freeway

    58.2 mi · 1 hr 7 min · Golden State Freeway

  12. 12

    Keep slight left to continue on Golden State Freeway

    2 mi · 2 min · Golden State Freeway

  13. 13

    Take the exit slight right toward I 210 East: Pasadena

    1347 ft · 18 sec

  14. 14

    Continue on Foothill Freeway

    24.4 mi · 28 min · Foothill Freeway

  15. 15

    Keep slight right to continue on Foothill Freeway

    19.1 mi · 22 min · Foothill Freeway

  16. 16

    Keep slight right to continue on Foothill Freeway

    2.9 mi · 3 min · Foothill Freeway

  17. 17

    Keep slight right to continue on Foothill Freeway

    1.4 mi · 2 min · Foothill Freeway

  18. 18

    Keep slight right to continue on Foothill Freeway

    1.2 mi · 1 min · Foothill Freeway

  19. 19

    Keep slight right to continue on Foothill Freeway

    1.8 mi · 2 min · Foothill Freeway

  20. 20

    Keep slight right to continue on Foothill Freeway

    22.8 mi · 26 min · Foothill Freeway

  21. 21

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

    1209 ft · 29 sec

  22. 22

    Keep slight right to continue on I 215 South: Riverside

    3196 ft · 1 min

  23. 23

    Merge slight left onto Barstow Freeway

    1033 ft · 14 sec · Barstow Freeway

  24. 24

    Continue on San Bernardino Freeway

    1.8 mi · 2 min · San Bernardino Freeway

  25. 25

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

    1873 ft · 53 sec

  26. 26

    Turn left onto West 5th Street

    1.2 km · 2 min · West 5th Street

  27. 27

    Arrive at your destination

    0 m · 1 sec · West 5th Street

Car Route Details

A richer read on the saved driving route between Merced 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
27 steps
4 turns on the saved route
Ramps & Exits
6
2 merges, 4 ramps or exits
Navigation Density
8 / 100 mi
Decision points by distance
Main Roads
West 16th Street
96.5 mi · 28%
Golden State Freeway
92.8 mi · 27%
Foothill Freeway
73.7 mi · 22%
Golden State Highway
58.6 mi · 17%
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 53m
Long day trip
Same-Day Return
11h 46m
Round-trip wheel time
Road vs Air
+55.4 mi
284.2 mi direct line
Halfway Stop
Bakersfield
02h 56m from Merced
Leave By
5:14 AM PDT
Early departure recommended
Weather Watch

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

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

Bakersfield is a useful midpoint, sitting about 163 miles from Merced and 176.5 miles from San Bernardino.

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

The direct path is about 284.2 miles (457.4 km), while the road route adds roughly 55.4 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 5:14 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $69.11 one way or $138.23 round trip. Estimated CO2 is about 106.5 kg one way.

What should you check before leaving?

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

Stop Ideas Near Bakersfield

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

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

RAIL

Bakersfield

601 Truxtun Ave
RAIL

Wasco station

37 mi away
700 G Street
BUS

Tehachapi, California

58 mi away
Westside of Mullbery Street
BUS

Mojave, California

85 mi away
15900 Sierra Highway

Flight Path Map

This map shows the direct air route between Merced and San Bernardino. Straight-line distance: 284.2 mi (457.37 km).

Merced

#1 Merced

The most populous city in Merced County, California.

Population88,235
Coordinates37.3021600, -120.4829700
Altitude52
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: Canal Street (-120.482939, 37.302149)
End: West 5th Street (-117.289794, 34.108326)

Estimated Travel Time

Distance: 546 km by road

SpeedTime
30 mph (48.3 km/h)11h 18m
40 mph (64.37 km/h)08h 29m
50 mph (80.47 km/h)06h 47m
60 mph (96.56 km/h)05h 39m
70 mph (112.65 km/h)04h 51m
80 mph (129 km/h)04h 14m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
11.98 gal
45.36 L · about $69.11
Round trip
$138.23
23.96 gal · 90.72 L
Estimated CO2
106.5 kg one way
Round trip: 212.9 kg / 469 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $69.11 $138.23
Mid-grade $6.07 $72.67 $145.34
Premium $6.24 $74.79 $149.58
Diesel $7.57 $90.65 $181.31

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

There is no time difference between Merced and San Bernardino. The current time is 17:55:19.

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.