From Sacramento, CA bus to San Francisco Caltrain then Caltrain to Palo Alto Caltrain. 2hrs 58min $16. From Sacramento, CA train to San Jose Diridon Caltrain then Caltrain to Palo Alto Caltrain. 3hrs 50min $44. From Sacramento, CA bus to Main St & Folsom St, bus to El Camino Real & Hillsdale Blvd, then bus to Palo Alto Transit Ctr-Bay 1. 5hrs 24min $22. From Sacramento drive to Palo Alto. 2hrs 05min $14. From Capitol Mall at 7th St. bus to Sacramento airport, fly to San Francisco airport, BART to Millbrae Caltrain, then Caltrain to Palo Alto. 3hrs 28min $189.