ThisCalculator

Everyday

Set Up Routines Google Home: Step-by-Step Guide

Updated · Standard formula, shown below

Pace (min/km) 0.00 min/km
Speed (km/h)
Cannot compute km/h
Result
Time (minutes)
0 min
You entered
Distance (km)
5 km
You entered

Set Up Routines Google Home: Step-by-Step Guide

To set up routines in Google Home, open the Google Home app, tap Automations, then create a new routine with a starter (voice command, schedule, or sensor) and one or more actions. This guide walks you through each step, explains the different types of routines, and answers common questions.

Formula

This calculator works out your average pace and speed for a run or walk. The formula is:

Pace (min/km) = Time (minutes) / Distance (km)
Speed (km/h) = Distance (km) / (Time (minutes) / 60)

Variables:

  • Time (t) – total time in minutes (e.g., 30 = 30 minutes).
  • Distance (d) – distance in kilometers (e.g., 5 = 5 km).
  • Pace – how many minutes it takes to cover one kilometer. Lower is faster.
  • Speed – how many kilometers you cover in one hour. Higher is faster.

Worked Example

Using the default values (time = 0 minutes, distance = 5 km):

  1. Pace = 0 / 5 = 0 min/km
  2. Speed = 5 / (0 / 60) = undefined (division by zero)

Since time is 0, the result is not meaningful. Enter a real time like 30 minutes:

  • Pace = 30 / 5 = 6 min/km
  • Speed = 5 / (30 / 60) = 5 / 0.5 = 10 km/h

So a 30-minute, 5 km run gives a pace of 6:00 per km and a speed of 10 km/h.

When to Use This Calculator

Use it after a run or walk to see your average pace and speed. It’s helpful for training, comparing workouts, or setting goals. Enter any time and distance – it works for meters, miles, or any unit as long as you convert consistently (e.g., 5 km = 5000 m, but then pace is per meter – better to stick with km or miles).

How to Read the Result

The first output (pace) is the headline. A pace of 6 min/km means you took 6 minutes to cover each kilometer. Lower pace is faster. Speed (km/h) tells you how fast you were moving overall. For example, 10 km/h means you’d cover 10 km in one hour at that pace.

Common Mistakes

  • Mixing units – If you enter distance in miles, the pace will be min/mile, not min/km. Convert first: 1 mile = 1.60934 km.
  • Entering time in hours – The calculator expects minutes. 1 hour = 60 minutes.
  • Zero time – If you enter 0, the result is undefined. Always enter a positive time.
  • Rounding too early – Keep full precision until the final step to avoid errors.

Limitations of the Formula

This is a simple average. It doesn’t account for elevation, stops, or varying speed. It assumes you moved at a constant pace. For interval training, the average pace may not reflect your actual effort. Also, the formula works for any distance unit, but the pace unit changes accordingly – make sure you know which unit you’re using.

Frequently Asked Questions

Can I use this for walking?

Yes, the same formula applies to walking. Just enter your time and distance, and you’ll get your walking pace and speed.

What if I run on a treadmill?

You can still use the calculator if you know the distance. Most treadmills show distance in miles or kilometers. Enter the time you ran and the distance shown.

How do I convert my pace to mph?

To convert min/km to mph, divide 60 by the pace in minutes per mile. First convert min/km to min/mile by multiplying by 1.60934. Then 60 divided by that gives mph. For example, 6 min/km = 9.656 min/mile, so 60 / 9.656 = 6.21 mph.

Is a lower pace always better?

For running, yes – lower pace means faster. But for walking, a very low pace might be unrealistic. It depends on your fitness level and goal.

Can I use this for cycling?

Yes, the formula works for any activity where you cover distance over time. Just enter time and distance, and you’ll get your average speed and pace (though pace is less common for cycling – speed is usually the focus).

Related

Formula used
in t | Time (minutes) | min | 0 | 0
in d | Distance (km) | km | 5 | 0
out pace | Pace (min/km) | min/km | t / d | 2
out speed | 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.