This paper describes the nonlinear analysis of pressure vessels necessary for taking into account the large deformations that take place at the junctions of shells of different geometries. Specifically, a computer program has been developed, based on both the linear and nonlinear theories of shells, which obtains numerical solutions for the most commonly used types of pressure vessels, namely those with spherical, ellipsoidal or conical heads and also flat-end pressure vessels. A multisegment integration technique has been used to obtain the solutions of the governing equations. The computed solutions are found to be highly accurate when compared with the known results of simple shells, as no nonlinear analysis is reported in the literature on the shell junctions in pressure vessels.