The tool you need, ready to use

Speed Calculator

Enter any two of distance, speed and time and the calculator finds the third. Speed is distance divided by time, so 150 miles in 2 hours 30 minutes is 60 mph. Enter legs with different speeds, such as out and back, and it works out the overall average as total distance ÷ total time and explains why that differs from the plain average of the leg speeds. Results appear in mph, km/h, m/min, m/s and knots, with a distance–time graph and a speed ruler that shows how fast that speed really is.

Last updated 2026-10-21All math stays in your browser

Solve for

Speed = distance ÷ time

Tap the value to solve for in the triangle. The horizontal line means divide and the vertical line means multiply. Typing in the solved-for field also switches it.

  1. Time
Split a trip into legs, such as out and back, to get the overall average speed.
Distance–time graph (slope = speed)

How fast is this? (log scale)

Last updated 2026-10-21Your inputs are not stored

ROBERIN standardThe tool you need,
ready to use.
  • Clear at a glanceInputs and results sit where you expect them.
  • Result firstThe key number comes first; the working only when you need it.
  • Ask lessNo sign-up and no unnecessary details.

Speed is distance divided by the time it takes

Speed tells you how far something travels in a given amount of time. Speed = distance ÷ time, and rearranging gives distance = speed × time and time = distance ÷ speed. If you drove 150 miles in 2 hours 30 minutes, 150 ÷ 2.5 = 60, so your speed was 60 mph. Any two of the three values fix the third: pick the value to solve for in the triangle, then fill in the other two fields.

The average speed of a trip made in several legs is not the average of the leg speeds. It is the total distance divided by the total time. Drive out at 60 mph and back at 40 mph over the same route and your average is 48 mph, not 50 mph. Enter the two legs on separate lines in the calculator and it shows that figure straight away.

The five calculations behind the Example button
SituationValues enteredResult
Distance driven150 mi, 2 h 30 minSpeed 60 mph
Out and back at different speeds60 mi in 1 h, 60 mi in 1 h 30 minAverage speed 48 mph
Marathon finish time26.2 mi at 6 mph4 h 22 min
Distance walked3 mph for 45 minDistance 2.25 mi
100 m sprint100 m in 9.58 s10.44 m/s (23.35 mph)

When you need to calculate speed

You calculate speed to compare recorded trips or to estimate how long something will take. The formula is the same every time, but what you already know changes, so the value you solve for changes too.

  • Driving and trip planning: divide the miles left by your usual average speed to estimate arrival time, or divide the miles you covered by the time it took to see your real average.
  • Hitting a target average: divide a stretch of road by the average speed you want to hold. A 20-mile stretch at an average of 50 mph takes 20 ÷ 50 = 0.4 h, or 24 minutes, and finishing sooner means your average was higher than 50 mph.
  • Running, walking and cycling: turn the distance and time from a fitness app into mph or time per mile so you can compare with earlier efforts.
  • Homework and physics problems: convert between m/s, m/min and mph, or find the average speed of a round trip where the way back is faster or slower.

How to use the calculator

  1. Choose what to solve for: tap distance, speed or time in the triangle. The highlighted field is the one being calculated, and that column of the table turns into a dashed cell that shows the result.
  2. Choose units: pick a distance unit (km, m or miles) and a speed unit (km/h, m/min, m/s or mph). Values you already entered are rewritten in the new unit, so the underlying quantity does not change.
  3. Enter the other two values: fill in the two fields that are not being solved for. Enter time in the hour, minute and second fields, or use only the minutes field for something like 90.
  4. Split into legs: if speed changes, as on an out-and-back trip, press Add leg. With two or more lines the top result becomes the overall average speed, and the total line shows total distance and total time.
  5. Read the pictures: on the distance–time graph the slope of the line is the speed, and the speed ruler below shows how that speed compares with walking, a cheetah and an airliner.
  6. Save and share: Copy result copies the formula and sentence, and Copy link copies an address that contains your values. The calculation runs in your browser only and nothing is sent to a server.

The three formulas and the distance–speed–time triangle

One triangle covers all three formulas. Put distance in the top cell and speed and time in the two bottom cells, then cover the value you want. Cover distance and the two bottom cells sit side by side: speed × time. Cover speed and distance sits over time: distance ÷ time. Cover time and you get distance ÷ speed. Read the horizontal line as divide and the vertical line as multiply.

Units must match before you calculate. For miles per hour, use miles and hours. For meters per second, use meters and seconds. One hour 30 minutes is 1.5 hours, and 1 hour 20 minutes is 1.333… hours, so minutes are divided by 60 and added to the hours. The calculator converts distance to meters and time to seconds internally, then shows the result in the units you chose.

Converting between mph, km/h, m/min and m/s

A mile is exactly 1,609.344 m, so 1 mph = 1,609.344 m ÷ 3,600 s = 0.44704 m/s, and mph × 1.609344 gives km/h. To go from km/h to m/s, divide by 3.6, because a kilometer is 1,000 m and an hour is 3,600 s. Meters per minute is km/h × 1,000 ÷ 60. A nautical mile is exactly 1,852 m, and a knot is a speed of one nautical mile per hour.

Common speeds in other units (two decimals; four significant digits below 1)
mphkm/hm/minm/skn
11.6126.820.4470.869
34.8380.471.342.61
58.05134.112.244.34
1016.09268.224.478.69
2540.23670.5611.1821.72
3048.28804.6713.4126.07
5588.511,475.2324.5947.79
6096.561,609.3426.8252.14
65104.611,743.4629.0656.48
70112.651,877.5731.2960.83

Runners often think in time per mile, which is speed written upside down. Divide 60 by the minutes one mile takes to get mph. A 10-minute mile is 60 ÷ 10 = 6 mph, and 8 minutes 30 seconds per mile is 60 ÷ 8.5 ≈ 7.06 mph.

Time per mile and speed in mph
Time for 1 mileSpeed
6 min10 mph
7 min8.57 mph
8 min7.5 mph
9 min6.67 mph
10 min6 mph
12 min5 mph
15 min4 mph
20 min3 mph

Average speed is not the average of the leg speeds

Average speed over several legs is total distance ÷ total time. Adding the leg speeds and dividing by the count is usually wrong, because slow legs take longer and so count for more in the overall figure. Drive 60 miles at 60 mph and return the same 60 miles at 40 mph: the legs take 1 hour and 1 hour 30 minutes, and 120 mi ÷ 2.5 h = 48 mph. That is lower than the plain average of 50 mph.

When both legs cover the same distance, the average speed is 2 × a × b ÷ (a + b), the harmonic mean, and it equals the plain average only when the two legs take the same time. If you spend more time in the faster leg, the true average can even beat the plain average.

Average speed and plain average for trips with two legs
LegsTotal distance, total timeAverage speedPlain average
60 mi at 60 mph, 60 mi at 40 mph120 mi, 2 h 30 min48 mph50 mph
1 h at 60 mph, 1 h at 40 mph100 mi, 2 h50 mph50 mph
30 mi at 30 mph, 30 mi at 90 mph60 mi, 1 h 20 min45 mph60 mph
200 mi at 100 mph, 10 mi at 20 mph210 mi, 2 h 30 min84 mph60 mph

The same arithmetic gives the shortest time for a stretch if you want to hold a target average: divide the length of the stretch by that average speed. A 20-mile stretch at 50 mph takes 24 minutes, and speeding up or slowing down inside the stretch does not matter, because the average depends only on total distance and total time.

Speed and velocity are not the same thing

In physics, average speed is the distance traveled divided by the time taken, while average velocity is the change in position from start to finish (the displacement) divided by the time. Run once around a 400 m track in 1 minute 40 seconds and your average speed is 400 ÷ 100 = 4 m/s (about 8.95 mph). You finished where you started, so the displacement is 0 and the average velocity is 0. In everyday talk, “velocity” is often used loosely for speed, but physics keeps direction in velocity. This calculator works with distance traveled, so it gives speed.

Reading the distance–time graph

On a graph with time across and distance up, the slope of the line is the extra distance covered per unit of time, which is the speed. Fast legs are steep, slow legs are shallow, and a stop shows up as a flat line. With two or more legs, the dashed line from the origin to the end point is the overall average speed. It meets the real line at the end because both cover the same total distance in the same total time. The dot moves in proportion to real time, so it lingers longer on slow legs.

How fast is this speed?

The speed ruler puts everything from walking to Earth's orbit on one logarithmic scale, so each major step is a factor of 10. The reference values are in the table below. The sentence under your result says how many times the nearest reference below it your speed is, and what percentage of the nearest reference above it.

Reference values on the speed ruler
Referencemph (km/h)Basis
Normal walking2.11–3.21 (3.39–5.16)Adult group averages of 0.943–1.434 m/s
Marathon world record13.16 (21.19)42.195 km (26.2 mi) in 1:59:30, London 2026
100 m world record23.35 (37.58)9.58 s, Berlin 2009
Cheetah top speed57.94 (93.24)25.9 m/s measured in wild cheetahs
Airliner cruise561.04 (902.91)Mach 0.85 in the standard atmosphere at 11 km
Sound (sea level)761.22 (1,225.06)340.29 m/s in the 15 °C standard atmosphere
Earth's orbit66,615.96 (107,208)Mean orbital speed of 29.78 km/s

Common mistakes

  • Entering 1 hour 30 minutes as 1.3 hours: minutes are fractions of 60, not of 100. 1 hour 30 minutes is 1.5 hours, and 1 hour 15 minutes is 1.25 hours. The calculator takes hours, minutes and seconds in separate fields to avoid this.
  • Mixing meters and km/h: for 1,500 m in 15 minutes, 1,500 ÷ 0.25 gives 6,000, but that is meters per hour, which is 6 km/h. Put everything in one unit before dividing.
  • Averaging the leg speeds: 60 mph out and 40 mph back averages 48 mph, not 50 mph. If you drove the first half of a round trip at 60 mph, no speed on the way back can lift the overall average to 120 mph.
  • Recalculating from rounded values: 80 mph written as 35.76 m/s and then multiplied by a time can drift in the last digit. The calculator carries the unrounded value when you switch units or change what to solve for.
  • Forgetting stops: dividing by a total that includes a rest stop lowers the average. To include a stop in the average, add it as a leg with a distance of 0 while solving for speed; for the speed while moving, enter only the moving legs.

Limits and cautions

  • The speed here is an average that assumes each leg was traveled at one steady pace. It does not draw traffic lights, acceleration or congestion that change the instantaneous speed.
  • Speed and distance are shown to two decimals (four significant digits below 1), and time is rounded to whole seconds once it reaches 60 seconds. Rounded values carry a “≈”.
  • The walking values are group averages by age and sex, and the cheetah value is a top speed measured during hunting in the wild. The airliner value converts Mach 0.85 using the temperature of the standard atmosphere at 11 km, so it is an estimate and differs from the ground speed of a real flight.
  • World records change when new ones are set. The records in the table were checked on the World Athletics list on the date below.
  • Legal speed limits and enforcement thresholds are not judged by this calculator. Use the result only as an estimate of average speed.

Basis: unit factors are the defined values in NIST SP 811 Appendix B.8. World records and reference speeds from World Athletics, NASA and the other sources below were checked on October 21, 2026.

Sources

Frequently asked questions

How do you calculate speed?

Divide the distance by the time taken. If you drove 150 miles in 2 hours 30 minutes, 150 ÷ 2.5 = 60 mph. Distance is speed × time, and time is distance ÷ speed.

Can I enter 1 hour 30 minutes as 1.3 hours?

No. Minutes have to be divided by 60, so 1 hour 30 minutes is 1.5 hours and 1 hour 15 minutes is 1.25 hours. The calculator takes hours, minutes and seconds in separate fields, so you can enter them as they are.

How do I convert mph to m/s?

Multiply by 0.44704, because 1 mile is 1,609.344 m and 1 hour is 3,600 s. So 60 mph is 26.82 m/s. To go from km/h to m/s, divide by 3.6, and multiply mph by 1.609344 to get km/h.

If I drive out at 60 mph and back at 40 mph, is my average 50 mph?

Not if the distance is the same each way. For 60 miles each way the legs take 1 hour and 1 hour 30 minutes, so 120 miles ÷ 2.5 hours = 48 mph. You spend more time at the slower speed, so the average comes out below the plain average.

Is average speed the same as average velocity?

No. Average speed is the distance traveled divided by time, while average velocity is the change in position from start to finish (displacement) divided by time. Run one lap of a track and finish where you started, and your average velocity is 0 but your average speed is not.

How long does it take to drive 150 miles at 60 mph?

150 ÷ 60 = 2.5 hours, which is 2 hours 30 minutes. For any trip, divide the distance by the speed to get the time.

If I run a mile in 10 minutes, what is my speed in mph?

Divide 60 by 10 to get 6 mph. A mile in 8 minutes 30 seconds is 60 ÷ 8.5 ≈ 7.06 mph. The Time for 1 mi line in the result shows the opposite conversion, from speed to time per mile.

Why does a result start with “≈”?

It marks a rounded value. Speed and distance are shown to two decimals (four significant digits below 1), and time is rounded to whole seconds once it reaches 60 seconds. Other calculations use the unrounded value.