The resultant force magnitude due to the pressure acting in the lateral direction is:

where r is the inside radius of the cylinder and is the length of a segment arbitrarily chosen for the free-body diagram.