There are
2,447 mi
from Gainesville, FL to Shafter, CA
That's the driving distance. It would take 1 day 20 hours to go from Gainesville, Florida to Shafter, California.
The flight distance (direct flight from Gainesville, FL to Shafter, CA) is 2,175.83 mi.
2,447 mi = 3.22 kms