Skip to content
Omnikalc

pKa ionization calculator: how much of a compound is ionized at your pH?

Choose a weak acid or base and enter its pKa and the pH to get the ionized and un-ionized shares and the ratio between them.

Updated on
Your inputs

Value out of range

Value out of range

Results

Ionized share

0.99%

Un-ionized share
99.01%
Ratio of ionized to un-ionized
0.010
pH minus pKa
-2.0

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.

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.

Frequently asked questions

How is the ionized share calculated?

It comes from the Henderson-Hasselbalch equation. For an acid, the ratio of ionized to un-ionized form is 10^(pH − pKa). The ionized share is that ratio divided by one plus the ratio. For a base the ratio is 10^(pKa − pH), where the pKa is the one of the protonated form.

Why does the ionization matter for drugs?

The un-ionized form is more soluble in fat and crosses cell membranes more easily, and the ionized form dissolves better in water. A weak acid is absorbed better in the acid stomach and a weak base in the more alkaline intestine, which is a rule used to explain the absorption and elimination of many drugs.

What is the pKa of a base?

Tables usually give the pKa of the conjugate acid of a base, the protonated form BH⁺. A base with a pKa of 8 is half protonated at pH 8 and mostly protonated at pH 7. Check which convention a source uses before you enter a value.

What are the limits of the model?

It assumes one ionizing group, a dilute solution and a known temperature. Many drugs have more than one pKa, and the real distribution depends on binding to proteins and on transport across membranes. The result gives a first idea of the ionization and not the exact amount absorbed.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.