Skip to content

Speed, Distance and Time Calculator

Enter any two of speed, distance and time to find the third. The speed triangle formula, unit conversions, average speed pitfalls and worked travel and running examples.

3 min read

Speed, distance and time are linked by one simple formula, and knowing any two lets you find the third. How long will a 270 km drive take at 90 km/h? What pace did you average in a marathon? How far can you get in two hours? Our speed, distance and time calculator answers all three. This guide explains the formula, unit conversions and the common trap with average speeds.

How to use the calculator

Enter any two values and leave the third blank:

  • Speed (per hour, in any distance unit)
  • Distance (same unit as the speed)
  • Time (in hours)

With the defaults, 90 per hour over 270 distance units, the time is 3:00:00, three hours.

A marathon of 42.195 km run in 3.5 hours gives an average speed of 12.06 km/h.

The formula

A handy memory aid is the triangle with D on top and S and T below: cover the one you want, and the remaining two show the calculation.

Examples:

  • Time for 270 km at 90 km/h: 270 ÷ 90 = 3 hours.
  • Distance in 2.5 hours at 60 mph: 60 × 2.5 = 150 miles.
  • Speed covering 42.195 km in 3.5 h: 42.195 ÷ 3.5 = 12.06 km/h.

Working with minutes

Time must be in hours to match a per-hour speed. Convert minutes by dividing by 60:

  • 45 minutes = 0.75 h
  • 1 hour 20 minutes = 1.333 h
  • 2 hours 6 minutes = 2.1 h

So 25 km in 1 hour 20 minutes is 25 ÷ 1.333 = 18.75 km/h. The time calculator converts between h:mm:ss and decimal hours.

Speed unit conversions

FromToMultiply by
km/hmph0.6214
mphkm/h1.609
m/skm/h3.6
knotskm/h1.852

100 km/h is about 62 mph, and 10 m/s is 36 km/h. The speed converter, km/h to mph and mph to km/h pages handle these instantly.

The average speed trap

Average speed is total distance divided by total time, not the average of the speeds.

Example: you drive 60 km at 60 km/h, then 60 km at 30 km/h. The average of the speeds is 45 km/h, but the true average is lower. Time taken: 1 hour + 2 hours = 3 hours. Total distance 120 km. Average speed = 120 ÷ 3 = 40 km/h.

The slower leg takes longer, so it counts for more. To average speeds correctly, always go back to total distance and total time.

Running and cycling

Runners often use pace (minutes per km or mile) rather than speed. Pace is time ÷ distance, the reverse of speed. A speed of 12 km/h is a pace of 60 ÷ 12 = 5:00 per km. The pace calculator works directly in pace and predicts race times.

Travel planning

For journeys, the average speed is usually well below the speed limit because of traffic, junctions and stops. A 300 km trip on roads with a 110 km/h limit might average 85 km/h, taking about 3.5 hours plus breaks. Combine with the fuel cost calculator to budget a trip.

In physics

Speed is how fast something moves; velocity is speed in a given direction. The same formula applies at any scale: light travels about 300,000 km per second, so it takes about 8.3 minutes to reach the Earth from the Sun, 150 million km away. The scientific notation calculator helps with numbers that size.

Tips for accurate answers

Always check that the units match before you divide or multiply. If the speed is in kilometres per hour, the distance must be in kilometres and the time in hours. Convert minutes and seconds to decimal hours first, and convert metres per second to kilometres per hour by multiplying by 3.6. When planning a trip, build in time for breaks, fuel stops and traffic, because the calculated time assumes you move at the average speed the whole way.

Frequently asked questions

How do I calculate travel time?

Divide the distance by the speed. 180 miles at 60 mph takes 3 hours.

How do I enter time in minutes?

Convert to hours by dividing by 60. 30 minutes is 0.5 hours, and 90 minutes is 1.5 hours.

Why is my average speed lower than the average of my speeds?

Because you spend longer at slower speeds. Average speed must be total distance divided by total time.

Can I use miles instead of kilometres?

Yes. Use the same unit for speed and distance, such as miles and miles per hour.

Share

Try it yourself

Run your own numbers with our free tool: Speed, distance & time calculator. No sign-up, and it works on any device.

Open the calculator