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

The driving distance from Ontario, CA to San Bernardino, CA is about 24.2 miles (39 km), with a travel time of about 00h 32m by car.

  • The straight-line flight distance is about 20.9 miles (33.6 km).
  • For a round trip, plan for roughly 01h 05m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 7:00 AM to 7:00 PM PDT.
Trip Tools

Reverse, save, or send this route

This is an easy same-day return drive. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
24.26 mi
00h 32m
Flight
20.9 mi
33.63 km direct

This is an easy same-day return drive.

Learn Distance

Choose another destination from Ontario.

Flight Distance

Direct air line
20.9 mi
Kilometers
33.63 km
Flight Time
00h 02m

Driving Distance

Road route
24.26 mi
Kilometers
39.05 km
Drive Time
00h 32m

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 00h 32m.

Arrival Snapshot
Arrive in San Bernardino
Sat, Apr 18, 4:43 PM PDT
Return by in Ontario
Sat, Apr 18, 5:15 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Ontario
2026-04-18T16:10
Arrive San Bernardino
Sat, Apr 18, 4:43 PM PDT
Route Timing
00h 32m
One way by road
Best Departure Window
7:00 AM to 7:00 PM PDT
Leave when it suits your day
Arrive between
7:33 AM to 7:33 PM PDT

This is a short drive, so your comfort window is wide. Traffic and current weather matter more than the clock.

Leave by
7:24 PM PDT
Keeps a same-day return open with about 01h 30m at the destination.
Back in Ontario
10:00 PM PDT
Flexible departure

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
Fontana
CA

The second most populous city in San Bernardino County, California.

From Ontario
12.1 mi
00h 16m
To San Bernardino
12.1 mi
00h 16m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
82°F
Saturday

Mostly Sunny

Starts
Sat, Apr 18 6:00 AM PDT
Wind
0 to 10 mph S
Destination
84°F
Saturday

Sunny

Starts
Sat, Apr 18 6:00 AM PDT
Wind
5 to 10 mph NW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Holt Boulevard

    2.7 mi · 5 min · Holt Boulevard

  2. 2

    Take the ramp straight toward I 10 East

    1.1 km · 1 min

  3. 3

    Merge slight left onto San Bernardino Freeway

    16.6 mi · 19 min · San Bernardino Freeway

  4. 4

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

    952 ft · 23 sec

  5. 5

    Keep slight left to continue on I 215 North: San Bernardino, Barstow

    1.5 km · 2 min

  6. 6

    Merge slight left onto San Bernardino Freeway

    2.3 mi · 3 min · San Bernardino Freeway

  7. 7

    Take the exit slight right toward 5th Street, Civic Center

    1510 ft · 42 sec

  8. 8

    Turn right onto West 5th Street

    1.1 km · 2 min · West 5th Street

  9. 9

    Arrive at your destination

    0 m · 1 sec · West 5th Street

Car Route Details

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

OSRM road route
Drive Character

Turn-heavy local drive

The route has frequent decision points for its length, so lane choice and turn timing will matter more than cruising speed.

Directions
9 steps
1 turns on the saved route
Ramps & Exits
5
2 merges, 3 ramps or exits
Navigation Density
37 / 100 mi
Decision points by distance
Main Roads
San Bernardino Freeway
18.9 mi · 78%
Holt Boulevard
2.67 mi · 11%
I 215 North
0.9 mi · 4%
West 5th Street
0.71 mi · 3%
I 10 East
0.65 mi · 3%
5th Street
0.29 mi · 1%
Longest Stretch

San Bernardino Freeway

Merge slight left onto San Bernardino Freeway

16.6 mi · 00h 19m

Route Summary

A quick read on whether this route feels easy, ambitious, or worth planning around.

Trip Read

A short regional drive

This route is short enough to handle as a quick errand, commute, or easy same-day return without much planning overhead.

Drive Time
00h 32m
Quick drive
Same-Day Return
01h 06m
Round-trip wheel time
Road vs Air
+3.3 mi
20.9 mi direct line
Halfway Stop
Fontana
00h 16m from Ontario
Leave By
7:24 PM PDT
Flexible departure
Weather Watch

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

The road trip is about 24.2 miles (39 km) and usually takes 00h 32m in normal driving conditions.

Is this a same-day trip or an overnight route?

This route is short enough to handle as a quick errand, commute, or easy same-day return without much planning overhead.

What is the halfway point on this route?

Fontana is a useful midpoint, sitting about 12.1 miles from Ontario and 12.1 miles from San Bernardino.

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

The direct path is about 20.9 miles (33.6 km), while the road route adds roughly 3.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 7:00 AM to 7:00 PM PDT. If you want a more comfortable same-day return, try to leave by 7:24 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $4.96 one way or $9.92 round trip. Estimated CO2 is about 7.6 kg one way.

What should you check before leaving?

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

Stop Ideas Near Fontana

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

Mid-route Guidance
These suggestions come from reviewed places and nearby services around Fontana and the surrounding midpoint area.
Stop photo coming soon
Scenic stop 4.4 mi away

City Hall

Rialto , CA
100-198 S Palm Ave, Rialto, CA 92376, United States
Rating 5.0/5 1 reviews Parking lot
San Bernardino County Land Use
Meeting point 9.1 mi away

San Bernardino County Land Use

San Bernardino , CA
385 N Arrowhead Ave, First Floor, San Bernardino, CA 92415, United States
Rating 4.8/5 5 reviews City government office,County government office
Cucamonga Sign Shop LLC
Nearby stop 7.5 mi away

Cucamonga Sign Shop LLC

Rancho Cucamonga , CA
9259 Utica Ave Ste 110, Rancho Cucamonga, CA 91730
Rating 5.0/5 6 reviews Safety equipment supplier,Aluminum supplier,Banner store,Design agency,Sign shop

Transit and Meeting Points

Useful pickup, handoff, or rendezvous points close to Fontana.

RAIL

San Bernardino Santa Fe Depot

12 mi away
1170 West Third Street (all Trains and Buses)
RAIL

Riverside–Downtown

14 mi away
4066 Vine St.
RAIL

Ontario

20 mi away
228 South Plum Street
BUS

Moreno Valley, California

24 mi away
2650 East Alessandro Blvd.

Flight Path Map

This map shows the direct air route between Ontario and San Bernardino. Straight-line distance: 20.9 mi (33.63 km).

Ontario

#1 Ontario

The second most populous city in San Bernardino County, California.

Population183,393
Coordinates34.0633400, -117.6508900
Altitude306
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: Holt Boulevard (-117.65089, 34.063361)
End: West 5th Street (-117.289794, 34.108326)

Estimated Travel Time

Distance: 39 km by road

SpeedTime
30 mph (48.3 km/h)00h 48m
40 mph (64.37 km/h)00h 36m
50 mph (80.47 km/h)00h 29m
60 mph (96.56 km/h)00h 24m
70 mph (112.65 km/h)00h 20m
80 mph (129 km/h)00h 18m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
0.86 gal
3.24 L · about $4.96
Round trip
$9.92
1.72 gal · 6.48 L
Estimated CO2
7.6 kg one way
Round trip: 15.3 kg / 34 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $4.96 $9.92
Mid-grade $6.07 $5.22 $10.43
Premium $6.24 $5.37 $10.74
Diesel $7.57 $6.51 $13.02

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

There is no time difference between Ontario and San Bernardino. The current time is 16:10:25.

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.