How far is San Diego, CA from Shafter, CA?

The driving distance from San Diego, CA to Shafter, CA is about 248.4 miles (399.7 km), with a travel time of about 04h 50m by car.

  • The straight-line flight distance is about 227 miles (365.4 km).
  • For a round trip, plan for roughly 09h 41m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 6:00 AM to 8:00 AM PDT.
Trip Tools

Reverse, save, or send this route

This drive is better planned with a longer stop or an overnight stay. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
248.34 mi
04h 50m
Flight
227.04 mi
365.38 km direct

This drive is better planned with a longer stop or an overnight stay.

Learn Distance

Choose another destination from San Diego.

Flight Distance

Direct air line
227.04 mi
Kilometers
365.38 km
Flight Time
00h 27m

Driving Distance

Road route
248.34 mi
Kilometers
399.66 km
Drive Time
04h 50m

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 04h 50m.

Arrival Snapshot
Arrive in Shafter
Mon, May 25, 7:28 AM PDT
Return by in San Diego
Mon, May 25, 12:19 PM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Diego
2026-05-25T02:38
Arrive Shafter
Mon, May 25, 7:28 AM PDT
Route Timing
04h 50m
One way by road
Best Departure Window
6:00 AM to 8:00 AM PDT
Leave early for more breathing room
Arrive between
10:51 AM to 12:51 PM PDT

An early departure helps you fit a real stop into the day without turning the return into a late-night drive.

Leave by
7:18 AM PDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in San Diego
9:00 PM PDT
Early departure recommended

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

The second most populous city in Los Angeles County, California.

From San Diego
124.3 mi
02h 25m
To Shafter
124.1 mi
02h 25m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
69°F
Memorial Day

Mostly Cloudy

Starts
Mon, May 25 6:00 AM PDT
Wind
5 to 15 mph NW
Destination
88°F
Memorial Day

Sunny

Starts
Mon, May 25 6:00 AM PDT
Wind
5 to 10 mph NNW

Driving Route Map

The map below follows the saved road route between San Diego and Shafter.

Turn-by-Turn Driving Directions

Step-by-step road directions between San Diego and Shafter.

  1. 1

    Start on Front Street

    8 m · 6 sec · Front Street

  2. 2

    Turn left onto West Broadway

    88 m · 12 sec · West Broadway

  3. 3

    Turn left onto 1st Avenue

    3072 ft · 1 min · 1st Avenue

  4. 4

    Take the ramp left toward I 5 North: Los Angeles

    1017 ft · 25 sec

  5. 5

    Merge slight left onto San Diego Freeway

    13.5 mi · 16 min · San Diego Freeway

  6. 6

    Keep slight left to continue on San Diego Freeway

    36.3 mi · 43 min · San Diego Freeway

  7. 7

    Keep slight right to continue on San Diego Freeway

    18.1 mi · 21 min · San Diego Freeway

  8. 8

    Keep slight left to continue on San Diego Freeway

    7.4 mi · 9 min · San Diego Freeway

  9. 9

    Keep slight right to continue on Bake Parkway

    1.6 mi · 2 min

  10. 10

    Keep slight right

    6 mi · 7 min

  11. 11

    Take the exit slight right toward Jamboree Road

    1266 ft · 17 sec

  12. 12

    Continue straight

    527 ft · 11 sec

  13. 13

    Turn right onto Jamboree Road

    760 ft · 18 sec · Jamboree Road

  14. 14

    Turn left onto El Camino Real

    2.2 mi · 5 min · El Camino Real

  15. 15

    Turn left onto Newport Avenue

    109 m · 14 sec · Newport Avenue

  16. 16

    Take the ramp right toward I 5 North: Los Angeles

    1127 ft · 17 sec

  17. 17

    Merge slight left onto Santa Ana Freeway

    1.3 mi · 1 min · Santa Ana Freeway

  18. 18

    Keep slight right to continue on Santa Ana Freeway

    1.7 mi · 2 min · Santa Ana Freeway

  19. 19

    Keep slight right to continue on Santa Ana Freeway

    9.4 mi · 11 min · Santa Ana Freeway

  20. 20

    Keep slight right to continue on Santa Ana Freeway

    18 mi · 21 min · Santa Ana Freeway

  21. 21

    Keep slight right to continue on Golden State Freeway

    25.5 mi · 30 min · Golden State Freeway

  22. 22

    Keep slight left to continue on Golden State Freeway

    2.2 mi · 3 min · Golden State Freeway

  23. 23

    Keep slight right to continue on I 5 Truck North, CA 14 Truck

    1.5 mi · 2 min

  24. 24

    Keep slight left

    36.1 mi · 42 min

  25. 25

    Keep slight left to continue on Golden State Freeway

    22.3 mi · 25 min · Golden State Freeway

  26. 26

    Keep slight left to continue on Golden State Freeway

    27.4 mi · 30 min · Golden State Freeway

  27. 27

    Keep slight left to continue on Golden State Freeway

    6 mi · 7 min · Golden State Freeway

  28. 28

    Continue on Golden State Highway

    3.8 mi · 4 min · Golden State Highway

  29. 29

    Take the exit slight right toward Lerdo Highway

    1338 ft · 35 sec

  30. 30

    Turn left onto Lerdo Highway

    6.2 mi · 8 min · Lerdo Highway

  31. 31

    Turn right onto Central Valley Highway

    129 m · 12 sec · Central Valley Highway

  32. 32

    Turn left onto Jackson Avenue

    14 m · 2 sec · Jackson Avenue

  33. 33

    Arrive at your destination

    0 m · 1 sec · Jackson Avenue

Car Route Details

A richer read on the saved driving route between San Diego and Shafter.

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
33 steps
8 turns on the saved route
Ramps & Exits
6
2 merges, 4 ramps or exits
Navigation Density
13.3 / 100 mi
Decision points by distance
Main Roads
Golden State Freeway
83.3 mi · 34%
San Diego Freeway
75.2 mi · 30%
I 5 Truck North
37.7 mi · 15%
Santa Ana Freeway
30.4 mi · 12%
Bake Parkway
7.61 mi · 3%
Lerdo Highway
6.42 mi · 3%
Longest Stretch

San Diego Freeway

Keep slight left to continue on San Diego Freeway

36.3 mi · 00h 43m

Route Summary

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

Trip Read

A longer out-and-back drive

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

Drive Time
04h 50m
Long day trip
Same-Day Return
09h 42m
Round-trip wheel time
Road vs Air
+21.4 mi
227 mi direct line
Halfway Stop
Glendale
02h 25m from San Diego
Leave By
7:18 AM PDT
Early departure recommended
Weather Watch

Mostly Cloudy leaving San Diego and Sunny near Shafter.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from San Diego to Shafter?

The road trip is about 248.4 miles (399.7 km) and usually takes 04h 50m in normal driving conditions.

Is this a same-day trip or an overnight route?

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

What is the halfway point on this route?

Glendale is a useful midpoint, sitting about 124.3 miles from San Diego and 124.1 miles from Shafter.

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

The direct path is about 227 miles (365.4 km), while the road route adds roughly 21.4 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 6:00 AM to 8:00 AM PDT. If you want a more comfortable same-day return, try to leave by 7:18 AM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $50.54 one way or $101.07 round trip. Estimated CO2 is about 77.9 kg one way.

What should you check before leaving?

Before you leave, expect Mostly Cloudy around San Diego and Sunny near Shafter.

Stop Ideas Near Glendale

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 Glendale and the surrounding midpoint area.
Bell Gardens Inn Los Angeles
Stay option 10.5 mi away

Bell Gardens Inn Los Angeles

Bell Gardens , CA
6328 S Eastern Ave, Bell Gardens, CA 90201, United States
Rating 5.0/5 2 reviews Motel
City of Beverly Hills Parking Lot
Scenic stop 8.5 mi away

City of Beverly Hills Parking Lot

Beverly Hills , CA
9351 Civic Center Dr, Beverly Hills, CA 90210, United States
Rating 5.0/5 1 reviews Parking lot
Stop photo coming soon
Practical stop 4.7 mi away

City of Los Angeles

Los Angeles , CA
1149 S Broadway, Los Angeles, CA 90015, United States
Rating 5.0/5 1 reviews E-commerce service
Stop photo coming soon
Meeting point 12.2 mi away

City Of El Monte Public Works Department

El Monte , CA
3990 Arden Dr, El Monte, CA 91731, United States
Rating 5.0/5 3 reviews City government office

Transit and Meeting Points

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

RAIL

Glendale Transportation Center

2 mi away
400 West Cerritos Avenue
RAIL

Los Angeles Union Station

10 mi away
800 North Alameda Street
BUS

La Crescenta, California

10 mi away
Honolulu & Lowell Avenue
BUS

Pasadena, California

11 mi away
150 South Los Robles Ave.

Flight Path Map

This map shows the direct air route between San Diego and Shafter. Straight-line distance: 227.04 mi (365.38 km).

San Diego

#1 San Diego

The eighth most populous city in the United States and the center of the San Diego metropolitan area.

Population1,422,420
Coordinates32.7157100, -117.1647200
Altitude20
CountryUnited States
Shafter

#2 Shafter

City in Kern County, California, United States

Population20,739
Coordinates35.5005100, -119.2717800
Altitude106
CountryUnited States
Start: San Diego (-117.16472, 32.71571)
End: Shafter (-119.27178, 35.50051)

Estimated Travel Time

Distance: 400 km by road

SpeedTime
30 mph (48.3 km/h)08h 16m
40 mph (64.37 km/h)06h 12m
50 mph (80.47 km/h)04h 57m
60 mph (96.56 km/h)04h 08m
70 mph (112.65 km/h)03h 32m
80 mph (129 km/h)03h 05m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
8.76 gal
33.17 L · about $50.54
Round trip
$101.07
17.52 gal · 66.34 L
Estimated CO2
77.9 kg one way
Round trip: 155.7 kg / 343 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $50.54 $101.07
Mid-grade $6.07 $53.14 $106.28
Premium $6.24 $54.69 $109.38
Diesel $7.57 $66.29 $132.57

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

There is no time difference between San Diego and Shafter. The current time is 02:38: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.