ThisCalculator

Everyday

First Test Suite: What, Where, When

Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered

First Test Suite: What, Where, When

Your first test suite should cover the critical path of your smallest user workflow, run automatically on every commit, and start with a few high-value unit and integration tests before expanding. You test the logic that can break, at the layer where it breaks, and you run those tests as early and as often as possible.

Formula

The calculator above works out your average running pace and speed from a finish time and distance. The formula for pace is:

pace (min/km) = total time (min) ÷ distance (km)

And speed is the inverse:

speed (km/h) = distance (km) ÷ (total time (min) ÷ 60)

Where t is the total time in minutes, d is the distance in kilometres, pace is the number of minutes per kilometre, and speed is kilometres per hour. If you use miles, replace km with miles and you get min/mile and mph.

Worked Example

Using the default values from the calculator: a finish time of 50 minutes and a distance of 10 km.

  1. Pace = 50 ÷ 10 = 5.0 min/km
  2. Speed = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.0 km/h

The calculator shows 5.00 min/km and 12.00 km/h for those inputs. If you ran 5 km in 30 minutes, your pace would be 6.00 min/km and your speed 10.00 km/h.

When to Use This Calculator

Use this when you want to know your average pace for a training run, a race, or a segment of a route. It is also handy for planning: if you know your target pace and distance, you can estimate a finish time. For example, a 10 km race at 5:30 min/km would take 55 minutes. The calculator only needs two numbers, so it works for any distance and any time, from a 200 m sprint to a 100 km ultra.

How to Read the Result

The pace result tells you how many minutes (and decimal parts) you take to cover one kilometre. A lower pace number means faster running. Speed is the same information expressed differently: how many kilometres you cover in one hour. Runners usually think in pace, while cyclists and drivers think in speed. Both are shown because one may feel more intuitive.

Decimal minutes are not the same as minutes and seconds. A pace of 5.50 min/km is 5 minutes and 30 seconds (0.50 × 60), not 5 minutes and 50 seconds. If you want seconds, multiply the decimal part by 60.

Common Mistakes and Unit Mix-Ups

  • Mixing miles and kilometres: Entering a distance in miles but expecting min/km pace will give a wrong result. Decide one unit and stick to it.
  • Using seconds instead of minutes: The formula expects minutes. If your time is 45:30, enter 45.5, not 45.30.
  • Confusing pace with speed: A higher speed is faster, but a higher pace is slower. They are reciprocals.
  • Rounding too early: Round only the final answer, not intermediate steps, or you may get a slightly different result.

Limits of This Formula

This calculation assumes a constant speed over the whole distance. Real runs have hills, stops, and surges, so the average pace is just that: an average. It does not tell you how your pace varied. It also ignores the difference between moving time and elapsed time. If you stop for a traffic light or a drink, your elapsed time is longer than your moving time, and the pace based on elapsed time will be slower than your actual running pace.

The formula is exact for what it does, but it cannot account for elevation gain, wind, temperature, or your own fatigue. Use it as a simple tool for planning and review, not as a precise predictor of race performance.

Frequently Asked Questions

What is a good running pace for a beginner?

There is no single answer because it depends on age, fitness, and experience. A common starting point for a recreational runner is around 6:00 to 7:00 min/km (about 10 to 9.5 km/h). Beginners often start slower and build up. The best pace is one you can maintain comfortably for the distance you plan to run.

How do I convert min/km to min/mile?

Multiply the pace in min/km by 1.60934 to get min/mile. For example, 5:00 min/km is about 8:03 min/mile. To go the other way, divide min/mile by 1.60934.

Does the calculator work for walking too?

Yes. The formula is the same for any speed: time divided by distance. A walking pace of 12 min/km means you walk 5 km in 60 minutes. The units are the same, only the typical values differ.

What is the difference between pace and speed?

Pace is the time it takes to cover one unit of distance (e.g., minutes per km). Speed is the distance covered in one unit of time (e.g., km per hour). They are reciprocals: speed = 60 ÷ pace in minutes per km, and pace = 60 ÷ speed in km/h.

Why does the calculator show 5.00 instead of 5:00?

The output is a decimal number of minutes, not a time in minutes and seconds. 5.00 means exactly 5 minutes. If the result were 5.50, that is 5 minutes and 30 seconds. To get the clock format, multiply the decimal part by 60.

Can I use this for cycling or driving?

Yes, the math is the same. Enter the total time and distance for any trip, and you get the average pace and speed. For cycling, speed in km/h is the more common metric, and for driving, you would likely use the speed output.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.