The measure of acidity or alkalinity of soil, which influences nutrient availability and plant growth.