How it works
Speed, distance and time are linked by one equation: speed = distance ÷ time. Rearranged, distance = speed × time and time = distance ÷ speed. Pick what you want to find, enter the other two, and choose the units for each. The units do not have to match: you can enter miles and minutes and get km/h.
Inside, everything is converted to metres and seconds, calculated, then shown in the unit you chose. The side rows show the same result in other common units. A mile is exactly 1,609.344 metres, a nautical mile is exactly 1,852 metres and a knot is one nautical mile per hour.
For average speed, use the total distance and the total time of the whole trip, including stops if you want the speed over the whole journey. Averaging two speeds directly gives the wrong answer unless the two parts took equal time.
Check it by hand: speed is distance divided by time. 150 km in 2.5 hours is 150 ÷ 2.5 = 60 km/h. In miles per hour that is 60 ÷ 1.609344 = 37.28 mph, and in metres per second 60 ÷ 3.6 = 16.67 m/s. The time is 2.5 hours, which is 150 minutes or 2:30:00.
speed = distance ÷ time distance = speed × time time = distance ÷ speed 1 mile = 1,609.344 m, 1 nautical mile = 1,852 m, 1 knot = 1,852 m per hour, 1 m/s = 3.6 km/h
Worked example
150 km in 2.5 hours: speed = 150 ÷ 2.5 = 60 km/h, which is 37.282 mph or 16.667 m/s.
A car at 90 km/h for 40 minutes covers 90 × 40 ÷ 60 = 60 km. A ship going 15 knots takes 120 ÷ 15 = 8 hours to cover 120 nautical miles.
Good to know
- The tool assumes a constant speed, or gives the average speed. It does not model acceleration, stops, traffic or the speed of a changing journey.
- It does not use negative values or a direction, so it gives speed, not velocity.
- Results are straight-line arithmetic. Travel time by road, rail or air also depends on routes, delays and the time it takes to get to and from the vehicle.
- This is not the running pace tool. Pace is minutes per kilometre or mile for runners; the running pace calculator also gives race times.
Questions people ask
How do you calculate speed?
Divide distance by time. 150 km in 2.5 hours is 150 ÷ 2.5 = 60 km/h. Keep the units consistent, or let this calculator convert them for you.
How do you calculate time from distance and speed?
Divide the distance by the speed. 300 km at 80 km/h takes 300 ÷ 80 = 3.75 hours, which is 3 hours 45 minutes.
How do you calculate average speed?
Divide the total distance by the total time. Driving 60 km at 60 km/h and 60 km at 30 km/h takes 1 + 2 = 3 hours for 120 km, so the average is 40 km/h, not 45.
How do I convert km/h to m/s?
Divide by 3.6. 72 km/h is 20 m/s. Multiply m/s by 3.6 to get km/h. Choose the units in the calculator and the conversions are shown for you.
What is a knot?
A knot is one nautical mile per hour, 1.852 km/h or about 1.15 mph. It is used for ships and aircraft.
How long does it take to drive 300 km at 80 km/h?
300 ÷ 80 = 3.75 hours, which is 3 hours 45 minutes.
Part of the guide: Math and study calculators: percentages, fractions, GPA and everyday sums