This distance calculator adds the motion from two travel segments and a stationary break. Enter the speed and duration for each travel segment and the number of minutes at the stop. The headline shows the sum of the distance traveled. The detail compares average speed for the full elapsed trip with the average across the two travel segments alone.
Pair each speed with the time it describes
Select miles per hour or kilometres per hour for both speed fields. Enter the durations in minutes. The calculator converts minutes to hours before multiplying, so a rate of 60 miles per hour over 15 minutes gives 15 miles. The corresponding speed unit determines whether the result is displayed in miles or kilometres.
Each speed can be a constant speed or a reliable average over that particular segment. A peak speed reached briefly may not describe an entire segment. If you have a moving average from a trip log, confirm what interval it covers and whether it already includes the break or other time you plan to enter separately.
The stationary break has zero distance and contributes minutes to the full elapsed trip. Keep the break outside the two segment durations if you want the full-trip and travel-only averages to have the meanings shown. A pause already counted inside a segment should not be added a second time.
Worked example with two travel speeds and a break
Suppose the first segment takes 35 minutes at 48 miles per hour. Divide 35 by 60 to express it in hours. Multiply by 48 to get 28 miles. The second segment takes 25 minutes at 62 miles per hour. Its modeled distance is about 25.83 miles.
Place a 15-minute stop between the two. The stop adds no distance, so the total remains about 53.83 miles. The travel segments take 60 minutes together. Dividing by one hour gives about 53.83 miles per hour across those two segments.
The break increases the total elapsed time to 75 minutes, or 1.25 hours. Divide the same 53.8333 miles by 1.25 to obtain about 43.07 miles per hour across the full trip. The two averages describe different time spans. Their difference captures the effect of using elapsed time instead of just the two travel durations.
Understand why the average is weighted by time
A direct average of 48 and 62 gives 55 miles per hour. That gives both speeds the same weight. In the example, the first speed lasts longer than the second. The correct travel average uses their combined distance divided by their combined duration, giving more effect to the longer interval.
If each travel segment lasts the same length of time, the simple average of their speeds does equal the travel-only average. The overall average can still be smaller when there is a separate stop. To include that stop in a weighted speed calculation, add a zero-speed interval with its own duration.
The underlying distance calculation is speed multiplied by time in compatible units. It uses the magnitude of the travel on each segment. The directions of the two segments need not match because the output describes total distance along the path, rather than signed displacement. OpenStax explanation of the distance, rate and time relationship.
Try a single segment or a trip with no stop
To model only one stretch, give the unused travel segment a duration of zero. Its distance will be zero regardless of the speed left in that field. If there is also no separate break, the trip-average speed will agree with the active segment's entered speed when the active duration is positive.
Set the stop to zero in the worked example. The total distance stays about 53.83 miles. The full elapsed time is now the same 60 minutes represented by the two segments, so the two average speeds match. This checks that the stop is being treated as time without distance.
When only stationary time is entered, the model can report zero distance and zero overall speed. It leaves out a separate travel average because the two travel durations sum to zero. If every duration is zero, there is no positive time basis for an average and the calculator prompts for an updated entry.
Frequently asked questions
Can I enter hours instead of minutes?
Convert hours to minutes first. For example, 1.25 hours is 75 minutes. Use minutes for each travel duration and for the stop.
What happens if I choose kilometres per hour?
The distances are then reported in kilometres and both average speeds use kilometres per hour. Enter both segment speeds on the selected unit basis.
Does driving in the opposite direction lower the total distance?
No. The two segment distances are positive amounts of travel and are added. A return trip can have large distance with zero final displacement.
Can the tool predict a trip's actual distance without observed speeds?
It calculates the distances implied by supplied speeds and times. For an actual route distance, use the measured route length or a route record when available.
OpenStax relationship between distance, constant speed and elapsed time