keepcalculator

06 Numbers and Powers

Protect the King Codes? Chess Rules Explained

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

Average pace (min/km) 0.50 min/km
Average speed (km/h)
120.00 km/h
Result
Time (min)
5 min
You entered
Distance (km)
10 km
You entered
You enter
Time (min), Distance (km)
You get
Average pace (min/km), Average speed (km/h)
Rounding
2 dp

“Protect the king” is not a code or a cheat phrase—it is the fundamental rule of chess: the king cannot be left in check, and any move that fails to address a check is illegal. This article explains what the rule actually means, how it works in play, and why beginner guides often phrase it as a “code” to remember.

Formula

The calculator works out your average pace and speed from a run or ride. Pace is the time per unit distance, and speed is the distance per unit time. The formulas are:

Pace (min/km) = Time (min) ÷ Distance (km)

Speed (km/h) = Distance (km) ÷ (Time (min) ÷ 60)

Where:

  • Time – total minutes of activity (min)
  • Distance – total distance covered (km)
  • Pace – minutes per kilometer (min/km)
  • Speed – kilometers per hour (km/h)

If you prefer miles, convert distance to miles (1 km = 0.621371 miles) and the pace will be min/mile.

Worked Example

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

Step 1: Calculate pace.

Pace = 50 min ÷ 10 km = 5.00 min/km

Step 2: Calculate speed.

Speed = 10 km ÷ (50 min ÷ 60) = 10 km ÷ 0.8333 h = 12.00 km/h

So your average pace is 5:00 per kilometer, and your average speed is 12 km/h.

When to Use This Calculator

Use this when you want to know your training pace for a run, walk, bike ride, or hike. It helps you plan a race, compare workouts, or set realistic goals. For example, if you want to run a 10 km race in under 50 minutes, you know you need to hold at least a 5:00 min/km pace.

You can also use it in reverse: if you know your target pace, you can estimate your finish time. But this calculator only gives pace and speed from time and distance, which is the most common need.

How to Read the Result

The first output is your pace in minutes per kilometer. A lower number means faster. The second output is speed in km/h; a higher number means faster. For most runners, pace is more intuitive, while cyclists and drivers often think in speed.

Note that the pace is shown as a decimal (e.g., 5.00), but you can convert to minutes and seconds: 0.50 minutes = 30 seconds, so 5.50 min/km is 5 minutes 30 seconds per km.

Common Mistakes

  • Mixing units: If you enter distance in miles but want min/km, you will get a wrong pace. Always convert to the same unit system.
  • Forgetting to convert hours: Speed requires time in hours, so divide minutes by 60. A common error is using minutes directly in the speed formula.
  • Rounding too early: Round only at the end. If you round the pace to 5.0 and then calculate speed from that, you may get 12.0 instead of 12.00, which is fine, but avoid rounding intermediate steps for precision.

Limitations of the Formula

This calculator gives average pace and speed, not instantaneous values. It does not account for elevation gain, terrain, stops, or wind. If you run on hills, your effort per kilometer varies even if the average pace looks steady. Also, the formula assumes a constant speed; real workouts have surges and slowdowns.

For race prediction, average pace is a useful baseline, but many runners find that they can run faster in a race than in training due to adrenaline and taper. Conversely, a hilly course will slow you down. Use the result as a planning tool, not a guarantee.

Frequently Asked Questions

How do I convert pace to speed manually?

Divide 60 by your pace in minutes per kilometer. For example, 5 min/km → 60 ÷ 5 = 12 km/h. If your pace is 6:30 (6.5 min), then 60 ÷ 6.5 = 9.23 km/h.

What is a good running pace for a beginner?

It varies widely. A comfortable conversational pace for a beginner might be 7:00–9:00 min/km (about 6.7–8.6 km/h). Faster runners may be under 5:00 min/km. Focus on effort, not a specific number.

Can I use this for walking?

Yes, the same formula applies. A typical walking pace is 12–20 min/km (3–5 km/h). Enter your time and distance, and you will get your walking pace.

Why is my speed in km/h not a round number?

Because speed is distance divided by time in hours, and most times are not exact fractions of an hour. For example, 10 km in 45 minutes gives 13.33 km/h. That is normal.

Does this calculator work for treadmill runs?

Yes, but treadmill distance is usually shown as miles or km on the console. If you use that distance, the pace will be accurate for your treadmill workout, though outdoor running may differ due to wind and terrain.

Related

Formula used
in t | Time (min) | min | 5 | 0
in d | Distance (km) | km | 10 | 0 | 100000
out pace | Average pace (min/km) | min/km | t / d | 2
out speed | Average speed (km/h) | 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 →