mfsig.com
hydrogen-bondingdonorsacceptorssigma-threshold5 min read

Counting hydrogen-bond donors and acceptors from the σ-profile

Area beyond the hydrogen-bond threshold near 0.0082 e/Ų counts donors and acceptors by strength rather than by atom. Here is how, and why raw σ needs care.

Updated November 28, 2026

A σ-profile shows hydrogen-bond donors as surface area at strongly negative σ and acceptors as surface area at strongly positive σ. Klamt's COSMO-RS draws the line at a threshold σ_hb of about 0.0082 e/Ų. Summing the area beyond that line on each side gives a donor area and an acceptor area in Ų, which grade strength rather than count atoms. The threshold was fitted to averaged σ, and the σ in a .mfsig file is raw, so the two must not be confused.

Where the threshold comes from

In COSMO-RS two surface segments pay a hydrogen-bond energy only when one is a strong enough donor and the other a strong enough acceptor. Klamt wrote that energy as a product of two clipped terms. The donor term is zero unless the donor segment's σ is below minus σ_hb. The acceptor term is zero unless the acceptor segment's σ is above plus σ_hb. The threshold σ_hb, about 0.0082 e/Ų in the 1998 parameterisation, is one of the handful of universal parameters of the model, and the guide on the hydrogen-bond term in COSMO-RS explains how it was fitted.

The sign follows from the screening convention. A hydroxyl hydrogen carries positive molecular charge, so the conductor answers with negative screening charge, and the hydrogen's segments sit at negative σ. A carbonyl oxygen is negative, so its segments sit at positive σ. The guide on the sign convention covers the cases where readers trip over this. Donors live on the left of the σ-profile and acceptors on the right.

Donor area and acceptor area, defined

Take every segment of the molecule. Add the areas of those with σ below minus σ_hb. That sum is the donor area. Add the areas of those with σ above plus σ_hb. That sum is the acceptor area. Both are in Ų and both are zero for an alkane. A strength-weighted version multiplies each area by how far its σ lies beyond the threshold, which is what Klamt's hydrogen-bond moments do.

import numpy as np

SIGMA_HB = 0.0082  # e/A^2, Klamt's threshold, fitted to averaged sigma

don = sigma < -SIGMA_HB
acc = sigma > SIGMA_HB
donor_area = area[don].sum()
acceptor_area = area[acc].sum()
donor_strength = (area[don] * (-sigma[don] - SIGMA_HB)).sum()
acceptor_strength = (area[acc] * (sigma[acc] - SIGMA_HB)).sum()

For ethanol you should find a small donor area from the hydroxyl hydrogen and a larger acceptor area from the oxygen lone pairs. For acetone the donor area is near zero and the acceptor area is substantial. For hexane both are near zero. The guide on hydrogen-bond decomposition in σ-profiles shows these profiles side by side.

Why area beats counting atoms

Lipinski's rule counts N–H and O–H groups as donors and nitrogen and oxygen atoms as acceptors. It is fast and it is often wrong about strength. The σ-profile grades what the count tallies.

  • An amide nitrogen counts as an acceptor by atom. Its lone pair is delocalised into the carbonyl and its surface σ is weak. The σ-profile puts almost no acceptor area on it.
  • A nitro group counts as two acceptor oxygens. Each is a weak acceptor, and the σ-profile shows a modest acceptor area for both together.
  • Chloroform, terminal alkynes and the formyl hydrogen of an aldehyde count as zero donors. Each has a hydrogen with negative σ that may cross the threshold, and each is a known weak donor in practice.
  • Trifluoroethanol and ethanol count as one donor each. The fluorines pull charge from the hydroxyl, its σ goes further negative, and the donor area and donor strength both rise. This matches its reputation as the stronger donor.
  • Fluorine counts as an acceptor by atom in many schemes. Its surface σ is weakly positive and rarely crosses the threshold, which matches how poor an acceptor organic fluorine is.
The σ-profile does not ask what the atom is. It asks how much charge the conductor had to put there.

The raw-σ caveat, and why it matters most here

The σ in a .mfsig file is the raw screening charge per segment divided by segment area. It is not averaged. COSMO-RS averages σ over a neighbourhood of each segment before applying the threshold, as the guide on σ-averaging explains, and the 0.0082 e/Ų threshold was fitted to the averaged values. Averaging pulls the extremes toward the mean. Raw σ therefore puts more area beyond the threshold than averaged σ does for the same molecule, and the excess is largest at the sharpest features, which are exactly the donor hydrogens.

Two practical consequences follow. First, a donor area computed from raw σ is not a COSMO-RS hydrogen-bond moment and must not be quoted as one. Second, a comparison between molecules is still valid as long as every molecule is treated the same way, so a consistent raw-σ convention with its own threshold works inside one dataset. Write the convention down. If you need the COSMO-RS quantity, average first and use the per-segment positions that the file carries to do so.

One conformer and one protonation state

The count belongs to the geometry in the file. Salicylic acid and ortho-nitrophenol can form an internal hydrogen bond, and when the single embedded conformer does so, the donor hydrogen and the acceptor oxygen face each other and are partly buried. Their surface shrinks and both areas drop. A different conformer would show them in full. The same holds for any molecule with a donor and an acceptor within reach of each other.

Protonation is taken as written in the SMILES. A carboxylic acid has a donor hydrogen, its carboxylate has none and a much larger acceptor area, and no neutralisation step intervenes. Decide the state before you compute, and read the count as a property of that state.

Key points

  • Donor area is the segment area with σ below minus σ_hb, acceptor area is the area with σ above plus σ_hb, with σ_hb about 0.0082 e/Ų in Klamt's parameterisation.
  • The σ-based count grades strength. Amide nitrogens, nitro oxygens, fluorine and acidic C–H all come out where experience puts them.
  • The threshold was fitted to averaged σ. The raw σ in a .mfsig file gives larger areas, so average first or use a convention of your own and state it.
  • Internal hydrogen bonds in the single conformer and the protonation state as written both change the count.

Questions people ask

How do I count hydrogen-bond donors and acceptors from a sigma profile?
Sum the segment area where σ is below minus the hydrogen-bond threshold, about 0.0082 e/Ų in Klamt's parameterisation, and call it donor area. Sum the area where σ is above plus the threshold and call it acceptor area. The result is a strength-weighted measure in Ų rather than a count of atoms.
Why does the σ-based count differ from Lipinski's donor and acceptor counts?
Lipinski counts N–H and O–H groups as donors and nitrogen and oxygen atoms as acceptors, regardless of strength. The σ-profile sees an amide nitrogen as a poor acceptor, a nitro oxygen as a weak one, and the hydrogen of chloroform as a weak donor. It grades what the atom count only tallies.
Can I apply the 0.0082 e/Ų threshold to the raw σ in a .mfsig file?
Not without care. Klamt's threshold was fitted to averaged σ-profiles, and raw per-segment σ has stronger extremes, so the raw area beyond the threshold is larger than the averaged one. Either average the σ first, or calibrate your own threshold on raw σ and say which convention you used.

Further reading

In practice: σ-moments, HOMO and LUMO in solvent, the dipole norm, the reaction-field energy and the cavity area are all fields of a .mfsig file; the anatomy page lists them with their units.

Generate a σ-profile from your SMILES

Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.