This calculator solves the uniform-motion relationship between speed, distance and time. Choose the unknown, enter the other two in meters and seconds, and get the answer in m/s, m or s. It fits running paces, travel estimates and physics homework.
How to use the Speed, Distance, and Time calculator
- Choose speed, distance or time in Solve for. That field is hidden and calculated.
- Enter Distance in meters, Time in seconds and Speed in m/s, whichever two are showing.
- Convert first if needed: 5 km is 5000 m, 1 hour is 3600 s, and 1 km/h is 1 ÷ 3.6 m/s.
- Read the result, then convert back to hours or km/h if that suits your question.
How the speed, distance, and time calculation works
Constant speed only
The formulas assume speed does not change. If a trip has stops or a mix of highway and city driving, the speed you enter is the overall average, total distance ÷ total time, not the cruising speed on the speedometer.
All inputs must be zero or more. When solving for speed, a time of 0 is rejected; when solving for time, a speed of 0 is rejected, because both would mean dividing by zero.
Working in other units
The tool uses SI units throughout. To turn m/s into km/h, multiply by 3.6; 10 m/s is 36 km/h. To turn seconds into minutes, divide by 60. The Speed Converter handles mph, knots and km/h if you would rather not convert by hand.
A quick real-world check: the National Weather Service notes that thunder takes about 5 seconds to travel a mile. Solving for distance with sound speed and the seconds you count gives the same rough estimate.
Worked example
Solve for: time · Distance: 10000 m · Speed: 2.5 m/s
- 10 km = 10,000 m
- Time = distance ÷ speed = 10,000 ÷ 2.5
- Time = 4,000 s
- 4,000 ÷ 60 = 66.7 minutes, about 1 hour 6 minutes 40 seconds
Result: 4,000 s
Assumptions and limits
SI units; idealized classical equation. Not a safety assessment or certified engineering design. Enter only the two known quantities; the selected unknown is calculated.
Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.
Frequently asked questions
How do I calculate average speed for a whole trip?
Divide the total distance by the total elapsed time, including stops. Averaging two leg speeds directly gives the wrong answer when the legs take different amounts of time.
How do I convert m/s to mph?
Multiply by about 2.237, since one mile is exactly 1,609.344 m and one hour is 3,600 s. So 10 m/s is about 22.4 mph.
How far away is lightning if I count 10 seconds?
About 2 miles, using the National Weather Service rule of roughly 5 seconds per mile. That rule comes from the speed of sound in air.
Can I use this for acceleration problems?
Not directly. The formulas hold only for constant speed. For an object speeding up from rest, average speed is half the final speed under constant acceleration, and you can enter that average here.