Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Find pH: Formula and Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To find the pH of a solution, use the formula pH = -log₁₀[H⁺], where [H⁺] is the hydrogen ion concentration in moles per liter (M). If you know the concentration of a strong acid, plug it directly into the formula; for weak acids, you first need to calculate [H⁺] using the acid dissociation constant (Ka). For bases, find pOH = -log₁₀[OH⁻] and then pH = 14 - pOH (at 25°C). This guide walks you through each case with clear steps and worked examples.

What You'll Need

  • A scientific calculator with a log function (base 10).
  • The concentration of the acid or base in moles per liter (M). If you only have grams per liter, you'll need the molar mass to convert.
  • For weak acids or bases, the acid dissociation constant (Ka) or base dissociation constant (Kb).
  • Paper and pencil to track your work.
  • Optional: a pH meter or pH paper to verify your result.

Step-by-Step

  1. Identify whether you have an acid or a base. Acids donate H⁺ (protons) and bases accept them. Common strong acids include HCl, HNO₃, and H₂SO₄ (first proton). Common strong bases include NaOH and KOH. Weak acids include acetic acid (CH₃COOH) and carbonic acid; weak bases include ammonia (NH₃).
  2. Determine the concentration of hydrogen ions, [H⁺], in moles per liter. For a strong acid that dissociates completely, [H⁺] equals the acid's molarity. For example, a 0.01 M HCl solution has [H⁺] = 0.01 M. For a strong base, find [OH⁻] first (equal to the base's molarity if it dissociates completely), then use Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴ at 25°C to find [H⁺] = 1.0 × 10⁻¹⁴ / [OH⁻].
  3. For weak acids, calculate [H⁺] using the Ka expression. Write the dissociation equation: HA ⇌ H⁺ + A⁻. The equilibrium expression is Ka = [H⁺][A⁻]/[HA]. Assume that the initial concentration of HA is C and that x moles per liter dissociate. Then [H⁺] = [A⁻] = x, and [HA] = C - x. If Ka is small (typically less than 10⁻³) and C is not extremely small, you can approximate C - x ≈ C, giving Ka ≈ x²/C, so x = √(Ka × C). This x is [H⁺]. If the approximation is not valid (e.g., Ka is large or C is very low), solve the quadratic equation x² + Ka·x - Ka·C = 0.
  4. For weak bases, calculate [OH⁻] similarly. Write the base hydrolysis: B + H₂O ⇌ BH⁺ + OH⁻. Kb = [BH⁺][OH⁻]/[B]. Let x = [OH⁻] = [BH⁺], and [B] = C - x. Approximate x = √(Kb × C) when Kb is small. Then find [H⁺] = Kw / [OH⁻] and proceed to pH.
  5. Calculate pH using the formula pH = -log₁₀[H⁺]. On your calculator, enter the [H⁺] value and press the log (base 10) button, then multiply by -1. For example, if [H⁺] = 1.0 × 10⁻³ M, log(1.0 × 10⁻³) = -3, so pH = 3. If you have [OH⁻], first find pOH = -log₁₀[OH⁻], then pH = 14 - pOH (at 25°C).
  6. Check the reasonableness of your answer. pH values typically range from 0 to 14 in aqueous solutions at 25°C, though they can be negative or above 14 in extreme cases. Acids have pH < 7, bases have pH > 7, and neutral solutions have pH = 7. If your calculated pH is outside this range, recheck your concentration units and calculations.

Common Mistakes

  • Forgetting to convert to molarity. The formula requires concentration in moles per liter. If you have grams per liter, divide by the molar mass (g/mol) to get molarity.
  • Using the wrong Ka or Kb. Make sure you use the correct dissociation constant for the specific acid or base, and for the correct temperature (Ka values are temperature-dependent).
  • Assuming strong acid behavior for weak acids. Weak acids do not dissociate completely, so [H⁺] is not equal to the acid's molarity. Always use the Ka expression.
  • Mixing up pH and pOH formulas. pH = -log[H⁺], pOH = -log[OH⁻], and pH + pOH = 14 at 25°C. Do not use pH = -log[OH⁻].
  • Ignoring the autoionization of water. For very dilute solutions (concentration < 10⁻⁶ M), the H⁺ from water becomes significant. In such cases, use the quadratic equation including Kw.
  • Using the approximation when it's invalid. If the calculated x is more than about 5% of the initial concentration C, the approximation C - x ≈ C is not accurate; solve the quadratic equation instead.

Tips

  • Always write down the dissociation equation and the equilibrium expression before plugging in numbers. This helps you avoid mistakes.
  • Use the correct number of significant figures. The concentration usually has 2-3 significant figures, so your pH should have the same number of decimal places as the significant figures in the concentration (e.g., [H⁺] = 1.0 × 10⁻³ M has two significant figures, so pH = 3.00).
  • For polyprotic acids (like H₂SO₄ or H₃PO₄), consider each dissociation step separately. Often only the first dissociation contributes significantly to [H⁺], but for the second step you may need to use the Ka2 value.
  • Remember that pH is temperature-dependent because Kw changes with temperature. The formula pH = -log[H⁺] is always valid, but the relationship pH + pOH = 14 is only true at 25°C.
  • If you have a buffer solution, use the Henderson-Hasselbalch equation: pH = pKa + log([A⁻]/[HA]).

Troubleshooting

  • Your calculated pH seems too high or too low. Check that you used the correct concentration units (M, not mM or g/L). Also verify that you used the correct log base (base 10, not natural log).
  • You get a negative pH. Negative pH is possible for very concentrated strong acids (e.g., 10 M HCl gives pH ≈ -1). If you didn't expect that, recheck your concentration.
  • Your weak acid calculation gives a pH that doesn't match the expected range. Ensure you used the correct Ka value and that you solved for x correctly. If you used the approximation, check if x is less than 5% of C; if not, solve the quadratic.
  • You have a base but calculated pH directly from [OH⁻]. Remember to convert to pOH first, then to pH.
  • Your answer differs from a pH meter reading. pH meters must be calibrated with standard buffers before use. Also, activity effects can cause slight differences, especially in concentrated solutions.

Frequently Asked Questions

What is the formula for pH?

pH = -log₁₀[H⁺], where [H⁺] is the hydrogen ion concentration in moles per liter.

How do I find pH from pOH?

Use the relationship pH + pOH = 14 at 25°C. So pH = 14 - pOH.

Can pH be negative?

Yes, for very concentrated strong acids (e.g., 12 M HCl), the hydrogen ion concentration can exceed 1 M, giving a negative pH.

How do I calculate pH of a weak acid?

First calculate [H⁺] using the Ka expression: Ka = [H⁺]²/(C - [H⁺]). If Ka is small, approximate [H⁺] = √(Ka × C). Then pH = -log[H⁺].

What is the pH of pure water?

At 25°C, pure water has [H⁺] = 1.0 × 10⁻⁷ M, so pH = 7.00.

Do I need to use activities instead of concentrations?

For most educational and routine calculations, concentrations are sufficient. In precise analytical work, activities (which account for ion interactions) are used, but that is beyond basic pH calculations.