There are
2,776 mi
from San Francisco, CA to Frederick, MD
That's the driving distance. It would take 2 days to go from San Francisco, California to Frederick, Maryland.
The flight distance (direct flight from San Francisco, CA to Frederick, MD) is 2,407.78 mi.
2,776 mi = 3.22 kms