The acidity constant, Ka, measures the strength of an acid in a solution by quantifying its tendency to donate a proton (H+) to a base. It is expressed as the equilibrium constant for the dissociation of the acid into its conjugate base and a proton in water.