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

The driving distance from Martinez, CA to San Francisco, CA is about 35.2 miles (56.6 km), with a travel time of about 00h 47m by car.

  • The straight-line flight distance is about 23 miles (37 km).
  • For a round trip, plan for roughly 01h 35m 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
35.15 mi
00h 47m
Flight
22.96 mi
36.95 km direct

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

Learn Distance

Choose another destination from Martinez.

Flight Distance

Direct air line
22.96 mi
Kilometers
36.95 km
Flight Time
00h 02m

Driving Distance

Road route
35.15 mi
Kilometers
56.57 km
Drive Time
00h 47m

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

Arrival Snapshot
Arrive in San Francisco
Wed, Apr 22, 10:53 PM PDT
Return by in Martinez
Wed, Apr 22, 11:41 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Martinez
2026-04-22T22:05
Arrive San Francisco
Wed, Apr 22, 10:53 PM PDT
Route Timing
00h 47m
One way by road
Best Departure Window
8:00 AM to 10:00 AM PDT
Aim for a morning departure
Arrive between
8:48 AM to 10:48 AM PDT

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

Leave by
4:54 PM PDT
Keeps a same-day return open with about 03h 00m at the destination.
Back in Martinez
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
East Richmond Heights
CA

Place in California, United States of America

From Martinez
17.6 mi
00h 23m
To San Francisco
17.6 mi
00h 23m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
64°F
Wednesday

Areas Of Fog

Starts
Wed, Apr 22 6:00 AM PDT
Wind
1 to 6 mph SW
Destination
65°F
Wednesday

Chance Light Rain

Starts
Wed, Apr 22 6:00 AM PDT
Wind
2 to 9 mph WSW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  1. 1

    Start on Escobar Street

    77 m · 14 sec · Escobar Street

  2. 2

    Turn left onto Court Street

    1091 ft · 22 sec · Court Street

  3. 3

    Turn straight onto Pine Street

    979 ft · 21 sec · Pine Street

  4. 4

    Continue on Pine Street

    18 m · 3 sec · Pine Street

  5. 5

    Continue on Pine Street

    997 ft · 29 sec · Pine Street

  6. 6

    Turn right onto Brown Street

    1906 ft · 58 sec · Brown Street

  7. 7

    Turn left onto Berrellesa Street

    1059 ft · 30 sec · Berrellesa Street

  8. 8

    Continue on Alhambra Avenue

    1.1 mi · 2 min · Alhambra Avenue

  9. 9

    Take the ramp slight right toward CA 4 West: Richmond

    1388 ft · 34 sec

  10. 10

    Merge slight left

    7.8 mi · 9 min

  11. 11

    Take the exit slight right toward I 80: San Francisco, Sacramento

    2408 ft · 32 sec

  12. 12

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

    1.1 km · 1 min

  13. 13

    Merge slight left onto Eastshore Freeway

    13.8 mi · 16 min · Eastshore Freeway

  14. 14

    Take the exit slight left toward San Francisco

    1.3 km · 1 min · Eastshore Freeway

  15. 15

    Merge slight left onto Dwight D. Eisenhower Highway

    1941 ft · 33 sec · Dwight D. Eisenhower Highway

  16. 16

    Turn slight left onto Dwight D. Eisenhower Highway

    1959 ft · 33 sec · Dwight D. Eisenhower Highway

  17. 17

    Keep slight left to continue on Dwight D. Eisenhower Highway

    5.5 mi · 8 min · Dwight D. Eisenhower Highway

  18. 18

    Continue on Route 80

    1438 ft · 24 sec · Route 80

  19. 19

    Continue on Route 80

    1.2 km · 1 min · Route 80

  20. 20

    Continue on Route 80

    1893 ft · 32 sec · Route 80

  21. 21

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

    1919 ft · 39 sec

  22. 22

    Merge slight right onto Central Freeway

    1462 ft · 25 sec · Central Freeway

  23. 23

    Continue on Octavia Boulevard

    2490 ft · 42 sec · Octavia Boulevard

  24. 24

    Turn right onto Market Street

    629 ft · 32 sec · Market Street

  25. 25

    Keep slight right to continue on Market Street

    961 ft · 35 sec · Market Street

  26. 26

    Arrive at your destination

    0 m · 1 sec · Market Street

Car Route Details

A richer read on the saved driving route between Martinez 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
26 steps
6 turns on the saved route
Ramps & Exits
7
4 merges, 3 ramps or exits
Navigation Density
73.9 / 100 mi
Decision points by distance
Main Roads
Eastshore Freeway
14.6 mi · 42%
CA 4 West
8.07 mi · 23%
Dwight D. Eisenhower Highway
6.22 mi · 18%
Route 80
1.39 mi · 4%
Alhambra Avenue
1.09 mi · 3%
I 80 West
0.69 mi · 2%
Longest Stretch

Eastshore Freeway

Merge slight left onto Eastshore Freeway

13.8 mi · 00h 16m

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
00h 47m
Day trip friendly
Same-Day Return
01h 36m
Round-trip wheel time
Road vs Air
+12.2 mi
23 mi direct line
Halfway Stop
East Richmond Heights
00h 23m from Martinez
Leave By
4:54 PM PDT
Morning start is best
Weather Watch

Areas Of Fog leaving Martinez and Chance Light Rain near San Francisco.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

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

East Richmond Heights is a useful midpoint, sitting about 17.6 miles from Martinez and 17.6 miles from San Francisco.

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

The direct path is about 23 miles (37 km), while the road route adds roughly 12.2 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 4:54 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $7.15 one way or $14.31 round trip. Estimated CO2 is about 11 kg one way.

What should you check before leaving?

Before you leave, expect Areas Of Fog around Martinez and Chance Light Rain near San Francisco.

Stop Ideas Near East Richmond Heights

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 East Richmond Heights and the surrounding midpoint area.
San Francisco City Hall Wedding Photographer
Practical stop 12.7 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
Alameda Public Works Department
Meeting point 11 mi away

Alameda Public Works Department

Alameda , CA
950 W Mall Square, Alameda, CA 94501, United States
Rating 5.0/5 2 reviews City government office,Home and construction
Old Berkeley City Hall
Nearby stop 5.9 mi away

Old Berkeley City Hall

Berkeley , CA
2134 Martin Luther King Jr Way, Berkeley, CA 94703, United States
Rating 5.0/5 2 reviews Civic center
My City Hall Wedding
Practical stop 12.1 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 East Richmond Heights.

RAIL

Richmond station

4 mi away
1700 Nevin Avenue
RAIL

Berkeley station

9 mi away
University Ave. and Third St.
RAIL

Emeryville station

12 mi away
5885 Horton Street
RAIL

Oakland – Jack London Square station

17 mi away
245 Second Street

Flight Path Map

This map shows the direct air route between Martinez and San Francisco. Straight-line distance: 22.96 mi (36.95 km).

Martinez

#1 Martinez

City in Contra Costa County, California, USA

Population38,027
Coordinates38.0193700, -122.1341300
Altitude7
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: Pine Street (-122.134093, 38.019365)
End: Market Street (-122.419433, 37.774953)

Estimated Travel Time

Distance: 57 km by road

SpeedTime
30 mph (48.3 km/h)01h 10m
40 mph (64.37 km/h)00h 52m
50 mph (80.47 km/h)00h 42m
60 mph (96.56 km/h)00h 35m
70 mph (112.65 km/h)00h 30m
80 mph (129 km/h)00h 26m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
1.24 gal
4.7 L · about $7.15
Round trip
$14.31
2.48 gal · 9.4 L
Estimated CO2
11 kg one way
Round trip: 22 kg / 49 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $7.15 $14.31
Mid-grade $6.07 $7.52 $15.04
Premium $6.24 $7.74 $15.48
Diesel $7.57 $9.38 $18.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 23, 2026

There is no time difference between Martinez and San Francisco. The current time is 22:05:45.

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.