Travel time from two known numbers

The question behind this page is a common one: given how far something has to go and how fast it moves, how long will it take? It applies to a runner approaching a finish line, a conveyor belt moving parts, a sound wave crossing a room or a light pulse reaching the Moon. The page returns the time in seconds, the SI base unit, which you can then convert into minutes or hours for presentation. The answer rests on one assumption, that the speed you enter represents the whole trip. For a journey with stops or changes in pace, enter the mean speed over the full interval.

Dividing distance by speed to get time

Time equals distance divided by speed, t = d / v. With distance in meters and speed in meters per second the quotient is in seconds. The speed in the denominator must be positive, because a stationary object would never arrive, and a distance cannot be negative when you ask for a duration. Rearranging the familiar equation d = v × t is the source of this form, and it is one of three companion pages that solve the same relation for speed, time or distance. The inputs and outputs are scalars: no direction is involved, and the page does not determine a route.

Ten meters at five meters per second

The page opens with a distance of 10 m and a speed of 5 m/s. Dividing gives 2 s. This setup mirrors the companion speed page, where 10 m in 2 s gives 5 m/s, so you can move between the two to check that the relationship closes. Doubling the distance doubles the time, and doubling the speed halves it. Those proportional rules are useful for quick estimates: a trip of the same length at twice the speed takes half as long, which is why small speed gains matter little on a short trip and add up on a long one. A cyclist who raises an average from 5 m/s to 6 m/s saves about 17 percent of the time on a fixed route, while the same change from 20 to 21 m/s saves under 5 percent. That diminishing return follows from the division, because time falls in proportion to the reciprocal of speed. Plotting time against speed produces a curve that flattens quickly, so slow stretches of a route offer the most room for improvement.

Light and sound over long distances

The average distance from Earth to the Moon is about 384,400,000 m. At the speed of light, 299,792,458 m/s, light takes about 1.282 s to cover it, which is the delay in a radio conversation with the Moon. The astronomical unit, defined as exactly 149,597,870,700 m, divided by the speed of light gives about 499.0 s, or a little over 8 minutes, for sunlight to reach Earth. Sound is far slower. At 343 m/s in air, a kilometer takes about 2.915 s, which is why thunder lags behind lightning. These cases show how the same division handles very different scales.

Walking, cycling and driving

Everyday trips use the same formula. A pedestrian covering 5,000 m at a typical 1.4 m/s needs about 3,571 s, which is a little under an hour. A marathon of 42,195 m at an average of 5.8 m/s takes about 7,275 s, or roughly 2 hours 1 minute. For driving, convert the speed from km/h by dividing by 3.6: a highway pace of 100 km/h is about 27.78 m/s. These results are the time at constant speed and exclude stops, traffic and slow sections. Planners add allowances for those to the computed time rather than lowering the speed arbitrarily.

Converting units before you start

Convert distance to meters and speed to meters per second, or the answer will be wrong by a factor. Kilometers multiply by 1,000, miles by 1,609.344, feet by 0.3048 and nautical miles by 1,852. Speeds in km/h divide by 3.6, in mph multiply by 0.44704, and in knots multiply by about 0.5144. Once you have seconds, divide by 60 for minutes and by 3,600 for hours. A result of 3,571 s becomes 59.5 minutes. Keeping everything in SI inside the calculation and converting only at the end is the safest habit, and it avoids mixing a speed in km/h with a distance in meters.

Using a mean speed

If speed changes during the trip, the page cannot follow the changes, so you must supply an appropriate mean. For a trip in two legs of equal distance, the correct mean is the harmonic mean, not the simple average: going 10 km at 50 km/h and 10 km at 100 km/h averages about 66.7 km/h, not 75, because more time is spent at the lower speed. For equal times at two speeds the simple average is right. Working out the time for each leg and adding them is often clearer. The page does the division, but choosing the speed is the part that needs judgment.

Checking the answer for sense

A quick plausibility check catches most input errors. A walk of a few kilometers should take tens of minutes, a car trip across a city a few minutes to an hour, and light crossing a room a few nanoseconds. If the page returns a time that disagrees with these anchors by a factor of 10, 60 or 1,000, a unit was probably wrong, such as kilometers entered for meters. Entering a speed of zero is rejected because division by zero has no finite result. Negative values also make no sense for this calculation. Another useful check is to run the result back through the relation. If the page says 2 s for 10 m at 5 m/s, then 5 m/s × 2 s must give 10 m again. A mismatch means the numbers were mistyped. For results that run to thousands of seconds, convert to hours and minutes before judging the plausibility, since 7,275 s is hard to picture and 2 hours 1 minute is not. Keep the unrounded seconds for later calculations, and round only the figure you show to readers, which avoids accumulating small errors.

What the result does not cover

The output is an idealized scalar relationship between distance, speed and time. It does not choose a route, account for acceleration at the start and end, or include rest stops. It also cannot confirm legal travel times, schedules or deadlines, and no project-specific design or safety approval follows from it. Use it as the arithmetic step in a plan and then add the allowances that real conditions need.