If you took US 101, Mapquest says 6 hours 25 minutes. Add about 2 hours if you go to CA 1 at Bodega Bay and go up the coast through Mendocino. Add another 2 hours if you go through the Humboldt Redwoods and Petrolia to reach the coast again.