There are
774 mi
from Gilbert, AZ to San Francisco, CA
That's the driving distance. It would take 14 hours 10 mins to go from Gilbert, Arizona to San Francisco, California.
The flight distance (direct flight from Gilbert, AZ to San Francisco, CA) is 670.46 mi.
774 mi = 1,244.89 kms