Calculate trip time

brief comment