There are
521 mi
from Phoenix, AZ to Lompoc, CA
That's the driving distance. It would take 9 hours 38 mins to go from Phoenix, Arizona to Lompoc, California.
The flight distance (direct flight from Phoenix, AZ to Lompoc, CA) is 486.84 mi.
521 mi = 839.17 kms