There are
1,728 mi
from Hayward, CA to San Marcos, TX
That's the driving distance. It would take 1 day 6 hours to go from Hayward, California to San Marcos, Texas.
The flight distance (direct flight from Hayward, CA to San Marcos, TX) is 1,481.75 mi.
1,728 mi = 1.61 kms