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

The driving distance from Ontario, CA to San Francisco, CA is about 417.1 miles (671.2 km), with a travel time of about 06h 33m by car.

  • The straight-line flight distance is about 370 miles (595.4 km).
  • For a round trip, plan for roughly 13h 07m 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
417.06 mi
06h 33m
Flight
369.98 mi
595.42 km direct

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

Learn Distance

Choose another destination from Ontario.

Flight Distance

Direct air line
369.98 mi
Kilometers
595.42 km
Flight Time
00h 44m

Driving Distance

Road route
417.06 mi
Kilometers
671.2 km
Drive Time
06h 33m

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

Arrival Snapshot
Arrive in San Francisco
Sat, Apr 18, 10:43 PM PDT
Return by in Ontario
Sun, Apr 19, 5:17 AM 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 Francisco
Sat, Apr 18, 10:43 PM PDT
Route Timing
06h 33m
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:34 PM to 2:04 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
10:52 PM PDT
Keeps a same-day return open with about 08h 00m at the destination.
Back in Ontario
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
Kettleman City
CA

Census-designated place in Kings County, California

From Ontario
208.3 mi
03h 16m
To San Francisco
208.7 mi
03h 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
73°F
Saturday

Mostly Sunny

Starts
Sat, Apr 18 6:00 AM PDT
Wind
0 to 7 mph S

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Holt Boulevard

    7 m · 6 sec · Holt Boulevard

  2. 2

    Turn left onto North Euclid Avenue

    1.7 mi · 3 min · North Euclid Avenue

  3. 3

    Take the ramp slight right toward I 10 West: Los Angeles

    1360 ft · 35 sec

  4. 4

    Merge slight left onto San Bernardino Freeway

    1.2 mi · 1 min · San Bernardino Freeway

  5. 5

    Take the exit slight left

    86 m · 7 sec

  6. 6

    Merge slight left onto I-10 Metro ExpressLanes

    1.4 mi · 2 min · I-10 Metro ExpressLanes

  7. 7

    Merge slight right onto San Bernardino Freeway

    1.2 mi · 1 min · San Bernardino Freeway

  8. 8

    Keep slight right to continue on San Bernardino Freeway

    1.4 km · 1 min · San Bernardino Freeway

  9. 9

    Keep slight right to continue on San Bernardino Freeway

    1.3 mi · 2 min · San Bernardino Freeway

  10. 10

    Keep slight right to continue on San Bernardino Freeway

    1.9 mi · 2 min · San Bernardino Freeway

  11. 11

    Keep slight right to continue on San Bernardino Freeway

    1.3 km · 55 sec · San Bernardino Freeway

  12. 12

    Take the exit slight right toward CA 57: Santa Ana

    1086 ft · 27 sec

  13. 13

    Keep slight right to continue on CA 57 North

    2267 ft · 55 sec

  14. 14

    Continue straight

    3.4 mi · 4 min

  15. 15

    Keep slight left to continue on I 210 West: Pasadena

    1.1 mi · 2 min

  16. 16

    Merge slight left onto Foothill Freeway

    18.3 mi · 21 min · Foothill Freeway

  17. 17

    Keep slight right to continue on Foothill Freeway

    25.6 mi · 30 min · Foothill Freeway

  18. 18

    Keep slight right

    686 ft · 9 sec

  19. 19

    Merge slight right

    1.6 km · 1 min

  20. 20

    Keep slight left

    36.1 mi · 42 min

  21. 21

    Keep slight left to continue on Golden State Freeway

    22.3 mi · 25 min · Golden State Freeway

  22. 22

    Keep slight right to continue on Westside Freeway

    225.6 mi · 4 hr 2 min · Westside Freeway

  23. 23

    Keep slight left to continue on William Elton Brown Freeway

    15.9 mi · 17 min · William Elton Brown Freeway

  24. 24

    Keep slight right to continue on William Elton Brown Freeway

    1.1 mi · 1 min · William Elton Brown Freeway

  25. 25

    Merge slight left onto Arthur H. Breed Junior Freeway

    18 mi · 21 min · Arthur H. Breed Junior Freeway

  26. 26

    Keep slight right to continue on Arthur H. Breed Junior Freeway

    11.6 mi · 13 min · Arthur H. Breed Junior Freeway

  27. 27

    Keep slight right to continue on MacArthur Freeway

    8.3 mi · 10 min · MacArthur Freeway

  28. 28

    Keep slight left to continue on MacArthur Freeway

    7.2 mi · 8 min · MacArthur Freeway

  29. 29

    Take the exit slight left toward I 80 West: San Francisco

    1.5 km · 1 min

  30. 30

    Merge slight right onto Dwight D. Eisenhower Highway

    1015 ft · 17 sec · Dwight D. Eisenhower Highway

  31. 31

    Turn slight left onto Dwight D. Eisenhower Highway

    1959 ft · 33 sec · Dwight D. Eisenhower Highway

  32. 32

    Keep slight left to continue on Dwight D. Eisenhower Highway

    5.5 mi · 8 min · Dwight D. Eisenhower Highway

  33. 33

    Continue on Route 80

    1438 ft · 24 sec · Route 80

  34. 34

    Continue on Route 80

    1.2 km · 1 min · Route 80

  35. 35

    Continue on Route 80

    1893 ft · 32 sec · Route 80

  36. 36

    Keep slight right to continue on US 101 North: Golden Gate Bridge

    1919 ft · 39 sec

  37. 37

    Merge slight right onto Central Freeway

    1462 ft · 25 sec · Central Freeway

  38. 38

    Continue on Octavia Boulevard

    2490 ft · 42 sec · Octavia Boulevard

  39. 39

    Turn right onto Market Street

    629 ft · 32 sec · Market Street

  40. 40

    Keep slight right to continue on Market Street

    961 ft · 35 sec · Market Street

  41. 41

    Arrive at your destination

    0 m · 1 sec · Market Street

Car Route Details

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

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
41 steps
3 turns on the saved route
Ramps & Exits
12
8 merges, 4 ramps or exits
Navigation Density
9.8 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
226 mi · 54%
Foothill Freeway
81.2 mi · 19%
Arthur H. Breed Junior Freeway
29.6 mi · 7%
Golden State Freeway
22.3 mi · 5%
William Elton Brown Freeway
17 mi · 4%
MacArthur Freeway
15.5 mi · 4%
Longest Stretch

Westside Freeway

Keep slight right to continue on Westside Freeway

226 mi · 04h 02m

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 33m
Overnight route
Same-Day Return
13h 08m
Round-trip wheel time
Road vs Air
+47.1 mi
370 mi direct line
Halfway Stop
Kettleman City
03h 16m from Ontario
Leave By
10:52 PM PDT
Overnight-style route
Weather Watch

Mostly Sunny leaving Ontario and Mostly Sunny near San Francisco.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from Ontario to San Francisco?

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

Kettleman City is a useful midpoint, sitting about 208.3 miles from Ontario and 208.7 miles from San Francisco.

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

The direct path is about 370 miles (595.4 km), while the road route adds roughly 47.1 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 $84.92 one way or $169.84 round trip. Estimated CO2 is about 130.8 kg one way.

What should you check before leaving?

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

Stop Ideas Near Kettleman City

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

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

BUS

Kettleman City, California

3 mi away
3300 Hubert Way
BUS

Lemoore, California

34 mi away
300 E Street
RAIL

Corcoran station

38 mi away
1099 Otis Ave.
BUS

Lemoore (Naval Air Station), California

41 mi away
25th Ave and Highway 198

Flight Path Map

This map shows the direct air route between Ontario and San Francisco. Straight-line distance: 369.98 mi (595.42 km).

Ontario

#1 Ontario

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

Population183,393
Coordinates34.0633400, -117.6508900
Altitude306
CountryUnited States
San Francisco

#2 San Francisco

The seventeenth most populous city in the United States and the center of the San Francisco Bay Area.

Population866,606
Coordinates37.7749300, -122.4194200
Altitude16
CountryUnited States
Start: Holt Boulevard (-117.65089, 34.063361)
End: Market Street (-122.419433, 37.774953)

Estimated Travel Time

Distance: 671 km by road

SpeedTime
30 mph (48.3 km/h)13h 53m
40 mph (64.37 km/h)10h 25m
50 mph (80.47 km/h)08h 20m
60 mph (96.56 km/h)06h 57m
70 mph (112.65 km/h)05h 57m
80 mph (129 km/h)05h 12m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
14.72 gal
55.71 L · about $84.92
Round trip
$169.84
29.44 gal · 111.42 L
Estimated CO2
130.8 kg one way
Round trip: 261.6 kg / 577 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $84.92 $169.84
Mid-grade $6.07 $89.29 $178.58
Premium $6.24 $91.90 $183.79
Diesel $7.57 $111.39 $222.77

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 Francisco. The current time is 16:10:11.

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.