Use the formula: Time = Distance ÷ Speed
Make sure distance and speed use compatible units
If distance is in kilometers and speed is in kilometers per hour, time will be in hours
If distance is in meters and speed is in meters per second, time will be in seconds
Divide the total distance by the speed to get the travel time
Convert the result into the desired time unit if needed
Example: 100 km ÷ 50 km/h = 2 hours
