There are
25 mi
from Hayward, CA to Los Altos, CA
That's the driving distance. It would take 38 minutes to go from Hayward, California to Los Altos, California.
The flight distance (direct flight from Hayward, CA to Los Altos, CA) is 19.68 mi.
25 mi = 40.94 kms