The distance from San Diego to San Francisco is about 500–520 miles (805–837 km) by road depending on the route, while the straight-line flight distance is roughly 460 miles (740 km). Driving usually takes around 8–9 hours, while a direct flight is about 1.5 hours.