HomeSports & Fitness › Running Pace Calculator

Running Pace Calculator

Computes running pace in min/km and min/mile and speed in km/h and mph from a distance and elapsed time, and projects the finish time for 5 km, 10 km, half marathon and marathon at that constant pace.

When to use

You know a distance and the time it took (or a target time) and need the pace, the equivalent speed, or the time that pace gives over standard race distances.

Do not use when: You want a realistic prediction of a longer race from a shorter one (pace slows with distance; use race-time-predictor), or you only need to convert between pace and speed units (use pace-converter).

Formula

pace_s_per_km = time_seconds / distance_km; pace_s_per_mile = pace_s_per_km × 1.609344; speed_kmh = 3600 / pace_s_per_km; speed_mph = speed_kmh / 1.609344; time(D) = pace_s_per_km × D for D = 5, 10, 21.0975, 42.195 km

Splits assume a perfectly even pace; they are not race predictions. Distances follow World Athletics definitions (half marathon 21.0975 km, marathon 42.195 km).

Inputs

ParameterTypeUnitRequiredDescription
distancenumberyesDistance covered, in the unit given by distance_unit. Range: > 0, ≤ 5000
distance_unitenum: km | midefault kmUnit of the distance input.
timestringyesElapsed time as h:mm:ss (1:45:00), mm:ss (50:00) or plain minutes (50).

Outputs

OutputTypeUnitDescription
pace_min_per_kmstringmin:sec/kmMinutes and seconds per kilometre.
pace_min_per_milestringmin:sec/miMinutes and seconds per mile.
pace_seconds_per_kmnumbers/kmSame pace as a plain number of seconds per kilometre.
speed_kmhnumberkm/hAverage speed in kilometres per hour.
speed_mphnumbermphAverage speed in miles per hour.
distance_kmnumberkmInput distance converted to kilometres.
time_5kstringh:mm:ssTime to run 5 km at exactly this pace.
time_10kstringh:mm:ssTime to run 10 km at exactly this pace.
time_half_marathonstringh:mm:ssTime for 21.0975 km at exactly this pace.
time_marathonstringh:mm:ssTime for 42.195 km at exactly this pace.

Example

10 km in 50:00: {"distance":10,"distance_unit":"km","time":"50:00"}{"pace_min_per_km":"5:00","pace_min_per_mile":"8:03","pace_seconds_per_km":300,"speed_kmh":12,"speed_mph":7.46,"time_5k":"0:25:00","time_half_marathon":"1:45:29","time_marathon":"3:30:59"}

5 miles in 45:00: {"distance":5,"distance_unit":"mi","time":"45:00"}{"pace_min_per_mile":"9:00","pace_min_per_km":"5:36","speed_mph":6.67,"speed_kmh":10.73,"time_10k":"0:55:55"}

GET https://tttkmbb.com/api/v1/calculate/running-pace?distance=10&distance_unit=km&time=50%3A00

Machine access

Sources

FAQ

How do I enter the time?

As h:mm:ss (1:45:00), mm:ss (50:00) or a plain number of minutes (50 or 50.5).

Why is my marathon split faster than what I could actually run?

The splits hold the pace constant. Real performance slows with distance; race-time-predictor applies Riegel's fatigue exponent to model that.

Related calculators