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

The driving distance from San Francisco, CA to Pittsburg, CA is about 40.5 miles (65.1 km), with a travel time of about 00h 52m by car.

  • The straight-line flight distance is about 34 miles (54.7 km).
  • For a round trip, plan for roughly 01h 45m 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
40.48 mi
00h 52m
Flight
34 mi
54.71 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
34 mi
Kilometers
54.71 km
Flight Time
00h 04m

Driving Distance

Road route
40.48 mi
Kilometers
65.14 km
Drive Time
00h 52m

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

Arrival Snapshot
Arrive in Pittsburg
Thu, May 7, 8:05 AM PDT
Return by in San Francisco
Thu, May 7, 8:58 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-05-07T07:13
Arrive Pittsburg
Thu, May 7, 8:05 AM PDT
Route Timing
00h 52m
One way by road
Best Departure Window
8:00 AM to 10:00 AM PDT
Aim for a morning departure
Arrive between
8:53 AM to 10:53 AM PDT

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

Leave by
4:44 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
Lafayette
CA

City in California

From San Francisco
20.2 mi
00h 26m
To Pittsburg
20.3 mi
00h 26m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
74°F
Thursday

Patchy Fog then Mostly Sunny

Starts
Thu, May 7 6:00 AM PDT
Wind
0 to 9 mph W
Destination
Pittsburg Weather
CA
Live fallback forecast
78°F
Thursday
Using Concord as the closest live forecast in the Contra Costa County weather hub.

Sunny

Starts
Thu, May 7 6:00 AM PDT
Wind
2 to 8 mph S

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  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

    5.8 mi · 9 min · Dwight D. Eisenhower Highway

  7. 7

    Take the exit slight right toward I 580 East: Downtown Oakland, Hayward-Stockton

    1.6 km · 1 min

  8. 8

    Merge slight left onto MacArthur Freeway

    3218 ft · 42 sec · MacArthur Freeway

  9. 9

    Take the exit slight right toward CA 24 East: Berkeley, Walnut Creek

    1.4 km · 2 min

  10. 10

    Keep slight left to continue on CA 24 East: Walnut Creek

    1259 ft · 31 sec

  11. 11

    Merge slight left onto Grove Shafter Freeway

    3.3 mi · 4 min · Grove Shafter Freeway

  12. 12

    Keep slight left to continue on Grove Shafter Freeway

    874 ft · 13 sec · Grove Shafter Freeway

  13. 13

    Continue on Caldecott Tunnel

    9.8 mi · 11 min · Caldecott Tunnel

  14. 14

    Merge slight right onto Senator Daniel E Boatwright Highway

    3.8 mi · 4 min · Senator Daniel E Boatwright Highway

  15. 15

    Keep slight right to continue on CA 242 North: Concord, Pittsburg

    3.9 mi · 4 min

  16. 16

    Merge slight left

    7.8 mi · 9 min

  17. 17

    Take the exit slight right toward Railroad Avenue

    1282 ft · 19 sec

  18. 18

    Turn left onto Railroad Avenue

    1.4 km · 2 min · Railroad Avenue

  19. 19

    Turn right onto East 10th Street

    38 m · 2 sec · East 10th Street

  20. 20

    Arrive at your destination

    0 m · 1 sec · East 10th Street

Car Route Details

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

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
4 turns on the saved route
Ramps & Exits
9
5 merges, 4 ramps or exits
Navigation Density
49.4 / 100 mi
Decision points by distance
Main Roads
CA 242 North
11.6 mi · 29%
Caldecott Tunnel
9.82 mi · 24%
Dwight D. Eisenhower Highway
5.76 mi · 14%
Senator Daniel E Boatwright Highway
3.8 mi · 9%
Grove Shafter Freeway
3.43 mi · 8%
CA 24 East
1.11 mi · 3%
Longest Stretch

Caldecott Tunnel

Continue on Caldecott Tunnel

9.82 mi · 00h 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
00h 52m
Day trip friendly
Same-Day Return
01h 46m
Round-trip wheel time
Road vs Air
+6.5 mi
34 mi direct line
Halfway Stop
Lafayette
00h 26m from San Francisco
Leave By
4:44 PM PDT
Morning start is best
Weather Watch

Patchy Fog then Mostly Sunny leaving San Francisco and Sunny near Pittsburg.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

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

Lafayette is a useful midpoint, sitting about 20.2 miles from San Francisco and 20.3 miles from Pittsburg.

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

The direct path is about 34 miles (54.7 km), while the road route adds roughly 6.5 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:44 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $8.25 one way or $16.50 round trip. Estimated CO2 is about 12.7 kg one way.

What should you check before leaving?

Before you leave, expect Patchy Fog then Mostly Sunny around San Francisco and Sunny near Pittsburg.

Stop Ideas Near Lafayette

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 Lafayette and the surrounding midpoint area.
Frank H. Ogawa Plaza
Scenic stop 9.8 mi away

Frank H. Ogawa Plaza

Oakland , CA
Oakland City Hall, 1 Frank H. Ogawa Plaza, Oakland, CA 94612, United States
Rating 4.2/5 629 reviews Park
Alameda City Clerk's Office
Meeting point 10.7 mi away

Alameda City Clerk's Office

Alameda , CA
2263 Santa Clara Ave # 380, Alameda, CA 94501, United States
Rating 4.8/5 13 reviews City government office,Notary public,Passport agent,Passport office,Passport photo processor,Wedding venue
Old Maple Hall
Nearby stop 12.4 mi away

Old Maple Hall

San Pablo , CA
13831 San Pablo Ave, San Pablo, CA 94806, United States
Rating 4.7/5 48 reviews Community center

Transit and Meeting Points

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

RAIL

Martinez station

15 mi away
601 Marina Vista Ave.
RAIL

Emeryville station

16 mi away
5885 Horton Street
RAIL

Oakland Coliseum station

16 mi away
700 73rd Avenue
RAIL

Berkeley station

16 mi away
University Ave. and Third St.

Flight Path Map

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

#2 Pittsburg

A city in Contra Costa County, California.

Population72,622
Coordinates38.0279800, -121.8846800
Altitude8
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Pittsburg (-121.88468, 38.02798)

Estimated Travel Time

Distance: 65 km by road

SpeedTime
30 mph (48.3 km/h)01h 20m
40 mph (64.37 km/h)01h 00m
50 mph (80.47 km/h)00h 48m
60 mph (96.56 km/h)00h 40m
70 mph (112.65 km/h)00h 34m
80 mph (129 km/h)00h 30m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
1.43 gal
5.41 L · about $8.25
Round trip
$16.50
2.86 gal · 10.82 L
Estimated CO2
12.7 kg one way
Round trip: 25.4 kg / 56 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $8.25 $16.50
Mid-grade $6.07 $8.67 $17.35
Premium $6.24 $8.93 $17.85
Diesel $7.57 $10.82 $21.64

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 · May 07, 2026

There is no time difference between San Francisco and Pittsburg. The current time is 07:13:06.

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.