Speed, Distance & Time Calculator

Enter any two values to find the third. v = d / t.

km
miles
m
ft
hours
minutes
seconds
km/h
mph
m/s

The speed, distance and time relationship

Speed, distance and time are locked together by one relationship. Know any two and the third follows. It is the same equation rearranged three ways, and it underlies everything from journey planning to running pace.

Speed = Distance ÷ Time

Distance = Speed × Time

Time = Distance ÷ Speed

The only real difficulty is unit consistency. If speed is in kilometers per hour, distance must be in kilometers and time in hours. Mixing minutes into an hours-based calculation is the most common source of wrong answers.

Key takeaways

  • One relationship, three rearrangements - know two values to get the third.
  • Units must be consistent: km/h with km and hours, m/s with meters and seconds.
  • To convert km/h to m/s, divide by 3.6.
  • Average speed over a journey is total distance ÷ total time, not the average of the speeds.
  • Pace is the inverse of speed - minutes per kilometer rather than kilometers per hour.

Worked examples

Finding speed

  • A car travels 240 km in 3 hours: speed = 240 ÷ 3 = 80 km/h

Finding distance

  • Cycling at 25 km/h for 90 minutes (1.5 h): distance = 25 × 1.5 = 37.5 km

Finding time

  • Driving 450 km at 90 km/h: time = 450 ÷ 90 = 5 hours
Convert minutes before you divide. Ninety minutes is 1.5 hours, not 1.30. Entering 1.30 into an hours-based calculation gives an answer that is about 13% wrong. Divide minutes by 60 to get decimal hours.

Speed unit conversions

FromToMultiply byExample
km/hm/s0.277778 (÷ 3.6)90 km/h = 25 m/s
m/skm/h3.610 m/s = 36 km/h
km/hmph0.621371100 km/h = 62.1 mph
mphkm/h1.60934460 mph = 96.6 km/h
knotskm/h1.85220 kn = 37.0 km/h
mphm/s0.4470460 mph = 26.8 m/s

A knot is one nautical mile per hour, used in aviation and shipping.

The divide-by-3.6 trick. To convert km/h to m/s, divide by 3.6. It works because there are 3,600 seconds in an hour and 1,000 meters in a kilometer, and 3,600 ÷ 1,000 = 3.6. So 108 km/h is exactly 30 m/s.

Why average speed is not the average of speeds

This catches almost everyone. Drive 60 km at 60 km/h, then 60 km at 120 km/h. The average speed is not 90 km/h.

  • First leg: 60 ÷ 60 = 1 hour
  • Second leg: 60 ÷ 120 = 0.5 hours
  • Total: 120 km in 1.5 hours
  • Average speed = 120 ÷ 1.5 = 80 km/h

The slower leg takes longer, so it carries more weight in the average. Average speed is always total distance divided by total time - never the arithmetic mean of the individual speeds.

Running and cycling pace

Runners think in pace - minutes per kilometer or mile - which is simply the inverse of speed.

Pace (min/km) = 60 ÷ Speed (km/h)

Speed (km/h) = 60 ÷ Pace (min/km)
Pace (min/km)Speed (km/h)5 km time10 km timeMarathon time
4:0015.020:0040:002:48:47
5:0012.025:0050:003:30:59
6:0010.030:001:00:004:13:10
7:008.635:001:10:004:55:22
8:007.540:001:20:005:37:34

A marathon is 42.195 km. Times assume the pace is held exactly for the whole distance and are rounded to the nearest second.

Practical uses

  • Journey planning - estimating arrival times from route distance.
  • Running and cycling - converting between target pace and finish time.
  • Aviation and sailing, where knots and nautical miles are standard.
  • Physics problems involving uniform motion.
  • Logistics, for delivery scheduling and driver hours.
  • Stopping distances, where the relationship between speed and reaction distance matters.

Remember that real journeys include stops, traffic and speed limits. A calculated time is a lower bound, not a prediction - adding 15-20% for a long drive is a reasonable rule of thumb.

Frequently Asked Questions

What is the formula for speed?

Speed equals distance divided by time. Rearranged, distance equals speed times time, and time equals distance divided by speed. All three are the same relationship written differently, so knowing any two values gives you the third.

How do I convert km/h to m/s?

Divide by 3.6. So 90 km/h is 25 m/s. The factor comes from there being 3,600 seconds in an hour and 1,000 meters in a kilometer. To go the other way, multiply m/s by 3.6.

How do I calculate average speed?

Divide the total distance by the total time. Do not average the individual speeds - that gives the wrong answer, because slower legs take longer and therefore count for more. Traveling 60 km at 60 km/h then 60 km at 120 km/h averages 80 km/h, not 90.

How do I convert minutes to hours for these calculations?

Divide the minutes by 60. Ninety minutes is 1.5 hours, and 45 minutes is 0.75 hours. Entering 1.30 for an hour and a half is a common error that makes the answer about 13 percent wrong.

What is pace and how does it relate to speed?

Pace is the inverse of speed, expressed as time per unit distance rather than distance per unit time. Convert between them with 60 divided by the other value: a pace of 5 minutes per kilometer is a speed of 12 km/h.

What is a knot?

One nautical mile per hour, equal to 1.852 km/h. It is the standard speed unit in aviation and shipping, because a nautical mile corresponds to one minute of latitude, which makes navigation arithmetic simpler.

How long will my journey actually take?

The calculated time assumes constant speed with no stops, so treat it as a minimum. For a long drive, adding 15 to 20 percent for traffic, junctions and breaks usually gives a realistic estimate.

How do I calculate marathon finish time from pace?

Multiply your pace in minutes per kilometer by 42.195. At 5 minutes per kilometer that is about 3 hours 31 minutes. The pace table above lists common finish times for standard race distances.

Related Calculators