You're probably better off in the Structural Engineering Other Topics (forum507) section. But I've always been taught that the flanges are just as strong or stronger than the pipe, So I would just take the total length and check against the pipe section properties.