Audited ·Last updated 27 Jul 2026·7 citations·Tier 1·0 uses

Speed Distance Time Calculator

Free speed distance time calculator — solve v = d/t, d = v×t, or t = d/v across m/s, km/h, mph, kilometres, miles, seconds, minutes, and hours.

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 v = d / t, reported in the unit selected in the speed-unit menu (m/s, km/h, or mph). For the constant-speed case this is also the instantaneous speed at every moment of the journey.
Distance
100
Time
2
Speed in SI units
13.8889 m/s

Background.

This speed distance time calculator solves the most fundamental relationship in mechanics — distance equals speed multiplied by time, or v = d / t in its everyday rearranged form — for whichever of the three quantities you do not already know. Pick a 'solve for' mode, enter the two known values in your preferred units (the tool handles m/s, km/h, and mph for speed; metres, kilometres, and miles for distance; seconds, minutes, and hours for time), and the calculator returns the missing quantity together with the full self-consistent set, including the canonical SI speed in metres per second so you can verify the unit conversions independently.

The equation v = d / t is the operational definition of average speed and the first quantitative statement most students meet in physics: it sits at the doorway between geometry (lengths) and dynamics (motion), and from it follow every kinematic equation that comes later — constant-acceleration SUVAT, projectile motion, orbital mechanics, special relativity's velocity-addition formula, even the optical light-second used to compute astronomical distances.

In practical life the same three quantities and one equation answer an astonishing range of questions: how long will my 480 km drive from Mombasa to Nairobi take at an average 80 km/h (six hours plus rest stops); how fast is Usain Bolt's world-record 100 m in 9.58 s (10.44 m/s average, with a peak of 12.42 m/s in the 60 to 80 m segment per IAAF biomechanics); what is the pace per mile of a 3:30 marathon (8 minutes per mile, or 7:58 per mile to be exact); how long does light from the Sun take to reach Earth (the 1 AU distance of 149 597 870 700 m divided by c = 299 792 458 m/s gives 499.0 s, eight minutes nineteen seconds); how far has a passenger jet at 900 km/h cruise speed travelled during a 70-minute meal service (1050 km, roughly the length of Italy); and what cruise speed do I need to maintain to make my 200 mile drive in three and a half hours (57.14 mph average, accounting for nothing but pure highway motion).

The reason a single calculator can answer all of those is that 'speed' in physics is a scalar — a single non-negative number with units of length over time — that ignores the direction of travel. (Its directional cousin velocity, a vector, requires the same arithmetic but with sign or 2D/3D components, which is treated in the dedicated velocity and projectile-motion calculators.)

The widget below converts every input through NIST SP 811's exact factors (1 mile = 1 609.344 m, 1 km/h = 1/3.6 m/s, 1 mph = 0.447 04 m/s, 1 hour = 3 600 s — all exact by international agreement), performs the division or multiplication in full Decimal precision to avoid the floating-point drift that plagues naive JavaScript arithmetic, and converts the result back to your chosen display unit.

Below the calculator you will find the algebraic derivation of all three rearrangements (v = d / t, d = v × t, t = d / v) from the single definition; a worked example covering both a road-trip scenario and an athletics pace question; a reference table of human and natural speeds spanning eleven orders of magnitude from continental drift (2.5 cm/year) to the speed of light; an honest treatment of average versus instantaneous speed and why the simple v = d / t breaks down for variable-speed motion (the answer: the harmonic mean, not the arithmetic mean, governs equal-distance averaging); and how the same equation is used in athletics pace tables, marine navigation (knots and nautical miles), aviation (true airspeed versus ground speed), and astronomical distance measurement (the light-year, the light-second, and the radar-ranging of asteroids).

What is speed distance time calculator?

Speed is the rate at which an object covers distance — the magnitude of how fast it is moving, regardless of which way. The SI unit is the metre per second (m/s), but for human-scale problems most of the world uses kilometres per hour (km/h) and the United States plus a handful of others use miles per hour (mph). Mathematically, the simplest case is uniform motion: an object that covers equal distances in equal intervals of time, for which speed v = d / t is a single well-defined number that holds for any interval you pick. For non-uniform motion — every real journey, since cars accelerate, brake, and idle — v = d / t gives the average speed over the chosen interval, computed by dividing the total distance by the total elapsed time. The instantaneous speed, the value a speedometer reads, is the limit of that average as the interval shrinks to zero: v = dx/dt, the time derivative of position. Two distinctions are worth pinning down because they trip up students and journalists alike. First, speed is a scalar; velocity is a vector. A car that drives 100 km north then 100 km south in two hours has an average speed of 100 km/h (it covered 200 km in 2 h) but an average velocity of zero (its displacement is zero — it ended where it started). The calculator here computes speed, not velocity, which is the right tool for travel-time and pace questions but the wrong tool when direction matters (use the velocity or projectile-motion calculators for those). Second, average speed is not the arithmetic mean of segment speeds when the segments are of equal distance rather than equal time. Drive 60 km at 60 km/h and 60 km at 120 km/h — the average speed is not (60 + 120) / 2 = 90 km/h, it is the harmonic mean 2 × 60 × 120 / (60 + 120) = 80 km/h, because you spent twice as long in the slower segment. This is one of the most common bookkeeping errors in everyday physics; the calculator avoids it by always working from total distance and total time rather than averaging segment speeds.

How to use this calculator.

  1. Decide which quantity you want the calculator to compute — speed, distance, or time — and choose it from the 'Solve for' menu at the top of the widget.
  2. Set the three unit selectors to the units you want to work in: speed in m/s, km/h, or mph; distance in m, km, or mi; time in s, min, or h. The calculator converts internally to SI but reports results in your chosen display units.
  3. Enter the two known quantities in those units. If you are solving for speed, enter distance and time; for distance, enter speed and time; for time, enter speed and distance. The field corresponding to your unknown is ignored, so its value does not matter.
  4. Read the headline result in your chosen display unit, plus the canonical SI speed in metres per second underneath — the SI value is the same regardless of which display unit you picked, and is a useful sanity check on the conversion.
  5. For a road-trip estimate, set solveFor = 'time', enter your route distance in km (or mi) and your realistic average speed in km/h (or mph) — note that motorway cruise speed minus rest stops, fuel, and traffic typically averages 70 to 80% of the posted limit.
  6. For an athletics pace conversion, set solveFor = 'speed', enter distance = 1 km or 1 mi and time = your target split, and read off the average pace; alternatively set solveFor = 'time' with a known target pace and the race distance to predict your finish time.
  7. For a 'how far did I travel' question (light from the Sun, a plane during an hour of flight, a car during a known driving session), set solveFor = 'distance' and enter your cruise speed and elapsed time.

The formula.

v = d ⁄ t

The defining relation and its three algebraic rearrangements are:

v = d / t (definition of average speed) d = v × t (solve for distance — distance is the area under a speed-vs-time graph) t = d / v (solve for time)

Given any two of {v, d, t}, the third follows immediately. Internally the calculator does not perform this arithmetic in the user's chosen units directly — it converts every input to SI base units first, computes in m, s, and m/s, then converts the result back. The conversion chain uses exact factors from NIST Special Publication 811 (2008 edition):

distance: 1 m = 1 m (base) 1 km = 1 000 m (exact) 1 mi = 1 609.344 m (exact, international mile, since 1959)

time: 1 s = 1 s (base) 1 min = 60 s (exact) 1 h = 3 600 s (exact)

speed: 1 m/s = 1 m/s (base, SI) 1 km/h = 1/3.6 m/s (exact, = 1000 m / 3600 s) 1 mph = 0.447 04 m/s (exact, = 1 609.344 m / 3 600 s)

So a journey of 100 km in 2 h is internally 100 000 m divided by 7 200 s = 13.888… m/s, then converted back as 13.888… × 3.6 = 50 km/h. The full-precision intermediate is held in Decimal.js to avoid floating-point drift on awkward ratios like 1/3.6; the rounding you see in the output is purely cosmetic. Three guards are baked in. First, all three numerical inputs must be strictly positive — zero distance over zero time is mathematically indeterminate, and zero speed gives an infinite travel time, so the calculator raises an InvalidInputError rather than returning Infinity or NaN. Second, the equation v = d / t assumes constant speed (or, equivalently, gives the average speed of variable motion). For genuinely variable motion you should feed it the total distance and total elapsed time of the segment you care about, not the speed at any single moment. Third, the equation is non-relativistic — it assumes v is far below the speed of light c = 299 792 458 m/s, which is true for every terrestrial application but breaks down for particle accelerators and astronomical objects with appreciable redshift, where the relativistic velocity-addition formula and proper time replace the simple v = d / t.

A worked example.

Example

The textbook road-trip case. You drive 100 kilometres in 2 hours of total elapsed time (including a brief coffee stop), and you want to know your average speed. Set solveFor = 'speed', distance = 100, time = 2, with units km, hours, and km/h. The calculator returns v = 100 / 2 = 50 km/h. Under the bonnet it converts the inputs to SI first — 100 km becomes 100 000 m, 2 h becomes 7 200 s — divides to get 13.8889 m/s, and converts back: 13.8889 × 3.6 = 50 km/h exactly. The canonical SI speed of 13.89 m/s is also reported, which you can cross-check by multiplying 50 km/h by the exact factor 1/3.6 — they match. Now flip the same scenario: you want to know how long the trip takes at 50 km/h. Switch solveFor to 'time', leave distance = 100 and speed = 50, and the calculator returns t = 100 / 50 = 2 h, equivalently 120 min, equivalently 7 200 s — same SI value, three display units. And once more, for the 'how far' version: at 50 km/h for 2 h, set solveFor = 'distance' and read d = 100 km. Three rearrangements of one equation, one self-consistent journey. The same workflow handles athletics: a marathon (42.195 km) run in 3 h 30 min (3.5 h) gives an average speed of 12.06 km/h, which is a pace of 8:00 per mile or 4:58 per kilometre — well above club-runner standard, just below sub-elite. And the same workflow handles astronomy: light from the Sun covers 149 597 870.7 km in t = 149 597 870.7 / 299 792.458 = 499.0 s = 8 min 19 s, the canonical Sun-Earth light-travel time used to time-stamp solar observations.

distance Unitkm
speed Unitkmh
distance100
time2
solve Forspeed
time Unith

Frequently asked questions.

What is the formula for speed, distance, and time?
Speed equals distance divided by time: v = d / t. Rearranging gives the two sister equations: distance equals speed multiplied by time (d = v × t), and time equals distance divided by speed (t = d / v). All three are the same physical relationship written three ways, and given any two of the three quantities the third follows immediately. The SI units are metres per second for speed, metres for distance, and seconds for time, but the algebra works in any consistent set of units — km/h with km and h, mph with mi and h, and so on — as long as you do not mix incompatible units in a single calculation.
What is the difference between average speed and average velocity?
Speed is a scalar — a single non-negative number describing how fast an object is moving, ignoring direction. Velocity is a vector — speed plus direction. Average speed is total distance travelled divided by total elapsed time; average velocity is total displacement (the straight-line vector from start to finish) divided by elapsed time. The classic illustration: drive 100 km north then 100 km back south in 2 hours, and your average speed is 200 km / 2 h = 100 km/h, but your average velocity is zero (your net displacement is zero — you ended where you started). For most travel-time, pace, and unit-conversion questions, average speed is what you want, which is what this calculator returns. Use the velocity or projectile-motion calculators when direction matters.
How do I average two different speeds for a round trip?
Use the harmonic mean, not the arithmetic mean — provided the two segments cover equal distances. If you drive distance d at speed v₁ and the same distance d back at speed v₂, your total distance is 2d, your total time is d/v₁ + d/v₂, and your average speed is 2d / (d/v₁ + d/v₂) = 2·v₁·v₂ / (v₁ + v₂). So 60 km/h out and 120 km/h back averages 2·60·120 / 180 = 80 km/h, not 90. The reason is that you spend twice as long in the slower segment, so it weights more heavily. For equal-time segments (the rarer case) the simple arithmetic mean (v₁ + v₂)/2 is correct. To avoid the trap entirely, always plug total distance and total time into this calculator — it cannot be fooled by segment-averaging.
How do I convert km/h to mph and vice versa?
Multiply km/h by 0.621 371 to get mph; multiply mph by 1.609 344 to get km/h. The exact factor is 1 mi = 1 609.344 m, so 1 mph = 1 609.344 / 3 600 = 0.447 04 m/s and 1 km/h = 1 000 / 3 600 = 0.277 778 m/s. Useful round numbers: 100 km/h ≈ 62 mph, 60 mph ≈ 96.6 km/h, 30 mph ≈ 48 km/h, 200 km/h ≈ 124 mph. The calculator handles the conversion automatically when you switch the speed-unit selector — internally everything is reduced to m/s in full Decimal precision before any arithmetic, so you never accumulate the rounding errors that come from doing the conversion by hand.
Why are the SI units of speed metres per second?
Because the metre is the SI base unit of length and the second is the SI base unit of time, and the natural unit of any rate-of-change is the base unit of the numerator divided by the base unit of the denominator. The metre is defined by fixing the speed of light c = 299 792 458 m/s exactly (BIPM, 2019 SI brochure), and the second is defined by the caesium-133 hyperfine transition (9 192 631 770 oscillations). So m/s is the unit chosen to make c come out as a round integer. For everyday use km/h and mph remain more legible (90 km/h is more intuitive than 25 m/s), but every primary physics equation — Newton's laws, the kinematic equations, the wave equation, the relativistic velocity-addition formula — is written in m/s, which is why the calculator always reports the SI value alongside your chosen display unit.
How do runners calculate pace per mile or per kilometre?
Pace is the inverse of speed: minutes per unit distance instead of distance per unit time. Convert by computing t / d for your target distance d. A 4-minute kilometre is a pace of 4 min/km, equivalent to a speed of 15 km/h or 9.32 mph; a 6-minute mile is a pace of 6 min/mi, equivalent to a speed of 10 mph or 16.09 km/h. To convert between min/km and min/mi, multiply min/km by 1.609 344 (so 4:00 per km = 6:26 per mi). The world-record marathon pace (Kelvin Kiptum, 2:00:35 in 2023) is 4 minutes 36 seconds per mile, or 2 minutes 51 seconds per kilometre, or 21.13 km/h — sustained for 42.195 km. The calculator's solveFor = 'speed' mode gives you the average speed directly; invert it (1 / v with appropriate unit handling) for the pace.
How long does light from the Sun take to reach Earth?
About 499 seconds, or 8 minutes 19 seconds. The mean Earth-Sun distance is one astronomical unit (1 AU = 149 597 870 700 m exactly, IAU 2012 definition); the speed of light in vacuum is c = 299 792 458 m/s exactly; the travel time is t = d / c = 499.005 s, or 8 min 19.005 s. The number drifts by about ±8 s over the year because Earth's orbit is slightly elliptical (closer in January at perihelion, farther in July at aphelion). This 'light-time' is why solar observations are time-stamped with both the Earth-receipt time and the inferred Sun-emission time — the Sun you see at sunset actually emitted that light when you were already eight minutes into your commute home. The same arithmetic, fed any astronomical distance and c, gives a corresponding light-time: 1.28 s to the Moon, 5.5 hours to Pluto at average distance, 4.24 years to Proxima Centauri.
What is the difference between speed and velocity in physics?
Speed is a scalar with units of length over time; velocity is a vector with the same magnitude as speed but also a specified direction. A car moving at 60 km/h on a straight road has a speed of 60 km/h and a velocity of 60 km/h east (or whatever direction the road points). When the car rounds a corner at constant 60 km/h, its speed does not change but its velocity does, because direction is changing — and a changing velocity, by Newton's second law, requires a net force, which is supplied by friction between the tyres and the road (it is also why you feel pushed sideways through corners). For straight-line constant-direction motion the two are numerically interchangeable, which is why everyday language uses 'speed' and 'velocity' loosely. In physics the distinction matters whenever directions or vectors enter the problem — projectile motion, orbital mechanics, fluid flow, electromagnetism.
Why do my driving travel-time estimates always come out too short?
Because the simple distance / speed formula assumes constant speed for the entire journey, and real road travel includes accelerations, decelerations, traffic, junctions, fuel and rest stops, navigation errors, and parking time at the destination — none of which are captured by the formula. A rule of thumb used by logistics companies and trip-planning software is to take 70% to 85% of the posted speed limit as the realistic long-distance average. So a 500 km motorway journey on a 110 km/h road is closer to 5.5 hours of total elapsed time than the naive 500 / 110 = 4.55 hours. For shorter urban trips the gap is even larger because traffic lights and congestion dominate. To get a more realistic answer from this calculator, enter your expected sustained average speed rather than the posted limit, or run it twice — once optimistically and once pessimistically — to bracket the likely arrival time.
What is the fastest known speed in physics?
The speed of light in vacuum, c = 299 792 458 m/s exactly (about 1.08 × 10⁹ km/h or 6.71 × 10⁸ mph). This is not just the fastest measured speed — Einstein's 1905 special-relativity postulate makes it the upper bound on any signal or massive object's speed in any inertial frame, and a century of experimental tests have confirmed it. Massive objects approach c asymptotically but cannot reach it; the most energetic cosmic ray ever detected (the 'Oh-My-God particle', 1991) was a proton moving at 99.999 999 999 999 999 999 995 1% of c, fast enough to traverse the galaxy in 30 000 years of its own proper time. Light itself, electromagnetic waves of any frequency, neutrinos to very high precision, and gravitational waves (confirmed by LIGO in 2015) all travel at exactly c in vacuum. Inside a medium light slows down to c/n where n is the refractive index — about c/1.33 in water and c/1.5 in glass.

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.

In this category

Embed

Quanta Pro

Paid features are coming later.

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