QuestionAcids and bases
How Do You Calculate pH? Formula and Worked Examples

To calculate pH, take the negative base-10 logarithm of the hydrogen ion concentration, pH = −log10[H+]. The concentration must be in moles per litre. For a 0.01 mol/L solution of a strong acid, the pH is 2.00.
Contents
The full answer
The pH of a solution is found from the hydrogen ion concentration, written [H+] and measured in moles per litre (mol/L). The steps are simple: write the concentration, find its base-10 logarithm, and change the sign. The result is a number between about 0 and 14 for most solutions in water at 25 °C.
Report the answer with the same precision as the concentration. A concentration of 0.010 mol/L has two significant figures, so the pH is written with two decimal places, 2.00. Writing 2 alone would throw away information, and writing 2.000 would claim more precision than the data support.
For strong acids and strong bases, the concentration of the acid or base is usually the same as the concentration of hydrogen or hydroxide ions. Hydrochloric acid (HCl) releases one hydrogen ion for each molecule, so a 0.01 mol/L solution has [H+] = 0.01 mol/L. Sodium hydroxide (NaOH) releases one hydroxide ion for each formula unit, so a 0.1 mol/L solution has [OH⁻] = 0.1 mol/L.
The other forms of the formula are used just as often. The reverse step finds the concentration from a pH, and the pOH route finds the pH of a base. These forms are summarized in the pH scale overview, which gives the typical values to compare your answer with.
The science behind the logarithm
A logarithm answers the question “what power of 10 gives this number?” The base-10 logarithm of 0.01 is −2, because 10⁻² = 0.01. The pH formula takes the negative of that power, so pH = −(−2) = 2. A concentration of 0.001 gives log10 = −3 and pH 3, and so on.
This is why each pH unit is a tenfold change in hydrogen ion concentration. A solution with [H+] = 1 × 10⁻³ mol/L has pH 3, while one with [H+] = 1 × 10⁻⁴ mol/L has pH 4. Because the logarithm compresses large ranges, the pH scale keeps everyday values between 0 and 14.
For a base, the same reasoning gives pOH = −log10[OH⁻], and then pH = 14 − pOH at 25 °C. This works because the product of the hydrogen and hydroxide ion concentrations in water is 1.0 × 10⁻¹⁴ mol²/L² at 25 °C.
Worked examples
Example 1, strong acid. A solution of hydrochloric acid has a concentration of 0.01 mol/L. [H+] = 0.01 mol/L, so pH = −log10(0.01) = −(−2) = 2.00.
Example 2, strong base. A solution of sodium hydroxide has a concentration of 0.1 mol/L. [OH⁻] = 0.1 mol/L, so pOH = −log10(0.1) = 1.00. Then pH = 14.00 − 1.00 = 13.00.
Example 3, reverse step. A solution has pH 5.0. Then [H+] = 1 ÷ 105 = 0.00001 mol/L, or 1.0 × 10⁻⁵ mol/L. Scientific calculators handle these steps with the log and 10x keys.
Example 4, from pOH. A solution of a base has pOH 2.5. Then pH = 14.0 − 2.5 = 11.5 at 25 °C. The hydroxide ion concentration is [OH⁻] = 1 ÷ 102.5 ≈ 3.2 × 10⁻³ mol/L, which matches the same pOH. Household ammonia has a pH of about 11 to 12, close to this example, but it is a weak base and needs the Kb method rather than this direct route.
Dilution and weak acids
Diluting a strong acid by a factor of ten lowers its hydrogen ion concentration by a factor of ten, so its pH rises by exactly one unit. Diluting 0.1 mol/L HCl (pH 1) to 0.01 mol/L gives pH 2, and diluting again gives pH 3. This rule holds while the acid’s hydrogen ions are much more numerous than those from water, which is roughly above 1 × 10⁻⁶ mol/L.
Weak acids need a different method. A weak acid such as acetic acid releases only some of its hydrogen ions, so the acid dissociation constant (Ka) is needed. For a weak acid with concentration C, the approximate hydrogen ion concentration is [H+] ≈ √(Ka × C). Acetic acid has Ka = 1.8 × 10⁻⁵ at 25 °C, so a 0.10 mol/L solution gives [H+] ≈ √(1.8 × 10⁻⁶) ≈ 1.3 × 10⁻³ mol/L and pH ≈ 2.9. This is a common AP Chemistry problem.
Common misconceptions
Misconception 1: pH is the concentration. A pH of 2 does not mean 2 mol/L. It is the logarithm of the hydrogen ion concentration, so the concentration itself is 0.01 mol/L.
Misconception 2: The log of a number and the number are interchangeable. The calculator must be set to log base 10, not the natural logarithm (ln) button. Using ln gives a different answer.
Misconception 3: A 0.1 mol/L base has pH 1. Bases have pH above 7. A 0.1 mol/L solution of a strong base has pOH 1 and pH 13, so always check whether the solution is an acid or a base first.
Frequently asked questions
What is the formula for pH?
The formula is pH = −log10[H+], where [H+] is the hydrogen ion concentration in mol/L. Take the base-10 logarithm of the concentration, then change its sign. A calculator’s log button gives the base-10 logarithm.
How do you find pH from pOH?
At 25 °C, pH + pOH = 14, so pH = 14 − pOH. You can find pOH from the hydroxide ion concentration with pOH = −log10[OH⁻]. A solution with pOH 1 has pH 13.
How do you find the hydrogen ion concentration from pH?
Divide 1 by 10 raised to the power of the pH, which is [H+] = 1 ÷ 10pH. For example, pH 3 gives [H+] = 1 ÷ 103 = 0.001 mol/L. This is the reverse of the pH formula.
What is the pH of a 0.01 M solution of hydrochloric acid?
Hydrochloric acid is a strong acid, so it releases almost all of its hydrogen ions in water. A 0.01 M solution has [H+] = 0.01 mol/L, which gives pH = −log10(0.01) = 2.00.
Why does diluting a strong acid by ten raise the pH by one?
Each tenfold dilution divides the hydrogen ion concentration by ten. Because pH is the negative logarithm of that concentration, the pH rises by exactly one unit. This holds for strong acids at concentrations well above 1 × 10⁻⁶ mol/L.
Sources and further reading
- IUPAC, "Compendium of Chemical Terminology (Gold Book)"
- OpenStax, "Chemistry 2e"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
Cite this page
“How Do You Calculate pH? Formula and Worked Examples.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-you-calculate-ph/.
More about pH scale
- ChemistrypH Scale: What pH Means, Formula and Everyday Examples
- QuestionCan Lime Juice Cook Fish? The Chemistry of Ceviche
- ListpH of Common Substances: From Battery Acid to Drain Cleaner
- ListSafe Science Fair Project Ideas in Physics and Chemistry
- QuestionWhat Causes Acid Rain? Sulfur and Nitrogen Oxides Explained
- QuestionWhat Is a Buffer Solution? How Buffers Resist pH Change
- QuestionWhat Is Ocean Acidification? CO2 and the Changing Sea
- QuestionWhat Is the pH of Water? Pure, Tap, Rain and Sea Water
- QuestionWhy Are Fizzy Drinks Acidic? Carbonic and Phosphoric Acid