If you use miles as a unit of length than - the distance from Foster City to Rapid City is zero miles.
The road trip out of Foster City to Rapid City will take approximately if you drive with average speed and the absence of accidents and traffic jams
Watch distance between Foster City and Rapid City
Flight from Foster City to Rapid City