Porosity of the soil sample = volume of air space in the soilvolume of soil sample\frac{\text{volume of air space in the soil}}{\text{volume of soil sample}}volume of soil samplevolume of air space in the soil x 100