In network theory the average path length is calculated by finding the shortest path between all pairs of nodes, adding them up, and then dividing by the total number of pairs. This reveals the number of steps on average it takes to get from one member of the network to another.