There are
349 mi
from Sacramento, CA to Lompoc, CA
That's the driving distance. It would take 6 hours 42 mins to go from Sacramento, California to Lompoc, California.
The flight distance (direct flight from Sacramento, CA to Lompoc, CA) is 278.39 mi.
349 mi = 561.87 kms