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

The driving distance from San Francisco, CA to Union City, CA is about 31 miles (49.9 km), with a travel time of about 00h 43m by car.

  • The straight-line flight distance is about 22.2 miles (35.7 km).
  • For a round trip, plan for roughly 01h 26m 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
30.99 mi
00h 43m
Flight
22.21 mi
35.75 km direct

This is an easy same-day return drive.

Learn Distance

Choose another destination from San Francisco.

Flight Distance

Direct air line
22.21 mi
Kilometers
35.75 km
Flight Time
00h 02m

Driving Distance

Road route
30.99 mi
Kilometers
49.88 km
Drive Time
00h 43m

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

Arrival Snapshot
Arrive in Union City
Fri, May 29, 5:20 PM PDT
Return by in San Francisco
Fri, May 29, 6:03 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-05-29T16:37
Arrive Union City
Fri, May 29, 5:20 PM PDT
Route Timing
00h 43m
One way by road
Best Departure Window
7:00 AM to 7:00 PM PDT
Leave when it suits your day
Arrive between
7:43 AM to 7:43 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:04 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

This departure sits inside the recommended comfort window for the route.

Halfway Point

A useful midpoint for breaks, coffee, or meeting in the middle.

Mid-route stop
Alameda
CA

A city in Alameda County, California.

From San Francisco
15.5 mi
00h 21m
To Union City
15.5 mi
00h 21m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
71°F
Friday

Mostly Sunny

Starts
Fri, May 29 6:00 AM PDT
Wind
2 to 9 mph SW
Destination
69°F
Friday

Mostly Sunny

Starts
Fri, May 29 6:00 AM PDT
Wind
12 mph SW

Driving Route Map

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

Turn-by-Turn Driving Directions

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

  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.1 mi · 8 min · Dwight D. Eisenhower Highway

  7. 7

    Take the exit slight right toward I 880 South: Alameda, San Jose

    2454 ft · 42 sec

  8. 8

    Keep slight left to continue on I 880 South

    1.2 mi · 2 min

  9. 9

    Merge slight left onto Nimitz Freeway

    13 mi · 16 min · Nimitz Freeway

  10. 10

    Keep slight left

    5.6 mi · 6 min

  11. 11

    Keep slight right to continue on Nimitz Freeway

    1.5 mi · 2 min · Nimitz Freeway

  12. 12

    Take the exit slight right toward Whipple Road, Dyer Street

    1823 ft · 46 sec

  13. 13

    Continue on Whipple Road

    1.2 km · 2 min · Whipple Road

  14. 14

    Turn left onto Union City Boulevard

    1.1 km · 1 min · Union City Boulevard

  15. 15

    Turn right onto Cambridge Way

    59 m · 9 sec · Cambridge Way

  16. 16

    Arrive at your destination

    0 m · 1 sec · Cambridge Way

Car Route Details

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

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
16 steps
4 turns on the saved route
Ramps & Exits
5
2 merges, 3 ramps or exits
Navigation Density
51.6 / 100 mi
Decision points by distance
Main Roads
Nimitz Freeway
20.2 mi · 65%
Dwight D. Eisenhower Highway
5.09 mi · 16%
I 880 South
1.71 mi · 6%
Whipple Road
1.11 mi · 4%
Route 80
0.95 mi · 3%
Union City Boulevard
0.65 mi · 2%
Longest Stretch

Nimitz Freeway

Merge slight left onto Nimitz Freeway

13 mi · 00h 16m

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 43m
Quick drive
Same-Day Return
01h 26m
Round-trip wheel time
Road vs Air
+8.8 mi
22.2 mi direct line
Halfway Stop
Alameda
00h 21m from San Francisco
Leave By
7:04 PM PDT
Flexible departure
Weather Watch

Mostly Sunny leaving San Francisco and Mostly Sunny near Union City.

Trip Questions

Direct answers travelers usually want before committing to the drive.

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

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

Alameda is a useful midpoint, sitting about 15.5 miles from San Francisco and 15.5 miles from Union City.

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

The direct path is about 22.2 miles (35.7 km), while the road route adds roughly 8.8 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:04 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $6.29 one way or $12.58 round trip. Estimated CO2 is about 9.7 kg one way.

What should you check before leaving?

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

Stop Ideas Near Alameda

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 Alameda 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
San Leandro City Council
Meeting point 4.1 mi away

San Leandro City Council

San Leandro , CA
835 E 14th St, San Leandro, CA 94577, United States
Rating 5.0/5 2 reviews City government office
Old Berkeley City Hall
Nearby stop 7.8 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 11.4 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 Alameda.

RAIL

Oakland – Jack London Square station

3 mi away
245 Second Street
RAIL

Oakland Coliseum station

6 mi away
700 73rd Avenue
RAIL

Emeryville station

8 mi away
5885 Horton Street
RAIL

Berkeley station

11 mi away
University Ave. and Third St.

Flight Path Map

This map shows the direct air route between San Francisco and Union City. Straight-line distance: 22.21 mi (35.75 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
Union City

#2 Union City

A city in Placer County, California.

Population74,107
Coordinates37.5963232, -122.0816297
Altitude3
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Union City (-122.08163, 37.596323)

Estimated Travel Time

Distance: 50 km by road

SpeedTime
30 mph (48.3 km/h)01h 01m
40 mph (64.37 km/h)00h 46m
50 mph (80.47 km/h)00h 37m
60 mph (96.56 km/h)00h 30m
70 mph (112.65 km/h)00h 26m
80 mph (129 km/h)00h 23m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
1.09 gal
4.14 L · about $6.29
Round trip
$12.58
2.18 gal · 8.28 L
Estimated CO2
9.7 kg one way
Round trip: 19.4 kg / 43 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $6.29 $12.58
Mid-grade $6.07 $6.61 $13.22
Premium $6.24 $6.80 $13.61
Diesel $7.57 $8.25 $16.50

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 29, 2026

There is no time difference between San Francisco and Union City. The current time is 16:37:55.

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.