There are
1,341 mi
from Rockville, MD to Gainesville, TX
That's the driving distance. It would take 1 day to go from Rockville, Maryland to Gainesville, Texas.
The flight distance (direct flight from Rockville, MD to Gainesville, TX) is 1,171.09 mi.
1,341 mi = 2,157.47 kms