The formula
How to calculate velocity
Velocity is displacement over time. Strictly it is a vector including direction, while speed is its magnitude — a runner completing a lap has considerable speed and zero average velocity.
This gives average velocity over the whole interval. Instantaneous velocity — what a speedometer shows — requires the limit as the time interval approaches zero, which is where calculus enters.
What to enter:
- Distance (m)
- Time (s)
Everything recalculates as you type, and the numbers in the address bar update with it, so a link to this page carries your figures with it.
The calculation runs on exactly the numbers currently in the fields above, recomputed in full each time — there is no dependency on the order values are entered in, so adjusting one input to test a scenario and then changing it back leaves the result exactly where it started.
Why velocity matters
The formula behind velocity is standard and appears in the same form across textbooks and reference material; what a calculator adds is speed and the ability to see instantly how the result responds to a change in any one of the inputs, which is far slower to do by hand.
Beyond a single check, the same calculation is worth rerunning whenever a measured input changes — a new reading, a corrected value, an updated assumption — since the result here always reflects exactly what is currently in the fields above rather than a value calculated once and then left stale.
This calculation sits in a long tradition of being done first by hand with tables and slide rules, then with a scientific calculator, and now with a page like this one — the underlying mathematics has not changed at any point in that history, only the speed and convenience of getting from the inputs to the answer. Understanding the formula itself, shown above, is still worth doing even when a tool computes it instantly, since it is what makes the result trustworthy rather than just fast.
In practice, a formula like this one is most often reached for at the exact moment a manual calculation needs checking against a deadline — a lab report due, a problem set to submit — which is precisely the situation where a small arithmetic slip is easiest to miss and most costly to leave uncorrected. Running the same inputs through an independent calculator catches that class of error reliably.
Worked example
Take the figures the calculator starts with:
- Distance: 400 m
- Time: 45 s
That gives:
- Velocity: 8.8889 m/s
- In km/h: 32 km/h
- In mph: 19.8839 mph
The figures above are the calculator's own default values, shown purely so the working is visible rather than hidden — the same steps apply exactly to your own numbers, entered in the fields at the top of this page.
Reading the result
Useful conversions: 10 m/s is 36 km/h, 27.8 m/s is 100 km/h, and a four-minute mile averages about 6.7 m/s. The defaults here are a 400 m lap in 45 seconds.
Where this goes wrong. Averaging speeds rather than times. A journey out at 60 km/h and back at 30 km/h averages 40 km/h, not 45 — the slower leg takes longer, so it carries more weight.
A result that is wrong by an exact factor of ten, a hundred or a similar round number is almost always a units error rather than a mistake in the formula itself — checking each input against the unit stated beside it is the fastest way to track it down.
Speed is a scalar with magnitude only. Velocity is a vector with magnitude and direction, so it changes when you turn a corner even at constant speed.
Multiply by 2.23694. Going the other way, multiply mph by 0.44704.
It returns velocity. With 400 m distance and 45 s time, that comes to 8.8889 m/s. Change any field and the figure moves with it.
Generally, no more than the least precise input justifies — a result reported to six decimal places from inputs measured to two significant figures is implying a precision the calculation does not actually have. The calculator shows full precision so you can round appropriately for your own use.
Yes — the equation shown in the formula section above is the standard form used in textbooks and reference material for this calculation, not a simplified or approximate version.
Yes, in the sense that it applies the correct standard formula and returns an accurate result for the inputs given — but check your own course or publication's requirements for how results should be rounded, presented and referenced, since those conventions vary and are not something a calculator can know on your behalf.