There are
41 mi
from Frederick, MD to Martinsburg, WV
That's the driving distance. It would take 54 minutes to go from Frederick, Maryland to Martinsburg, West Virginia.
The flight distance (direct flight from Frederick, MD to Martinsburg, WV) is 29.67 mi.
41 mi = 65.37 kms