Acidity of compounds in water