🚀
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

Speed Distance Time Calculator

Solve Speed Distance Time

Last reviewed: January 2026

🧮
500 calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com

What Is a Speed Distance Time Calculator?

Solve for speed, distance, or time using the fundamental formula. Supports any consistent unit combination. This calculator runs entirely in your browser — your data stays private, and no account is required.

The Speed-Distance-Time Triangle

Speed, distance, and time are related by three simple formulas: speed = distance ÷ time, distance = speed × time, time = distance ÷ speed. Knowing any two values lets you calculate the third.[1] For mixed-speed journeys, calculate each segment separately and sum the times. Driving 100 miles at 65 mph then 50 miles at 35 mph takes 1.54 + 1.43 = 2.97 hours — not the same as dividing total distance (150) by average speed (50), which gives an incorrect 3.0 hours.[2] Average speed for a round trip at different speeds is not the arithmetic mean but the harmonic mean: if you drive 60 mph one way and 40 mph back, the average speed is not 50 mph but 2×60×40/(60+40) = 48 mph, because you spend more time at the slower speed.[3] Use the Pace Calculator for running and cycling speed conversions.

Average Speed vs Instantaneous Speed

Average speed = total distance ÷ total time. If you drive 120 miles in 2 hours with stops, your average speed is 60 mph even if you never actually traveled at exactly 60 mph. Instantaneous speed is what your speedometer shows at any given moment. For trips with stops, total driving time (excluding stops) gives a different average than total trip time — both are valid for different purposes. When calculating ETA, use total trip time including expected stops.

Speed-Distance-Time Quick Reference

SpeedDistance in 1 HourTime for 100 Miles
30 mph30 miles3 hr 20 min
55 mph55 miles1 hr 49 min
65 mph65 miles1 hr 32 min
75 mph75 miles1 hr 20 min

The Speed-Distance-Time Relationship

The three variables — speed, distance, and time — are connected by one of the most fundamental equations in physics: distance = speed × time, often written as d = s × t. This equation can be rearranged to solve for any variable: s = d/t for speed, and t = d/s for time. Though simple in concept, this relationship governs everything from daily commuting calculations to spacecraft trajectory planning. Understanding the unit relationships is critical: if distance is in miles and time is in hours, speed must be in miles per hour. Mixing units (kilometers for distance but miles per hour for speed) produces incorrect results unless a conversion factor is applied.

Average speed differs from instantaneous speed in an important way. A car that travels 120 miles in 2 hours has an average speed of 60 mph, but its instantaneous speed varied continuously — accelerating from stops, slowing for curves, and cruising on highways. Average speed always equals total distance divided by total time, regardless of speed variations during the trip. This distinction matters in physics, law enforcement (radar measures instantaneous speed, not average), and logistics where arrival time estimates depend on average speed across varying road conditions.

Practical Applications in Travel and Logistics

Trip planning relies on speed-distance-time calculations adjusted for real-world conditions. Highway driving averages 55-65 mph including slowdowns, city driving averages 20-30 mph with traffic lights and congestion, and rural roads fall somewhere between depending on terrain and speed limits. A 300-mile trip that appears to take 4.5 hours at 65 mph realistically takes 5-5.5 hours when accounting for fuel stops, construction zones, and the first and last 30 minutes through urban areas at lower speeds. Professional truckers and logistics companies use sophisticated versions of these calculations, factoring in mandatory rest periods (11 hours of driving maximum per 14-hour window under US DOT rules), seasonal weather patterns, and delivery-window constraints.

Aviation uses the speed-distance-time formula with additional variables. Airspeed (the plane's speed through the air) differs from ground speed (the plane's speed over the earth's surface) because of wind. A headwind of 100 mph reduces an aircraft's ground speed by 100 mph, which is why eastbound transatlantic flights are typically 45-60 minutes shorter than westbound flights — the jet stream (a high-altitude wind belt) provides a significant tailwind in the east direction. Flight planning computers continuously recalculate arrival times based on actual winds encountered, sometimes routing flights hundreds of miles off the direct path to take advantage of favorable winds or avoid strong headwinds.

Speed Conversions and Unit Systems

The most common speed units and their relationships: 1 mile per hour (mph) = 1.609 kilometers per hour (km/h) = 0.447 meters per second (m/s) = 0.869 knots. Knots (nautical miles per hour) are used in aviation and maritime navigation because one nautical mile equals one minute of latitude, making navigation calculations simpler when using coordinate-based positioning. The meter per second is the SI standard used in physics and engineering. For quick mental conversions: to go from km/h to mph, multiply by 0.62 (or divide by 1.6); to go from mph to m/s, divide by 2.24.

Light speed (299,792,458 m/s or approximately 186,282 miles per second) represents the universal speed limit and serves as a useful reference for astronomical distances. Light from the sun takes about 8 minutes and 20 seconds to reach Earth, meaning we always see the sun as it was 8 minutes ago. The nearest star beyond the sun (Proxima Centauri) is 4.24 light-years away — meaning even at light speed, a message would take over 4 years to arrive. These immense distances are why astronomers use light-years rather than miles or kilometers: the Milky Way galaxy is approximately 100,000 light-years across, a number far more manageable than 5.88 × 10¹⁷ miles.

Relative Speed and Closing Rate Problems

When two objects move toward each other, their closing speed is the sum of their individual speeds. Two cars approaching each other at 60 mph close the distance between them at 120 mph — a critical concept for head-on collision analysis. When objects move in the same direction, the relative speed is the difference: a car traveling at 70 mph overtaking one at 55 mph closes at just 15 mph, which is why passing on highways feels slow despite both vehicles moving at high absolute speeds. These relative-speed calculations are fundamental to air traffic control (ensuring safe separation between aircraft), naval navigation (intercepting or avoiding vessels), and satellite orbital mechanics (rendezvous and docking procedures).

The classic "trains leaving stations" problem illustrates a practical application. If Train A leaves City X heading east at 80 mph and Train B leaves City Y (300 miles east) heading west at 70 mph at the same time, they will meet when their combined distance traveled equals 300 miles. Combined speed is 150 mph, so they meet after 300/150 = 2 hours, with Train A having covered 160 miles and Train B having covered 140 miles. Variations include staggered departure times, stops along the route, and acceleration/deceleration phases. While the basic formula is simple, these word problems develop the analytical skill of translating real-world situations into mathematical equations — a skill that transfers directly to project planning, logistics optimization, and engineering design.

Why is average speed not simply the average of two speeds?
If you drive 60 mph for one hour and 30 mph for another hour, your average speed is (60+30)/2 = 45 mph — correct, because you spent equal time at each speed. But if you drive 60 mph for 60 miles and 30 mph for 60 miles, the time spent differs: 1 hour + 2 hours = 3 hours total for 120 miles = 40 mph average — the harmonic mean, not the arithmetic mean. When the same distance is covered at different speeds, the slower speed dominates because you spend more time at it.
Why can't you simply average speeds for a round trip?
If you drive to a destination at 30 mph and return at 60 mph, the average speed is not 45 mph — it is 40 mph. This is because you spend more time at the slower speed (twice as long), so it contributes more to the average. The correct calculation uses the harmonic mean: 2 × (30 × 60) ÷ (30 + 60) = 40 mph. This counterintuitive result matters in fuel economy calculations, delivery route planning, and physics problems. Use our Average Speed Calculator for multi-segment trips with different speeds.
How do you calculate average speed for a round trip?
Average speed for a round trip is not simply the mean of the two speeds — it is the harmonic mean. If you drive 60 mph going and 40 mph returning over the same distance, the average speed is not 50 mph but 48 mph (calculated as 2 × 60 × 40 ÷ (60 + 40)). This counterintuitive result occurs because you spend more time at the slower speed. The difference is more pronounced when the two speeds are further apart. Use our Average Speed Calculator for multi-segment trips with different speeds and distances.
How do I calculate travel time for a road trip?
Divide total distance by your expected average speed (including stops). For highway driving, use 55-65 mph average (accounting for slower stretches, construction, and traffic). Add 15-20% for rest stops, gas, and food. A 500-mile trip at 60 mph average takes 8.3 hours of driving, plus 1.5-2 hours for stops, totaling about 10 hours.
Why is average speed tricky to calculate?
Because you spend more time at slower speeds. If you drive 30 mph for one segment and 60 mph for the same distance, you spend twice as long at 30 mph. The correct average is the harmonic mean: 2/(1/30 + 1/60) = 40 mph, not the arithmetic mean of 45 mph. For equal time segments, the arithmetic mean works. For equal distance segments, use the harmonic mean.

See also: Distance Calculator · Speed Calculator · Running Pace Calculator · Speed Converter · Projectile Motion Calculator

How to Use This Calculator

  1. Choose what to solve for — Select whether you need speed, distance, or time.
  2. Enter two known values — Input the two quantities you know with their units.
  3. Select your units — Choose mph, km/h, m/s for speed; miles, km, meters for distance; hours, minutes, seconds for time.
  4. Read the result — The calculator instantly displays the missing value with unit conversions.

Tips and Best Practices

Convert units before calculating manually. Mixing miles with km/h or hours with minutes causes errors. This calculator handles conversions automatically.

Average speed ≠ the average of two speeds. Driving 60 mph for 30 miles then 30 mph for 30 miles gives an average of 40 mph, not 45. Use our Average Speed Calculator for multi-leg trips.

Account for stops and delays. Real travel time includes fuel stops, traffic, and breaks. Add 10–15% for highway trips, 25–30% for urban driving.

Use for fitness pacing. Runners and cyclists can calculate pace from distance and time. A 5K in 25 minutes is an 8:03/mile pace. See our Pace Calculator.

See also: Average Speed · Pace Calculator · Road Trip Cost · Distance Calculator

📚 Sources & References
  1. [1] Khan Academy. Distance, Rate, Time. KhanAcademy.org
  2. [2] NIST. Units of Speed. NIST.gov
  3. [3] OpenStax. Physics — Motion. OpenStax.org
  4. [4] DOT. Highway Speed Data. Transportation.gov
Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author