From Sacramento, CA bus to San Francisco Caltrain then Caltrain to Palo Alto Caltrain. 2hrs 45min $48. From Sacramento, CA train to San Jose Diridon Caltrain then Caltrain to Palo Alto Caltrain. 5hrs 00min $36. From Sacramento drive to Palo Alto. 2hrs 02min $14. From L St & 10th St bus to Sacramento airport, fly to San Francisco airport, BART to Millbrae Caltrain, then Caltrain to Palo Alto. 2hrs 54min $159.