pH Calculation and Classification