Guide · Science

How to Calculate Velocity From Distance and Time

Updated 2026-08-12 · 4 min read

Homework that says “find the velocity from distance and time” almost always wants

v_avg = Δx / t

or, if the writer is loose with words, speed_avg = distance / t.

Those are not the same sentence. Distance is how much ground you covered. Displacement Δx is how far you are from where you started, with a sign. Time t is the duration of that trip. The velocity calculator divides the length you type by the time you type. It cannot tell whether you meant a track lap or a straight hallway. That distinction is on you.

No account. The math stays in the tab.

Distance, displacement, and the word “velocity”

A hallway is 120 m long. You walk it in 8.0 s without turning around. Displacement is +120 m (pick a positive direction), distance is 120 m, and

v_avg = 120 m / 8.0 s = 15 m/s

along that hallway. Speed and the magnitude of velocity match.

Now walk to the end and back in a total of 16 s. Distance is 240 m, so average speed is 15 m/s still. Displacement is 0, so average velocity is 0. Instructors who write “velocity” on a closed loop are testing whether you noticed.

Lab timers usually measure a path: ticker tape, a motion sensor along a rail, two gates on a straight track. Those setups make distance and |Δx| the same, which is why the calculator’s “distance / time” field is still the right tool. Read the problem for turns.

The unit pairs that work

Displacement or distanceTimeResult
msm/s
kmhkm/h
cmscm/s
mihmph

Illegal mixes: kilometers with seconds, meters with hours, miles with minutes, unless you convert one of them.

km/h from m and s. After you have 15 m/s, 15 × 3.6 = 54 km/h. Do not do 120 km / 8.0 s. That is a different (wrong) problem.

Minutes. A 400 m run in 1.25 min is 400 m / 75 s = 5.33 m/s, not 400 / 1.25.

cm in a ticker-timer lab. 8.4 cm in 0.20 s is 42 cm/s = 0.42 m/s. If the next question is kinetic energy, you need m/s and kg, not cm/s and grams left unconverted.

The speed converter is for changing a finished value among m/s, km/h, mph, and ft/s. Use it after the division is honest.

Crossing 120 m in 8.0 s

A dynamics track is 1.20 m long. A cart trips the start gate and the end gate 0.080 s later. That is a short interval, so this average is close to the speed in the middle of the track if the acceleration is modest.

v_avg = 1.20 m / 0.080 s = 15 m/s

Same arithmetic as the hallway, different apparatus. If the gates are 1.20 m apart but the cart is accelerating hard, 15 m/s is still the average over that meter; it is not the speed at either gate.

Suppose instead a problem gives 1.20 km in 8.0 min:

1.20 km = 1200 m
8.0 min = 480 s
v_avg = 1200 / 480 = 2.5 m/s

People who divide 1.20 by 8.0 get 0.15 and then guess a unit. That guess is how lab reports lose marks.

Instantaneous versus the homework average

A position–time graph that is a straight line has constant velocity; the slope is v, and average equals instantaneous everywhere. A curve has a changing slope. One pair of points gives the slope of the secant, which is v_avg for that interval. The tangent is instantaneous.

A car’s speedometer is closer to instantaneous than a trip computer’s “average since reset.” Neither is a = Δv/t. If you need acceleration, you need two velocities (or a v–t slope), not one distance and one time. See how to calculate acceleration.

Uniform circular motion at constant speed has changing velocity (direction) and nonzero centripetal acceleration, while the speed from distance/time around the circle is steady. Distance/time will not show that.

Signed answers and relative motion

If the axis is “right is positive” and the object moves left 12 m in 3.0 s, v_avg = −4.0 m/s. Dropping the sign is wrong if a later part asks for momentum or for whether two velocities are in the same direction.

Relative velocity in one dimension is subtraction: v_AB = v_A − v_B. Distance and time give each object’s velocity relative to the ground first. Do not divide “distance between them” by time unless that distance is the displacement of one object in a frame you have defined.

After you have m/s

Copy the number with its unit. If the rubric wants km/h, convert once. If the next item is acceleration and you now have two gate speeds and a time between them, switch formulas. If the next item is kinetic energy, you still need mass, and speed must be in m/s for joules.

The velocity calculator is the division step. It does not choose displacement versus path length, and it does not convert units unless you already entered matching ones. For a table of speed units, use the speed converter or the notes in how to convert speed units.

Frequently asked questions

Is average velocity just distance divided by time?

Average speed is path length divided by time. Average velocity is displacement (straight-line change in position, with direction) divided by time. They match only when the path is a straight line in one direction.

What units should I use?

SI velocity is m/s: meters of displacement over seconds. If you have km and hours, you can stay in km/h, but do not mix km with seconds unless you convert. 1 m/s = 3.6 km/h.

A runner goes 400 m around a track in 50 s and finishes where they started. What is the average velocity?

Zero. Displacement is zero. Average speed is 400 m / 50 s = 8.0 m/s. The wording in the question decides which one you report.

Can I get instantaneous velocity from one distance and one time?

No. One interval gives an average. Instantaneous velocity is the slope of position versus time at a point, or a speedometer reading at that instant. Two photocells a meter apart give a better average, not a true instantaneous value.

How do I convert 15 m/s to km/h?

Multiply by 3.6: 15 × 3.6 = 54 km/h. The speed converter does that after you have a trusted m/s value. Converting first and then dividing by the wrong time unit is how 54 becomes garbage.

Does the velocity calculator require an account?

No. It runs in the browser. You enter distance or displacement and time; it does not upload a file.

More reading that links back to the same tools and workflows.