Average Speed Calculator
Calculate the true average speed over a multi-leg journey using Average Speed = Total Distance ÷ Total Time — with unit conversion, a full step-by-step solution, and a labeled journey diagram.
Journey legs
Try an example
Multi-Leg Journey Diagram
Each bar shows one leg's speed and the time it took to cover that leg's distance. The dashed line marks the true average speed — notice it's weighted by time, not a simple average of the leg speeds.
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
Given: Leg 1: D=100 km @ S=50 kmh Leg 2: D=100 km @ S=100 kmh
Step 1: Write the average speed formula
Average speed over a multi-leg journey is NOT the simple average of the individual speeds — it's total distance divided by total time.
Average Speed = Total Distance ÷ Total TimeStep 2: Leg 1: find time taken
Distance of 100,000 m at 50 kmh takes 7,200 seconds.
T1 = D1 ÷ S1 = 100 km ÷ 50 kmh = 7,200 sStep 3: Leg 2: find time taken
Distance of 100,000 m at 100 kmh takes 3,600 seconds.
T2 = D2 ÷ S2 = 100 km ÷ 100 kmh = 3,600 sStep 4: Add up total distance
Total Distance = D1 + D2 = 200,000 mStep 5: Add up total time
Total Time = T1 + T2 = 10,800 sStep 6: Divide total distance by total time
Average Speed = 200,000 m ÷ 10,800 s = 18.519 m/sStep 7: Convert to km/h
Average Speed = 18.519 m/s × conversion factor = 66.667 km/hStep 8: Final answer
Average Speed = 66.667 km/h
The result is:
66.667 km/h
Free Online Average Speed Calculator
This average speed calculator instantly finds the true average speed for a journey made up of multiple legs — each covered at a different speed — using the correct formula, Average Speed = Total Distance ÷ Total Time. Enter the distance and speed for each leg of your trip in any common unit, and the calculator converts everything automatically, computes the time taken for every leg, sums the totals, and works through the full step-by-step solution alongside a labeled journey diagram so the entire calculation is visible at a glance.
Whether you're a student solving a distance-time-speed word problem, a driver comparing route options, or an athlete analyzing a race split into different paces, this tool handles any number of journey legs — 2 to 5 — in meters, kilometers, miles, or feet, and seconds, minutes, or hours, and always shows its complete working, not just the final number.
What Is Average Speed? (Definition and Formula)
Average speed is the total distance an object travels divided by the total time it takes to travel that distance, regardless of how the speed varied along the way. It is different from the average (arithmetic mean) of several individual speeds, and calculating it correctly requires weighting each speed by how long it was actually maintained.
- Average Speed = Total Distance ÷ Total Time
- This is the ONLY correct formula for average speed over a journey with varying speed.
- Example: driving 100 km at 50 km/h (which takes 2 hours) then 100 km at 100 km/h (which takes 1 hour) covers 200 km in 3 hours → average speed = 200 ÷ 3 ≈ 66.7 km/h.
Why You Can't Just Average the Speeds
A very common mistake is to simply add up the individual speeds and divide by how many there are — for the example above, that would give (50 + 100) ÷ 2 = 75 km/h, which is wrong. The reason is that the car spent more time traveling at the slower speed (2 hours) than at the faster speed (1 hour), so the slower speed should count for more in the average. Simple averaging treats every speed as equally important, but average speed calculations must be weighted by time, which is exactly what Total Distance ÷ Total Time does automatically.
This calculator deliberately shows both numbers side by side — the correct time-weighted average speed, and the incorrect simple average — so you can see exactly how much they can differ, and why the formula matters.
How to Calculate Average Speed for Multiple Legs
Solving a multi-leg average speed problem always follows the same three steps, regardless of how many legs the journey has:
- Step 1: Find the time taken for each leg using Time = Distance ÷ Speed.
- Step 2: Add up all the individual distances to get the total distance, and add up all the individual times to get the total time.
- Step 3: Divide total distance by total time to get the true average speed.
How to Use This Average Speed Calculator
Enter the distance and speed for each leg of the journey — start with two legs and use 'Add another leg' for trips with up to five segments. Pick whichever units match your problem for each leg independently (kilometers and km/h, miles and mph, meters and m/s, and so on); the calculator converts everything to a common base automatically. Choose the unit you want the final average speed shown in, then review the results panel, the journey diagram, and the full step-by-step breakdown below.
The diagram plots each leg as a colored bar sized by its speed, labeled with the time it took, and marks the true average speed with a dashed reference line so you can instantly see how it compares to every individual leg — and to the (incorrect) simple average shown for contrast.
Worked Examples
Two equal distances: 100 km at 50 km/h then 100 km at 100 km/h → total distance 200 km, total time 2 + 1 = 3 hours → average speed = 200 ÷ 3 ≈ 66.7 km/h.
Three legs of a road trip: 60 km at 60 km/h (1 h), 40 km at 40 km/h (1 h), 80 km at 80 km/h (1 h) → total distance 180 km, total time 3 hours → average speed = 60 km/h.
Runner with a warm-up and sprint: 400 m at 2 m/s (200 s) then 200 m at 8 m/s (25 s) → total distance 600 m, total time 225 s → average speed ≈ 2.67 m/s.
Flight with cruise and descent: 3,000 mi at 550 mph (5.45 h) then 200 mi at 300 mph (0.67 h) → total distance 3,200 mi, total time ≈ 6.12 h → average speed ≈ 522.9 mph.
Special Case: Equal Distances at Two Speeds
When a journey covers the exact same distance twice — once at speed S1 and once at speed S2 — the average speed simplifies to the harmonic mean of the two speeds, given by the formula Average Speed = (2 × S1 × S2) ÷ (S1 + S2). For the classic '100 km at 50 km/h, then 100 km at 100 km/h' example, this gives (2 × 50 × 100) ÷ (50 + 100) = 10,000 ÷ 150 ≈ 66.7 km/h, matching the Total Distance ÷ Total Time result exactly. This calculator handles the general case with any number of legs and any distances, so it works for this special case too, without needing a separate formula.
Real-World Applications of Average Speed
Average speed calculations come up constantly in travel planning, sports, and transportation analysis:
- Road trips — estimating total trip duration across highway and city driving segments with different speed limits.
- Sports and athletics — analyzing pace across race splits, such as swimming, cycling, or running events with varying effort.
- Public transportation — calculating a train or bus route's overall average speed including stops.
- Logistics and delivery — estimating realistic delivery times across mixed urban and highway routes.
- Aviation — combining taxi, climb, cruise, and descent speeds into an overall trip average.
Average Speed vs. Instantaneous Speed vs. Average Velocity
Average speed, instantaneous speed, and average velocity are three related but distinct concepts. Instantaneous speed is how fast an object is moving at one exact moment (what a speedometer shows). Average speed is total distance divided by total time over an entire journey, and is always a positive number since distance is always positive. Average velocity, by contrast, is total displacement (straight-line distance from start to end, including direction) divided by total time — for a round trip that returns to the starting point, average velocity is zero even though average speed is not, since the total displacement is zero.
Tips for Solving Average Speed Word Problems
A few habits make multi-leg average speed problems much easier to get right:
- Never average the speeds directly unless you've verified the time spent at each speed is equal.
- Always find the time for each leg first (Time = Distance ÷ Speed) before doing anything else.
- Keep every distance and time in the same unit system before summing — convert kilometers and miles, or hours and minutes, to a common base first.
- For the special case of two equal distances at different speeds, the harmonic mean formula (2×S1×S2)÷(S1+S2) gives a useful shortcut and a way to double-check your answer.
- Sanity-check your final average speed — it should always fall between the slowest and fastest leg speeds, and it will be pulled closer to whichever speed was maintained for more time.
Frequently Asked Questions
What is the formula for average speed? Average Speed = Total Distance ÷ Total Time. This is the only correct formula for a journey where speed varies across different segments.
Can I just average the speeds of each leg? No — that gives the wrong answer unless equal time was spent at each speed. Average speed must be weighted by how long each speed was maintained, which Total Distance ÷ Total Time accounts for automatically.
How do you find average speed for two equal distances at different speeds? Use the harmonic mean formula: Average Speed = (2 × S1 × S2) ÷ (S1 + S2).
What's the difference between average speed and average velocity? Average speed uses total distance traveled (always positive); average velocity uses total displacement (can be zero or negative), since velocity accounts for direction.
How many journey legs can this calculator handle? Between 2 and 5 legs, each with its own distance, distance unit, speed, and speed unit.
Does this calculator support different units for each leg? Yes — each leg's distance and speed can use a different unit (km, miles, meters, feet, m/s, km/h, mph), and everything is converted to a common base automatically before calculating.
Frequently Asked Questions
What is the formula for average speed?
Average Speed = Total Distance ÷ Total Time — the total distance covered over an entire journey divided by the total time taken.
Can I just take the average of the individual speeds?
No, not unless equal time was spent at each speed. Average speed must be weighted by time, so Total Distance ÷ Total Time is the correct formula.
How do I find average speed for two equal distances at different speeds?
Use the harmonic mean: Average Speed = (2 × S1 × S2) ÷ (S1 + S2).
What's the difference between average speed and average velocity?
Average speed uses total distance (always positive); average velocity uses total displacement, which accounts for direction and can be zero for a round trip.
How many legs can I add to this calculator?
You can enter between 2 and 5 legs, each with its own distance, distance unit, speed, and speed unit.