There are
363 mi
from Hayward, CA to San Gabriel, CA
That's the driving distance. It would take 6 hours 47 mins to go from Hayward, California to San Gabriel, California.
The flight distance (direct flight from Hayward, CA to San Gabriel, CA) is 332.27 mi.
363 mi = 584.69 kms