Speed Calculator Guide: How to Calculate Speed and Average Speed

Written and verified by Muhammad Haroon, founder of Numblox · Speed = distance ÷ time · km/h, mph and m/s · Worked examples · Updated 24 November 2026

Speed is the first quantity of motion physics, and its formula is one of the friendliest in science: divide how far something went by how long it took. This guide covers the formula, the three units you will meet (km/h, mph and m/s), how average speed really works, and worked examples whose answers match the calculator exactly.

Try it yourself: use the free Speed Calculator on Numblox — enter a distance in kilometres and a time in hours, and see the speed in km/h, mph and m/s together. Nothing you enter is stored or sent anywhere.

The speed formula

Speed = distance ÷ time

The same relationship rearranges into the other two forms of the distance–speed–time triangle:

Distance = speed × time
Time = distance ÷ speed

UnitUsed forConvert
km/hRoad speeds in most of the world, running and cycling appsmph = km/h × 0.621371; m/s = km/h ÷ 3.6
mphRoad speeds in the US and UKkm/h = mph ÷ 0.621371
m/sPhysics and engineering (the SI unit)km/h = m/s × 3.6

The m/s conversion is the one students trip over, so it is worth seeing why it works: one kilometre is 1,000 metres and one hour is 3,600 seconds, so 1 m/s = 3,600 ÷ 1,000 = 3.6 km/h. To go from km/h to m/s, divide by 3.6; to go back, multiply by 3.6.

How to use the calculator

Step 1: Enter the distance travelled, in kilometres.

Step 2: Enter the time it took, in hours (use decimals for part-hours: 30 minutes is 0.5).

Step 3: Read your speed in all three units at once: kilometres per hour, miles per hour, and metres per second.

Worked example 1 — a road trip: 100 km in 2 hours

Step 1: speed = 100 ÷ 2 = 50 km/h.
Step 2: in miles — 50 × 0.621371 = 31.07 mph.
Step 3: in SI units — 50 ÷ 3.6 = 13.89 m/s.

The calculator reports all three: 50 km/h, 31.07 mph, 13.89 m/s.

Worked example 2 — a marathon: 42.2 km in 3.5 hours

A runner finishes a marathon (42.2 km) in 3 hours 30 minutes — that is 3.5 hours.

Step 1: speed = 42.2 ÷ 3.5 = 12.06 km/h.
Step 2: 12.06 × 0.621371 = 7.49 mph; 12.06 ÷ 3.6 = 3.35 m/s.

An average of 12 km/h for three and a half hours is genuinely fast — elite marathoners average about 21 km/h.

Worked example 3 — a 5K run: 5 km in 30 minutes

Thirty minutes is 0.5 hours, so speed = 5 ÷ 0.5 = 10 km/h (6.21 mph, 2.78 m/s). Runners often quote pace instead — minutes per kilometre — which is the same information flipped over: 60 ÷ 10 = 6 minutes per km.

Worked example 4 — motorway driving: 300 km in 4 hours

Speed = 300 ÷ 4 = 75 km/h = 46.60 mph = 20.83 m/s. Notice the average is well below motorway cruising speed — fuel stops, traffic and slower stretches all pull an average down, which is exactly why journey planners use average speed, not top speed.

Average speed is not the average of speeds

Drive 60 km at 30 km/h, then 60 km at 60 km/h. The naive average is 45 km/h — but the true average speed is total distance ÷ total time: the first leg took 2 hours, the second 1 hour, so 120 km ÷ 3 h = 40 km/h. Slow sections cost more time than fast sections save, so the true average always leans toward the slower speed. Whenever a question gives you legs of a journey, add distances and add times — never average the speeds.

Common questions

How do I convert km/h to m/s? Divide by 3.6. For example, 50 km/h ÷ 3.6 = 13.89 m/s. To convert m/s back to km/h, multiply by 3.6.

How do I enter minutes in the calculator? Convert them to decimal hours first: minutes ÷ 60. Thirty minutes is 0.5 h, 15 minutes is 0.25 h, and 2 hours 30 minutes is 2.5 h.

What is the difference between speed and velocity? Speed is how fast; velocity is how fast in a stated direction. A car at 50 km/h has a speed of 50 km/h and a velocity of, say, 50 km/h north. This calculator works with speed — direction does not change the arithmetic.

How long will a 150 km trip take at 60 km/h? Time = distance ÷ speed = 150 ÷ 60 = 2.5 hours — two and a half hours, before stops.

Check your own numbers

Enter your distance and time in the Numblox Speed Calculator and compare with the formula above. Ready for the next step of motion physics? The Force Calculator Guide explains F = ma, and the Kinetic Energy Guide shows why speed matters twice over in energy.

Disclaimer: This article and the calculator provide general educational information and estimates only. Always double-check figures that matter for coursework grades, lab work, wiring, or safety.

Related: Speed Calculator · Force Calculator Guide · Kinetic Energy Calculator Guide · All free calculators

Real-world examples and common mistakes

A delivery driver covers 150 km in 2.5 hours: 150 / 2.5 = 60 km/h average — even though the speedometer showed 90 on the motorway, because stops, traffic and slow streets all count in the time. That is the first lesson of average speed: it is always total distance over total time, never the average of the speeds you saw. The common mistakes: entering minutes as hours (30 minutes is 0.5 h, not 30), mixing units — convert km/h to mph by multiplying by 0.621, and to m/s by dividing by 3.6 — and forgetting that a return trip at a different speed does not average out simply: 60 km/h out and 40 km/h back over the same road averages 48 km/h, not 50.