There are
2,666 mi
from Hayward, CA to St Marys, PA
That's the driving distance. It would take 1 day 22 hours to go from Hayward, California to St Marys, Pennsylvania.
The flight distance (direct flight from Hayward, CA to St Marys, PA) is 2,309.51 mi.
2,666 mi = 3.22 kms