Home / Mathematics / Speed Distance Time Calculator

MATHEMATICS CALCULATOR

Speed Distance Time Calculator

Know any two of speed, distance and time and this calculator finds the third — in any mix of units, with the answer shown in every unit, running pace per kilometre and per mile, and a legs mode that averages a whole journey, stops included.

Solves for any of the threeUnits mixed freelyPace + journey legs

Solve for Speed, Distance or Time

Pick what you want to find, enter the other two in any units, and read the answer in every unit at once.

Result

How it was worked out

    Average Speed for a Journey in Legs

    Split the trip into legs — each with its own distance and time. A stop counts too: give it 0 distance and its minutes, and it will pull the average down, exactly as it should. Leave rows blank if you need fewer than four legs.

    Journey average

    Your numbers stay in your browser. Nothing you enter is stored or sent anywhere.

    Quick Answer

    Quick answer: speed = distance ÷ time. Cover 120 km in 1 hour 30 minutes and your average speed is 80 km/h (22.2222 m/s, 49.7097 mph, a running pace of 0:45 per km). Pick what you want to find above, enter the other two, and the third is worked out with its steps.

    How to Use the Speed Distance Time Calculator

    1. Pick what to find — Speed, Distance or Time. The two inputs you need appear.
    2. Enter the two known values, each with its unit. Mix freely: miles with km/h, metres with seconds — conversions are handled for you.
    3. Enter time as hours, minutes and seconds in the three boxes; leave a box empty for zero. The boxes simply add up, so 150 in minutes alone works too.
    4. Read the answer in every unit, plus pace per kilometre and per mile for speed results.
    5. For a trip in stages, use the legs section below the main calculator — it averages the whole journey properly, stops included.

    The Three Formulas

    One relationship, three arrangements:

    To findFormulaExample
    Speedspeed = distance ÷ time120 km ÷ 1.5 h = 80 km/h
    Distancedistance = speed × time60 mph × 2.5 h = 150 miles
    Timetime = distance ÷ speed500 miles ÷ 50 mph = 10 h

    The school memory aid is the triangle: put D on top, S and T underneath. Cover the one you want — what remains visible is the calculation: D over S × T, D ÷ T gives S, D ÷ S gives T.

    The units must agree before you divide: kilometres with hours give km/h, but kilometres with minutes give km/min. The calculator converts everything through metres and seconds first, which is why mixed units still give a clean answer.

    Units and Conversions

    Every conversion on this page uses the exact defined factors:

    UnitEquals
    1 mile1,609.344 metres (exact)
    1 nautical mile1,852 metres (exact)
    1 foot0.3048 metres (exact)
    1 yard0.9144 metres (exact)
    1 km/h0.27778 m/s (divide by 3.6)
    1 mph0.44704 m/s
    1 knot1 nautical mile per hour = 0.51444 m/s

    Knots belong to the sea and the air: one knot is one nautical mile per hour, and a nautical mile is defined from the Earth's circumference, which is why navigators pair it with charts measured in the same miles.

    Worked Examples

    Example 1 — A car journey (find speed)

    120 km in 1 hour 30 minutes: speed = 120,000 m ÷ 5,400 s = 22.2222 m/s = 80 km/h (49.7097 mph).

    Example 2 — A road trip (find distance)

    At 60 mph for 2 hours 30 minutes: distance = 60 × 2.5 = 150 miles (241.4016 km).

    Example 3 — A long drive (find time)

    500 miles at a steady 50 mph: time = 500 ÷ 50 = 10 hours exactly — 10:00:00, before any stops.

    Example 4 — A sprint (find speed)

    100 metres in 9.58 seconds: 100 ÷ 9.58 = 10.4384 m/s = 37.5783 km/h — the average over the whole race, start included; the top speed reached mid-race is higher.

    Average Speed and Journey Legs

    Average speed is always total distance ÷ total time — never the average of the speeds. Drive out at 40 mph and back at 60 mph over the same road and the average is 48 mph, not 50, because you spend longer at the slower speed.

    That is what the legs section does: it adds your distances, adds your times — including stops, which you enter as a leg with 0 distance — and divides once. A 100 km trip driven in 1 hour 30 minutes of moving time averages 66.6667 km/h on the road, but add a 15-minute stop and the honest door-to-door average is 57.1429 km/h. For planning arrival times, the second number is the one that tells the truth.

    Speed vs Velocity

    Speed is how fast something moves, with no direction attached — a scalar. Velocity is speed with a direction — a vector. A car circling a roundabout at a steady 30 km/h has constant speed but constantly changing velocity, because its direction keeps changing.

    This calculator works with speed and the length of the path travelled. If you instead divide the straight-line displacement (start to finish, as the crow flies) by the time, you get average velocity — a different number whenever the path bends or doubles back.

    Common Mistakes to Avoid

    • Mixing units mid-calculation. 120 km ÷ 90 minutes is not a speed in km/h — convert first (90 minutes = 1.5 hours), or let the calculator do it.
    • Averaging speeds directly. 40 mph out and 60 mph back does not average 50 mph — total distance ÷ total time gives 48 mph.
    • Forgetting stops. A journey average that leaves out fuel and rest stops flatters the plan and breaks the arrival time.
    • Reading pace as speed. 6:00 per kilometre is 10 km/h; 10:00 per mile is 6 mph. Pace is time per distance — the reciprocal view of the same motion.
    • Expecting the average to be the cruising speed. The average includes starting, stopping and every slow stretch — it is almost always well below the speed on the open road.

    What This Calculator Does Not Do

    • It does not model acceleration — speeding up and slowing down are averaged into the single result.
    • It does not give a live ETA — no traffic, weather or roadworks data; the answer assumes the average you enter holds for the whole trip.
    • It does not work out fuel use or cost — that needs the vehicle's consumption as well as the distance.
    • It does not convert clock times — it works with durations (how long), not times of day (when).

    Frequently Asked Questions

    Quick answers about speed, distance and time — the formulas, journey averages, pace, units and stops. Tap a question to open it.

    What is the formula for speed, distance and time?

    Speed = distance ÷ time. The other two forms are rearrangements of the same relationship: distance = speed × time, and time = distance ÷ speed. The triangle memory aid puts distance on top and speed and time below — cover the one you want and what remains is the calculation.

    Divide the distance by the time: 120 km ÷ 1.5 hours = 80 km/h. The units must match the answer you want — kilometres and hours give km/h; metres and seconds give m/s. This calculator converts for you, so you can enter miles and minutes and still read km/h.

    Time = distance ÷ speed = 100 ÷ 60 = 1.6667 hours, which is 1 hour 40 minutes — assuming the 60 mph average holds for the whole trip, stops included. At a true door-to-door average of 50 mph the same trip takes 2 hours.

    No — it is 48 mph. Average speed is total distance ÷ total time, and you spend longer at the slower speed, so it pulls the average below the midpoint. For a 60-mile each-way trip: 1.5 hours out, 1 hour back, 120 miles in 2.5 hours = 48 mph. The legs section above works this out for any trip.

    Pace is time per unit distance — minutes per kilometre or per mile — where speed is distance per unit time. Runners and cyclists plan with pace because it splits evenly over a course. They convert directly: pace per km in minutes = 60 ÷ speed in km/h, so 12 km/h is 5:00 per km.

    Any of them. Distance can be metres, kilometres, miles, nautical miles, feet or yards; speed can be m/s, km/h, mph, knots or ft/s; time is entered as hours, minutes and seconds. Everything is converted through exact defined factors (1 mile = 1,609.344 metres) before the arithmetic.

    Put 2 in the hours box and 30 in the minutes box — the three boxes simply add up. You can also put the whole duration in one box: 150 in minutes, or 2.5 in hours with the others empty, gives the same total.

    Yes — average speed is total distance divided by total time, and the clock keeps running at a stop. On this page’s legs example, 100 km with 1 hour 30 minutes of moving time averages 66.6667 km/h, but adding a 15-minute stop makes the door-to-door average 57.1429 km/h.

    The arithmetic is exact and every conversion uses the defined factors (mile = 1,609.344 m, nautical mile = 1,852 m, foot = 0.3048 m), with answers shown to 4 decimal places. What it gives you is the AVERAGE over the whole journey — not the speed at any single moment, which varies as you speed up and slow down.

    Related Calculators

    More free calculators on MyDayCalculator:

    Your privacy: everything you enter stays on your device. The calculator does not store or send your information anywhere.

    A quick note: an average speed is a promise about the whole journey, not any single moment of it — plan with the door-to-door number and you will arrive when you said you would.

    Last reviewed: November 2026.

    Scroll to Top