Time of flight is the measurement of the time taken by an object, particle or wave to travel a distance through a medium.