Sacramento Airport (SMF) is about 20 miles from Davis and San Francisco Airport (SFO) is about 90 miles from Davis.
Suggested transportation to/from Sacramento and San Francisco airports:
Davis Airporter Shuttle Service
Phone: (530) 756-6715 or (800) 565-5153
A reservation is made, but the passenger is to call Davis Airporter upon arrival at the airport for instructions.
Amtrak/BART connection from San Francisco airport to Davis
Take BART (Bay Area Rapid Transit underground system) From SFO to Richmond. Transfer to Capitol Corridor Amtrak train from Richmond to Davis. Be sure to check BART/Amtrak schedules! This is not a good option for traveling late in the day.
Yolobus offers a public transportation option for the Sacramento International Airport and the city of Sacramento.