API RP 14E Section 2 and Equation 2 shows calculation