Average Speed Calculator
Average Speed Calculator
Enter total distance and total elapsed time, including stops. Use the same distance unit for the whole trip.
To calculate average speed, divide the total distance traveled by the total elapsed time:
Try it: Driving Distance Calculator
Get the road distance for each leg of a trip first. Then use the method below to work out the true average speed.
For example, if you travel:
180 miles
in:
3 hours
then:
The important word is total. If your journey includes different speeds, multiple segments, or stops, calculate the total distance and total time first rather than simply averaging the individual speed values.
What Is Average Speed?
Average speed describes how much total distance is traveled per unit of elapsed time over an entire journey.
The formula is:
In symbols:
where:
- vavg = average speed;
- dtotal = total distance traveled;
- ttotal = total elapsed time.
Average speed is a scalar quantity, meaning it describes magnitude without direction.
How Do You Calculate Average Speed?
Use three basic steps.
Step 1: Find the Total Distance
Add all distances traveled.
For example:
Then:
Step 2: Find the Total Time
Add the time spent traveling over the same interval.
Suppose:
Then:
Step 3: Divide Total Distance by Total Time
This is the fundamental method regardless of how many segments the trip contains.
What Is the Average Speed Formula?
The formula is:
This is the standard physics definition of average speed.
It is part of the broader relationship explained in our Distance, Speed and Time Formula guide:
Is Average Speed the Same as Speed?
Not always.
“Speed” can refer to several related quantities.
Instantaneous Speed
How fast an object is moving at one specific moment.
A car speedometer approximately shows instantaneous speed.
Average Speed
Total distance divided by total elapsed time over a selected interval.
For example, your speedometer may show:
70 mph
on a highway.
But if your complete trip includes slower roads and stops, your average speed might be:
48 mph
OpenStax makes the same distinction between average and instantaneous speed.
Average Speed Example
Suppose a car travels:
300 miles
in:
5 hours
Use:
The average speed is:
60 miles per hour
The vehicle does not need to travel at exactly 60 mph throughout the journey.
Average Speed in Kilometers Per Hour
Suppose:
Then:
Average Speed in Meters Per Second
Suppose an athlete travels:
1,000 meters
in:
125 seconds
Then:
How Do You Calculate Average Travel Speed?
For a complete trip:
For example:
Then:
If the trip time includes stops, the result includes the effect of those stops.
If you only use moving time, you calculate a moving average instead.
Should Stops Be Included in Average Speed?
It depends on the time interval you want to describe.
Suppose:
Average Over the Entire Trip
Total elapsed time:
Then:
Moving Average Speed
If you exclude the lunch stop:
≈ 66.67 mph
Both calculations can be valid, but they describe different intervals.
Always state whether stopped time is included.
Why Isn’t Average Speed Always the Average of Two Speeds?
Because the amount of time spent at each speed matters.
Suppose you travel:
60 miles at 30 mph
then:
60 miles at 60 mph
A simple arithmetic average gives:
But that is not the correct trip average.
First calculate the time for each segment.
At 30 mph:
At 60 mph:
Total distance:
120 miles
Total time:
3 hours
Therefore:
The correct average speed is 40 mph, not 45 mph.
OpenStax uses this same type of example to show why average speed should not automatically be calculated by averaging individual speeds.
When Can You Simply Average Two Speeds?
A simple arithmetic average works when the object spends equal amounts of time at each speed.
Suppose:
1 hour at 40 mph
and:
1 hour at 60 mph
Distance during first hour:
40 miles
Distance during second hour:
60 miles
Total distance:
100 miles
Total time:
2 hours
Then:
Arithmetic average:
(40 + 60) ÷ 2
= 50 mph
The values match because the time spent at each speed is equal.
What if the Distances Are Equal?
If equal distances are traveled at two different speeds, the arithmetic mean is generally wrong.
For two equal-distance sections with speeds:
v₁
and:
v₂
the average speed is:
This is the harmonic mean of the two speeds.
For:
calculate:
Why Do Equal Distances Require a Different Average?
Because the slower segment takes more time.
Consider equal distances of:
60 miles
At:
30 mph
the trip takes:
2 hours
At:
60 mph
the same distance takes:
1 hour
You spend twice as long at the slower speed.
The slower speed therefore has a greater effect on the total trip average.
Average Speed for Multiple Segments
For any number of trip segments:
Suppose:
Segment 1
50 miles in 1 hour
Segment 2
100 miles in 2 hours
Segment 3
90 miles in 1.5 hours
Total distance:
Total time:
Then:
You do not need to average the individual segment speeds.
Average Speed With Three Different Speeds
Suppose you travel:
30 miles at 30 mph
60 miles at 60 mph
80 miles at 40 mph
Calculate each time.
First segment:
Second segment:
Third segment:
Total distance:
Total time:
Average speed:
170 ÷ 4
42.5 mph
How Do You Calculate Average Speed When Times Are Given?
If you know the speed and time of each segment, calculate each segment’s distance first:
Then add all distances and times.
Suppose:
2 hours at 40 mph
and:
3 hours at 60 mph
First distance:
Second distance:
Total distance:
260 miles
Total time:
5 hours
Average speed:
260 ÷ 5
52 mph
Weighted Average Speed
When different speeds apply for different amounts of time, average speed is effectively a time-weighted average.
For speeds:
v₁, v₂, …
used for times:
t₁, t₂, …
then:
This works because:
so the numerator is simply total distance.
Example of a Time-Weighted Average
Suppose:
40 mph for 2 hours
and:
70 mph for 1 hour
Distance:
plus:
Total:
150 miles
Total time:
3 hours
Then:
The simple average:
would be incorrect because the speeds were not maintained for equal amounts of time.
Can Average Speed Be Higher Than the Highest Speed?
No.
If all segment times are positive, the average speed must lie between the lowest and highest speeds used during the journey.
For example, if you travel only at speeds between:
30 mph
and:
70 mph
your average speed cannot exceed 70 mph or fall below 30 mph unless stopped time is included.
If stopped intervals are counted as:
0 mph
the overall average can fall below the lowest moving speed.
Can Average Speed Be Zero?
Yes, if no distance is traveled during the measured interval.
If:
then:
However, a round trip that returns to the starting location can still have positive average speed because distance traveled is not zero.
Average Speed vs Average Velocity
Average speed and average velocity are different.
Average Speed
Total Distance ÷ Total Time
Average Velocity
Displacement ÷ Total Time
Velocity also has direction.
Suppose you travel:
5 miles east
then:
5 miles west
Total distance:
10 miles
Final displacement:
0 miles
If the trip takes:
2 hours
then:
but:
OpenStax explicitly distinguishes average speed from average velocity in this way.
Average Speed vs Instantaneous Speed
Average speed describes an entire interval.
Instantaneous speed describes a particular moment.
For example:
At 10:15 AM your car might be traveling:
65 mph
but across the complete trip your average speed might be:
52 mph
because of lower-speed roads, intersections, and stops.
Average Speed vs Pace
Speed measures:
Distance ÷ Time
Pace measures:
Time ÷ Distance
For example:
6 mph
corresponds to:
10 minutes per mile
because:
CalculatorSoup similarly defines speed as distance divided by time and pace as time divided by distance.
How Do You Convert Average Speed to Pace?
For mph:
For:
then:
How Do You Convert Pace to Average Speed?
Use:
For:
then:
Average Speed for a Road Trip
For road travel, use:
Suppose:
Then:
The total distance should normally be the actual road-route distance rather than the straight-line separation between the cities.
Use the Driving Distance Calculator when you need the road mileage itself.
Why Should Road Trips Use Driving Distance?
A car travels along roads rather than the shortest geographic line between two coordinates.
Suppose:
but:
and:
Using straight-line distance:
Using road distance:
The second value better represents average vehicle speed along the actual route.
Does Traffic Lower Average Speed?
Usually, yes.
If distance stays approximately the same while elapsed time increases, average speed falls.
For example:
Without congestion:
With congestion:
The extra travel time reduces the trip average.
Do Rest Stops Lower Average Travel Speed?
Yes, if they are included in total elapsed time.
Suppose:
Moving average:
Whole-trip average:
The correct value depends on what you are trying to measure.
How Do You Calculate Average Walking Speed?
Use:
For example:
Convert:
Total:
1.3333 hours
Then:
≈ 3 mph
For actual pedestrian route distance, use the Map Distance Calculator.
How Do You Calculate Average Running Speed?
Suppose:
Convert:
Then:
≈ 12 km/h
How Do You Calculate Average Cycling Speed?
Suppose:
Then:
How Do You Calculate Average Speed With Minutes?
Convert minutes into hours if you want mph or km/h.
Suppose:
Convert:
Then:
How Do You Calculate Average Speed With Seconds?
If distance is in meters and time is in seconds:
For example:
500 meters ÷ 80 seconds
= 6.25 m/s
No conversion is required because the desired unit is meters per second.
How Do You Convert MPH to KM/H?
Use:
For example:
50 mph × 1.609344
≈ 80.47 km/h
How Do You Convert KM/H to MPH?
Use:
For example:
80 km/h × 0.621371
≈ 49.71 mph
How Do You Convert M/S to KM/H?
Use:
For example:
10 m/s × 3.6
= 36 km/h
Average Speed Unit Reference
| Distance | Time | Average Speed Unit |
|---|---|---|
| miles | hours | mph |
| kilometers | hours | km/h |
| meters | seconds | m/s |
| feet | seconds | ft/s |
Make sure the distance and time units match the speed unit you want.
Average Speed vs Average of Speeds: Quick Guide
| Situation | Correct Method |
|---|---|
| One trip, total distance and time known | Total distance ÷ total time |
| Equal time at two speeds | Arithmetic mean works |
| Equal distance at two speeds | Harmonic mean |
| Different distances and times | Total distance ÷ total time |
| Trip includes stops | Decide whether stop time belongs in total time |
Equal-Time Example
Travel:
2 hours at 50 mph
and:
2 hours at 70 mph
Distances:
100 miles
and:
140 miles
Total:
240 miles
Time:
4 hours
Average:
240 ÷ 4
60 mph
Arithmetic mean:
Because the time intervals are equal, both methods agree.
Equal-Distance Example
Travel:
100 miles at 50 mph
then:
100 miles at 100 mph
Time at 50 mph:
Time at 100 mph:
Total distance:
200 miles
Total time:
3 hours
Average speed:
200 ÷ 3
≈ 66.67 mph
The arithmetic average would be:
75 mph
which is incorrect.
Round Trip With the Same Distance at Different Speeds
Suppose you drive:
120 miles outward at 40 mph
and:
120 miles back at 60 mph
Outbound time:
Return time:
Total distance:
240 miles
Total time:
5 hours
Average speed:
240 ÷ 5
48 mph
Again, the simple average:
is wrong.
Round Trip and Average Velocity
If you return to the exact starting point:
Therefore:
But total distance is positive, so average speed remains positive.
For the previous example:
Average speed:
48 mph
Average velocity:
0 mph in terms of net displacement per hour over the complete round trip.
What Is the Harmonic Mean Formula for Two Equal Distances?
For equal-distance segments:
For example:
Then:
= 4,800 ÷ 100
= 48 mph
This matches the full total-distance/total-time calculation.
Do You Need the Harmonic Mean Formula?
Not necessarily.
The safest general method is always:
- calculate total distance;
- calculate total time;
- divide.
The harmonic mean is simply a shortcut for the special case where two equal distances are traveled at different speeds.
Can You Average More Than Two Speeds?
Yes, but again the weighting matters.
Do not automatically calculate:
(v₁ + v₂ + v₃) ÷ 3
unless equal time is spent at all three speeds.
The general method remains:
Can Average Speed Include Zero-Speed Periods?
Yes.
If an object stops during the measured interval, that stop contributes:
0 distance
but still adds time.
This lowers the average speed.
For example:
Travel:
60 miles in 1 hour
Stop:
1 hour
Total:
60 miles in 2 hours
Average speed:
30 mph
What Happens if Total Time Is Zero?
The formula:
cannot divide by zero.
If nonzero distance is claimed to occur in zero time, the average speed is undefined in ordinary finite-speed calculations.
What Happens if Total Distance Is Zero?
If:
and elapsed time is positive:
However, remember that distance is not the same as displacement.
A traveler who moves away and returns has positive total distance even though displacement is zero.
Is Average Speed Always Positive?
Average speed is nonnegative because distance and elapsed time are nonnegative quantities.
It can be:
0
or a positive value.
Direction does not make speed negative.
Signed direction belongs to velocity.
Average Speed vs Average Velocity Quick Comparison
| Quantity | Formula | Direction? |
|---|---|---|
| Average speed | Total distance ÷ total time | No |
| Average velocity | Displacement ÷ total time | Yes |
This distinction is fundamental in physics.
Average Speed vs Driving Speed Estimate
A routing system may provide an estimated trip duration based on its road model.
You can derive an implied average route speed using:
But that does not mean the vehicle will travel at one constant speed.
The route estimate can reflect multiple road classes and speed assumptions.
Our How Driving Distance Is Calculated guide explains how routing differs from simple straight-line mathematics.
Average Speed vs Speed Limit
Average speed is usually lower than the highest posted speed limit on a trip.
A route can include:
- slower roads;
- intersections;
- traffic lights;
- congestion;
- stops.
So you should not assume:
Trip Average Speed = Highway Speed Limit
These are different quantities.
How Can You Whether an Average Speed Answer Is Reasonable?
three things.
1. Units
Miles divided by hours should produce mph.
2. Range
The result should generally fall within a reasonable range for the trip.
3. Total Relationship
Multiply the average speed by total time:
You should recover the total distance.
For example:
This confirms the calculation.
Common Average Speed Mistakes
Averaging Speeds Directly
Do not automatically calculate the arithmetic mean of segment speeds.
Ignoring Time Weighting
Longer time at one speed gives that speed more influence.
Mixing Minutes and Hours
Convert time units before calculating mph or km/h.
Using Displacement Instead of Distance
Average speed uses total distance traveled.
Using Straight-Line Distance for a Road Trip
Use actual route distance for vehicle travel.
Forgetting Stops
Decide whether stopped time is part of the interval.
Confusing Average Speed With Instantaneous Speed
A speedometer reading is not the same as the trip average.
Rounding Too Early
Keep intermediate values reasonably precise and round at the end.
Average Speed Quick Reference
The main rule is:
For two equal-time speeds:
For two equal-distance speeds:
But the universal method remains:
Total Distance ÷ Total Time
Which Speed Resource Should You Use?
| Goal | Best resource |
|---|---|
| Understand distance, speed, and time together | Distance, Speed and Time Formula |
| Calculate speed from one distance and time | Distance, Speed and Time Formula |
| Calculate average speed over a full or multi-part trip | Average Speed Calculator Explained |
| Get road mileage | Driving Distance Calculator |
| Understand road-route calculation | How Driving Distance Is Calculated |
| Get actual walking-route distance | Map Distance Calculator |
Frequently Asked Questions
What is the average speed formula?
Use:
How do you calculate average speed?
Add all distance traveled, add the corresponding elapsed time, then divide total distance by total time.
Is average speed the average of two speeds?
Not necessarily. A simple arithmetic average is correct only in certain cases, such as equal time spent at each speed.
What is the average speed for equal distances at 30 mph and 60 mph?
The correct average is 40 mph, not 45 mph.
What is the average speed for equal distances at 40 mph and 60 mph?
The correct average is 48 mph.
Should stops be included in average speed?
Include them if you are calculating the average over the entire elapsed trip. Exclude them if you specifically want moving average speed.
Is average speed the same as average velocity?
No. Average speed uses total distance, while average velocity uses displacement and includes direction.
Can average speed be zero?
Yes, if no distance is traveled during the measured interval.
Can average speed be negative?
No. Speed is a scalar magnitude and is nonnegative.
What distance should I use for a road trip?
Use actual driving-route distance when calculating average road speed.
Why is the average of 30 mph and 60 mph sometimes not 45 mph?
If equal distances are traveled at those speeds, more time is spent at the slower speed. The correct average is therefore 40 mph.
What is average travel speed?
Average travel speed is the total trip distance divided by the total elapsed travel time for the interval being measured.
