There are
2,481 mi
from Frederick, MD to Barstow, CA
That's the driving distance. It would take 1 day 20 hours to go from Frederick, Maryland to Barstow, California.
The flight distance (direct flight from Frederick, MD to Barstow, CA) is 2,185.60 mi.
2,481 mi = 3,992.74 kms