Question: what is the formula to calculate the ph of a solution?
Answer: To calculate the pH of an aqueous solution you need to know the concentration of the hydronium ion in moles per liter (molarity). The pH is then calculated using the expression: pH = - log [H3O+].