Calculate speed, distance, or time using the formula Speed = Distance / Time. Enter any two values to find the third. Supports miles, kilometers, hours, and minutes.
Speed is the rate at which an object covers distance — distance traveled divided by time elapsed. The most basic physics relationship: Speed = Distance / Time. This relationship has three forms (Speed, Distance, or Time as unknown), and knowing any two values lets you calculate the third. Despite being one of the simplest formulas in physics, speed calculations have many practical applications: average vehicle speed across a trip, running pace, exercise intensity, walking speed, swimming performance, and many other movement-based contexts.
The distinction between "instantaneous speed" (your current speed at this moment) and "average speed" (total distance / total time over a period) often confuses people. Driving from city A to city B with stop-and-go traffic, you might have instantaneous speeds varying 0-70 mph throughout the trip, but average ~45 mph. Both measures are valid — they answer different questions. Speed limits typically reference instantaneous speed. Trip planning typically uses average speed. Athletic pace usually uses average speed across an event.
This calculator computes average speed from distance and time. Use it for: trip planning and verification, athletic pace analysis, running/cycling/swimming training, fuel economy estimation context, or general physics learning. Important context: average speed across a trip doesn't equal average of instantaneous speeds. If you drive 60 mph for 1 hour and 30 mph for 2 hours, your average speed is total distance (60 + 60 = 120 mi) divided by total time (3 hr) = 40 mph — NOT (60 + 30)/2 = 45 mph (the "naive" arithmetic average). This counterintuitive result matters for trip planning and athletic pacing. The harmonic mean is needed for properly averaging speeds across equal distances rather than equal times.
Drove 250 miles in 4 hours 15 minutes. Total time: 4 + 15/60 = 4.25 hours Average speed: 250 / 4.25 = 58.8 mph Reasonable highway average accounting for stops and slower segments. Indicates mostly interstate driving with brief breaks. If targeting faster pace: 4 hours flat would require 62.5 mph average — challenging with any stops. If accepting slower: 5 hours = 50 mph average — accommodates multiple stops and mixed routes.
Ran 5K (3.107 miles) in 24 minutes. Total time: 24/60 = 0.4 hours Speed: 3.107 / 0.4 = 7.77 mph Pace: 24 / 3.107 = 7:43 per mile 7:43 pace = ~7.77 mph. Strong recreational pace; below average runner for short distance. For marathon at this pace: 7:43 × 26.2 = 3:22 marathon (very competitive amateur). For improvement tracking: see same distance at different times to track progress. 23-minute 5K = 8.1 mph. 22-minute 5K = 8.47 mph.
Drive 50 miles at 75 mph, then 50 miles at 25 mph (heavy traffic). What's average speed? Naive average: (75 + 25) / 2 = 50 mph (WRONG) Correct calculation: Time first segment: 50/75 = 0.667 hours (40 min) Time second segment: 50/25 = 2.0 hours (120 min) Total distance: 100 miles Total time: 2.667 hours Average speed: 100/2.667 = 37.5 mph Harmonic mean: 2 × 75 × 25 / (75+25) = 3750/100 = 37.5 mph ✓ Counterintuitive result. The slow segment dominates because it takes much more time. Spent 40 min at 75 mph vs. 120 min at 25 mph — the average reflects the time-weighted impact. Lesson: avoiding slow segments is more important than gaining speed in fast segments for average trip speed.
Use this calculator for trip planning, athletic pace calculation, running/cycling training tracking, verifying speedometer accuracy, or general distance-time-speed problems.
Pair with drive-time (factoring stops and traffic) and speed-converter (unit conversions).
Important speed calculation considerations:
1. **Average ≠ arithmetic mean of speeds.** Multi-segment trips at different speeds: use total distance / total time, not (s1 + s2)/2.
2. **Instantaneous vs. average speed.** Different measurements. Speed limits use instantaneous; trip planning uses average.
3. **Time conversion is critical.** Use decimal hours (2.5 not "2:30") in calculations. Minutes need conversion: 30 min = 0.5 hr.
4. **Realistic average speeds vary.** Interstate 60-70 mph; mixed 50-55; urban 25-35; mountain 35-45. Calibrate by route type.
5. **Speed ≠ velocity.** Speed is magnitude; velocity includes direction. Most everyday uses interchangeable; physics problems distinguish.
6. **Running pace conversion.** 60 / mph = min/mile. 8 mph = 7:30 pace. 6 mph = 10:00 pace.
7. **Stops dramatically reduce average.** 30 mph for 30 minutes + stopped for 30 minutes = 15 mph average across 1 hour.
8. **International unit conversion.** US: mph standard. Most other countries: km/h. 1 mph = 1.609 km/h.
9. **Time conversions for short measurements.** Seconds for sprints, milliseconds for biomechanics. Calculation framework same, units differ.
10. **GPS accuracy varies.** GPS speed measurements have 1-3 mph error typical. Vehicle speedometers can be 5-10% off depending on tire size, calibration.
11. **Speed of sound (~767 mph) bounds aircraft.** Commercial aviation 500-575 mph. Supersonic over 767 mph. Mach 1 = speed of sound in current conditions.
12. **Traffic patterns affect realistic average.** Rush hour can halve typical highway speed. Plan accordingly for travel times.
Calculate drive time from distance and average speed.
Convert between mph, km/h, m/s, and knots.
Compare fuel costs between vehicles by MPG, gas price, and annual miles driven.
Calculate your exact age in years, months, and days from your birthdate.
Find days between two dates or add/subtract days from a date.
Add or subtract hours, minutes, and seconds.
Speed (mph)
60.0 mph
Speed (km/h)
96.6 km/h
Speed (m/s)
26.82 m/s
Speed (knots)
52.1 kn