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

The driving distance from San Francisco, CA to Martinez, CA is about 34.6 miles (55.7 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 34m 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
34.64 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 San Francisco.

Flight Distance

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

Driving Distance

Road route
34.64 mi
Kilometers
55.74 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 Martinez
Thu, Apr 23, 12:21 AM PDT
Return by in San Francisco
Thu, Apr 23, 1:09 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-04-22T23:34
Arrive Martinez
Thu, Apr 23, 12:21 AM 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:47 AM to 10:47 AM PDT

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

Leave by
4:56 PM PDT
Keeps a same-day return open with about 03h 00m at the destination.
Back in San Francisco
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 San Francisco
17.3 mi
00h 23m
To Martinez
17.3 mi
00h 23m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
65°F
Wednesday

Chance Light Rain

Starts
Wed, Apr 22 6:00 AM PDT
Wind
2 to 9 mph WSW
Destination
64°F
Wednesday

Areas Of Fog

Starts
Wed, Apr 22 6:00 AM PDT
Wind
1 to 6 mph SW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  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

    598 ft · 8 sec · Linus F. Claeys Freeway

  13. 13

    Take the exit slight right toward CA 4 East: Stockton, Hercules

    734 ft · 18 sec

  14. 14

    Keep slight left to continue on CA 4 East: Stockton, Martinez

    1053 ft · 26 sec

  15. 15

    Merge slight left onto John Muir Parkway

    8.3 mi · 10 min · John Muir Parkway

  16. 16

    Take the exit slight right toward Alhambra Avenue, Martinez

    1111 ft · 29 sec

  17. 17

    Turn sharp left onto Alhambra Avenue

    1.4 mi · 3 min · Alhambra Avenue

  18. 18

    Turn right onto Brown Street

    1648 ft · 51 sec · Brown Street

  19. 19

    Turn left onto Pine Street

    1044 ft · 31 sec · Pine Street

  20. 20

    Continue on Pine Street

    979 ft · 20 sec · Pine Street

  21. 21

    Continue on Court Street

    1091 ft · 24 sec · Court Street

  22. 22

    Turn right onto Escobar Street

    77 m · 9 sec · Escobar Street

  23. 23

    Arrive at your destination

    0 m · 1 sec · Escobar Street

Car Route Details

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

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
23 steps
6 turns on the saved route
Ramps & Exits
7
3 merges, 4 ramps or exits
Navigation Density
66.5 / 100 mi
Decision points by distance
Main Roads
Eastshore Freeway
14 mi · 40%
John Muir Parkway
8.33 mi · 24%
Dwight D. Eisenhower Highway
6.44 mi · 19%
Alhambra Avenue
1.64 mi · 5%
Route 80
0.95 mi · 3%
I 80 East
0.85 mi · 2%
Longest Stretch

John Muir Parkway

Merge slight left onto John Muir Parkway

8.33 mi · 00h 10m

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 34m
Round-trip wheel time
Road vs Air
+11.6 mi
23 mi direct line
Halfway Stop
East Richmond Heights
00h 23m from San Francisco
Leave By
4:56 PM PDT
Morning start is best
Weather Watch

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

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

The road trip is about 34.6 miles (55.7 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.3 miles from San Francisco and 17.3 miles from Martinez.

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 11.6 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:56 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $7.04 one way or $14.08 round trip. Estimated CO2 is about 10.8 kg one way.

What should you check before leaving?

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

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.9 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.3 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
San Francisco City Assessor
Nearby stop 12.7 mi away

San Francisco City Assessor

San Francisco , CA
1 Dr Carlton B Goodlett Pl #190, San Francisco, CA 94102, United States
Rating 4.9/5 8 reviews Tax assessor,City tax office
My City Hall Wedding
Practical stop 12.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 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 San Francisco and Martinez. Straight-line distance: 22.96 mi (36.95 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
Martinez

#2 Martinez

City in Contra Costa County, California, USA

Population38,027
Coordinates38.0193700, -122.1341300
Altitude7
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Martinez (-122.13413, 38.01937)

Estimated Travel Time

Distance: 56 km by road

SpeedTime
30 mph (48.3 km/h)01h 09m
40 mph (64.37 km/h)00h 51m
50 mph (80.47 km/h)00h 41m
60 mph (96.56 km/h)00h 34m
70 mph (112.65 km/h)00h 29m
80 mph (129 km/h)00h 25m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
1.22 gal
4.63 L · about $7.04
Round trip
$14.08
2.44 gal · 9.26 L
Estimated CO2
10.8 kg one way
Round trip: 21.7 kg / 48 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $7.04 $14.08
Mid-grade $6.07 $7.40 $14.80
Premium $6.24 $7.62 $15.23
Diesel $7.57 $9.23 $18.46

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 San Francisco and Martinez. The current time is 23:34:20.

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.