There are
456 mi
from Hayward, CA to San Marcos, CA
That's the driving distance. It would take 8 hours 33 mins to go from Hayward, California to San Marcos, California.
The flight distance (direct flight from Hayward, CA to San Marcos, CA) is 417.45 mi.
456 mi = 734.33 kms