There are
2,655 mi
from Rockville, MD to Shafter, CA
That's the driving distance. It would take 1 day 23 hours to go from Rockville, Maryland to Shafter, California.
The flight distance (direct flight from Rockville, MD to Shafter, CA) is 2,307.71 mi.
2,655 mi = 4,272.96 kms