There are
524 mi
from Rochester Hills, MI to Gaithersburg, MD
That's the driving distance. It would take 9 hours 54 mins to go from Rochester Hills, Michigan to Gaithersburg, Maryland.
The flight distance (direct flight from Rochester Hills, MI to Gaithersburg, MD) is 394.15 mi.
524 mi = 843.76 kms