Calculating the takeoff for a fitting