Speed, Distance and Time Calculator

Speed is distance divided by time, so distance is speed × time and time is distance ÷ speed: 150 miles at 60 mph takes 2 hours 30 minutes. Pick the one you want and type the other two. Distances can be in miles or kilometers and speeds in mph or km/h, mixed if you like: 100 km at 60 mph works.

h
min
Average speed
60 mph

150 miles in 2 h 30 min is an average speed of 60 mph.

In km/h 96.56 km/h
Time per mile 1 min 0 s
Time in hours 2.5 h

What is average speed?

Average speed is the total distance traveled divided by the total time it took, stops included. It’s the speed this calculator works with.

How to calculate speed, distance and time

OpenStax's physics textbook puts it simply: average speed is the distance traveled divided by the time it took. Its example: 6 km in half an hour is 12 km/h. Turn that around for the other two:

  • Speed = distance ÷ time
  • Distance = speed × time
  • Time = distance ÷ speed
Speed = distance ÷ time

Here it is with your numbers:

  1. Time in hours: 2 + 30 ÷ 60 = 2.5 h.
  2. Speed: 150 ÷ 2.5 = 60 mph.

It means you covered 60 miles each hour on average.

Source OpenStax College Physics 2e · 2.3 Time, Velocity, and Speed ↗

Mixing miles and kilometers

The units have to match before you divide. A mile is exactly 1.609344 km, so the calculator turns kilometers into miles (or miles into kilometers) first: 100 km at 60 mph is 62.1371 miles at 60 mph, which takes 1 h 2 min 8 s.

Source NIST Handbook 44 (2026) · Appendix C, General Tables of Units of Measurement ↗

Average speed, not top speed

The answer is an average over the whole trip. Stops, traffic and slow stretches all count, so a 60 mph average usually means driving faster than 60 some of the time.

FAQs

How do you figure out speed from distance and time?

Divide the distance by the time. OpenStax’s example: a 6 km round trip that takes half an hour is an average speed of 12 km/h.

Source OpenStax College Physics 2e · 2.3 Time, Velocity, and Speed ↗

How do you calculate time from speed and distance?

Divide the distance by the speed. 150 miles at 60 mph is 150 ÷ 60 = 2.5 hours, which is 2 hours 30 minutes.

How do you find distance with speed and time?

Multiply the speed by the time. 60 mph for 2 hours 30 minutes is 60 × 2.5 = 150 miles.

Sources

Related calculators