There are
1,386 mi
from Costa Mesa, CA to Gainesville, TX
That's the driving distance. It would take 1 day to go from Costa Mesa, California to Gainesville, Texas.
The flight distance (direct flight from Costa Mesa, CA to Gainesville, TX) is 1,193.71 mi.
1,386 mi = 2,230.58 kms