Quick answer: To calculate speed, divide the distance traveled by the time it took: speed = distance / time. For example, driving 240 kilometers in 3 hours gives 240 / 3 = 80 km/h. Keep your units consistent (miles with hours, meters with seconds) and you will get a correct answer every time.
Speed is one of the first measurements most of us learn to read. It sits on every car dashboard, every treadmill display, and every race result. Yet many people still guess at it instead of calculating it. This guide walks through the speed formula step by step, with real numbers from driving, cycling, walking, and sprinting, so you can work out any speed with confidence.
What Is the Formula for Speed?
The formula is short and never changes:
Speed = Distance / Time
Distance is how far something traveled. Time is how long the trip took. Speed tells you how much distance is covered per unit of time, which is why speed units always pair a distance with a time: kilometers per hour (km/h), miles per hour (mph), or meters per second (m/s).
The formula is one third of a famous trio. The same relationship also gives you distance = speed x time and time = distance / speed. Learn one, and you can rearrange it to find any of the three.
How Do You Calculate Speed Step by Step?
Follow these five steps for any speed problem:
- Write down the distance. Note the number and its unit, for example 240 kilometers.
- Write down the time. Note the number and its unit, for example 3 hours.
- Match the units. Distance and time must belong to compatible units. If time is in minutes, convert it to hours first by dividing by 60. If distance is in meters and you want m/s, keep seconds.
- Divide distance by time. 240 km / 3 h = 80 km/h.
- Label the answer with units. A number without units is meaningless. Write 80 km/h, not just 80.
Here is a second worked example with a unit conversion inside it. Suppose you cycle 30 kilometers in 1 hour 15 minutes. First convert the time: 15 minutes is 15 / 60 = 0.25 hours, so the total is 1.25 hours. Then divide: 30 / 1.25 = 24 km/h. In miles per hour that is 24 x 0.621371 = 14.91 mph.
Worked Speed Examples with Real Numbers
These examples use numbers you can check on a calculator:
- Highway driving: 240 km in 3 h = 80 km/h (49.71 mph). Check: 80 x 3 = 240.
- Cycling: 30 km in 1.25 h = 24 km/h (14.91 mph). Check: 24 x 1.25 = 30.
- Walking: 5 km in 1 h = 5 km/h (3.11 mph). Check: 5 x 1 = 5.
- Running a 5K: 5 km in 25 min = 5 / 0.4167 = 12 km/h (7.46 mph). Check: 12 x 0.4167 = 5.
- Sprinting: Usain Bolt’s 100-meter world record of 9.58 seconds gives 100 / 9.58 = 10.44 m/s, which is 10.44 x 3.6 = 37.58 km/h (23.35 mph).
- Marathon: 42.195 km in 2 h 1 min 9 s (2.019 hours) gives 42.195 / 2.019 = 20.90 km/h (about 12.98 mph).
Want to skip the hand math? Try it in our speed distance time calculator and compare the results with your own numbers.
How Do You Convert Speed Between Units?
Speed problems often mix units. These are the exact conversion factors:
- km/h to mph: multiply by 0.621371. Example: 80 km/h = 49.71 mph.
- mph to km/h: multiply by 1.609344. Example: 60 mph = 96.56 km/h.
- m/s to km/h: multiply by 3.6. Example: 10 m/s = 36 km/h.
- km/h to m/s: divide by 3.6. Example: 36 km/h = 10 m/s.
- mph to m/s: multiply by 0.44704. Example: 60 mph = 26.82 m/s.
A useful shortcut: 1 m/s is exactly 3.6 km/h, so metric speeds convert cleanly. Imperial conversions use the longer decimals above, so round your final answer to two decimals.

Common Speeds You Can Compare Against
Sanity-check your answers against these everyday speeds:
| Activity | km/h | mph | m/s |
|---|---|---|---|
| Brisk walking | 5 | 3.11 | 1.39 |
| Jogging | 10 | 6.21 | 2.78 |
| Cycling | 25 | 15.53 | 6.94 |
| City driving | 50 | 31.07 | 13.89 |
| Highway driving | 100 | 62.14 | 27.78 |
| High-speed train | 300 | 186.41 | 83.33 |
| Passenger jet | 900 | 559.23 | 250.00 |
If your calculation says a jogger ran at 60 km/h, something went wrong with the units. Comparing against this table catches most mistakes instantly.
How Do You Get Speed from Pace?
Runners often know their pace instead of their speed. Pace is time per distance, the inverse of speed, and it converts easily:
- Minutes per kilometer to km/h: divide 60 by the pace. A 6 min/km pace is 60 / 6 = 10 km/h.
- Minutes per mile to mph: divide 60 by the pace. An 8 min/mile pace is 60 / 8 = 7.5 mph.
- Seconds per 100 meters to m/s: divide 100 by the seconds. A 15-second 100 m is 100 / 15 = 6.67 m/s.
Frequently Asked Questions
What is the easiest way to remember the speed formula?
Think of the speed distance time triangle: write S on top and D and T below it. Cover S and you see D over T, which means divide distance by time. The same triangle gives the distance and time formulas.
What units should I use for speed?
Use km/h for road travel in most of the world, mph in the United States and United Kingdom, and m/s for science, sports timing, and short distances. Just keep the distance and time units consistent before dividing.
Can speed be zero or negative?
Speed can be zero when nothing moves, but it is never negative because it measures how fast, not which direction. The related concept of velocity can be negative because it includes direction.
How do I calculate speed if time is in minutes?
Convert minutes to hours by dividing by 60, then divide distance by the result. For 30 miles in 45 minutes: 45 / 60 = 0.75 hours, then 30 / 0.75 = 40 mph.
What is the difference between average speed and top speed?
Average speed is total distance divided by total time for the whole trip. Top speed is the fastest instant. A sprinter who averages 37.58 km/h over 100 meters briefly reaches about 44.72 km/h mid-race.
How accurate should my answer be?
Round to two decimal places for most everyday uses, such as 49.71 mph. Your answer cannot be more precise than your least precise measurement, so do not report five decimals from a rough stopwatch reading.