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

The driving distance from Hamilton City, CA to San Francisco, CA is about 166.7 miles (268.2 km), with a travel time of about 02h 44m by car.

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

Reverse, save, or send this route

This route works well as a day trip with time at the destination. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
166.65 mi
02h 44m
Flight
137.7 mi
221.61 km direct

This route works well as a day trip with time at the destination.

Learn Distance

Choose another destination from Hamilton City.

Flight Distance

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

Driving Distance

Road route
166.65 mi
Kilometers
268.2 km
Drive Time
02h 44m

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 02h 44m.

Arrival Snapshot
Arrive in San Francisco
Wed, Jun 3, 8:32 AM PDT
Return by in Hamilton City
Wed, Jun 3, 11:16 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Hamilton City
2026-06-03T05:48
Arrive San Francisco
Wed, Jun 3, 8:32 AM PDT
Route Timing
02h 44m
One way by road
Best Departure Window
8:00 AM to 10:00 AM PDT
Aim for a morning departure
Arrive between
10:44 AM to 12:44 PM PDT

A morning start gives you useful time at the destination and keeps the return out of the late evening.

Leave by
1:02 PM PDT
Keeps a same-day return open with about 03h 00m at the destination.
Back in Hamilton City
9:30 PM PDT
Morning start is best

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

Census designated place

From Hamilton City
83.2 mi
01h 22m
To San Francisco
83.5 mi
01h 22m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
92°F
Wednesday

Sunny

Starts
Wed, Jun 3 6:00 AM PDT
Wind
3 mph SSE
Destination
85°F
Wednesday

Sunny

Starts
Wed, Jun 3 6:00 AM PDT
Wind
0 to 15 mph WSW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on West 4th Street

    1280 ft · 58 sec · West 4th Street

  2. 2

    At the end of the road, turn right onto Canal Street

    1149 ft · 25 sec · Canal Street

  3. 3

    Turn left

    10 mi · 16 min

  4. 4

    Take the ramp slight right

    928 ft · 23 sec

  5. 5

    Merge slight left onto Westside Freeway

    65.8 mi · 1 hr 11 min · Westside Freeway

  6. 6

    Keep slight right to continue on I 505 South: Winters, San Francisco

    33.2 mi · 36 min

  7. 7

    Keep slight left to continue on I 80 West: San Francisco

    2201 ft · 54 sec

  8. 8

    Merge slight left onto Dwight D. Eisenhower Highway

    27.6 mi · 32 min · Dwight D. Eisenhower Highway

  9. 9

    Continue on Carquinez Bridge

    1.6 km · 1 min · Carquinez Bridge

  10. 10

    Continue on Eastshore Freeway

    1847 ft · 24 sec · Eastshore Freeway

  11. 11

    Continue on Linus F. Claeys Freeway

    3.4 mi · 4 min · Linus F. Claeys Freeway

  12. 12

    Continue on Eastshore Freeway

    14 mi · 16 min · Eastshore Freeway

  13. 13

    Take the exit slight left toward San Francisco

    1.3 km · 1 min · Eastshore Freeway

  14. 14

    Merge slight left onto Dwight D. Eisenhower Highway

    1941 ft · 33 sec · Dwight D. Eisenhower Highway

  15. 15

    Turn slight left onto Dwight D. Eisenhower Highway

    1959 ft · 33 sec · Dwight D. Eisenhower Highway

  16. 16

    Keep slight left to continue on Dwight D. Eisenhower Highway

    5.5 mi · 8 min · Dwight D. Eisenhower Highway

  17. 17

    Continue on Route 80

    1438 ft · 24 sec · Route 80

  18. 18

    Continue on Route 80

    1.2 km · 1 min · Route 80

  19. 19

    Continue on Route 80

    1893 ft · 32 sec · Route 80

  20. 20

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

    1919 ft · 39 sec

  21. 21

    Merge slight right onto Central Freeway

    1462 ft · 25 sec · Central Freeway

  22. 22

    Continue on Octavia Boulevard

    2490 ft · 42 sec · Octavia Boulevard

  23. 23

    Turn right onto Market Street

    629 ft · 32 sec · Market Street

  24. 24

    Keep slight right to continue on Market Street

    961 ft · 35 sec · Market Street

  25. 25

    Arrive at your destination

    0 m · 1 sec · Market Street

Car Route Details

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

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
4 turns on the saved route
Ramps & Exits
6
4 merges, 2 ramps or exits
Navigation Density
15 / 100 mi
Decision points by distance
Main Roads
Westside Freeway
65.8 mi · 39%
Dwight D. Eisenhower Highway
33.9 mi · 20%
I 505 South
33.2 mi · 20%
Eastshore Freeway
15.2 mi · 9%
Linus F. Claeys Freeway
3.42 mi · 2%
Route 80
1.39 mi · 1%
Longest Stretch

Westside Freeway

Merge slight left onto Westside Freeway

65.8 mi · 01h 11m

Route Summary

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

Trip Read

A comfortable day-trip route

This route works well as a day trip. You can leave in the morning, spend meaningful time at the destination, and still return the same day.

Drive Time
02h 44m
Day trip friendly
Same-Day Return
05h 28m
Round-trip wheel time
Road vs Air
+29 mi
137.7 mi direct line
Halfway Stop
Esparto
01h 22m from Hamilton City
Leave By
1:02 PM PDT
Morning start is best
Weather Watch

Sunny leaving Hamilton City and Sunny near San Francisco.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 166.7 miles (268.2 km) and usually takes 02h 44m in normal driving conditions.

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

This route works well as a day trip. You can leave in the morning, spend meaningful time at the destination, and still return the same day.

What is the halfway point on this route?

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

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 29 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 8:00 AM to 10:00 AM PDT. If you want a more comfortable same-day return, try to leave by 1:02 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $33.92 one way or $67.84 round trip. Estimated CO2 is about 52.3 kg one way.

What should you check before leaving?

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

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.3 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.4 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.3 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 Hamilton City and San Francisco. Straight-line distance: 137.7 mi (221.61 km).

Hamilton City

#1 Hamilton City

A census-designated place in Yolo County, California.

Population169,300
Coordinates39.7426600, -122.0135900
Altitude46
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: West 4th Street (-122.013656, 39.742794)
End: Market Street (-122.419433, 37.774953)

Estimated Travel Time

Distance: 268 km by road

SpeedTime
30 mph (48.3 km/h)05h 33m
40 mph (64.37 km/h)04h 09m
50 mph (80.47 km/h)03h 19m
60 mph (96.56 km/h)02h 46m
70 mph (112.65 km/h)02h 22m
80 mph (129 km/h)02h 04m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
5.88 gal
22.26 L · about $33.92
Round trip
$67.84
11.76 gal · 44.52 L
Estimated CO2
52.3 kg one way
Round trip: 104.5 kg / 230 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $33.92 $67.84
Mid-grade $6.07 $35.67 $71.34
Premium $6.24 $36.71 $73.42
Diesel $7.57 $44.49 $88.99

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 Hamilton City and San Francisco. The current time is 05:48:18.

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.