Speed, distance and time calculator

Pick what you are looking for (time, speed or distance), type the other two with their units: the result shows right away.

Speed, distance and time calculator

I am looking for

Result

1 h 40 minTravel time

In decimal hours
1.6667 h

Speed, distance and time calculator

Inputs

I am looking for
Time
Distance
150
Distance unit
kilometers (km)
Average speed
90
Speed unit
km/h

How it is calculated

Speed = distance ÷ time; distance = speed × time; time = distance ÷ speed.

Result

Travel time

1 h 40 min
In decimal hours
1.6667 h

How it is calculated

  1. Speed = distance ÷ time; distance = speed × time; time = distance ÷ speed.
  2. Everything is first converted to meters and seconds, then back to the chosen unit.
  3. 1 mi = 1,609.344 m; 1 nautical mile = 1,852 m; 1 knot = 1 nautical mile per hour.

Example

150 km at 90 km/h: 150 ÷ 90 = 1.6667 h, so 1 h 40 min. A marathon (42.195 km) in 3.5 h gives a speed of 12.056 km/h.

Good to know

  • This is an average speed: stops and slowdowns are part of the time.
  • A time of zero is refused: the speed would be infinite.

Sources

  • BIPM, The International System of Units (SI), 9th edition (2019)

When to use it

  • Work out a journey time from the distance and an average speed.
  • Find a running or cycling speed from a time over a distance.
  • To see what the journey costs in fuel, use the Fuel cost calculator for a trip.

Frequently asked questions

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

Divide by 3.6. For example, 90 km/h is 25 m/s.

How do I turn a speed into a running pace?

Pace in minutes per km = 60 ÷ speed in km/h. At 12 km/h, the pace is 5 minutes per km.

Is the average of two speeds the average speed?

Not for equal distances. Going at 60 km/h and coming back at 40 km/h gives an average of 48 km/h, because more time is spent at the slower speed.

Updated October 10, 2026

Indicative result. For an important decision, check with a professional.