pH Calculator
Choose a mode, such as a strong acid, a strong base or a weak acid, and enter the concentration and, for weak species, the acid or base constant. The calculator returns pH, pOH and both ion concentrations at twenty-five degrees Celsius. For weak acids it solves the quadratic exactly and also shows whether the usual shortcut would have been safe.
How to use the pH calculator
Result
The working
Enter your numbers above to see the answer and every step.
- In force from Checked on Source: CODATA molar gas constant R (re-opened 2026-10-10: 8.314 462 618... exact, 2022 CODATA), CODATA standard atmosphere 101 325 Pa exact, Standard temperature and pressure (IUPAC 273.15 K and 100 kPa since 1982; 22.711 L/mol; older 1 atm 22.414 L/mol)
-
Checked on
Source: Gold Book: pH, IAPWS R11-24 Revised Release on the Ionization Constant of H2O (2024), Table 3 pKw 0 to 1000 C
Method: standard mathematical definitions and textbook formulas, shown in full in the working.
Worked example
A hydrogen ion concentration of 0.001 moles per litre gives a pH of 3. At twenty-five degrees Celsius pH and pOH add to 14, so the pOH is 11.
Strong and weak acids and bases
The steps of the worked example appear here.
Method, assumptions and sources
At twenty-five degrees Celsius the ionic product of water is 0, so pH plus pOH equals 14. The IAPWS release gives a pKw of 13.99 at that temperature, which differs slightly from the school convention used here. pH is the negative base-ten logarithm of the hydrogen ion concentration. For a strong acid the hydrogen ion concentration equals the acid concentration, with a correction for very dilute solutions. Weak acids use the acid constant and an exact quadratic solution. The gas constant and standard atmosphere used on the chemistry pages come from NIST.
See also: exponent calculator
What it does not cover
- The pH page assumes ideal behaviour with Kw equal to 0 at twenty-five degrees Celsius (a school convention; the IAPWS value of pKw is 13.99), and you supply Ka for weak acids and bases.
- Ideal solutions only: no activity corrections, no change with temperature, and only the first dissociation of polyprotic acids. The water constants are marked provisional.
- This is a study tool. Do not use it for laboratory or safety decisions.
Rules and calculation checked on 11 Oct 2026.
Related calculators
Work out molar mass with an element-by-element table, then moles, molarity, dilution and ideal gas problems, with units carried through each step.
Stoichiometry calculatorBalance a chemical equation, then find the limiting reagent, excess, theoretical yield and percent yield, with every mole calculation written out.
Rounding calculatorRound a number to decimal places or significant figures and compare half-up, half-even and other modes side by side, using the exact decimal you typed.
Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.