There are
1,676 mi
from San Francisco, CA to Gainesville, TX
That's the driving distance. It would take 1 day 5 hours to go from San Francisco, California to Gainesville, Texas.
The flight distance (direct flight from San Francisco, CA to Gainesville, TX) is 1,442.77 mi.
1,676 mi = 2,696.66 kms