pH is formally defined as the negative decimal logarithm of the hydrogen ion activity, \(a_{H^+}\). The formula is \(pH = -\log_{10}(a_{H^+})\). Activity is the effective concentration of hydrogen ions, accounting for intermolecular forces, and is dimensionless. For dilute solutions, activity is approximately equal to the molar concentration of \(H^+\) ions, simplifying the calculation.





