Speed Calculator (Distance ÷ Time)
Enter distance and time to calculate speed instantly. This tool also shows common unit conversions like m/s, km/h, and mph.
How to Calculate Speed by Time and Distance
If you know how far something traveled and how long it took, you can calculate speed in one simple step. This is one of the most useful formulas in math, physics, sports, transportation, and everyday life.
Whether you are analyzing a morning run, planning a road trip, tracking cycling pace, or studying for class, the basic relationship never changes:
What each part means
- Distance: How far an object moved (for example: meters, kilometers, miles).
- Time: How long the movement took (for example: seconds, minutes, hours).
- Speed: How much distance is covered per unit of time (for example: m/s, km/h, mph).
Step-by-Step Method
1) Identify your distance
Use one distance value with one unit. Example: 10 kilometers.
2) Identify your time
Use total elapsed time with one unit. Example: 0.5 hours.
3) Divide distance by time
Compute: 10 ÷ 0.5 = 20. So speed is 20 km/h.
4) Convert units if needed
You can convert the result to other units depending on your use case (for example, convert km/h to m/s or mph).
Worked Examples
Example A: Walking speed
You walk 3 miles in 1 hour.
Speed = 3 ÷ 1 = 3 mph.
Example B: Running speed
You run 5 kilometers in 25 minutes.
Speed = 5 ÷ 25 = 0.2 km/min. Multiply by 60 to convert to km/h:
0.2 × 60 = 12 km/h.
Example C: Car trip
A car travels 180 km in 2.5 hours.
Speed = 180 ÷ 2.5 = 72 km/h.
Common Speed Conversions
| From | To | Multiply By |
|---|---|---|
| m/s | km/h | 3.6 |
| km/h | m/s | 0.27778 |
| mph | km/h | 1.60934 |
| km/h | mph | 0.62137 |
| m/s | mph | 2.23694 |
Average Speed vs Instantaneous Speed
The formula on this page gives average speed, not instantaneous speed.
- Average speed: Total distance divided by total time for the whole trip.
- Instantaneous speed: Speed at a specific moment (like what your speedometer reads right now).
If your speed changes during the trip, average speed is still valid for the full interval, but it may not match your peak or current speed.
Rearranging the Formula
The same relationship can be rewritten to solve for different unknowns:
- Distance = Speed × Time
- Time = Distance ÷ Speed
This is useful when planning travel schedules, training sessions, and delivery estimates.
Common Mistakes to Avoid
- Mixing units (for example, distance in miles and time in seconds without conversion).
- Dividing by zero (time must be greater than zero).
- Using partial time instead of total time for average speed.
- Rounding too early, which can create small but important errors.
Practical Uses
You can use speed calculations in many real scenarios:
- Fitness tracking (running, walking, cycling pace)
- Road travel estimates and arrival planning
- Logistics and delivery timing
- School physics and motion problems
- Performance comparisons over repeated trips
Quick FAQ
Can speed be negative?
In basic everyday contexts, speed is non-negative. Direction is handled by velocity, which can be positive or negative depending on coordinate setup.
What if I enter minutes and want km/h?
Use the calculator directly—results are shown in your original unit pair and automatically converted to m/s, km/h, and mph.
How accurate is this tool?
It uses standard unit conversion constants and arithmetic. Accuracy depends on how precise your distance and time inputs are.
Final Takeaway
To calculate speed by time and distance, remember one rule: divide distance by time. Keep units consistent, convert when needed, and you will get reliable answers quickly. Use the calculator above whenever you need a fast, practical result.