There are
543 mi
from Gilbert, AZ to Lompoc, CA
That's the driving distance. It would take 10 hours 5 mins to go from Gilbert, Arizona to Lompoc, California.
The flight distance (direct flight from Gilbert, AZ to Lompoc, CA) is 504.31 mi.
543 mi = 874.60 kms