keepcalculator

06 Numbers and Powers

Inserting Formatting Data: What It Means

Card No. 06·72163 · Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Total time (min)
50 min
You entered
Distance (km)
10 km
You entered
You enter
Total time (min), Distance (km)
You get
Average pace, Average speed
Rounding
2 dp

Inserting formatting data means adding non-visible characters or codes to a document, spreadsheet, or data file so that the content displays or exports in a specific way—such as bold text, a date in a particular format, or a number with two decimals. You enter the raw value plus the formatting instruction, and the software applies the visual or structural rule when rendering or saving the data.

Formula

The calculator above works out your average pace and speed from a total time and distance. The formulas are:

  • Pace (min/km) = Total time (minutes) ÷ Distance (km)
  • Speed (km/h) = Distance (km) ÷ (Total time (minutes) ÷ 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 the number of kilometres per hour. The calculator uses the same units you enter, so if you prefer miles, enter distance in miles and the pace will be minutes per mile.

Worked Example

Using the default values: you ran 10 km in 50 minutes.

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

The calculator shows an average pace of 5.00 min/km and an average speed of 12.00 km/h.

When to Use This Calculator

Use this tool any time you have a total time and a distance and want to know how fast you were moving on average. Runners, cyclists, walkers, and swimmers often track pace to compare workouts or plan race times. For example, if you finish a 5 km run in 30 minutes, your pace is 6 min/km. If you plan to run a marathon (42.195 km) in 4 hours (240 minutes), your required pace is 240 ÷ 42.195 = 5.69 min/km, which is about 5:41 per kilometre.

The same formula works for driving, hiking, or any movement where you know the distance and time.

How to Read the Result

The first output is your average pace, shown as minutes per kilometre (or per mile if you entered miles). A lower pace number means you were faster—for example, 4:30 min/km is quicker than 6:00 min/km. The second output is your average speed in kilometres per hour (or miles per hour if you entered miles). Speed and pace are reciprocals: if you know one, you can calculate the other.

Note that the calculator gives an average over the whole distance. If you ran hills or varied your effort, your instantaneous pace at any moment would differ from this average.

Common Mistakes

  • Mixing units: If you enter distance in kilometres and time in minutes, the pace is min/km. If you enter distance in miles, the pace is min/mile. Do not mix miles with minutes and expect a km-based pace.
  • Forgetting to convert hours to minutes: If your time is 1 hour 30 minutes, enter 90 minutes, not 1.30. The calculator expects total minutes.
  • Rounding too early: If you round the pace to 5.0 and then use that to compute speed, you may get a slightly different result. Keep the full precision until the final answer.

Limits of the Formula

This is a simple average calculation. It does not account for stops, elevation changes, wind, or different terrain. It also assumes you maintained a perfectly steady effort, which rarely happens in practice. For accurate race pacing, you would need a more detailed model that includes splits and course profile.

The formula works for any positive distance and time, but the calculator limits distance to 100,000 km and time to a non‑negative number. If you enter a time of zero, the result shows “Cannot compute” because division by zero is undefined.

Frequently Asked Questions

What is the difference between pace and speed?

Pace is the time it takes to cover one unit of distance (e.g., minutes per kilometre). Speed is the distance covered per unit of time (e.g., kilometres per hour). They are reciprocals, so a faster pace (lower number) means a higher speed.

Can I use this for cycling or driving?

Yes, the formula is the same for any movement. Just enter the total time and distance. For cycling, you might prefer speed in km/h; for running, pace in min/km is more common.

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

Multiply the min/km pace by 1.60934 to get min/mile. For example, 5 min/km × 1.60934 = 8.05 min/mile. To convert the other way, divide by 1.60934.

What if my time is in hours and minutes?

Convert everything to minutes first. For 1 hour 20 minutes, enter 80 minutes. The calculator only accepts a single number in minutes, so you must do the conversion yourself.

Does the calculator account for rest stops?

No. The total time should be your moving time, not including breaks. If you include stops, the average pace will be slower than your actual running pace.

What is a good running pace for a beginner?

There is no single answer—it depends on age, fitness, and experience. A common starting point is around 6:30 to 7:30 min/km for a comfortable jog. Use this calculator to find your current pace, then gradually improve.

Related

Formula used
in t | Total time (min) | min | 50 | 0
in d | Distance (km) | km | 10 | 0 | 100000
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.

More cards in this drawer

The whole Numbers and Powers drawer →