How this speed, distance, and time calculator works
Enter distance in kilometres and time in hours. The calculator divides distance by time: Speed = Distance ÷ Time. The answer is average speed in km/h, shown to two decimal places. 100 km in 2 h is 50.00 km/h. 60 km in 1.5 h is 40.00 km/h.
Time must be a finite value greater than 0. Convert minutes to hours by dividing by 60: 30 minutes is 0.5 h, so 42 km in 0.5 h is 84.00 km/h. 15 minutes is 0.25 h; 5 km in 0.25 h is 20.00 km/h. An empty field, zero time, or a non-finite value leaves the result as “--.”
The result is average speed for the whole trip, not a single speedometer reading. Stops and changing pace are already folded into total distance and total time. 250 km in 4 h averages 62.50 km/h. A distance of 0 with a valid time shows 0.00 km/h.
Keep units matched. Distance is labelled km and time is labelled h, so the answer is labelled km/h. Convert metres to kilometres, or minutes to hours, before you enter the numbers. This page only solves for speed; distance = speed × time and time = distance ÷ speed are rearrangements you can use by hand.