There are
389 mi
from Ontario, CA to San Ramon, CA
That's the driving distance. It would take 7 hours 13 mins to go from Ontario, California to San Ramon, California.
The flight distance (direct flight from Ontario, CA to San Ramon, CA) is 352.84 mi.
389 mi = 625.52 kms