keepcalculator

06 Numbers and Powers

Docker Invalid Reference Format: Causes & Fixes

Card No. 06·49466 · 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
You enter
Finish time, Distance
You get
Average pace, Average speed
Rounding
2 dp

The “invalid reference format” error in Docker appears when a container image name or tag does not follow Docker’s strict naming rules. You fix it by correcting the image name, tag, or command syntax so it matches the allowed pattern: lowercase letters, digits, and specific separators, with an optional registry host and tag. This guide explains exactly why the error happens, how to diagnose it, and how to resolve it in common scenarios.

Formula

The calculator above computes your average pace and speed for a given distance and finish time. The formulas are:

  • Pace (min/km) = Finish time (minutes) ÷ Distance (km)
  • Speed (km/h) = Distance (km) ÷ (Finish time (minutes) ÷ 60)

Variables:

  • t = finish time in minutes
  • d = distance in kilometers

Pace tells you how many minutes it takes to cover one kilometer; speed tells you how many kilometers you cover in one hour. They are two ways of expressing the same performance.

Worked Example

Using the default values: finish time = 50 minutes, distance = 10 km.

  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 a speed of 12.00 km/h. This matches the expected result for a 50-minute 10K run.

When to Use This Calculator

Use this tool whenever you have a finish time and distance and want to know your average pace or speed. It is common for runners, cyclists, and walkers who train with a goal pace. For example, if you run a 5K in 30 minutes, your pace is 6:00 min/km and your speed is 10 km/h. If you cycle 40 km in 2 hours, your pace is 3:00 min/km and your speed is 20 km/h.

The calculator works for any distance and time, as long as you enter them in minutes and kilometers. For miles, convert miles to kilometers (1 mile = 1.60934 km) before entering, or convert the result: 1 min/km = 1.60934 min/mile.

How to Read the Results

The first output, pace, is shown in minutes per kilometer (e.g., 5:00). Lower pace means faster. The second output, speed, is in kilometers per hour; higher speed means faster. Both are valid metrics—pace is more common in running, speed in cycling and driving.

If you enter a time of 0 or a distance of 0, the calculator will show “Cannot compute” because division by zero is undefined. The input limits prevent negative values, which would make no sense for time or distance.

Common Mistakes

  • Using seconds instead of minutes: If you enter 3000 seconds, the calculator treats it as 3000 minutes. Convert seconds to minutes (divide by 60) first.
  • Mixing units: Entering distance in miles but time in minutes gives a pace in min/mile, not min/km. Convert to kilometers first.
  • Rounding too early: Rounding the pace to 5.0 and then using it to compute speed can introduce errors. Keep full precision until the final step.
  • Confusing pace and speed: A faster runner has a lower pace (e.g., 4:00 min/km) but a higher speed (15 km/h).

Limitations of the Formula

This is a simple average calculation. It does not account for elevation changes, stops, or variations in effort. It assumes a constant speed over the entire distance. For most training purposes, average pace is useful, but it does not reflect how your pace varied during the activity.

The formula also assumes you have an accurate finish time and distance. GPS errors can affect both, leading to a slightly inaccurate average. For precise training, use a calibrated course or a footpod.

Frequently Asked Questions

How do I convert pace from 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 convert speed from km/h to mph, divide by 1.60934.

What is a good running pace for a beginner?

It varies by age, fitness, and gender. A common beginner pace is around 7:00–8:00 min/km (11–13 min/mile). The calculator helps you find your current average, not a target.

Can I use this for walking or cycling?

Yes, the same formula works for any activity where you cover a distance in a time. For cycling, you usually think in speed (km/h) rather than pace.

Why does the calculator show “Cannot compute”?

That happens when the distance is 0 or the time is 0, because division by zero is undefined. Enter positive values for both.

How accurate is this for hilly routes?

It gives your average pace, but hills make your pace vary. The average is still correct, but it does not tell you how hard the effort was. For hilly routes, consider using a power meter or heart rate monitor.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | 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 →