Physics

Speed, distance and time calculator

Speed is the distance travelled per unit of time: speed = distance ÷ time. This speed, distance and time calculator solves for speed, distance or time from the other two, in kilometres, miles or metres and hours, minutes or seconds, and converts the answer between km/h, mph and m/s.

Runs in your browser. Nothing you type is sent to us.

Speed

75 km/h

v = d ÷ t

km/h
75
mph
46.6028
m/s
20.8333
Distance
150 km · 93.2057 mi
Time
2:00:00 (2 h)

Key facts

  • Speed = distance ÷ time, distance = speed × time, time = distance ÷ speed.
  • 150 km in 2 hours is an average speed of 75 km/h (46.6 mph).
  • 1 m/s = 3.6 km/h = 2.237 mph, and 1 mph = 1.609 km/h.
  • The result is an average speed; it does not show stops or changes in pace.

Speed, distance and time

These three quantities are linked by one simple formula. Speed is how fast something moves, distance is how far it goes and time is how long it takes. Strictly, speed has no direction; velocity is speed in a given direction. For most everyday questions, such as how long a drive will take or how fast you ran, speed is what you need.

How to use the speed, distance and time calculator

  1. Choose what to solve for: speed, distance or time.
  2. Enter the two values you know and pick their units.
  3. Read the answer, plus the speed in km/h, mph and m/s, the distance in km and miles, and the time in hours, minutes and seconds.

Formulas for speed, distance and time

v = d ÷ td = v × tt = d ÷ v
SymbolMeaningCommon units
vSpeedkm/h, mph, m/s, knots
dDistancekm, mi, m
tTimeh, min, s

A memory aid is the triangle with d on top and v and t below: cover the one you want, and the other two show the operation.

Worked examples: speed, distance and time

Example 1: average driving speed

You drive 150 km in 2 hours. Speed = 150 ÷ 2 = 75 km/h, or about 46.6 mph.

Example 2: journey time

A 450 km trip at an average of 90 km/h takes 450 ÷ 90 = 5 hours. Add time for breaks: one 30-minute stop makes it 5.5 hours.

Example 3: a marathon pace

A runner finishes a marathon (26.2 miles) in 4 hours. Average speed = 26.2 ÷ 4 = 6.55 mph (10.5 km/h). The pace calculator shows the same result as minutes per mile or kilometre.

Example 4: mixed units

A train travels at 300 km/h for 25 minutes. Convert the time: 25 min = 25 ÷ 60 = 0.4167 h. Distance = 300 × 0.4167 = 125 km.

Speed unit conversions

FromTo km/hTo mphTo m/s
1 km/h10.62140.2778
1 mph1.609310.4470
1 m/s3.62.23691
1 knot1.8521.15080.5144
1 ft/s1.09730.68180.3048

Typical speeds

Moving thingSpeed
Walking5 km/h (3.1 mph, 1.4 m/s)
Recreational cycling15 to 25 km/h
City driving limit30 to 50 km/h (20 to 30 mph)
Motorway / highway100 to 130 km/h (60 to 80 mph)
High-speed train300 km/h
Commercial jet cruiseabout 900 km/h
Sound in air at 20 °C343 m/s (1,235 km/h)
Light in a vacuum299,792,458 m/s

Average speed is not the average of speeds

If you drive 60 km at 60 km/h and then 60 km at 30 km/h, the trip takes 1 h + 2 h = 3 h. Average speed = 120 ÷ 3 = 40 km/h, not 45 km/h. Always divide total distance by total time.

Common mistakes with speed, distance and time

  • Mixing units. Convert minutes to hours (divide by 60) before using km/h.
  • Reading 1.5 h as 1 h 50 min. 1.5 hours is 1 hour 30 minutes.
  • Averaging speeds for equal distances. Use total distance ÷ total time.

Speed, units and the fastest things we measure

Measuring speed as distance divided by time goes back to Galileo Galilei, who analysed uniform and accelerated motion in *Two New Sciences* (1638). Today the units themselves rest on speed: since 1983 the metre has been defined by the distance light travels in 1/299,792,458 of a second, fixed by the General Conference on Weights and Measures (CGPM). Sea and air travel use the knot, one nautical mile (1,852 m) per hour, or 1.852 km/h.

Human speed records give a feel for the numbers. Usain Bolt’s 100 m world record of 9.58 seconds at the 2009 World Championships in Berlin is an average of 37.6 km/h (23.4 mph), with a peak near 44.7 km/h. Sound travels at about 343 m/s in air at 20 °C, which is Mach 1, and the International Space Station orbits at about 7.66 km/s. Average speed over a trip is total distance over total time, not the average of the speeds, which is a classic trap when a journey has fast and slow parts. Waves follow a related rule: speed equals wavelength times frequency, which is how the speed of light links a radio station’s frequency to the size of its antenna. For change in speed over time, use the acceleration calculator; for running paces, the pace calculator; and for the energy a moving object carries, the kinetic energy calculator.

How this calculator works

  • Speed = distance ÷ time; distance = speed × time; time = distance ÷ speed.
  • Distances (m, km, mi), times (s, min, h) and speeds (m/s, km/h, mph) are converted to metres and seconds first (1 mi = 1,609.344 m).
  • The answer is shown in the unit you pick, with distance in km and miles and time as hours, minutes and seconds.
  • This is average speed over the whole distance; changes in speed along the way are not modelled.

Frequently asked questions

What is the formula for speed?

Speed = distance ÷ time. If you cover 30 km in half an hour, your speed is 30 ÷ 0.5 = 60 km/h.

How do I calculate travel time?

Divide the distance by the speed. 200 miles at 50 mph takes 4 hours.

How do I calculate distance from speed and time?

Multiply speed by time. 80 km/h for 2.5 hours covers 200 km.

How do I convert km/h to mph?

Multiply by 0.6214. 100 km/h ≈ 62.1 mph.

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

Multiply by 3.6. 10 m/s = 36 km/h.

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

100 ÷ 60 = 1.667 hours, which is 1 hour 40 minutes.

What is the difference between speed and velocity?

Speed is how fast something moves. Velocity is speed in a specific direction, so it is a vector.

How do I find average speed for a whole trip?

Add up the total distance and divide by the total time, including any segments at different speeds.

Sources

  1. OpenStax, College Physics 2e
  2. NIST, Unit Conversion

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Speed, distance and time calculator." calcroster.com/speed-distance-time-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.