Bus Route Optimization Calculator
Calculate optimal bus headways and fleet size based on route length, speed, and ridership demand.
About this calculator
Two separate questions drive how many buses a transit agency needs to run a route: how long it takes one bus to complete a full round trip, and how frequently a bus needs to depart to keep up with peak demand. This calculator answers both and combines them into a fleet size. Round Trip Time comes from the route's length and average operating speed -- doubled for the round trip, where average speed already bakes in stops, traffic, and dwell time, which is why real-world urban bus speeds (10-20 mph) run far below a vehicle's actual road speed -- plus a 15% terminal recovery/layover allowance on top of that running time, reflecting standard transit-scheduling practice of holding roughly 10-20% of running time in reserve at route ends for driver breaks and schedule-adherence recovery.
Required Headway -- the time gap between consecutive bus departures -- comes from dividing the route's peak-hour ridership by how many riders a single bus can carry: if 600 riders need service in an hour and each bus holds 60, that is ten buses passing a given point every hour, meaning one bus every 6 minutes. Active Buses Needed is the number of buses that must be simultaneously in service, on the road, to maintain that headway given how long a full round trip (running time plus recovery) actually takes -- a bus can't be in two places at once, so if the scheduled round trip takes 110.4 minutes and buses need to depart every 6 minutes, 19 buses need to be on the route simultaneously (110.4/6, rounded up). Total Fleet adds a further 15% spare ratio on top of that active count -- a separate quantity from the terminal recovery allowance above, reflecting standard transit industry practice of holding buses in reserve for scheduled maintenance, unexpected breakdowns, and service disruptions -- a fleet sized to exactly the active-bus minimum has zero margin for a single bus going out of service.
Inputs
Results
Round Trip Time (min)
110.4
Required Headway (min)
6
How to Use This Calculator
- Enter Route Length (miles, one-way), Average Speed (mph), and Peak Ridership/Hour.
- Set Bus Capacity.
- Review Round Trip Time (min) and Required Headway (min).
- Use Active Buses Needed and Total Fleet (with spares) to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Average Speed (mph)
| Average Speed (mph) | Round Trip Time (min) | Required Headway (min) |
|---|---|---|
| 7.5 | 220.8 | 6 |
| 11 | 150.5 | 6 |
| 23 | 72 | 6 |
| 38 | 43.6 | 6 |
What each input means
- Route Length (miles, one-way)
- One-way route length in miles
- Average Speed (mph)
- Average operating speed including stops and traffic (typically 10-20 mph in urban areas)
- Peak Ridership/Hour
- Peak hourly ridership demand in one direction
- Bus Capacity
- Seated + standee capacity of each bus
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersRoute Length (miles, one-way) = 12, Average Speed (mph) = 15, Peak Ridership/Hour = 600, Bus Capacity = 60 = 4 input(s) provided
- Calculate Round Trip TimeRound Trip Time110.4 = 110.4
- Calculate Required HeadwayRequired Headway6 = 6
- Calculate Active Buses Needed19 = 19
- Calculate Total FleetTotal Fleet22 = 22
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does a longer round trip time not directly reduce the number of buses needed?
Because the number of buses needed depends on the RELATIONSHIP between round trip time and headway, not on round trip time alone. A longer round trip does increase Active Buses Needed for a fixed headway (more buses have to be simultaneously on the road to maintain the same departure frequency over a longer route), but the headway itself is set independently by ridership demand and bus capacity. Round trip time and headway together determine fleet size; neither one alone tells the whole story.
Why does increasing bus capacity lengthen the required headway?
Because Required Headway comes from dividing peak ridership by how many buses per hour are needed to carry it, and buses per hour is ridership divided by capacity per bus. A higher-capacity bus (an articulated or double-decker bus, for example) can carry the same peak ridership with fewer trips per hour, which means each bus can depart less frequently -- a longer headway -- while still moving the same number of riders through the route in an hour.
Why does the fleet size include a 15% spare ratio on top of active buses?
Because buses need to leave revenue service periodically for scheduled maintenance and inspections, and unscheduled breakdowns happen regardless of maintenance quality -- a fleet sized to exactly the number of buses needed at any one moment has zero capacity to absorb either. A roughly 10-20% spare ratio is standard transit industry practice for exactly this reason; this calculator uses 15% as a representative figure within that range, not a number every agency uses identically.
Does a shorter average speed always mean more buses are needed?
It increases Round Trip Time, which does tend to increase Active Buses Needed for a fixed headway, since more buses must be simultaneously on the road to cover a longer trip duration at the same departure frequency. Average speed already reflects real operating conditions -- traffic, stops, and dwell time, not top road speed -- so a route through heavier traffic or with more frequent stops both lower average speed and, through this same mechanism, tend to raise the number of buses the route requires.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
BRT Corridor Capacity Calculator
Calculate Bus Rapid Transit corridor capacity, station count, and travel time based on headway and route design.
Transit & Transportation PlanningTransit Fare Revenue Calculator
Project transit fare revenue from ridership, base fares, transfer discounts, and pass programs.
Rental & Sharing EconomyBike Share Program Calculator
Plan a bike-share program: estimate fleet size, station count, ridership, revenue, and operating costs based on service area population.
Fleet ManagementRoute Optimization Savings
Calculate fuel and time savings from route optimization.
Pest ControlPest Route Planner Calculator
Plan daily pest control routes by calculating maximum stops, service hours, drive hours, and technician utilization percentage.
More in Aviation, Marine & Transport.