Whether a compound is charged or neutral depends on the pH of its surroundings, and this decides how it dissolves and crosses membranes. This pKa ionization calculator takes the type of compound, its pKa and the pH to give the ionized share, the un-ionized share and the ratio between them.
How the calculation works
- Weak acid (HA ⇌ H⁺ + A⁻): the ionized share is 100 ÷ (1 + 10^(pKa − pH)).
- Weak base (B + H⁺ ⇌ BH⁺): the ionized share is 100 ÷ (1 + 10^(pH − pKa)), where pKa is that of the conjugate acid.
- At pH = pKa the compound is 50% ionized. Each unit of pH away from the pKa changes the ratio of ionized to un-ionized by a factor of 10.
- The un-ionized form is the one that crosses membranes most easily, so the share helps to predict absorption.
Example
Aspirin is a weak acid with a pKa of about 3.5. In the stomach at pH 1.5, the ionized share is 100 ÷ (1 + 10^(3.5 − 1.5)) = 100 ÷ 101 = 0.99%, and 99.01% is un-ionized. The ratio of ionized to un-ionized is 0.01, since pH − pKa is −2.0.
Why it matters
Chemistry, pharmacy and biology students use the calculation to understand drug absorption, extraction and chromatography. Laboratory workers use it to choose a buffer pH that keeps a compound in the form they want.
Good to know
This is a teaching tool and not medical advice or a dosing guide. The model treats one ionizing group at a time in dilute water at a fixed temperature, and pKa values change with temperature, ionic strength and the solvent. Real absorption depends on many other factors such as solubility, transporters and binding to proteins. Check the pKa in a reliable source and do not use the result to decide on a treatment.
Related tools
The pH calculator works out the acidity of a solution, the Henderson-Hasselbalch calculator finds the pH of a buffer and the buffer capacity calculator tells how well it resists change.