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

The driving distance from San Francisco, CA to Hamilton City, CA is about 165.6 miles (266.5 km), with a travel time of about 03h 13m by car.

  • The straight-line flight distance is about 137.7 miles (221.6 km).
  • For a round trip, plan for roughly 06h 27m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 6:00 AM to 8:00 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
165.58 mi
03h 13m
Flight
137.7 mi
221.61 km direct

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

Learn Distance

Choose another destination from San Francisco.

Flight Distance

Direct air line
137.7 mi
Kilometers
221.61 km
Flight Time
00h 16m

Driving Distance

Road route
165.58 mi
Kilometers
266.48 km
Drive Time
03h 13m

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 03h 13m.

Arrival Snapshot
Arrive in Hamilton City
Wed, Jun 3, 9:52 AM PDT
Return by in San Francisco
Wed, Jun 3, 1:06 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-06-03T06:38
Arrive Hamilton City
Wed, Jun 3, 9:52 AM PDT
Route Timing
03h 13m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
9:14 AM to 11:14 AM PDT

An early departure helps you fit a real stop into the day without turning the return into a late-night drive.

Leave by
10:32 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in San Francisco
9:00 PM PDT
Early departure recommended

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

Census designated place

From San Francisco
82.8 mi
01h 36m
To Hamilton City
82.8 mi
01h 36m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
85°F
Wednesday

Sunny

Starts
Wed, Jun 3 6:00 AM PDT
Wind
0 to 15 mph WSW
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 Francisco and Hamilton City.

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Market Street

    95 m · 8 sec · Market Street

  2. 2

    Turn right onto 11th Street

    3173 ft · 2 min · 11th Street

  3. 3

    Turn left onto Bryant Street

    1724 ft · 1 min · Bryant Street

  4. 4

    Take the ramp left toward I 80 East: Oakland

    1538 ft · 26 sec

  5. 5

    Merge slight right onto Route 80

    1.5 km · 1 min · Route 80

  6. 6

    Continue on Dwight D. Eisenhower Highway

    6.4 mi · 10 min · Dwight D. Eisenhower Highway

  7. 7

    Take the exit slight left toward I 80 East

    2949 ft · 45 sec

  8. 8

    Merge slight right onto Nimitz Freeway

    124 m · 6 sec · Nimitz Freeway

  9. 9

    Continue on Eastshore Freeway

    3.3 mi · 4 min · Eastshore Freeway

  10. 10

    Keep slight left to continue on Eastshore Freeway

    7.4 mi · 9 min · Eastshore Freeway

  11. 11

    Continue on Eastshore Freeway

    3.2 mi · 4 min · Eastshore Freeway

  12. 12

    Continue on Linus F. Claeys Freeway

    3.5 mi · 4 min · Linus F. Claeys Freeway

  13. 13

    Continue on Eastshore Freeway

    1718 ft · 27 sec · Eastshore Freeway

  14. 14

    Continue on Carquinez Bridge

    1.6 km · 1 min · Carquinez Bridge

  15. 15

    Continue on Dwight D. Eisenhower Highway

    14.5 mi · 17 min · Dwight D. Eisenhower Highway

  16. 16

    Keep slight left to continue on Dwight D. Eisenhower Highway

    13.1 mi · 15 min · Dwight D. Eisenhower Highway

  17. 17

    Take the exit slight right toward I 505 North: Winters, Redding

    803 ft · 20 sec

  18. 18

    Keep slight left to continue on I 505 North: Winters, Redding

    1 km · 1 min

  19. 19

    Continue straight

    98.6 mi · 1 hr 46 min

  20. 20

    Take the exit slight right toward CA 32 East: Orland, Chico

    1214 ft · 33 sec

  21. 21

    Turn right onto Newville Road

    1384 ft · 36 sec · Newville Road

  22. 22

    Continue on West Walker Street

    9.6 mi · 15 min · West Walker Street

  23. 23

    Turn right onto Canal Street

    1149 ft · 25 sec · Canal Street

  24. 24

    Turn left onto West 4th Street

    1280 ft · 58 sec · West 4th Street

  25. 25

    Arrive at your destination

    0 m · 1 sec · West 4th Street

Car Route Details

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

OSRM road route
Drive Character

Highway-focused drive

Most of the mileage stays on named highways, so the important moments are ramps, exits, merges, and the final local approach.

Directions
25 steps
5 turns on the saved route
Ramps & Exits
6
2 merges, 4 ramps or exits
Navigation Density
15.1 / 100 mi
Decision points by distance
Main Roads
I 505 North
99.4 mi · 60%
Dwight D. Eisenhower Highway
34 mi · 21%
Eastshore Freeway
14.3 mi · 9%
West Walker Street
9.61 mi · 6%
Linus F. Claeys Freeway
3.45 mi · 2%
Carquinez Bridge
0.99 mi · 1%
Longest Stretch

I 505 North

Continue straight

98.6 mi · 01h 46m

Route Summary

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

Trip Read

A longer out-and-back drive

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

Drive Time
03h 13m
Long day trip
Same-Day Return
06h 28m
Round-trip wheel time
Road vs Air
+27.9 mi
137.7 mi direct line
Halfway Stop
Esparto
01h 36m from San Francisco
Leave By
10:32 AM PDT
Early departure recommended
Weather Watch

Sunny leaving San Francisco 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 Francisco to Hamilton City?

The road trip is about 165.6 miles (266.5 km) and usually takes 03h 13m in normal driving conditions.

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

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

What is the halfway point on this route?

Esparto is a useful midpoint, sitting about 82.8 miles from San Francisco and 82.8 miles from Hamilton City.

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

The direct path is about 137.7 miles (221.6 km), while the road route adds roughly 27.9 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 8:00 AM PDT. If you want a more comfortable same-day return, try to leave by 10:32 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $33.69 one way or $67.38 round trip. Estimated CO2 is about 51.9 kg one way.

What should you check before leaving?

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

Stop Ideas Near Esparto

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 Esparto and the surrounding midpoint area.
Denny's
Coffee break 7.2 mi away

Denny's

Dunnigan , CA
30003 County Road 8, Dunnigan, CA 95937, United States
Rating 3.8/5 651 reviews Diner,American restaurant,Breakfast restaurant
Cache Creek Casino Resort
Stay option 10.5 mi away

Cache Creek Casino Resort

Brooks , CA
14455 CA-16, Brooks, CA 95606, United States
Rating 4.1/5 8,916 reviews Tourist attraction,Hotel,Resort hotel,Casino
Pilot Travel Center
Practical stop 7.2 mi away

Pilot Travel Center

Dunnigan , CA
30035 County Road 8, Dunnigan, CA 95937, United States
Rating 4.2/5 2,934 reviews Truck stop,Convenience store,Gas station
Woodland Fire Department
Meeting point 11.4 mi away

Woodland Fire Department

Woodland , CA
1000 Lincoln Ave, Woodland, CA 95695, United States
Rating 5.0/5 3 reviews City government office

Transit and Meeting Points

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

RAIL

Davis station

29 mi away
840 Second Street
BUS

Sacramento (State Capitol), California

47 mi away
1389 10th Street
RAIL

Sacramento Valley Station

47 mi away
401 I Street
RAIL

Suisun–Fairfield station

50 mi away
177 Main Street

Flight Path Map

This map shows the direct air route between San Francisco and Hamilton City. Straight-line distance: 137.7 mi (221.61 km).

San Francisco

#1 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
Hamilton City

#2 Hamilton City

A census-designated place in Yolo County, California.

Population169,300
Coordinates39.7426600, -122.0135900
Altitude46
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Hamilton City (-122.01359, 39.74266)

Estimated Travel Time

Distance: 266 km by road

SpeedTime
30 mph (48.3 km/h)05h 31m
40 mph (64.37 km/h)04h 08m
50 mph (80.47 km/h)03h 18m
60 mph (96.56 km/h)02h 45m
70 mph (112.65 km/h)02h 21m
80 mph (129 km/h)02h 03m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
5.84 gal
22.12 L · about $33.69
Round trip
$67.38
11.68 gal · 44.24 L
Estimated CO2
51.9 kg one way
Round trip: 103.8 kg / 229 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $33.69 $67.38
Mid-grade $6.07 $35.43 $70.85
Premium $6.24 $36.46 $72.92
Diesel $7.57 $44.19 $88.38

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 Francisco 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.