The size of a footing is proportioned to ensure that the maximum soil pressure does not exceed the allowable bearing pressure and that there is no tension in the footing. The pressure distribution is calculated as $\frac{P}{A} \pm \frac{M}{Z}$.