There are
1,334 mi
from San Bernardino, CA to Gainesville, TX
That's the driving distance. It would take 23 hours 8 mins to go from San Bernardino, California to Gainesville, Texas.
The flight distance (direct flight from San Bernardino, CA to Gainesville, TX) is 1,155 mi.
1,334 mi = 2,146.25 kms