Compare elapsed time with distance
Average pace answers how much elapsed time corresponds to one unit of distance. Speed answers how much distance corresponds to one hour. This calculator reports both per kilometer and per international mile, using the same unrounded distance and duration.
Use the duration that matches your question. Including stops gives an elapsed average; excluding them gives a different average. The tool cannot detect pauses, terrain, GPS error or effort. It does not predict a finish time from fitness or recommend a training intensity.
Enter a duration without ambiguity
Use M:SS or H:MM:SS, optionally adding one to three decimal digits after seconds. Examples include 25:00, 1:05:30 and 0:00.125. Two-part minutes can exceed 59, so 65:30 and 1:05:30 describe the same duration. After an hours field, minutes and seconds must each be two digits from 00 to 59.
Write 90 seconds as 1:30, not 0:90. Bare 90, empty segments, signs, exponent notation and more than three fractional digits are errors. Leading and trailing ASCII whitespace is ignored; internal whitespace is not. The supported interval is 0.001 seconds through 365 days. Long output durations retain every hour and never wrap at 24 hours.
Formulas and worked example
Pace = elapsed time / distance and speed = distance / elapsed time, with consistent units. One international mile is exactly 1609.344 meters; use the international mile, not a survey-foot variant. The conversion follows NIST’s published international-unit factors.
For 5 km in 25:00, pace is 5:00.000 per kilometer, 8:02.803 per mile, and speed is 12.000000 km/h or 7.456454 mph. The unrounded mile pace is 482.8032 seconds. Only its final display rounds to milliseconds.
For 10 km in 1:00:00, pace is 6:00.000/km and speed is 10.000000 km/h. An hour field makes a longer activity unambiguous without changing the calculation method.
Exact ratios before independent display rounding
Distance accepts kilometers, international miles or meters with up to six decimals. Its converted value must be between 0.001 and 10000000 meters. Zero and negative values are invalid. Changing units clears distance while retaining the duration; enter the new distance explicitly.
The engine parses distance into exact integer nanometers and time into integer milliseconds. It calculates a rational rate, without floating-point conversion or intermediate rounding. Pace rounds half up to a millisecond; speed rounds independently half up to six decimals.
The displayed values may not be exact reciprocals because they have different final precision. Each represents the same unrounded rate within its own rounding interval. For example, 2 km in 0:00.003 has an exact pace of 1.5 milliseconds/km, displayed as 0:00.002, while speed remains 2400000.000000 km/h. This mathematical boundary example is not a realistic activity.
A positive pace below one millisecond displays <0:00.001. A positive speed below six decimal places displays <0.000001. Neither is silently reported as a measured zero. Large supported pace strings keep all hours; the layout wraps them on narrow screens.
For other duration arithmetic use Time. Unit Converter handles standalone conversions, while Percentage handles general proportional arithmetic.
Sources & review
- Revised unit conversion factors: international mile and foot — National Institute of Standards and Technology
Last reviewed: . The formula is reproduced above so you can check the math independently.