Velocity Calculator
A rider who covers 15,000 m in 2,400 s averages 6.25 m/s, which is 22.5 km/h, 13.9809 mph, 20.5052 ft/s and 12.1490 knots. Enter your own starting position, ending position and two clock readings, and the calculator returns the displacement, the elapsed time and the velocity in all five units at once.
| Displacement (xf minus x0) | |
| Elapsed time (tf minus t0) | |
| Average velocity | |
| in km/h | |
| in mph | |
| in ft/s | |
| in knots | |
| Speed (magnitude) | |
| Direction | |
Formula: v = (xf - x0) / (tf - t0). Conversions use exact factors: 3.6, 1.609344, 0.3048 and 1.852 (NIST SP 811). The calculations run in your browser, and nothing you type is uploaded or stored.
Enter two positions and two times and get the average velocity in every common unit, with the worked steps shown beside each example.
Key takeaways
- Average velocity is v = (xf - x0) / (tf - t0): displacement over elapsed time (OpenStax College Physics 2e, 2022)
- 15,000 m in 2,400 s gives 6.25 m/s, which is 22.5 km/h, 13.9809 mph and 20.5052 ft/s
- Velocity carries a sign; speed does not. A full lap of a track can end with zero velocity and nonzero speed
- 1 m/s = 3.6 km/h exactly, and 1 mph = 0.44704 m/s exactly, from the NIST definition of the mile
- The knot is a nautical mile per hour, 1.852 km/h exactly, the maritime and aviation standard
On this page
- What velocity measures and how it differs from speed
- The average velocity formula and its variants
- Worked example: a bike commute in meters per second
- A conversion table anchored to exact definitions
- Worked example: velocity from two position readings
- Traps that skew a velocity result
- Where to go next with the trip numbers
What velocity measures and how it differs from speed
Speed tells you how fast something covers ground. Velocity tells you how fast and toward where. In physics the two words are not interchangeable: speed is a scalar that carries a magnitude alone, while velocity is a vector built from displacement over time. Drive 3 km to a store and 3 km back in 10 minutes and your average speed is a brisk 36 km/h, yet your average velocity is 0 km/h, because you finished where you started.
OpenStax College Physics 2e (Rice University, 2022) defines average velocity as displacement divided by the time over which that displacement occurs. Displacement is the final position minus the initial position, so a round trip cancels to zero no matter how many meters rolled under the wheels. Speed divides the path length instead, which is why it never drops below zero and why it can exceed the magnitude of the average velocity.
The sign of velocity is information, not clutter. A reading of -3 m/s points toward smaller position values, which is exactly what you want to know about a descending elevator or an ebbing tide. The calculator below keeps the sign on the velocity line and reports the speed separately, so both readings stay visible in one pass.
The average velocity formula and its variants
One formula does most of the work on this page. For motion along a line, the average velocity is v = (xf - x0) / (tf - t0), where x0 and xf are the positions at clock readings t0 and tf. The numerator is the displacement and the denominator is the elapsed time.
The Physics Classroom's 1-D kinematics overview (retrieved 2026) lists the same relation alongside its companion form for constant acceleration, where the average velocity equals (vi + vf) / 2. That companion is a shortcut, not a replacement: it holds when acceleration is uniform and fails on stop-and-go trips, where only displacement over time gives the true average.
Units matter as much as the formula. Pick meters with seconds, or kilometers with hours, and convert once at the end. The table later on this page anchors every conversion to an exact definition, so a number computed in m/s moves to km/h, mph, ft/s or knots without guesswork. Keep four decimals through the middle steps and round only when you quote the answer.
Worked example: a bike commute in meters per second
Suppose a commuter rides from a home marker at position 0 m to an office marker at 15,000 m, leaving at t = 0 s and clocking in at t = 2,400 s (40 minutes). Enter x0 = 0, xf = 15000, t0 = 0 and tf = 2400. The displacement is 15,000 m and the elapsed time is 2,400 s, so the average velocity is 15,000 / 2,400 = 6.25 m/s.
The unit lines follow from exact factors, and the table gathers them in one place. The calculator reproduces every value below from the same four inputs, so you can check any line against it.
| Unit | Factor applied to 6.25 m/s | Commute reading |
|---|---|---|
| km/h | multiply by 3.6 | 22.5 |
| mph | multiply by 3.6, then divide by 1.609344 | 13.9809 |
| ft/s | divide by 0.3048 | 20.5052 |
| knots | multiply by 3.6, then divide by 1.852 | 12.1490 |
The direction line reads positive, toward increasing position, because the rider ends 15,000 m past the start. A return trip with the same numbers reversed would print -6.25 m/s and a speed of 6.25 m/s.
A conversion table anchored to exact definitions
Speed and velocity units differ only in the length and time they bundle, so each factor below traces back to a definition rather than a measurement. NIST Special Publication 811, Appendix B.8 (2008) lists the mile as exactly 1,609.344 m, the foot as exactly 0.3048 m and the nautical mile as exactly 1,852 m, with the knot at 0.514444 m/s. The second and the meter are SI base units, which fixes 1 m/s at 3.6 km/h with no rounding at all.
| Unit | Exact definition | In m/s | In km/h |
|---|---|---|---|
| meter per second (m/s) | SI derived unit | 1 | 3.6 |
| kilometer per hour (km/h) | 1,000 m over 3,600 s | 0.277778 | 1 |
| mile per hour (mph) | mile = 1,609.344 m exactly | 0.44704 | 1.609344 |
| foot per second (ft/s) | foot = 0.3048 m exactly | 0.3048 | 1.09728 |
| knot (kn) | nautical mile = 1,852 m exactly | 0.514444 | 1.852 |
The 0.277778 entry is 1/3.6 rounded for display; the exact value repeats forever as 0.27777 and so on. Every other factor in the table is exact. That is why the worked example converts cleanly: 6.25 x 3.6 lands on 22.5 with no drift, and 22.5 / 1.852 returns 12.1490 knots to four decimals.
Worked example: velocity from two position readings
Motion sensors and checkpoint times rarely start at zero, and the formula does not care. A cart passes a sensor at position 12 m when the clock reads 2 s, then passes 52 m at 7 s. Enter x0 = 12, xf = 52, t0 = 2 and tf = 7. The displacement is 52 - 12 = 40 m, the elapsed time is 7 - 2 = 5 s, and the average velocity is 40 / 5 = 8 m/s.
The offsets in the inputs cancel before the division, which is why the first row of the table below matches a run started at position 0 and time 0.
Flip the direction to see the sign at work. A cart that slides from 20 m back to 8 m in 4 s posts a velocity of (8 - 20) / 4 = -3 m/s. The speed line shows 3 m/s, and the direction line reports motion toward decreasing position.
Both readings convert with the same four factors:
| Reading | m/s | km/h | mph | ft/s | knots |
|---|---|---|---|---|---|
| Forward pass, 12 m to 52 m | 8 | 28.8 | 17.8955 | 26.2467 | 15.5508 |
| Return slide, 20 m to 8 m | -3 | -10.8 | -6.7108 | -9.8425 | -5.8315 |
Traps that skew a velocity result
Four mistakes account for most wrong answers on this kind of problem.
- Mixing units inside one division. Kilometers over minutes is not km/h. Convert the distance and the time before dividing, or let the calculator hold everything in meters and seconds.
- Dividing path length when displacement is asked for. A 400 m lap in 50 s has an average speed of 8 m/s and an average velocity of 0 m/s. The two questions have different numerators.
- Zero elapsed time. Identical clock readings make the denominator zero, and no velocity exists. The widget flags this instead of printing an infinite value.
- Rounding mid-calculation. 15,001 m in 2,400 s gives 6.2504 m/s, and shaving digits early can move the fourth decimal. Round once, at the answer.
A fifth trap is conceptual: a speedometer shows instantaneous velocity, the limit over a shrinking interval, while this page computes the average across a whole window. On a steady highway leg the two agree; through a town with traffic lights, they will not.
That odometer subtlety is worth a sentence of its own. A trip meter counts wheel rotations, so tire wear or a different wheel size can shift the reading by a percent or two, while a satellite fix samples true position. Neither number is wrong; they answer different questions, and feeding one into a velocity calculation with the other's clock produces a result that looks precise and is not.
Where to go next with the trip numbers
Each companion page on this site picks up one piece of the same calculation. The average velocity calculator covers the constant-pace case with a distance and a duration. The displacement calculator works the numerator on its own, and the distance calculator handles the path length that feeds average speed. When the motion speeds up or brakes, the acceleration calculator takes the rate-of-change view of the same two clocks. Planning a drive rather than a physics lab? The driving time calculator flips the formula around to solve for hours, and the knots to mph converter covers the aviation and marine side of the table above.
Frequently asked questions
What is the formula for average velocity?
v = (xf - x0) / (tf - t0). A trip from position 12 m to 52 m between t = 2 s and t = 7 s covers 40 m in 5 s, so v = 8 m/s.
How do I convert m/s to km/h?
Multiply by 3.6, since 1 hour holds 3,600 seconds and 1 km holds 1,000 m. The worked commute example runs at 6.25 m/s, which is 6.25 x 3.6 = 22.5 km/h.
How many mph is 1 m/s?
One meter per second is 2.236936 mph, because the mile is exactly 1,609.344 m (NIST SP 811, 2008). The 6.25 m/s commute pace equals 13.9809 mph.
Can velocity be zero while speed is not?
Yes. Run one full 400 m lap in 50 s: the average speed is 8 m/s, but the start and end positions match, so the average velocity is 0 m/s.
What does a negative velocity mean?
The object moves toward smaller position values. Slide from x = 20 m to x = 8 m in 4 s and v = (8 - 20) / 4 = -3 m/s, with a speed of 3 m/s.
What is the SI unit of velocity?
Meters per second (m/s). Road signs use km/h or mph, marine and aviation charts use knots, and 1 knot is exactly 1.852 km/h (NIST, 2008).
How fast is 22.5 km/h in knots?
12.1490 knots, since a knot is one nautical mile (1,852 m) per hour: 22.5 / 1.852 = 12.1490.
How do I get velocity with constant acceleration?
Use v = v0 + a x t. A cart starting at rest with a = 2 m/s^2 reaches 10 m/s after 5 s.
Why does the calculator need two positions and two times?
Velocity is a change divided by a change. Reading position at two moments, like 12 m at t = 2 s and 52 m at t = 7 s, fixes both changes: 40 m and 5 s.
Is average velocity the same as (start plus end) divided by 2?
Only when acceleration is constant. For uniform motion the average of vi and vf equals the displacement over time; otherwise it does not.
Which is bigger, km/h or mph?
km/h. One mph is 1.609344 km/h, so 60 km/h is 37.2823 mph.
Why did my velocity come out with more decimals than my inputs?
Division rarely lands on a round number. The example 15,000 m in 2,400 s lands on 6.25, but 15,001 m would give 6.2504, and the calculator keeps four decimals to avoid drift.
Spotted a wrong number or a broken result?
More Math tools
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.