There are
1,019 mi
from Gainesville, FL to San Marcos, TX
That's the driving distance. It would take 18 hours 41 mins to go from Gainesville, Florida to San Marcos, Texas.
The flight distance (direct flight from Gainesville, FL to San Marcos, TX) is 936.04 mi.
1,019 mi = 1.61 kms