A finite-difference method was proposed and used for analysis of critical loads of shells that have initial imperfections of different types, both regular and local. Ribbed shells were analyzed with allowance for the discreteness in the arrangement of the ribs.