Comparing concentrations and pH