This process begins as the router analyzes its LSDB and identifies all subnets in its local area. (Note the process for inter-area route calculation is different and discussed briefly in the next section.)
OSPF adds all costs of outbound interfaces in a path toward a non-connected network to obtain its metric. All paths toward a destination subnet are then compared, with the lowest aggregate cost route inserted into the routing table. (Lower costs infer higher bandwidth.)
In a scenario where two paths have an equal cost toward a destination, equal-cost load balancing would occur and both routes would be inserted into the routing table.