There are
2,768 mi
from San Rafael, CA to Frederick, MD
That's the driving distance. It would take 2 days to go from San Rafael, California to Frederick, Maryland.
The flight distance (direct flight from San Rafael, CA to Frederick, MD) is 2,409.64 mi.
2,768 mi = 4,454.85 kms