How this speed, distance and time calculator works
This three-way solver finds the one missing value from the other two. Choose what to solve for (default Speed), enter the two known values each greater than 0, pick their units, and pick the unit for the result. The headline is the solved value with up to four decimal places. Internally the widget converts to metres, seconds, and metres per second, then converts back to your display units, so mixed units work.
Empty or typed 0 on either known value is no result. In Speed mode, a time that converts to 0 seconds or less is also no result. In Time mode, a speed that converts to 0 m/s or less is also no result. Defaults are kilometres, hours, and km/h. Advanced options is GPA-style: Show common conversions is unused while the section is closed, even if it stays checked.
How to use the speed, distance and time calculator
- Choose what to solve for: Speed (default), Distance, or Time. The form shows the other two inputs.
- Enter both known values greater than 0, each with its own unit. Empty or typed 0 is no result.
- Pick the result unit. Speed defaults to km/h, distance to km, and time to hours.
- Open Advanced options only if you want the result in extra common units. Closing the section hides those rows even if the checkbox stays checked.
Advanced options, and closing them
This section is GPA-style. Closed, conversion rows are unused even if Show common conversions stays checked. Open and checked, extra rows appear for units other than the current result unit: speed shows km/h, mph, m/s, and knots; distance shows km, mi, m, and ft; time shows h, min, and s. The unit already on the headline is omitted.
Speed, distance, and time formulas
Speed v = d ÷ t. Distance d = v × t. Time t = d ÷ v. Values are converted to metres, seconds, and metres per second before the arithmetic, then converted to the result unit you chose.
Worked examples
Example: 100 km in 1 hour, solve for speed
v = 100 km ÷ 1 h = 100 km/h. Internally that is 100000 m ÷ 3600 s ≈ 27.78 m/s, then converted back to km/h. With Advanced options open and Show common conversions checked, extra rows include mph, m/s, and knots (km/h is omitted because it is already the headline).
Example: 80 km/h for 2.5 hours, solve for distance
d = 80 km/h × 2.5 h = 200 km. Empty or typed 0 speed or time is no result.
Example: 250 miles at 50 mph, solve for time
t = 250 mi ÷ 50 mph = 5 h. A speed that converts to 0 m/s or less produces no result in Time mode, just as a time that converts to 0 seconds or less produces no result in Speed mode.
Things to keep in mind
Both known values must be greater than 0. Mixing units is safe because the arithmetic always runs in metres, seconds, and metres per second. Common conversions exclude the unit already shown in the headline. Closing Advanced options hides those extras without clearing your inputs.
Speed, distance and time calculator FAQ
Which fields are required?
The two known values for the chosen mode must each be greater than 0. Empty or typed 0 is no result. Mode defaults to Speed; units default to km, hours, and km/h. Advanced options are optional.
What happens when I close Advanced options?
The extra conversion rows are unused even if Show common conversions stays checked — the same GPA contract as other calculators on this site. The headline still shows the solved value.
Why is there no result for some times or speeds?
In Speed mode, a time that converts to 0 seconds or less is invalid. In Time mode, a speed that converts to 0 m/s or less is invalid. Distance mode still needs both speed and time greater than 0.
How do mixed units work?
Inputs convert to metres, seconds, and metres per second, the formula runs, then the result converts to the unit you picked. You can enter kilometres and minutes and still get miles per hour.
Which conversion rows appear?
Only while Advanced options is open and Show common conversions is checked. Speed: km/h, mph, m/s, knots. Distance: km, mi, m, ft. Time: hours, minutes, seconds. The current result unit is left out.
Does this calculator store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.