keepcalculator

06 Numbers and Powers

Power BI Data Modeling: Build Relationships That Work

Card No. 06·4480 · 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

Power BI data modeling relationships and joins work when you connect tables by unique key columns using a one-to-many (or one-to-one) cardinality, and the key columns share the same data type and consistent values. This article explains how to build relationships that return correct results, how to avoid common modeling mistakes, and how to choose between relationships and DAX joins.

Formula

The calculator works out your average pace and speed for a run, ride, or walk. You enter the finish time in minutes and the distance in kilometers. The formulas are:

  • Pace = Finish time (min) ÷ Distance (km) — result in min/km.
  • Speed = Distance (km) ÷ (Finish time (min) ÷ 60) — result in km/h.

Variables: t = finish time in minutes, d = distance in kilometers.

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 5.00 min/km and 12.00 km/h, matching the formulas.

When to Use This Calculator

Use it for any activity where you know the total time and distance: running, cycling, hiking, or rowing. It gives you a quick check of your average speed and pace, which helps set training targets or compare performances on different routes. The result is an average; it does not show variations in speed during the activity.

How to Read the Result

A lower pace (min/km) means faster running. A higher speed (km/h) also means faster movement. For example, 5 min/km equals 12 km/h, and 6 min/km equals 10 km/h. The two numbers are reciprocal views of the same performance. If you usually think in miles, convert distance to kilometers first (1 mile = 1.60934 km) or convert the pace result to min/mile by multiplying by 1.60934.

Common Mistakes

  • Mixing units: Entering distance in miles but time in minutes gives a pace in min/mile, not min/km. Always convert to the same unit system.
  • Using seconds instead of minutes: If you enter 3000 seconds instead of 50 minutes, the pace becomes 300 min/km. Convert seconds to minutes by dividing by 60.
  • Rounding too early: Rounding the intermediate division (50 ÷ 60) to 0.83 changes the final speed slightly. Keep full precision until the final answer.

Limits of the Formula

The formula assumes constant speed. Real activities have hills, stops, and changes in effort, so the average pace may not reflect the actual effort. It also ignores factors like wind resistance or terrain. For interval training, you would need separate calculations for each segment. The calculator is a general arithmetic tool; it does not account for heart rate, elevation gain, or calorie burn.

Frequently Asked Questions

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

Multiply the pace in min/km by 1.60934. For example, 5 min/km × 1.60934 = 8.05 min/mile. To convert speed from km/h to mph, multiply by 0.621371.

What is a good running pace for a beginner?

A comfortable conversational pace for a beginner is often between 7 and 9 min/km (about 11 to 14 min/mile). That corresponds to speeds of roughly 6.7 to 8.6 km/h. The best pace depends on your fitness, age, and training goals.

Can I use this calculator for walking?

Yes. Walking pace typically ranges from 10 to 15 min/km (about 4 to 6 km/h). Enter your total walking time and distance to get your average pace and speed.

Why does the speed result have two decimal places?

The calculator rounds to two decimal places for readability. For precise training logs, you may want more decimals, but two is enough for most purposes. You can change the decimals in the calculator if you need more.

Does the calculator work for treadmill runs?

Yes, as long as you know the distance and time. Treadmills often display pace directly, but this calculator gives you a cross-check. Note that treadmill pace may feel easier than outdoor running because there is no wind resistance.

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 →