There are
505 mi
from San Diego, CA to Sacramento, CA
That's the driving distance. It would take 9 hours 27 mins to go from San Diego, California to Sacramento, California.
The flight distance (direct flight from San Diego, CA to Sacramento, CA) is 472.69 mi.
505 mi = 812.73 kms