There are
2,809 mi
from San Mateo, CA to Gaithersburg, MD
That's the driving distance. It would take 2 days 1 hour to go from San Mateo, California to Gaithersburg, Maryland.
The flight distance (direct flight from San Mateo, CA to Gaithersburg, MD) is 2,422.02 mi.
2,809 mi = 3.22 kms