Math & Science
Speed distance time calculator icon showing a route between two points

Speed, distance & time calculator

A speed distance time calculator uses one formula, distance = speed × time (d = v × t), so speed = distance ÷ time and time = distance ÷ speed. For example, 150 miles in 5 hours is 150 ÷ 5 = 30 mph, and at that speed 7 hours covers 30 × 7 = 210 miles. Enter any two of speed, distance or time below, in km/h, mph, m/s or knots, and the calculator instantly solves for the third.

Are you a runner looking for a pace in minutes per mile instead of mph? Use the Pace Calculator instead. This page works with general speed (mph), handy for travel, driving, and physics problems.

Enter two known values

Leave the value you want empty. Pick a unit next to each field; time goes in hours, minutes and seconds.
hmins
Decimals with a point or a comma both work (2.5 or 2,5). Minutes and seconds may be left empty.

How to use this speed distance time calculator

  1. Enter any two values (speed, distance or time) and pick a unit next to each field. Leave the value you want to find empty.
  2. Press Calculate to fill in the missing third value.
  3. Read the highlighted field and the result panel below it: the speed distance time calculator also converts the answer into other units and shows the time as hh:mm:ss.

How to calculate travel time, distance, and speed

The relationship between speed, distance, and time is one of the most fundamental formulas in physics: the distance traveled equals speed multiplied by time.

For example, a car traveling at a constant 60 mph for 2.5 hours covers 60 × 2.5 = 150 miles. These are the default values of the speed distance time calculator above: speed 60 mph and a time of 2 h 30 min, which highlights the distance field and returns exactly 150 miles (241.4 km). The same numbers work in reverse too: given a distance of 150 miles covered in 2 h 30 min, the calculator solves for speed (150 ÷ 2.5 = 60 mph); given distance and speed, it solves for time to calculate travel time (150 ÷ 60 = 2.5 hours, shown as 02:30:00).

Distance formula (d equals v times t)

Distance = speed × time

Calculate speed formula

Speed = distance ÷ time

Calculate travel time formula

Time = distance ÷ speed

The speed distance time triangle

Many textbooks draw the three formulas as one triangle: D at the top, S and T side by side underneath. Cover the value you want and the other two show the operation. Cover D and you see S next to T, so multiply. Cover S and you see D over T, so divide distance by time. Cover T and you see D over S, so divide distance by speed. The triangle only works when the units match, for example kilometers, hours and km/h together.

Worked speed, distance and time problems

These are the question types that come up most in homework and tests, each solved step by step so you can check your own working against the calculator.

1. Same speed, different time. A student traveled 150 miles in 5 hours. How far did the student travel in 7 hours? First find the speed: 150 ÷ 5 = 30 mph. Then use distance = speed × time: 30 × 7 = 210 miles. A shortcut is to scale directly: 150 × 7/5 = 210. Of the usual answer choices (170, 175, 205 or 210 miles), 210 miles is correct.

2. Minutes, not hours. A cyclist rides 2.4 km to school in 12 minutes. What is the speed in km/h? Convert the time first: 12 ÷ 60 = 0.2 hours. Speed = 2.4 ÷ 0.2 = 12 km/h. Dividing 2.4 by 12 instead would give 0.2 km per minute, which is the same speed in a less useful unit.

3. Average speed over two legs. A car drives 60 km at 30 km/h and then another 60 km at 60 km/h. What is its average speed? The tempting answer, 45 km/h, is wrong. The first leg takes 60 ÷ 30 = 2 hours and the second 60 ÷ 60 = 1 hour, so the whole trip is 120 km in 3 hours: 40 km/h. The car spends more time at the slower speed, which pulls the average down. A plain mean of the speeds, like the one the average calculator gives, is only right when each speed was held for the same length of time.

4. Two vehicles approaching each other. Two cars start 300 km apart and drive toward each other at 70 km/h and 80 km/h. When do they meet? The gap closes at 70 + 80 = 150 km/h, so they meet after 300 ÷ 150 = 2 hours, 140 km from the first car’s starting point (70 × 2). If one vehicle chases the other in the same direction, subtract the speeds instead of adding them.

Converting speed to different units

The formula works with any consistent combination of units, but speed is reported differently depending on where you are and what you’re measuring. The table below covers the conversions most people actually need.

FromToMultiply by
mphkm/h1.609
mphm/s0.447
km/hmph0.621
m/smph2.237

As Wikipedia’s entry on speed notes, the SI unit is the metre per second, while miles per hour remains the everyday unit in the US and UK — mixing the two without converting is one of the most common sources of a wrong answer in a speed, distance, or time problem.

You do not have to convert by hand: the speed distance time calculator accepts km/h, mph, m/s or knots for speed and km, miles, metres or nautical miles for distance, in any combination. For a plain unit conversion without a trip calculation, the speed converter is quicker.

Converting time to hours and minutes

The speed distance time calculator takes time as separate hours, minutes and seconds, so 2 hours 30 minutes is typed as 2 and 30, with no decimal conversion needed. Results are shown as hh:mm:ss (02:30:00) together with decimal hours (2.5 h) and total minutes (150 min); a result above 24 hours is also written in days, for example 30:00:00 = 1 d 06:00:00. Decimal input still works: 2.5 in the hours box is read as 2 h 30 min. For adding and subtracting clock times, use the Time Calculator.

Units and exact conversion factors in the speed distance time calculator

Internally every value is converted to metres and seconds with the exact definitions listed in NIST Special Publication 811, Appendix B.9: 1 mile = 1,609.344 m, 1 nautical mile = 1,852 m, 1 knot = 1,852 m per hour and 1 km/h = 1,000 m per hour. That is why the result panel can show the same answer in four speed units and four distance units without rounding drift.

Worked example: a marathon is 42.195 km. At an average of 12 km/h the speed distance time calculator returns 03:30:59, or 3.516 hours. The other way round, a runner who finishes in 3 h 30 min averaged 42.195 ÷ 3.5 = 12.056 km/h, which the calculator also shows as 7.491 mph and 3.349 m/s. Times under ten minutes keep one decimal of a second, so 100 m at 9.58 m/s gives 00:00:10.4.

Common uses for a speed distance time calculator

Trip planning. Estimating a driving ETA starts with an average speed assumption and the distance on the route, which is exactly what the first panel solves for.

Physics and math coursework. Speed, distance, and time problems are a staple of introductory physics, and checking your own algebra against a calculator catches unit and arithmetic mistakes quickly.

Logistics and delivery estimates. Knowing an average vehicle speed and the distance to a destination gives a rough delivery or arrival window before accounting for stops or traffic.

Aviation and marine dead reckoning. Estimating position from a known speed, heading, and elapsed time is a basic navigation technique that relies on this same distance formula.

How long does it take to travel 100 miles or 100 km?

Driving time is distance divided by average speed, so these times assume you hold the speed the whole way with no stops. The times are rounded to the nearest minute.

Average speed100 milesAverage speed100 km
30 mph3 h 20 min50 km/h2 h 0 min
45 mph2 h 13 min80 km/h1 h 15 min
55 mph1 h 49 min90 km/h1 h 7 min
60 mph1 h 40 min100 km/h1 h 0 min
65 mph1 h 32 min110 km/h55 min
70 mph1 h 26 min120 km/h50 min
75 mph1 h 20 min130 km/h46 min

The table also shows why higher speeds save less time than people expect: going from 60 to 70 mph on a 100-mile drive saves only about 14 minutes. To swap a route distance between the two systems first, use the kilometers to miles converter. The formulas on this page assume a steady speed; for a car speeding up from 0 to 100 km/h, where speed changes every second, use the acceleration calculator instead.

Common mistakes to avoid

Choosing the wrong unit. The speed distance time calculator converts between units exactly, but only if each field has the right unit selected. Typing 60 with km/h selected when you meant 60 mph gives a distance about 38% too short.

Typing minutes as decimal hours. If you put a time in the hours box only, 45 minutes is 0.75 hours, not 0.45: divide minutes by 60, not by 100. Easier still, type 45 in the minutes box and leave the hours empty.

Assuming constant speed. Real trips include stops, traffic, and speed changes, so a speed distance time calculation gives an average or estimate, not an exact prediction of a specific journey.

Frequently asked questions

How do I convert minutes to decimal hours?

Divide the number of minutes by 60. For example: 45 minutes is 45 ÷ 60 = 0.75 hours.

Does this calculator also work with units other than mph and miles?

Yes. Choose km/h, mph, m/s or knots for speed and km, miles, metres or nautical miles for distance. The speed distance time calculator converts internally with exact factors, so you can even combine a distance in kilometres with a speed in miles per hour.

Does this calculation account for breaks or varying speed?

No. The speed distance time calculator assumes a constant average speed for the entire time, with no breaks or speed fluctuations. To include a stop, add its length to the time or plan with a lower average speed.

What does “d equals v times t” mean?

It’s shorthand for the distance formula: d (distance) equals v (velocity, or speed) multiplied by t (time). It’s the same relationship this calculator uses to solve for whichever value you’re missing.

Is this speed distance time calculator free to use?

Yes, this tool is completely free, requires no sign-up, and runs entirely in your browser — none of the numbers you enter are sent anywhere or stored.

A student traveled 150 miles in 5 hours. How far did the student travel in 7 hours?

210 miles. The speed is 150 ÷ 5 = 30 mph, and 30 mph × 7 hours = 210 miles, assuming the same speed throughout.

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

1 hour 40 minutes: 100 ÷ 60 = 1.667 hours, and 0.667 × 60 = 40 minutes. At 70 mph it takes about 1 hour 26 minutes.

How do I find the average speed when a trip has two different speeds?

Divide the total distance by the total time. 60 km at 30 km/h (2 h) plus 60 km at 60 km/h (1 h) is 120 km in 3 h, an average of 40 km/h, not the 45 km/h you get by averaging the two speeds.

What is the speed distance time triangle?

A memory aid with D at the top and S and T below. Cover the value you want: D = S × T, S = D ÷ T, and T = D ÷ S.

This speed distance time calculator provides a general, mathematically correct calculation based on the values you entered, assuming a constant speed. Back to CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: