There are
2,333 mi
from Gainesville, FL to San Marcos, CA
That's the driving distance. It would take 1 day 16 hours to go from Gainesville, Florida to San Marcos, California.
The flight distance (direct flight from Gainesville, FL to San Marcos, CA) is 2,059.48 mi.
2,333 mi = 3.22 kms