keepcalculator

06 Numbers and Powers

Distance and Rate Formula: Speed, Time & Distance

Card No. 06·89006 · 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 distance and rate formula, often called the distance formula, states that distance equals rate (speed) multiplied by time: d = r × t. You enter any two of these three values—distance, rate (speed), or time—and the formula calculates the third, which is exactly what the calculator below does.

Formula

The core relationship is written as:

d = r × t

Where:

  • d = distance traveled (miles, kilometers, meters, etc.)
  • r = rate of speed (miles per hour, kilometers per hour, meters per second)
  • t = time elapsed (hours, minutes, seconds)

From this single equation, you can rearrange to solve for rate or time:

  • r = d ÷ t
  • t = d ÷ r

The calculator above uses a slightly different arrangement for running or cycling: it takes your finish time in minutes and your distance in kilometers, then outputs your average pace (minutes per kilometer) and average speed (kilometers per hour). The pace is simply t ÷ d, and the speed is d ÷ (t ÷ 60) because time must be converted from minutes to hours.

Worked Example

Using the default values from the calculator—a finish time of 50 minutes and a distance of 10 kilometers:

  1. First, find the pace: pace = t ÷ d = 50 ÷ 10 = 5.00 min/km
  2. Then find the speed: speed = d ÷ (t ÷ 60) = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.00 km/h

So a 10 km run completed in 50 minutes gives an average pace of 5 minutes per kilometer and an average speed of 12 kilometers per hour. The calculator shows both results, with the pace as the headline answer.

Why the Units Must Match

The most common mistake with the distance formula is mixing units. If you measure distance in miles and time in minutes, but you want speed in miles per hour, you must convert minutes to hours first. For example, if you drive 60 miles in 90 minutes, you cannot say your speed is 60 ÷ 90 = 0.67 mph. You must convert 90 minutes to 1.5 hours, then compute 60 ÷ 1.5 = 40 mph.

Similarly, if you use the formula d = r × t with speed in meters per second and time in hours, you will get a distance in meters that is wrong by a factor of 3600. Always write down the units for each value, then convert so that the time unit in the rate matches the time unit in the time value.

How to Use the Formula for Real Trips

For planning a car trip, the formula works best when you assume a constant speed. For example, if you plan to drive at 65 mph on a highway and the distance is 260 miles, the time is t = 260 ÷ 65 = 4 hours. If you add a 15-minute rest stop, the total travel time becomes 4.25 hours, but the average speed for the whole trip drops to 260 ÷ 4.25 ≈ 61.2 mph.

For running or cycling, the same formula gives your average pace. If you run 5 km in 30 minutes, your pace is 6 min/km and your speed is 10 km/h. This is useful for setting target times: if you want to run a 10 km race at a 5:30 min/km pace, your finish time would be 10 × 5.5 = 55 minutes.

Common Misconceptions and Pitfalls

One common misconception is that the distance formula only works for constant speeds. In reality, it gives the average rate over the whole trip. If you drive at 30 mph for the first hour and 60 mph for the second hour, your average speed is not (30+60)/2 = 45 mph if the distances are different. The correct average speed is total distance ÷ total time. In this example, you traveled 30 + 60 = 90 miles in 2 hours, so the average is 45 mph—but that only works because the time intervals are equal. If the time intervals differ, you must weight by time.

Another pitfall is confusing pace (time per distance) with speed (distance per time). Pace is the reciprocal of speed when using the same units. A pace of 5 min/km corresponds to a speed of 12 km/h. Many runners think in pace, while drivers think in speed, so always check which one you are computing.

Rounding errors can also accumulate. If you round your pace to 5.0 min/km and then multiply by distance to get time, you may be off by a few seconds over a long race. Keep extra decimal places during intermediate steps and round only at the end.

Limits of the Formula

The distance formula assumes motion is in a straight line or along a path at a constant rate. It does not account for acceleration, deceleration, traffic stops, wind resistance, or elevation changes. For a real trip, your actual time will be longer if you slow down for turns, traffic lights, or hills. The formula gives a theoretical minimum or average, not a precise prediction.

Also, the formula works for any unit system, but you must be consistent. It is not limited to miles and hours; it works equally well with meters and seconds, or feet and minutes. Just make sure the rate unit matches the time unit you use for t.

Frequently Asked Questions

What is the distance formula in math?

In algebra, the distance formula is d = rt, where d is distance, r is rate (speed), and t is time. It is sometimes written as d = st (speed × time) or d = vt (velocity × time) in physics. The same relationship applies to any object moving at a constant speed.

How do I calculate average speed with different speeds?

Average speed is total distance divided by total time. If you travel 100 miles at 50 mph and then 100 miles at 100 mph, your total distance is 200 miles and total time is 2 + 1 = 3 hours, so average speed is 200 ÷ 3 ≈ 66.7 mph, not 75 mph. You cannot simply average the two speeds unless the time spent at each speed is equal.

What is the difference between speed and velocity?

Speed is a scalar quantity—it only has magnitude. Velocity is a vector—it has both magnitude and direction. In the distance formula, r is usually speed. If you use velocity, the distance becomes displacement (the straight-line distance from start to finish), not the total path length.

How do I convert minutes per mile to miles per hour?

To convert a pace of minutes per mile to speed in mph, divide 60 by the pace. For example, a 10 min/mile pace is 60 ÷ 10 = 6 mph. If your pace is 8:30 (8.5 minutes), then speed is 60 ÷ 8.5 ≈ 7.06 mph. The same conversion works for kilometers: 60 ÷ (min/km) = km/h.

Does the formula work for light or sound?

Yes, the formula d = rt applies to any constant-speed wave. For sound in air at room temperature, the speed is roughly 343 meters per second, so in 3 seconds sound travels about 1029 meters. For light, the speed is about 299,792,458 m/s, so in 1 nanosecond it travels about 0.3 meters. The formula is universal.

Why does the calculator output pace first?

Because the page title asks for distance and rate, and for running or cycling, pace (time per distance) is the most common way to express rate. The calculator shows pace as the headline answer, then speed as a secondary output. Both are derived from the same d = rt relationship.

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 →