How to calculate pH
OpenStax: pH = −log[H3O+], the negative base-10 logarithm of the hydronium ion concentration in moles per liter. Going the other way, [H3O+] = 10^−pH. For a base, work out the pOH from the hydroxide concentration the same way, then use pH + pOH = 14.00 (at 25 °C).
Here it is with your numbers:
- Take −log of the concentration: −log(1.2 × 10⁻³) = 2.9208.
- Round to 2 decimals: pH 2.92.
It means the solution is acidic at 25 °C (pH below 7).
Source OpenStax Chemistry 2e · 14.2 pH and pOH ↗
Acidic, neutral or basic
| Solution | Concentrations | pH at 25 °C |
|---|---|---|
| Acidic | [H3O+] > [OH−] | below 7 |
| Neutral | [H3O+] = [OH−] | 7 |
| Basic | [H3O+] < [OH−] | above 7 |
The calculator decides on the pH it shows, to 2 decimals: 7.00 is neutral.
Strong acids and bases only
The calculator takes the concentration you type as the hydronium or hydroxide concentration, which holds when the acid or base breaks up completely in water, like the HCl and KOH in OpenStax's examples. For a weak acid, only part of it ionizes, so its pH depends on how much does; this calculator doesn't work that out.