There are
2,693 mi
from Hayward, CA to Batavia, NY
That's the driving distance. It would take 1 day 23 hours to go from Hayward, California to Batavia, New York.
The flight distance (direct flight from Hayward, CA to Batavia, NY) is 2,313.06 mi.
2,693 mi = 3.22 kms