There are
2,551 mi
from San Bernardino, CA to Frederick, MD
That's the driving distance. It would take 1 day 21 hours to go from San Bernardino, California to Frederick, Maryland.
The flight distance (direct flight from San Bernardino, CA to Frederick, MD) is 2,219.38 mi.
2,551 mi = 4,105.93 kms