Macroscopic and Microscopic pKa

by Corin Wagen · Aug 11, 2025

"Analogy of the Microcosm and Macrocosm of Alchemy" from Opus Medico-Chymicum, Johann Daniel Mylius (1618)

If you've taken a general or organic chemistry class, you've almost certainly run into the concept of pKa: the negative logarithm of the acid dissociation constant, Ka. The pKa of a molecule is a way to quantify how acidic or basic it is, which in turn can be used to predict its stability, reactivity, and ionization state in a variety of downstream environments.

For simple monoprotic acids and bases, a single pKa value is all you need to fully characterize a molecule's response to changing pH. But almost all complex molecules—like amino acids, nucleotides, peptides, polycarboxylic acids—and drugs, have multiple ionizable sites. This is where the distinction between macroscopic and microscopic pKa values becomes crucial.

In this post, we'll explore the difference between these two pKa-prediction paradigms, when they break down, and when to use each method.

Definitions

The "textbook" acid–base equilibrium for a monoprotic acid HA is:

HAA+H+\text{HA} \rightleftharpoons \text{A}^- + \text{H}^+

The equilibrium constant is:

Ka=[A][H+][HA]K_a = \frac{[\text{A}^-][\text{H}^+]}{[\text{HA}]}

and

pKa:=log10KapK_a := -\log_{10} K_a

In this situation, there's only one proton that can be lost, so the pKa you measure is unambiguous. Each of the above species, HA and A-, is a "microstate" which corresponds to a given arrangement of protons on the molecule. A molecule with one ionizable site has two protonation microstates, a molecule with two ionizable sites has four protonation microstates, and more generally a molecule with NN ionizable sites has 2N2^N protonation microstates.

For molecules with more than one microstate, different forms of pKa become possible:

The two definitions coincide only for a monoprotic solute with a single dominant tautomer at each charge.

Macroscopic and microscopic pKa prediction strategies compared. Individual circles represent microstates. Figure from our macroscopic pKa work.

Almost all experimental pKa measurement techniques—like NMR spectroscopy, potentiometric or colorimetric titration, and UV-Vis-spectroscopy-based methods—measure macroscopic pKa values. This is because these measurements are bulk measurements, averaged over all molecules in solution, and thus record the average protonation state of the molecule and not the specific location of protonation or deprotonation. Measuring microscopic pKa values experimentally is possible but typically requires unique and well-resolved signals for individual microstates.

Case Study: Glycine

Glycine, the simplest amino acid, has two ionizable sites: a carboxylic acid and an amine. This gives rise to four microstates across three charge states (+1, 0, and -1). There are four microscopic pKa values for glycine:

The microscopic PKA_FRAGMENT values for glycine.

Microscopic pKa values for glycine; figure from Zheng et al (2024).

These microstates can be combined into three protonation states:

  1. Fully protonated: H2A+ (left microstate above)
  2. One proton lost: HA(1) and HA(2) (center microstates above)
  3. Two protons lost: A- (right microstate above)

The two macroscopic equilibria, which can be measured experimentally, are:

  1. H2A+HA+H+pKa(1)2.4\text{H}_2\text{A}^+ \rightleftharpoons \text{HA} + \text{H}^+ \quad\quad pK_a^{(1)} \approx 2.4

  2. HAA+H+pKa(2)9.8\text{HA} \rightleftharpoons \text{A}^- + \text{H}^+ \quad\quad pK_a^{(2)} \approx 9.8

Notice that the "HA" species in the middle is actually a mixture of two different microstates: one with the acid group deprotonated, and one with the amino group deprotonated. The macroscopic pKa value treats them as a single "bucket" containing all species with the same net charge.

In this case, the zwitterionic neutral microstate dominates and so the microscopic pKa values corresponding to proton gain/loss from the zwitterionic microstate become the observed macroscopic pKa values. Trying to predict the experimental pKa values from the neutral (canonical) microstate, in contrast, is a fool's errand—the microscopic pKa values will not only be quantitively wrong (4.3 and 7.6, not 2.4 and 9.8) but also qualitatively incorrect, since the location of the "acidic" and "basic" sites will be backwards.

Case Study: Piperidine

Things become more complex when a molecule doesn't have a single dominant microstate. Piperazine is a symmetric diamine with experimental macroscopic pKa values of 5.35 and 9.37 (ref). But starting from the neutral microstate, a microscopic pKa calculation predicts identical pKa values of approximately 9 for the two amines:

This makes a certain amount of sense: protonation of either amine generates the same symmetric monoprotonated structure. But this calculation does not match the experimental data at all, because it never even considers the diprotonated microstates (which is two seperate protonation steps away from the starting structure). Only by running a second calculation from the output monoprotonated structure can we find a pKa value that's even close to the experimental value of 5.35:

In contrast, a macroscopic pKa calculation automatically takes into account all microstates and predicts values of 5.64 and 9.46, in good qualitative agreement with experimental values:

In this case, it's clear that macroscopic pKa prediction is necessary for sane results.

When To Use Each Method

To summarize, macroscopic and microscopic pKa calculations are answering different questions:

If you want to compare computed pKa values to experimental measurements, you should almost always be using macroscopic pKa values—for all but the simplest cases, these are significantly more physically accurate and reliable. Particularly for large druglike molecules with dozens or hundreds of potential microstates, it's almost impossible to get meaningful agreement with experimental data when using microscopic pKa calculations.

However, macroscopic pKa calculations have their downsides. The predicted pKa values can no longer be assigned to a single functional group, making them less interpretable and chemically intuitive. For many use cases—like tracking the protonation of specific moieties or residues—microscopic pKa values may be more useful. Macroscopic pKa calculations are also more complex and frequently more costly to run, since the number of microstates grows exponentially with the number of ionizable sites. (We've spent a considerable amount of time and energy optimizing our implementation of macroscopic pKa here at Rowan—smart beam-search-based microstate pruning, ML-based scoring functions, and so on—and it's still quite slow for large molecules.)

Regardless of which paradigm is better for your scientific question, knowing the difference between macroscopic and microscopic pKa is crucial.

Further Reading

Banner background image

Start running calculations in minutes!

Our platform lets you submit, view, analyze, and share calculations using cutting-edge methods trusted by hundreds of leading scientists. We give every new user 500 free credits to start, plus more every week. Making an account and running your first calculation takes only seconds: start using Rowan today!

Start computing →

What to read next

OpenFold3 and Co-Folding with Templates

OpenFold3 and Co-Folding with Templates

a new and different co-folding model; co-folding conditioned with user-specified templates; protein structure overlays; support for the mmCIF file format
Jun 1, 2026 · Ari Wagen
Quantum ESPRESSO & Academic FEP Access

Quantum ESPRESSO & Academic FEP Access

why one should run plane-wave DFT; how to configure and run Quantum ESPRESSO in Rowan; a graphitic case study; FEP now available for academic groups; a fast way to do Butina splitting on big datasets
May 28, 2026 · Jonathon Vandezande and Raphael Stone
How to Simulate Materials with DFT

How to Simulate Materials with DFT

An introduction to plane-wave DFT for chemists: pseudopotentials, energy cutoffs, k-points, smearing, and what to watch out for.
May 28, 2026 · Raphael Stone
Fast and Efficient Butina Splitting of Chemical Data with Chalcedon

Fast and Efficient Butina Splitting of Chemical Data with Chalcedon

A fast, memory-efficient, minimal-dependency Python package for Butina clustering and splitting chemical data.
May 27, 2026 · Eli Mann
Improving Rowan's Performance on the OpenBind EV-A71 Release

Improving Rowan's Performance on the OpenBind EV-A71 Release

How we recovered useful RBFE accuracy on a challenging real-world dataset.
May 20, 2026 · Corin Wagen
New Protein Visualizations

New Protein Visualizations

distilling insight from complexity; two-dimensional protein–ligand interaction diagrams; protein blob surfaces; space-filling molecule representations
May 19, 2026 · Ari Wagen
Notes on Rowan Engineering; Or How to Vibe-Refactor a Codebase

Notes on Rowan Engineering; Or How to Vibe-Refactor a Codebase

stuck in Rowan's dependency slough of despond; fleeing the complexity of microservices & partial refactors; multiplying packages to reduce complexity; using agents to vibe-refactor our whole codebase
May 13, 2026 · Jonathon Vandezande
Testing Rowan on the OpenBind EV-A71 Release

Testing Rowan on the OpenBind EV-A71 Release

How Rowan's analogue-docking and RBFE workflows fare on this dataset.
May 6, 2026 · Corin Wagen
Benchmarking Membrane-Permeability Predictors

Benchmarking Membrane-Permeability Predictors

Testing GNN-MTL and PyPermm on datasets of small molecules, macrocycles, and PROTACs
Apr 28, 2026 · Ari Wagen
Smarter Analogue Docking, Pocket Detection, and g-xTB Analytical Gradients

Smarter Analogue Docking, Pocket Detection, and g-xTB Analytical Gradients

more robust MCS detection; conformer sampling with torsional Monte Carlo; better alignment and RBFE results; a new pocket-detection workflow; analytical gradients now available for g-xTB
Apr 23, 2026 · Zachary Fried, Corin Wagen, Ari Wagen, and Jonathon Vandezande