Isotonicity and pH calculation