How far is San Bernardino, CA from Hamilton City, CA?

The driving distance from San Bernardino, CA to Hamilton City, CA is about 535.9 miles (862.5 km), with a travel time of about 10h 04m by car.

  • The straight-line flight distance is about 468.5 miles (753.9 km).
  • For a round trip, plan for roughly 20h 09m 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
535.91 mi
10h 04m
Flight
468.47 mi
753.93 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
468.47 mi
Kilometers
753.93 km
Flight Time
00h 56m

Driving Distance

Road route
535.91 mi
Kilometers
862.47 km
Drive Time
10h 04m

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 10h 04m.

Arrival Snapshot
Arrive in Hamilton City
Wed, Jun 3, 4:43 PM PDT
Return by in San Bernardino
Thu, Jun 4, 2:48 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Bernardino
2026-06-03T06:38
Arrive Hamilton City
Wed, Jun 3, 4:43 PM PDT
Route Timing
10h 04m
One way by road
Best Departure Window
6:00 AM to 7:30 AM PDT
Treat this as a longer travel day
Arrive between
4:05 PM to 5:35 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
3:50 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

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

Census-designated place in Fresno County, California

From San Bernardino
268.1 mi
05h 02m
To Hamilton City
267.9 mi
05h 02m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
90°F
Wednesday

Sunny

Starts
Wed, Jun 3 6:00 AM PDT
Wind
0 to 10 mph SW
Destination
92°F
Wednesday

Sunny

Starts
Wed, Jun 3 6:00 AM PDT
Wind
3 mph SSE

Driving Route Map

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

Turn-by-Turn Driving Directions

Step-by-step road directions between San Bernardino and Hamilton City.

  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 right to continue on Westside Freeway

    225.6 mi · 4 hr 2 min · Westside Freeway

  18. 18

    Keep slight right to continue on Westside Freeway

    25.5 mi · 28 min · Westside Freeway

  19. 19

    Keep left to continue on Westside Freeway

    53.8 mi · 1 hr · Westside Freeway

  20. 20

    Keep slight right to continue on Golden State Highway

    7.5 mi · 9 min · Golden State Highway

  21. 21

    Continue on Bernie Richter Memorial Highway

    5 mi · 6 min · Bernie Richter Memorial Highway

  22. 22

    Keep slight right to continue on CA 70 North: Marysville, Oroville

    21.7 mi · 26 min

  23. 23

    Turn right onto 5th Street

    1272 ft · 39 sec · 5th Street

  24. 24

    Turn left onto B Street

    1.5 mi · 3 min · B Street

  25. 25

    Continue straight

    30.3 mi · 35 min

  26. 26

    Keep slight left

    5.7 mi · 7 min

  27. 27

    Merge slight left

    12 mi · 14 min

  28. 28

    Take the exit slight right toward East Avenue

    1156 ft · 22 sec

  29. 29

    Turn left onto East Avenue

    2 mi · 4 min · East Avenue

  30. 30

    Turn right

    7.2 mi · 11 min

  31. 31

    Turn left onto Main Street

    1130 ft · 54 sec · Main Street

  32. 32

    Turn right onto West 4th Street

    93 m · 13 sec · West 4th Street

  33. 33

    Arrive at your destination

    0 m · 1 sec · West 4th Street

Car Route Details

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

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
33 steps
6 turns on the saved route
Ramps & Exits
7
4 merges, 3 ramps or exits
Navigation Density
6.2 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
305 mi · 57%
Foothill Freeway
111 mi · 21%
B Street
49.5 mi · 9%
Golden State Freeway
22.3 mi · 4%
CA 70 North
21.7 mi · 4%
Golden State Highway
7.46 mi · 1%
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
10h 04m
Overnight route
Same-Day Return
20h 10m
Round-trip wheel time
Road vs Air
+67.4 mi
468.5 mi direct line
Halfway Stop
Tranquillity
05h 02m from San Bernardino
Leave By
3:50 PM PDT
Overnight-style route
Weather Watch

Sunny leaving San Bernardino and Sunny near Hamilton City.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from San Bernardino to Hamilton City?

The road trip is about 535.9 miles (862.5 km) and usually takes 10h 04m 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?

Tranquillity is a useful midpoint, sitting about 268.1 miles from San Bernardino and 267.9 miles from Hamilton City.

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

The direct path is about 468.5 miles (753.9 km), while the road route adds roughly 67.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 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 $109.09 one way or $218.18 round trip. Estimated CO2 is about 168.1 kg one way.

What should you check before leaving?

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

Stop Ideas Near Tranquillity

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

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

RAIL

Madera

42 mi away
Avenue 15 1/2 at 29th Road
RAIL

Fresno station

43 mi away
2650 Tulare St.
BUS

Lemoore (Naval Air Station), California

43 mi away
25th Ave and Highway 198
BUS

Lemoore, California

57 mi away
300 E Street

Flight Path Map

This map shows the direct air route between San Bernardino and Hamilton City. Straight-line distance: 468.47 mi (753.93 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
Hamilton City

#2 Hamilton City

A census-designated place in Yolo County, California.

Population169,300
Coordinates39.7426600, -122.0135900
Altitude46
CountryUnited States
Start: San Bernardino (-117.28977, 34.10834)
End: Hamilton City (-122.01359, 39.74266)

Estimated Travel Time

Distance: 862 km by road

SpeedTime
30 mph (48.3 km/h)17h 51m
40 mph (64.37 km/h)13h 23m
50 mph (80.47 km/h)10h 43m
60 mph (96.56 km/h)08h 55m
70 mph (112.65 km/h)07h 39m
80 mph (129 km/h)06h 41m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
18.91 gal
71.59 L · about $109.09
Round trip
$218.18
37.82 gal · 143.18 L
Estimated CO2
168.1 kg one way
Round trip: 336.1 kg / 741 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $109.09 $218.18
Mid-grade $6.07 $114.71 $229.42
Premium $6.24 $118.06 $236.11
Diesel $7.57 $143.09 $286.18

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 · Jun 03, 2026

There is no time difference between San Bernardino and Hamilton City. The current time is 06:38:42.

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.