Skip to main content

Henderson-Hasselbalch Practice: pH, pKa, Ratio, Concentrations

Practice buffer chemistry problems using the Henderson–Hasselbalch equation: pH = pKa + log₁₀([A⁻]/[HA]). Create multiple scenarios, choose what to solve for, and optionally check your own answers.

Build Your Practice Set

pH = pKa + log₁₀([A⁻]/[HA])

[A⁻] = conjugate base concentration, [HA] = weak acid concentration

Scenarios (1)

Scenario 1

Provide pKa and ratio [A⁻]/[HA] (or both concentrations)

We'll compare your answer to the computed value

For learning and homework practice only; not for clinical, pharmaceutical, or industrial use.

Practice the Henderson–Hasselbalch Equation

Build one or more buffer scenarios by specifying pKa, pH, ratios, or concentrations. Choose what you want to solve for and optionally enter your own answer to check it.

pH = pKa + log₁₀([A⁻]/[HA])

We'll apply the Henderson–Hasselbalch equation for each scenario.

For learning and homework practice only; not for clinical, pharmaceutical, or industrial use.

Drill: Solve for pH Given Ratio

If you're practicing for a Henderson–Hasselbalch practice exam and your question gives you pKa and the [A⁻]/[HA] ratio, the calculation is one line: pH = pKa + log([A⁻]/[HA]). The most common mistake here isn't the math—it's plugging the ratio in upside down. Conjugate base goes on top, weak acid on bottom. Flip them and your answer is wrong by 2 × log(ratio) pH units, which on a buffer problem can easily be a full point gone.

Try this: pKa = 4.76, [A⁻]/[HA] = 3.0. pH = 4.76 + log(3.0) = 4.76 + 0.477 = 5.24. If you accidentally used [HA]/[A⁻] = 3.0 instead, you'd get pH = 4.76 + log(0.333) = 4.76 − 0.477 = 4.28. That's nearly a full pH unit off in the wrong direction.

The equation also tells you something intuitive: when [A⁻] > [HA], pH > pKa (more base form means more basic). When [HA] > [A⁻], pH < pKa (more acid form means more acidic). At equal concentrations, pH = pKa exactly. If your answer contradicts these rules, you've made an error somewhere.

Drill: Find [A⁻]/[HA] from pH

The reverse problem: given pH and pKa, find the ratio. Rearrange HH: [A⁻]/[HA] = 10^(pH − pKa). If pH = 5.50 and pKa = 4.76, then [A⁻]/[HA] = 10^(0.74) = 5.50. That means for every mole of acetic acid, you have 5.50 moles of acetate.

The most frequent error is computing the exponent with the wrong sign. It's pH − pKa, not pKa − pH. If pH > pKa, the exponent is positive and the ratio is greater than 1 (more conjugate base). If pH < pKa, the exponent is negative and the ratio is less than 1 (more acid). Getting the sign wrong gives you the reciprocal of the right answer.

Quick reference:

pH = pKa → ratio = 1 (equal amounts)

pH = pKa + 1 → ratio = 10

pH = pKa − 1 → ratio = 0.1

pH = pKa + 0.5 → ratio ≈ 3.16

Rearranging HH Algebra

The Henderson–Hasselbalch equation has three unknowns (pH, pKa, ratio), so given any two you can find the third. Three forms of the same equation:

Three rearrangements:

Solve for pH: pH = pKa + log([A⁻]/[HA])

Solve for ratio: [A⁻]/[HA] = 10^(pH − pKa)

Solve for pKa: pKa = pH − log([A⁻]/[HA])

The third form is useful for finding pKa from experimental data—measure the pH of a buffer where you know the ratio. If you dissolved 0.020 mol acid and 0.050 mol conjugate base in 1 L and measured pH = 5.16, then pKa = 5.16 − log(0.050/0.020) = 5.16 − log(2.5) = 5.16 − 0.40 = 4.76.

Notice that volumes cancel in the ratio. Since [A⁻] = n(A⁻)/V and [HA] = n(HA)/V, the volume V cancels: [A⁻]/[HA] = n(A⁻)/n(HA). You can use moles directly without converting to molarity. This shortcut saves time and eliminates a common source of arithmetic errors.

Concentration vs Ratio Traps

HH depends on the ratio of conjugate base to acid, not their absolute concentrations. A buffer with 0.5 M A⁻ and 0.5 M HA has the same pH as one with 0.01 M A⁻ and 0.01 M HA (same ratio = 1, same log(1) = 0). The pH is identical: both equal pKa.

Where concentration matters is buffer capacity. The 0.5 M buffer can absorb 50× more acid or base than the 0.01 M buffer before the ratio shifts enough to change pH significantly. Concentration determines capacity, ratio determines pH. Conflating the two is a trap.

Another trap: diluting a buffer doesn't change its pH (the ratio stays the same). But it does reduce capacity. If you take 100 mL of a 0.5 M acetate buffer and dilute to 1 L, the pH stays the same but it can now absorb only 1/10 the amount of strong acid it could before. Dilution lowers capacity without changing pH—until you push the buffer so far that the 5% approximation fails or water's autoionization becomes significant.

Exam Prompt Walkthrough

Exam-style problem: A buffer contains 0.30 mol CH₃COOH and 0.45 mol CH₃COONa in 2.0 L. pKa = 4.76. (a) What is the pH? (b) What is the pH after adding 0.05 mol NaOH?

(a) Initial pH:

ratio = 0.45/0.30 = 1.50

pH = 4.76 + log(1.50) = 4.76 + 0.176 = 4.94

(b) After adding 0.05 mol NaOH:

NaOH converts HA → A⁻

New HA = 0.30 − 0.05 = 0.25 mol

New A⁻ = 0.45 + 0.05 = 0.50 mol

ratio = 0.50/0.25 = 2.00

pH = 4.76 + log(2.00) = 4.76 + 0.301 = 5.06

The pH shifted only 0.12 units despite adding 0.05 mol of strong base. That's the buffer working. Notice we used moles directly (not concentrations) because volume cancels. If you divided by 2.0 L first, you'd get [A⁻]/[HA] = 0.25/0.125 = 2.00—same ratio, same answer, more arithmetic.

Algebra Breakdown

• HH is derived from Ka: Start with Ka = [H⁺][A⁻]/[HA], take −log of both sides: pKa = pH − log([A⁻]/[HA]), then rearrange. It's not an independent equation—it's just Ka in disguise.

• log(a/b) = log(a) − log(b): This identity is useful when you're given separate concentrations. pH = pKa + log[A⁻] − log[HA].

• Moles work because V cancels: [A⁻]/[HA] = (n_A⁻/V)/(n_HA/V) = n_A⁻/n_HA. Volume drops out, so you can skip molarity entirely.

• Watch for strong acid/base additions: Adding strong acid converts A⁻ → HA (subtract from base, add to acid). Adding strong base converts HA → A⁻ (subtract from acid, add to base). Then recalculate the ratio.

Sources

Frequently Asked Questions

What is the Henderson–Hasselbalch equation used for?
The Henderson–Hasselbalch equation is used to calculate the pH of buffer solutions, determine the ratio of conjugate base to weak acid needed for a specific pH, and understand the behavior of weak acid/base systems in chemistry and biochemistry. The equation is: pH = pKa + log₁₀([A⁻]/[HA]), where [A⁻] is the conjugate base concentration and [HA] is the weak acid concentration. It's essential for: (1) Preparing buffer solutions at specific pH values, (2) Understanding how buffers resist pH changes, (3) Predicting pH changes when concentrations change, (4) Determining pKa values from experimental data, (5) Explaining biological pH regulation (e.g., blood pH maintenance). Understanding this equation helps you see that buffer pH depends on the ratio [A⁻]/[HA], not absolute concentrations, which is why buffers can maintain pH even when diluted.
When is the Henderson–Hasselbalch equation most accurate?
The equation is most accurate for dilute buffer solutions (typically 0.001–0.1 M) where ionic strength effects are minimal, when the buffer pH is within ±1 unit of the pKa (the effective buffer range), and when the weak acid is not too strong (pKa &gt; 2) or too weak (pKa &lt; 12). Outside these conditions, the equation becomes less accurate due to: (1) Activity coefficient effects at high ionic strengths, (2) One buffer component being very small (low buffering capacity), (3) Water's contribution to pH at extreme values, (4) Non-ideal solution behavior. The equation assumes ideal behavior with activity coefficients ≈ 1, which is valid for dilute solutions. Understanding these limitations helps you know when the equation is reliable and when more sophisticated models are needed.
What happens when pH equals pKa?
When pH = pKa, the Henderson–Hasselbalch equation gives: pKa = pKa + log([A⁻]/[HA]), so log([A⁻]/[HA]) = 0, which means [A⁻]/[HA] = 1, or [A⁻] = [HA]. This means the acid is 50% dissociated—half is in the acid form (HA) and half is in the conjugate base form (A⁻). This is the midpoint of a titration curve and the point of maximum buffer capacity. At this point, the buffer can neutralize equal amounts of added acid or base most effectively. Understanding this helps you see why buffers work best when pH is close to pKa, and why choosing a buffer with pKa near your desired pH is important for effective buffering.
What is the effective buffer range?
The effective buffer range is typically pKa ± 1 pH unit. Within this range, the ratio of [A⁻]/[HA] varies from 1:10 (when pH = pKa - 1) to 10:1 (when pH = pKa + 1), providing significant buffering capacity. Outside this range, the buffer becomes increasingly ineffective at resisting pH changes because one component (either HA or A⁻) is present in very small amounts. For example, if pH = pKa - 2, then [A⁻]/[HA] = 0.01 (1:100), meaning very little conjugate base is available to neutralize added acid. Understanding the buffer range helps you choose appropriate buffers for specific pH values and understand why buffers work best within ±1 unit of their pKa. For example, an acetate buffer (pKa = 4.76) is effective between pH 3.8–5.8.
How do I solve for pKa using this equation?
Rearrange the equation: pKa = pH − log([A⁻]/[HA]). You need to know the pH and either the ratio or both concentrations. If you have concentrations, first calculate the ratio: [A⁻]/[HA] = [A⁻] / [HA]. Then calculate pKa: pKa = pH - log(ratio). For example, if pH = 5.0 and [A⁻] = 0.2 M, [HA] = 0.1 M, then ratio = 2.0, and pKa = 5.0 - log(2.0) = 5.0 - 0.301 = 4.70. Input these values in the calculator and select 'Solve for pKa' to get the answer. Understanding how to rearrange the equation helps you solve buffer problems on exams and determine pKa values from experimental measurements.
Why doesn't this calculator account for temperature?
This is an educational tool that assumes standard conditions (25°C). In reality, pKa values change with temperature according to relationships like: pKa(T) = pKa(25°C) + (ΔH/2.303R) × (1/T - 1/298.15), where ΔH is the enthalpy change and R is the gas constant. For precise work, you would need temperature-corrected pKa values, which is beyond the scope of basic Henderson–Hasselbalch problems. Most textbook problems assume 25°C, so this calculator follows that convention. Understanding temperature effects helps you see why pKa values in tables are typically given at 25°C, and why temperature control is important in precise buffer work.
Can I use this for polyprotic acids?
The Henderson–Hasselbalch equation applies to each dissociation step of a polyprotic acid separately. For example, phosphoric acid (H₃PO₄) has three pKa values: pKa₁ = 2.15 (H₃PO₄ ⇌ H⁺ + H₂PO₄⁻), pKa₂ = 7.20 (H₂PO₄⁻ ⇌ H⁺ + HPO₄²⁻), pKa₃ = 12.35 (HPO₄²⁻ ⇌ H⁺ + PO₄³⁻). You would use the appropriate pKa for the pH range you're working in. For pH around 7, use pKa₂ with H₂PO₄⁻ as HA and HPO₄²⁻ as A⁻. Understanding this helps you see why polyprotic acids can buffer over multiple pH ranges and why you need to choose the appropriate pKa for your specific pH value.
What tolerance is used for checking my answers?
For pH and pKa values, answers within ±0.02 units are considered correct. For concentrations and ratios, answers within ±3% (relative) or ±0.001 (absolute) are accepted. These tolerances account for rounding differences and minor calculation variations. For example, if the correct pH is 5.06, answers between 5.04 and 5.08 are accepted. If the correct ratio is 2.0, answers between 1.94 and 2.06 (within 3%) are accepted. Understanding these tolerances helps you know how precise your answers need to be and why small differences are acceptable due to rounding.
Why are my calculated concentrations different from expected?
Ensure you're using consistent units (all in M, mM, or µM). The calculator treats all concentration inputs as the same unit. Also check that you've provided enough information—you need at least two knowns to solve for the third. Common issues: (1) Mixing units (e.g., M and mM), (2) Using wrong ratio direction ([HA]/[A⁻] instead of [A⁻]/[HA]), (3) Not providing enough information to solve, (4) Calculation errors in manual work. The calculator shows all calculated values—compare them to your expectations to identify discrepancies. Understanding unit consistency and information requirements helps you solve buffer problems correctly.
How do I calculate percent ionization from this equation?
Percent ionization (% A⁻) = [A⁻]/([HA] + [A⁻]) × 100 = ratio/(1 + ratio) × 100. The calculator automatically shows percent acid and percent base in the results. At pH = pKa, the percent ionization is 50% (ratio = 1, so 1/(1+1) = 0.5 = 50%). When pH = pKa + 1 (ratio = 10), percent ionization = 10/(1+10) = 91%. When pH = pKa - 1 (ratio = 0.1), percent ionization = 0.1/(1+0.1) = 9%. Understanding percent ionization helps you see how pH relates to the degree of acid dissociation and why buffers work best when both forms are present in significant amounts (near pKa, where percent ionization ≈ 50%).
Henderson Practice - Solve pH, pKa, Ratio