Audited 26 Jul 2026·Last updated 28 Oct 2026·7 citations·Tier 1·0 uses

Speed Distance Time Calculator

Solve for speed, distance or travel time from the other two, mixing km, miles, metres, hours, minutes and seconds, with the speed also shown in m/s.

Speed Distance Time Calculator

Solve for
Average speed of the moving object. Pick the unit in the speed-unit selector below. Leave this field set when solving for distance or time; it is ignored when solving for speed.
Total distance covered. Pick the unit in the distance-unit selector below. Used when solving for speed or time; ignored when solving for distance.
Duration of the journey. Pick the unit in the time-unit selector below. Used when solving for speed or distance; ignored when solving for time.
Speed unit
Distance unit
Time unit
Speed
50
Average speed over the interval, in the unit chosen under Speed unit (m/s, km/h or mph); when you solve for distance or time it repeats the speed you entered.
Distance
100
Time
2
Speed in SI units
13.8889 m/s

Background.

How long does 250 km take at 90 km/h? Divide one by the other and you get 2.7778. That is hours as a decimal, not hours and minutes: the 0.7778 is a fraction of an hour, so the drive takes about 2 hours 47 minutes, not 2 hours 78 minutes and not 2 hours 7. Most mistakes with speed, distance and time are of this kind. The physics is one line; the errors live in the units and in what the word average means.

That line is distance = speed × time. Rearranged, speed is distance ÷ time and time is distance ÷ speed, so any two of the three settle the third. You choose which one to solve for and enter the other two in whatever units you have: metres, kilometres or miles; seconds, minutes or hours; m/s, km/h or mph. Every value is converted to metres and seconds before the division or multiplication happens, so miles can sit beside minutes with an answer requested in km/h. The conversion factors are definitions, not measurements. A mile has been exactly 1,609.344 m since 1959, when the international yard was fixed at 0.9144 m, and an hour is 3,600 s. The speed also comes back in metres per second whichever unit you chose, because that is the form physics formulas expect.

The speed you get is an average over the whole interval. Cover 100 km in two hours and the answer is 50 km/h whether you held a steady cruise or sprinted between traffic lights; nothing in the arithmetic knows what happened in between. For planning an arrival time that is exactly the figure you want, provided the time you feed in is the time that actually elapsed, stops and queues included. For a race split or a training run it is the average pace the watch would show at the finish. Where the in-between matters, such as the distance a car covers while it is still accelerating, the average alone is not enough, and the questions below show what to do instead.

What is speed distance time calculator?

Speed is the distance something covers per unit of time. Over any stretch of a journey, average speed is the total distance divided by the total time taken, which is the definition used here. The figure on a speedometer is instantaneous speed: the same ratio taken over an interval so short that the speed cannot change within it. For a car on cruise control the two agree. For a city bus that stops every few hundred metres, the average can sit far below any speed the bus reaches while moving. Speed is a scalar, meaning it says how fast but not which way. Its directional counterpart, velocity, divides displacement, the straight-line change in position, by time. The SI unit of speed is the metre per second; 1 m/s is 3.6 km/h, and 1 mph is exactly 0.44704 m/s.

How to use this calculator.

  1. Choose the unknown under Solve for: Speed when you know how far and how long, Distance when you know how fast and for how long, Time when you know how far and how fast. The field for the unknown is ignored, so whatever number sits in it does not affect the answer.
  2. Set Speed unit, Distance unit and Time unit before typing values. They can be mixed freely, for example miles with km/h, and the answer is reported in the units you selected.
  3. Enter each time as one number in one unit. One hour 45 minutes is 1.75 h or 105 min, never 1.45; when the decimal is awkward, switch Time unit to minutes and type the total.
  4. For a journey, take the route distance from a map or the odometer rather than the straight-line distance, and decide which average you want: total elapsed time gives the door-to-door figure, while subtracting stops first gives the moving average.
  5. Read the result together with the speed in metres per second. When time is the answer, convert the decimal part yourself: 0.25 h is 15 minutes and 0.1 h is 6 minutes.

The formula.

v = d ⁄ t

The relationship is v = d ⁄ t, where v is average speed, d is the distance travelled and t is the time taken. Multiply both sides by t and you have d = v × t; divide that by v and you have t = d ⁄ v. These are one equation solved for three different unknowns, not three separate laws.

Before solving, each input is put into SI units. Distances become metres (a kilometre is 1,000 m, a mile 1,609.344 m), times become seconds (a minute is 60 s, an hour 3,600 s), and speeds become metres per second (km/h divided by 3.6, mph multiplied by 0.44704). The equation is solved in metres and seconds and the answer converted back into the unit you asked for. Because every factor is a definition, the conversion adds no uncertainty of its own: the only error in the answer is whatever error was in the distance and time you entered.

The proportions are simple, but one of them surprises people. Distance and time scale together, so doubling the distance at a fixed speed doubles the time. Time and speed are inversely related, so a percentage rise in speed buys a smaller percentage cut in time: going 10% faster saves 9.09% of the time, and each further step up saves less than the one before. All three quantities have to be greater than zero; at zero speed no finite time covers any distance.

Nothing in the equation describes how the motion varied inside the interval. Give it a total distance and a total time and it returns the average across them. It cannot recover a peak speed, and it cannot say where an accelerating object will be halfway through; that takes d = ut + ½at², the constant-acceleration relation covered by the acceleration calculator.

A worked example.

Example

Take the default inputs: 100 km covered in 2 hours, solving for speed in km/h. The distance becomes 100 × 1,000 = 100,000 m and the time 2 × 3,600 = 7,200 s. Dividing gives 100,000 ÷ 7,200 = 13.8889 m/s, the SI figure shown under the result. Converting back, 13.8889 × 3.6 = 50 km/h, the same as dividing 100 by 2 directly, which confirms the units went through cleanly. Now suppose those two hours included a 20-minute stop for fuel. The 50 km/h is still the right number for planning, because it is what the journey averaged from departure to arrival. The car's moving average is a different quantity. Removing the stop leaves 1 hour 40 minutes, entered as 100 min with Time unit set to minutes, and 100 km over 100 minutes comes to 60 km/h. Both answers are correct; they describe different intervals. A trip computer that reports 60 km/h for a drive that took you two hours is not contradicting the 50 km/h; it simply left the stop out.

distance Unitkm
speed Unitkmh
distance100
time2
solve Forspeed
time Unith

Frequently asked questions.

My answer came out as 2.7778 hours. How do I turn that into hours and minutes?
Keep the whole number as hours and multiply the decimal part by 60. For 250 km at 90 km/h the result is 2.7778 h, and 0.7778 × 60 = 46.7 minutes, so the drive takes about 2 hours 47 minutes. You can skip the step by setting Time unit to minutes, which shows the same trip as 166.6667 min. Going the other way, enter 1 hour 45 minutes as 1.75 h or 105 min.
I drove out at 60 km/h and back at 120 km/h. Why isn't my average 90 km/h?
Because you spent twice as long on the slow leg. Over two legs of equal distance the average speed is the harmonic mean, 2 × v₁ × v₂ ⁄ (v₁ + v₂), which here is 2 × 60 × 120 ⁄ 180 = 80 km/h. Check it on a 60 km route: out takes 1 hour, back takes 30 minutes, and 120 km in 1.5 h is 80 km/h. Averaging the two speeds is only right when the legs last equal times. Entering total distance and total time avoids the trap altogether.
Can I make up for a slow start by going faster for the rest of the trip?
Only up to a point, and sometimes not at all. Say a 60 km trip must average 60 km/h, so it has to take one hour, and the first 30 km crawl by at 30 km/h. That first half has already used the whole hour, so no speed on the second half reaches the target. A goal of 40 km/h overall allows 1.5 hours, leaving 30 minutes for the last 30 km, which means 60 km/h. Time lost early is gone; later speed only shrinks the time still to come.
How much time does driving faster actually save?
Less than the rise in speed suggests, because time falls as the inverse of speed. A 300 km trip takes 3 hours at 100 km/h, 2.7273 hours at 110 km/h and 2.5 hours at 120 km/h: the first extra 10 km/h saves about 16.4 minutes and the second about 13.6. On a short trip the saving shrinks to a minute or two, while fuel use and braking distance keep growing with speed.
How do I convert a speed into running pace per kilometre or per mile?
Pace is the reciprocal of speed: time per unit of distance instead of distance per unit of time. In minutes per kilometre it is 60 divided by the speed in km/h, so 12 km/h is a 5:00 pace and 10 km/h is 6:00. To let the calculator do it, solve for time with a distance of 1 km or 1 mi and Time unit set to minutes. A per-kilometre pace times 1.609344 gives the per-mile pace: 5:00 per km is 8.0467 minutes, about 8:03 per mile.
How can I tell how far away a lightning strike was?
The flash reaches you almost instantly, while the thunder travels at the speed of sound, about 343 m/s in air at 20 °C. Count the seconds between flash and thunder, solve for distance with a speed of 343 m/s and that number of seconds, and read the answer in kilometres. Three seconds gives 1,029 m, which is where the rule of about three seconds per kilometre comes from. Sound travels a little slower in cold air, so the estimate is approximate.
What about knots, feet per second or nautical miles, which the menus do not list?
Convert them first using exact factors. A nautical mile is 1,852 m, so one knot, a nautical mile per hour, is 1.852 km/h, and 20 knots is 37.04 km/h. A foot is 0.3048 m, so a speed in feet per second multiplied by 0.3048 gives m/s. Enter the converted value and the rest of the calculation is unchanged; to express a km/h answer in knots, divide it by 1.852.
I ran one 400 m lap in 80 seconds and finished where I started. Was my speed zero?
No. Your average speed was 400 ÷ 80 = 5 m/s, because speed counts the whole path you ran. What was zero is your average velocity, which divides displacement, the straight-line change in position, by time, and a closed lap has none. Navigation and physics problems that depend on direction use velocity; travel time, pace and fuel planning use speed, which is what this calculator works with.
Does the formula still work while something is speeding up?
It still gives the average over the interval, which is often all you need, but it cannot say where the object is at any moment in between. Under steady acceleration the average speed sits halfway between the starting and final speeds. A car going from rest to 100 km/h in 10 seconds therefore averages 50 km/h, or 13.89 m/s, and covers about 138.9 m. For positions at each instant, use d = ut + ½at².
How long does sunlight take to reach Earth?
About 8 minutes 19 seconds. The astronomical unit, set by the IAU in 2012 at exactly 149,597,870,700 m and close to the average Earth–Sun distance, divided by the speed of light, exactly 299,792,458 m/s, gives 499.005 s. Enter those two in metres and m/s and solve for time to reproduce it. Earth's orbit is slightly elliptical, so the real figure drifts about 8 seconds either side over the year, shortest in early January.

References& sources.

  1. [1]Thompson, A. & Taylor, B. N. (2008). Guide for the Use of the International System of Units (SI). NIST Special Publication 811, 2008 Edition. National Institute of Standards and Technology, Gaithersburg, MD. Section B.8 'Factors for Units Listed Alphabetically' provides the exact unit-conversion factors used by this calculator (1 mi = 1 609.344 m, 1 km/h = 1/3.6 m/s, 1 mph = 0.447 04 m/s).
  2. [2]Halliday, D., Resnick, R. & Walker, J. (2018). Fundamentals of Physics, 11th edition. Wiley. Chapter 2 'Motion Along a Straight Line', sections 2-1 through 2-3, on position, displacement, average speed, average velocity, and instantaneous speed. The textbook treatment behind every distinction made in this calculator's content.
  3. [3]International Organization for Standardization (2019). ISO 80000-3:2019 'Quantities and units — Part 3: Space and time'. Defines the kinematic quantities length, distance, time, speed, and velocity, including their preferred SI units and the relationship v = ds/dt that underlies the calculator's formula.
  4. [4]Bureau International des Poids et Mesures (2019). The International System of Units (SI), 9th edition. Section 2.3 'Coherent derived units in the SI'. Establishes m/s as the coherent SI unit of speed via the defining constants — the speed of light c = 299 792 458 m/s exactly fixes the metre, and the caesium hyperfine transition fixes the second.
  5. [5]Khan Academy — Physics: One-Dimensional Motion. 'Distance, displacement and coordinate systems' and 'Average velocity and average speed'. Open educational resource used as the canonical curriculum reference for the introductory speed-distance-time material targeted by this calculator.
  6. [6]International Astronomical Union (2012). Resolution B2 'On the re-definition of the astronomical unit of length'. Fixes 1 AU = 149 597 870 700 m exactly. The basis for the 8 min 19 s Sun-Earth light-time calculation cited in the FAQs.
  7. [7]Graubard, S. T. & Higham, D. J. (1994). 'How to take averages of speeds'. The Mathematical Gazette, 78(481), 47-49. Short peer-reviewed paper on the harmonic-mean treatment of average speed across equal-distance segments — the result cited in this calculator's round-trip FAQ.

How this page was produced

Published by
Quanta Calculator
Primary sources
7 cited below
Method
v = d ⁄ t
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon