← All blog posts

pH: worked example step by step

WhiteUI · A plain-English guide to the pH Calculator

The fastest way to learn a pH calculation is to watch one happen slowly. This post works through a single example step by step, then runs two more at the same pace, so you can follow each line and copy the method for your own numbers. All three examples use the same formula the pH Calculator uses: pH = −log₁₀[H⁺].

Three steps for a worked example: 0.001 mol/L becomes 10 to the power minus 3, the log is minus 3, and the pH is 3
One worked example, three steps: write the concentration as a power of 10, take the log, flip the sign.

The problem

A beaker holds hydrochloric acid with a hydrogen ion concentration of 0.001 mol/L. Find the pH, and say whether the solution is acidic, neutral or alkaline. Hydrochloric acid is a strong acid, so all of it is split into ions, and the hydrogen ion concentration is the number given: [H⁺] = 0.001 mol/L. Nothing else is needed. The answer will be a single number between 0 and 14.

Step 1: write the concentration as a power of 10

Write 0.001 as a power of 10. Count the places after the decimal point: 0.001 is one thousandth, which is 10⁻³. This step is the whole trick of the calculation, because the log of a power of 10 is just the exponent. If your concentration is 0.01, it is 10⁻². If it is 0.0000001, it is 10⁻⁷. A concentration that is not a neat power of 10, such as 0.05, still works: its log is −1.30, and the same steps apply.

Step 2: take the log

Take the base-10 log of the concentration. The log of 10⁻³ is −3, because 10 raised to −3 gives 0.001. That is all the log does here: it pulls the exponent out of the power of 10. For a neat power of 10 you can read it off without a calculator. For a number like 2.5 × 10⁻⁴, the log is −3.60, and you need a calculator or the log button on your phone.

Step 3: flip the sign

Change the sign of the log. The log was −3, so the pH is +3. Written out: pH = −log₁₀(0.001) = −(−3) = 3. The solution is acidic, because 3 is below 7. That is the full answer: pH 3. As a check, pH 3 sits near vinegar, which is about 2.5, and well below black coffee at about 5 — a sensible place for a dilute strong acid.

pH = −log₁₀(0.001) = −(−3) = 3

A second example: [H⁺] = 2.5 × 10⁻⁴ mol/L

Not every concentration is a neat power of 10. Take [H⁺] = 2.5 × 10⁻⁴ mol/L. The log of 2.5 × 10⁻⁴ is −3.60, so the pH is 3.60. The working is the same: log first, flip the sign, read the answer. The answer is still acidic, and it sits a little above pH 3, which makes sense: 2.5 × 10⁻⁴ is a little weaker than 0.001, so its pH is a little higher.

A third example, backwards: pH 9.25

Now start from the pH instead. A solution has pH 9.25. Its pOH is 14 − 9.25 = 4.75, and its concentration is [H⁺] = 10^(−9.25) = 5.62 × 10⁻¹⁰ mol/L. The solution is alkaline, because 9.25 is above 7, and the tiny concentration is the giveaway: only about one hydrogen ion in two billion water molecules, which is why the pH is so high.

Checking your answer

Three checks catch most slips. First, the pH should sit between 0 and 14 for ordinary solutions; outside that, recheck the concentration. Second, a stronger concentration means a lower pH: if you doubled [H⁺] and your pH went up, something is backwards. Third, a tenfold change in concentration moves the pH by exactly 1: 0.01 mol/L is pH 2 and 0.001 mol/L is pH 3, one step apart for a tenfold change.

Frequently asked questions

What is the pH of 0.001 mol/L acid?

3. Write 0.001 as 10⁻³, take the log to get −3, flip the sign: pH 3.

What if the concentration is not a neat power of 10?

Use a calculator for the log. For [H⁺] = 2.5 × 10⁻⁴ mol/L, the log is −3.60, so the pH is 3.60.

How do I check a pH answer?

The pH should sit between 0 and 14, a stronger concentration should give a lower pH, and a tenfold change in concentration should move the pH by 1.

What is the pH of 0.01 mol/L acid?

2. Write 0.01 as 10⁻², take the log to get −2, flip the sign: pH 2.

More guides on the pH Calculator

Try it yourself

Try the pH Calculator — free, in your browser.

Open the pH Calculator