Speed, Distance & Time Calculator
Find speed, distance or time with automatic unit conversion between km, m and miles, hours, minutes and seconds, and km/h, m/s and mph.
Speed = distance ÷ time. A car that travels 150 km in 2.5 hours moves at 150 ÷ 2.5 = 60 km/h (16.67 m/s, 37.28 mph). Rearrange for the others: distance = speed × time and time = distance ÷ speed.
- Use the triangle: D on top, S and T underneath.
- Match units before dividing: km with hours, m with seconds.
- 1 m/s = 3.6 km/h, and 1 mph = 1.609344 km/h.
How to Use the Calculator
- Choose what to find: speed, distance or time.
- Enter the two values you know and pick their units.
- Read the answer in all common units, with the conversion steps.
Formulas and Conversions
| From | To | Do this |
|---|---|---|
| m/s | km/h | × 3.6 |
| km/h | m/s | ÷ 3.6 |
| mph | km/h | × 1.609344 |
| km/h | mph | ÷ 1.609344 |
| minutes | hours | ÷ 60 |
Worked Examples
Example 1: Speed. 150 km in 2.5 hours.
- Speed = 150 ÷ 2.5 = 60 km/h
- In m/s: 60 ÷ 3.6 = 16.67 m/s
Example 2: Distance. 60 km/h for 45 minutes.
- 45 minutes = 0.75 hours
- Distance = 60 × 0.75 = 45 km
Example 3: Time. A 26.2-mile marathon at 6 mph.
- Time = 26.2 ÷ 6 = 4.367 hours
- = 4 h 22 min
Tips
- Convert minutes to hours as a decimal: 20 minutes is 20 ÷ 60 = 0.333 h, not 0.20 h.
- Average speed = total distance ÷ total time, not the average of the speeds.
- Speed is the slope of a distance–time graph. See the slope calculator.
- Moving objects have kinetic energy: try the kinetic energy calculator.
For percent changes in speed, use the percentage calculator.
Frequently Asked Questions
What is the formula for speed?
Speed = distance ÷ time. If you travel 100 m in 20 s, your speed is 5 m/s.
How do you calculate distance?
Multiply speed by time. At 60 km/h for 2 hours you travel 120 km.
How do you calculate time from speed and distance?
Divide distance by speed. 90 km at 60 km/h takes 1.5 hours, or 1 hour 30 minutes.
How do you convert m/s to km/h?
Multiply by 3.6. For example, 10 m/s × 3.6 = 36 km/h.
What is the difference between speed and velocity?
Speed is how fast something moves. Velocity is speed in a given direction, so it is a vector.
How do you find average speed for a trip with stops?
Divide the total distance by the total time, including the stops if they are part of the trip.
Related Guides & Calculators
- Kinetic Energy Calculator: energy of a moving object.
- Slope Calculator: rate of change between two points.
- Percentage Calculator: percent change and difference.
- Pythagorean Theorem Calculator: straight-line distance.
More Calculators You Can Use
Free tools that pair well with this one.
