The calculated distance (air line) between Philadelphia and Gaithersburg is approximately 122 miles respectively 197 kilometers.
By car or train, the actual journey to Gaithersburg is certainly longer, as only the direct route (as the crow flies) between Philadelphia and Gaithersburg has been calculated here.
Air line (approximately)
197 kilometers
106 nautical miles