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

The driving distance from San Francisco, CA to San Rafael, CA is about 18.7 miles (30.1 km), with a travel time of about 00h 33m by car.

  • The straight-line flight distance is about 15 miles (24.2 km).
  • For a round trip, plan for roughly 01h 06m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 7:00 AM to 7:00 PM PDT.
Trip Tools

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.

Reverse Route
Quick Snapshot
Road
18.67 mi
00h 33m
Flight
15.01 mi
24.16 km direct

This is an easy same-day return drive.

Learn Distance

Choose another destination from San Francisco.

Flight Distance

Direct air line
15.01 mi
Kilometers
24.16 km
Flight Time
00h 01m

Driving Distance

Road route
18.67 mi
Kilometers
30.05 km
Drive Time
00h 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 00h 33m.

Arrival Snapshot
Arrive in San Rafael
Sat, Apr 18, 2:54 AM PDT
Return by in San Francisco
Sat, Apr 18, 3:27 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-04-18T02:21
Arrive San Rafael
Sat, Apr 18, 2:54 AM PDT
Route Timing
00h 33m
One way by road
Best Departure Window
7:00 AM to 7:00 PM PDT
Leave when it suits your day
Arrive between
7:33 AM to 7:33 PM PDT

This is a short drive, so your comfort window is wide. Traffic and current weather matter more than the clock.

Leave by
7:24 PM PDT
Keeps a same-day return open with about 01h 30m at the destination.
Back in San Francisco
10:00 PM PDT
Flexible departure

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

City in Marin County, California, United States

From San Francisco
9.3 mi
00h 16m
To San Rafael
9.3 mi
00h 16m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
73°F
Saturday

Mostly Sunny

Starts
Sat, Apr 18 6:00 AM PDT
Wind
0 to 7 mph S
Destination
66°F
Saturday

Mostly Sunny

Starts
Sat, Apr 18 6:00 AM PDT
Wind
2 to 7 mph SSW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Market Street

    13 m · 7 sec · Market Street

  2. 2

    Turn sharp right onto South Van Ness Avenue

    740 ft · 28 sec · South Van Ness Avenue

  3. 3

    Turn right onto Otis Street

    649 ft · 17 sec · Otis Street

  4. 4

    Turn right onto Gough Street

    628 ft · 16 sec · Gough Street

  5. 5

    Turn right onto Market Street

    9 m · 1 sec · Market Street

  6. 6

    Keep slight left

    151 m · 10 sec

  7. 7

    Continue on Franklin Street

    755 ft · 37 sec · Franklin Street

  8. 8

    Turn left onto Fell Street

    2406 ft · 2 min · Fell Street

  9. 9

    Turn right onto Webster Street

    1.6 km · 2 min · Webster Street

  10. 10

    Turn left onto California Street

    2416 ft · 1 min · California Street

  11. 11

    Turn right onto Divisadero Street

    1.2 km · 2 min · Divisadero Street

  12. 12

    Turn left onto Lombard Street

    616 ft · 30 sec · Lombard Street

  13. 13

    Continue on Richardson Avenue

    1231 ft · 41 sec · Richardson Avenue

  14. 14

    Continue on Presidio Parkway

    1.8 mi · 4 min · Presidio Parkway

  15. 15

    Continue on Golden Gate Bridge

    1.7 mi · 3 min · Golden Gate Bridge

  16. 16

    Continue on Redwood Highway

    10.6 mi · 14 min · Redwood Highway

  17. 17

    Take the exit slight right toward Central San Rafael

    1526 ft · 39 sec

  18. 18

    Continue on Irwin Street

    654 ft · 21 sec · Irwin Street

  19. 19

    Turn left onto Fourth Street

    3034 ft · 1 min · Fourth Street

  20. 20

    Arrive at your destination

    0 m · 1 sec · Fourth Street

Car Route Details

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

OSRM road route
Drive Character

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.

Directions
20 steps
10 turns on the saved route
Ramps & Exits
1
0 merges, 1 ramps or exits
Navigation Density
107 / 100 mi
Decision points by distance
Main Roads
Redwood Highway
10.6 mi · 57%
Presidio Parkway
1.79 mi · 10%
Golden Gate Bridge
1.7 mi · 9%
Webster Street
0.98 mi · 5%
Divisadero Street
0.76 mi · 4%
Fourth Street
0.57 mi · 3%
Longest Stretch

Redwood Highway

Continue on Redwood Highway

10.6 mi · 00h 14m

Route Summary

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

Trip Read

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.

Drive Time
00h 33m
Quick drive
Same-Day Return
01h 06m
Round-trip wheel time
Road vs Air
+3.7 mi
15 mi direct line
Halfway Stop
Sausalito
00h 16m from San Francisco
Leave By
7:24 PM PDT
Flexible departure
Weather Watch

Mostly Sunny leaving San Francisco and Mostly Sunny near San Rafael.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

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

Sausalito is a useful midpoint, sitting about 9.3 miles from San Francisco and 9.3 miles from San Rafael.

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

The direct path is about 15 miles (24.2 km), while the road route adds roughly 3.7 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 $3.81 one way or $7.62 round trip. Estimated CO2 is about 5.9 kg one way.

What should you check before leaving?

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

Stop Ideas Near Sausalito

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 Sausalito and the surrounding midpoint area.
San Francisco City Hall Wedding Photographer
Practical stop 5.6 mi away

San Francisco City Hall Wedding Photographer

San Francisco , CA
3365 Sacramento St #435, San Francisco, CA 94118, United States
Rating 5.0/5 21 reviews Wedding photographer,Photographer,Wedding service
Albert Teglia Community Center
Meeting point 11.5 mi away

Albert Teglia Community Center

Daly City , CA
285 Abbot Ave, Daly City, CA 94014, United States
Rating 5.0/5 2 reviews City government office,Auditorium
SF City Hall Photographer
Nearby stop 8.2 mi away

SF City Hall Photographer

San Francisco , CA
564 Clipper St, San Francisco, CA 94114, United States
Rating 5.0/5 2 reviews Wedding photographer
My City Hall Wedding
Practical stop 6.3 mi away

My City Hall Wedding

San Francisco , CA
1480 Sutter St #302, San Francisco, CA 94109, United States
Rating 5.0/5 8 reviews Wedding photographer,Wedding planner,Wedding service,Wedding store

Transit and Meeting Points

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

BUS

San Francisco (Wharf), California

9 mi away
Beach St. & The Embarcadero
BUS

San Francisco (Civic Center), California

11 mi away
1150 Market Street
BUS

San Francisco (Ferry), California

11 mi away
101 The Embarcadero
BUS

San Francisco (Financial), California

11 mi away
5 Embarcadero Center

Flight Path Map

This map shows the direct air route between San Francisco and San Rafael. Straight-line distance: 15.01 mi (24.16 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
San Rafael

#2 San Rafael

The most populous city in Marin County, California.

Population58,528
Coordinates37.9735300, -122.5310900
Altitude13
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: San Rafael (-122.53109, 37.97353)

Estimated Travel Time

Distance: 30 km by road

SpeedTime
30 mph (48.3 km/h)00h 37m
40 mph (64.37 km/h)00h 28m
50 mph (80.47 km/h)00h 22m
60 mph (96.56 km/h)00h 18m
70 mph (112.65 km/h)00h 16m
80 mph (129 km/h)00h 13m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
0.66 gal
2.49 L · about $3.81
Round trip
$7.62
1.32 gal · 4.98 L
Estimated CO2
5.9 kg one way
Round trip: 11.7 kg / 26 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $3.81 $7.62
Mid-grade $6.07 $4.00 $8.01
Premium $6.24 $4.12 $8.24
Diesel $7.57 $4.99 $9.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 · Apr 18, 2026

There is no time difference between San Francisco and San Rafael. The current time is 02:21:17.

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.