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

The driving distance from San Bernardino, CA to Merced, CA is about 325.9 miles (524.5 km), with a travel time of about 06h 08m by car.

  • The straight-line flight distance is about 284.2 miles (457.4 km).
  • For a round trip, plan for roughly 12h 16m 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
325.89 mi
06h 08m
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 San Bernardino.

Flight Distance

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

Driving Distance

Road route
325.89 mi
Kilometers
524.47 km
Drive Time
06h 08m

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

Arrival Snapshot
Arrive in Merced
Wed, May 13, 12:45 AM PDT
Return by in San Bernardino
Wed, May 13, 6:53 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Bernardino
2026-05-12T18:37
Arrive Merced
Wed, May 13, 12:45 AM PDT
Route Timing
06h 08m
One way by road
Best Departure Window
6:00 AM to 7:30 AM PDT
Treat this as a longer travel day
Arrive between
12:08 PM to 1:38 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
11:44 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
Bakersfield
CA

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

From San Bernardino
163 mi
03h 04m
To Merced
162.9 mi
03h 04m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
87°F
Tuesday

Sunny

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

Sunny

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

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  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

    21.4 mi · 24 min

  22. 22

    Keep slight right to continue on Northbound California State Route 99

    20.7 mi · 24 min · Northbound California State Route 99

  23. 23

    Take the exit slight right toward 16th Street

    1489 ft · 36 sec

  24. 24

    Turn straight onto East 16th Street

    2659 ft · 51 sec · East 16th Street

  25. 25

    Turn right onto Martin Luther King Junior Way

    802 ft · 25 sec · Martin Luther King Junior Way

  26. 26

    Turn left onto West 18th Street

    960 ft · 52 sec · West 18th Street

  27. 27

    Turn left onto Canal Street

    35 m · 5 sec · Canal Street

  28. 28

    Arrive at your destination

    0 m · 1 sec · Canal Street

Car Route Details

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

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
28 steps
4 turns on the saved route
Ramps & Exits
8
4 merges, 4 ramps or exits
Navigation Density
8.6 / 100 mi
Decision points by distance
Main Roads
Golden State Highway
111 mi · 34%
Foothill Freeway
111 mi · 34%
Golden State Freeway
55.6 mi · 17%
Avenue 7
21.9 mi · 7%
Northbound California State Route 99
20.7 mi · 6%
San Bernardino Freeway
1.52 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

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
06h 08m
Overnight route
Same-Day Return
12h 16m
Round-trip wheel time
Road vs Air
+41.7 mi
284.2 mi direct line
Halfway Stop
Bakersfield
03h 04m from San Bernardino
Leave By
11:44 PM PDT
Overnight-style route
Weather Watch

Sunny leaving San Bernardino and Sunny near Merced.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 325.9 miles (524.5 km) and usually takes 06h 08m 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?

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

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 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 $66.34 one way or $132.69 round trip. Estimated CO2 is about 102.2 kg one way.

What should you check before leaving?

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

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 San Bernardino and Merced. Straight-line distance: 284.2 mi (457.37 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
Merced

#2 Merced

The most populous city in Merced County, California.

Population88,235
Coordinates37.3021600, -120.4829700
Altitude52
CountryUnited States
Start: San Bernardino (-117.28977, 34.10834)
End: Merced (-120.48297, 37.30216)

Estimated Travel Time

Distance: 524 km by road

SpeedTime
30 mph (48.3 km/h)10h 51m
40 mph (64.37 km/h)08h 08m
50 mph (80.47 km/h)06h 31m
60 mph (96.56 km/h)05h 25m
70 mph (112.65 km/h)04h 39m
80 mph (129 km/h)04h 03m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
11.5 gal
43.53 L · about $66.34
Round trip
$132.69
23 gal · 87.06 L
Estimated CO2
102.2 kg one way
Round trip: 204.4 kg / 451 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $66.34 $132.69
Mid-grade $6.07 $69.76 $139.52
Premium $6.24 $71.79 $143.59
Diesel $7.57 $87.02 $174.04

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 San Bernardino and Merced. The current time is 18:37:16.

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.