There are
406 mi
from San Bernardino, CA to Los Altos, CA
That's the driving distance. It would take 7 hours 42 mins to go from San Bernardino, California to Los Altos, California.
The flight distance (direct flight from San Bernardino, CA to Los Altos, CA) is 352.67 mi.
406 mi = 652.70 kms