San Diego (Southern CA) to San Mateo (Bay Area) is approximately 500 miles (805 km) via I-5 N (coastal) or US-101 N (inland).
Driving time: 7.5–8.5 hours without heavy traffic. Flights (SAN to SFO/SJC) take ~1.5 hours.