There are three modes of failure that limit bearing capacity: general shear failure, local shear failure, and punching shear failure. It depends upon the shear strength of soil as well as shape, size, depth and type of foundation.