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.
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.
This is an easy same-day return drive.
Flight Distance
Driving Distance
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.
This is a short drive, so your comfort window is wide. Traffic and current weather matter more than the clock.
This departure sits inside the recommended comfort window for the route.
Halfway Point
A useful midpoint for breaks, coffee, or meeting in the middle.
The second most populous city in San Bernardino County, California.
Route Weather Snapshot
Check the forecast at both ends before you head out.
Mostly Sunny
Sunny
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
Start on Holt Boulevard
2.7 mi · 5 min · Holt Boulevard
-
2
Take the ramp straight toward I 10 East
1.1 km · 1 min
-
3
Merge slight left onto San Bernardino Freeway
16.6 mi · 19 min · San Bernardino Freeway
-
4
Take the exit slight right toward I 215: Riverside, San Bernardino, Barstow
952 ft · 23 sec
-
5
Keep slight left to continue on I 215 North: San Bernardino, Barstow
1.5 km · 2 min
-
6
Merge slight left onto San Bernardino Freeway
2.3 mi · 3 min · San Bernardino Freeway
-
7
Take the exit slight right toward 5th Street, Civic Center
1510 ft · 42 sec
-
8
Turn right onto West 5th Street
1.1 km · 2 min · West 5th Street
-
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.
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.
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.
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.
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.
City Hall
San Bernardino County Land Use
Cucamonga Sign Shop LLC
Transit and Meeting Points
Useful pickup, handoff, or rendezvous points close to Fontana.
San Bernardino Santa Fe Depot
Riverside–Downtown
Ontario
Moreno Valley, California
Flight Path Map
This map shows the direct air route between Ontario and San Bernardino. Straight-line distance: 20.9 mi (33.63 km).
#1 Ontario
The second most populous city in San Bernardino County, California.
| Population | 183,393 |
| Coordinates | 34.0633400, -117.6508900 |
| Altitude | 306 |
| Country | United States |
#2 San Bernardino
The second most populous city in San Bernardino County, California.
| Population | 217,491 |
| Coordinates | 34.1083400, -117.2897700 |
| Altitude | 321 |
| Country | United States |
End: West 5th Street (-117.289794, 34.108326)
Estimated Travel Time
Distance: 39 km by road
| Speed | Time |
|---|---|
| 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.
| Fuel | $/gal | One way | Round 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
Distance to Other Cities
Planning a road trip? See the full trip guide on Trip.ovh — stops, fuel costs, weather, and departure timing.