Calculating pH of Weak Acids and Bases
Use this interactive calculator to determine pH, pOH, percent ionization, equilibrium concentration, and remaining undissociated species for weak acids and weak bases at 25 degrees Celsius.
Results will appear here
Enter the concentration and Ka or Kb, then click Calculate pH.
Expert Guide to Calculating pH of Weak Acids and Bases
Calculating pH for weak acids and weak bases is one of the most important equilibrium skills in general chemistry, analytical chemistry, environmental science, and many life science courses. Unlike strong acids and strong bases, which dissociate almost completely in water, weak acids and bases only partially ionize. That partial ionization means you cannot simply assume that the hydrogen ion concentration or hydroxide ion concentration equals the starting molarity. Instead, you must evaluate the equilibrium using the acid dissociation constant, Ka, or the base dissociation constant, Kb.
A weak acid such as acetic acid, HF, or benzoic acid establishes an equilibrium in water. A generic weak acid can be written as HA, and its reaction is HA + H2O ⇌ H3O+ + A-. A weak base such as ammonia behaves similarly, but in the opposite direction with respect to proton transfer. A generic weak base can be written as B, and its reaction is B + H2O ⇌ BH+ + OH-. Because only a fraction of the molecules react, the pH depends on both the initial concentration and the equilibrium constant. That is why the same acid can produce noticeably different pH values at 1.0 M, 0.10 M, and 0.0010 M.
Core formulas you need
For a weak acid HA with initial concentration C, if x is the equilibrium concentration of H+ formed, then:
- Ka = x2 / (C – x)
- x represents [H+]
- pH = -log10[H+]
For a weak base B with initial concentration C, if x is the equilibrium concentration of OH- formed, then:
- Kb = x2 / (C – x)
- x represents [OH-]
- pOH = -log10[OH-]
- pH = 14.00 – pOH at 25 C
Many students learn the approximation x is much smaller than C, which simplifies the expression to x ≈ √(KaC) for acids or x ≈ √(KbC) for bases. That approximation is useful, but it breaks down when the acid or base is not very weak, when the concentration is low, or when a high precision answer is required. This calculator uses the exact quadratic solution:
- x = (-K + √(K2 + 4KC)) / 2
Here K means either Ka or Kb depending on the species. This result comes directly from rearranging K = x2 / (C – x) into a quadratic equation.
Step by step method for a weak acid
- Write the balanced equilibrium reaction: HA + H2O ⇌ H+ + A-.
- Set up an ICE table with initial, change, and equilibrium concentrations.
- Let x be the amount of acid that dissociates.
- Use Ka = x2 / (C – x).
- Solve for x using the quadratic formula or the small x approximation when valid.
- Compute pH from pH = -log10(x).
- Calculate percent ionization as (x / C) × 100.
For example, acetic acid has Ka = 1.8 × 10-5. If the initial concentration is 0.100 M, the exact equilibrium concentration of H+ is about 1.33 × 10-3 M. That gives a pH of about 2.88. Notice how this is much less acidic than a 0.100 M strong acid, which would have a pH near 1.00.
Step by step method for a weak base
- Write the equilibrium reaction: B + H2O ⇌ BH+ + OH-.
- Set up an ICE table with concentration changes.
- Let x be the amount of base that reacts with water.
- Use Kb = x2 / (C – x).
- Solve for x to find [OH-].
- Find pOH = -log10(x).
- Convert to pH using pH = 14.00 – pOH.
- Calculate percent protonation or effective ionization as (x / C) × 100.
Ammonia is a classic weak base with Kb = 1.8 × 10-5. At 0.100 M, the equilibrium hydroxide concentration is also about 1.33 × 10-3 M, giving a pOH of about 2.88 and a pH near 11.12. This symmetry occurs because the Kb of ammonia is numerically similar to the Ka of acetic acid.
When is the small x approximation acceptable?
The common guideline is the 5 percent rule. If x is less than 5 percent of the starting concentration, then replacing C – x with C introduces only a small error. In practical terms, you can estimate x with √(KC) and then test whether x/C × 100 is under 5 percent. If it is not, use the exact quadratic solution.
| Species at 25 C | Type | Ka or Kb | pKa or pKb | Strength note |
|---|---|---|---|---|
| Acetic acid, CH3COOH | Weak acid | 1.8 × 10-5 | pKa = 4.76 | Common benchmark for weak acid calculations |
| Hydrofluoric acid, HF | Weak acid | 6.8 × 10-4 | pKa = 3.17 | Stronger than acetic acid, still not fully dissociated |
| Benzoic acid | Weak acid | 6.3 × 10-5 | pKa = 4.20 | Frequently used in buffer examples |
| Ammonia, NH3 | Weak base | 1.8 × 10-5 | pKb = 4.74 | Standard example for weak base pH |
| Methylamine, CH3NH2 | Weak base | 4.4 × 10-4 | pKb = 3.36 | More basic than ammonia |
The values above are widely used textbook and laboratory reference values at 25 degrees Celsius. They help explain why some solutions with equal starting concentration can differ in pH by more than one unit. Since pH is logarithmic, even a tenfold change in equilibrium hydrogen ion concentration changes pH by 1.00 unit.
How concentration affects percent ionization
One of the most important patterns in weak acid chemistry is that percent ionization increases as the solution becomes more dilute. This seems counterintuitive at first, but it follows directly from Le Chatelier’s principle and the equilibrium expression. Dilution lowers all concentrations, and the system responds by favoring dissociation to a greater extent.
| Acetic acid concentration | Approximate [H+] | Approximate pH | Percent ionization |
|---|---|---|---|
| 0.100 M | 1.33 × 10-3 M | 2.88 | 1.33% |
| 0.0100 M | 4.15 × 10-4 M | 3.38 | 4.15% |
| 0.00100 M | 1.26 × 10-4 M | 3.90 | 12.6% |
This table demonstrates two important statistics. First, the pH rises as the solution is diluted because the absolute amount of H+ decreases. Second, the percent ionization becomes much larger at lower concentration, which means the small x approximation becomes less dependable for very dilute weak acid solutions.
Weak acids, weak bases, and conjugate relationships
Weak acids and weak bases are connected through their conjugates. For a conjugate acid base pair, Ka × Kb = Kw at 25 C, where Kw = 1.0 × 10-14. If you know Ka of a weak acid, you can find Kb of its conjugate base by dividing Kw by Ka. Likewise, if you know Kb of a weak base, you can find Ka of its conjugate acid by dividing Kw by Kb.
This relationship is especially useful in buffer problems, hydrolysis of salts, and titration curves. For example, acetate is the conjugate base of acetic acid. Since acetic acid has Ka = 1.8 × 10-5, the acetate ion has Kb ≈ 5.6 × 10-10. That tells you acetate is a weak base, but a much weaker base than ammonia.
Common mistakes to avoid
- Assuming complete dissociation for a weak acid or weak base.
- Forgetting to convert from pOH to pH for weak bases.
- Using Ka when the problem gives Kb, or vice versa.
- Using the small x approximation without checking the 5 percent rule.
- Confusing concentration units or typing the constant in the wrong scientific notation.
- Ignoring temperature, since pKw changes with temperature even though this calculator assumes 25 C.
How the chart helps interpretation
The chart in this calculator compares the initial concentration, the amount dissociated at equilibrium, and the concentration remaining undissociated. This is useful because pH alone does not always communicate how small the dissociated fraction may be. For many weak acids, the equilibrium amount dissociated is only a tiny fraction of the original concentration, even when the pH is clearly acidic. Seeing the dissociated fraction alongside the remaining amount helps connect equilibrium chemistry to the logarithmic pH scale.
Best use cases for this calculator
- Homework on equilibrium and acid base chemistry
- Preparing for AP Chemistry or college general chemistry exams
- Quick laboratory checks for expected pH values
- Verifying whether a small x approximation is reasonable
- Teaching percent ionization trends during dilution
Authoritative references for further study
- University level acid-base equilibrium guidance via LibreTexts
- U.S. Environmental Protection Agency resource on acidification and pH
- National Center for Biotechnology Information, acid-base principles overview
Final takeaway
To calculate the pH of a weak acid or weak base correctly, focus on equilibrium, not complete dissociation. Start with the equilibrium expression, solve for the amount that reacts, then convert that concentration into pH or pOH. The strength constant and the starting concentration both matter, and the exact quadratic method is the safest way to avoid approximation errors. Once you understand that weak acid and weak base pH is an equilibrium problem, the calculations become systematic and much easier to master.