Berkeley -> San Mateo is 35 miles one way (17,500 per year)
Berkeley -> San Francisco is 15 miles one way - 7500 per year (at an average speed of 20 mph)
If you can use BART or CalTrain to get to work then you can get those numbers way down, but it's not an option for everyone.
I drive around 40,000km (~25,000 miles) and that's around a 2 hour round trip commute.