Molecular descriptors
molecule_descriptors
Computes physicochemical descriptors from a SMILES string and checks the Lipinski and Veber rules.
- Runs
- On the server
- Level
- Tested, not reference-checked
From server 1.0.0 this tool is called mol_descriptors. Until then it answers as molecule_descriptors.
What it is
Computes fourteen physicochemical descriptors (molecular weight, exact mass, Crippen logP, TPSA, donor and acceptor counts, rotatable bonds, heavy atoms, rings, aromatic rings, fraction sp3, formal charge) and fragment count from one SMILES string via RDKit, and evaluates Lipinski's rule of 5 and Veber's oral bioavailability rules. Does not compute QED drug-likeness, PAINS substructure alerts or formula mass from a molecular formula; find_tools names the tools that do and the paths that serve them. Accepts SMILES up to 2,000 characters and 500 heavy atoms.
Field: Chemistry. It is the same calculation as Drybench Molecule, called by an AI assistant through the server.
What it does
You give
smiles(required): SMILES representation of the molecule. Accepts up to 2,000 characters and 500 heavy atoms.
Asked with
- smiles
- CC(=O)Oc1ccccc1C(=O)O
It answered (computed)
- canonicalSmiles
- CC(=O)Oc1ccccc1C(=O)O
- formula
- C9H8O4
Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here.
Limits
- The input is the neutral form as drawn; no ionisation at any pH is applied.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- The submitted SMILES is empty or contains only whitespace.
- The parsed molecule contains no atoms.
Every input, with its units1 input
smiles(required): SMILES representation of the molecule. Accepts up to 2,000 characters and 500 heavy atoms.
Every refusal, with its code2 refusals
| Code | When |
|---|---|
INVALID_STRING | The submitted SMILES is empty or contains only whitespace. |
NO_ATOMS | The parsed molecule contains no atoms. |
The calculation
17 methods, each with its equations, constants and worked example.
Four limits, each met when the value is at or below it, compared on the unrounded value: molecular weight (molecule.mw@1.0.0) 500 g/mol, Crippen logP (wildman-crippen-logp@1.0.0) 5, hydrogens on N and O (molecule.lipinski-hbd@1.0.0) 5, N and O atoms (molecule.lipinski-hba@1.0.0) 10. The compound passes when at most one limit is broken
the reply counts the broken limits.
Source 1.
| Constant | Value | From |
|---|---|---|
Largest molecular weight that meets the limit MW_max | 500 g/mol | Source 1 |
Largest calculated logP that meets the limit logP_max | 5 | Source 1 |
Most hydrogens on N and O that meet the limit HBD_max | 5 | Source 1 |
Most N and O atoms that meet the limit HBA_max | 10 | Source 1 |
Limits that may be exceeded while the compound still passes (a project choice; fail at two or more) k_allowed | 1 | Source not recorded |
Conventions
- Convention chosen by this project: this tool reports a fail when two or more of the four limits are exceeded and a pass otherwise. The abstract read does not say how many limits must be exceeded; the paper has not been read.
- Convention chosen by this project: logP is RDKit's Crippen estimate, since Lipinski's CLogP is a commercial program the suite does not run. A compound whose Crippen logP and CLogP fall on opposite sides of 5 is judged differently here; the donor, acceptor and mass limits are unaffected.
Kind of method: not recorded.
Worked example
Worked example: one case of lipinski-rule-of-five@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- mw: molecular weight: 151.1650 <= 500 = true, gives result.rules.ruleOfFive.pass.
- logp: Crippen logP: 1.3506 <= 5 = true, gives result.rules.ruleOfFive.pass.
- hbd: Lipinski N/O hydrogens: 2 <= 5 = true, gives result.rules.ruleOfFive.pass.
- hba: Lipinski N/O atoms: 3 <= 10 = true, gives result.rules.ruleOfFive.pass.
- broken: count of limits not met = 0, gives result.rules.ruleOfFive.violations.
- pass: 0 <= 1 (a fail only at two or more: a project choice) = true, gives result.rules.ruleOfFive.pass.
The working, as the case writes it:
Each limit met when the value is at or below it
pass unless two or more limits are exceeded (a project choice).
Answer
result.rules.ruleOfFive.pass = true
result.rules.ruleOfFive.violations = 0
Where these values came from: our own exact-arithmetic script and a hand-worked case; Lipinski CA et al. Adv Drug Deliv Rev 2001;46:3-26, abstract as served by PubMed (PMID 11259830): "more than 5 H-bond donors, 10 H-bond acceptors, the molecular weight (MWT) is greater than 500 and the calculated Log P (CLogP) is greater than 5"; the count, a fail only when two or more limits are exceeded, is a project choice, not the paper's.
The build has not run this example through the tool.
Veber's Bioavailability Rulesveber-bioavailability-rules@1.0.0
Passes when both hold: rotatable bonds (molecule.rotatable-bonds@1.0.0) are 10 or fewer, and topological polar surface area (ertl-tpsa@1.0.0) is 140 Ų or less. Both comparisons are inclusive and use the unrounded descriptor
any failed criterion fails the rule.
Source 2.
| Constant | Value | From |
|---|---|---|
Most rotatable bonds that pass n_rot,max | 10 | Source 2 |
Largest polar surface area that passes PSA_max | 140 Angstrom2 | Source 2 |
Conventions
- Convention chosen by this project: only 10 or fewer rotatable bonds and a polar surface area of 140 Ų or less are applied. Veber's abstract also allows 12 or fewer H-bond donors and acceptors in place of the surface-area criterion; with it, a compound above 140 Ų with 12 or fewer donors and acceptors would pass.
- Convention chosen by this project: rotatable bonds are RDKit's strict count and polar surface area is RDKit's TPSA from N and O. Veber's own counts were not read; a compound near 10 bonds or 140 Ų may pass here and fail under them, or the reverse.
Kind of method: not recorded.
Worked example
Worked example: one case of veber-bioavailability-rules@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- rotatable: molecule.rotatable-bonds@1.0.0#hand-paracetamol = 1.
- tpsa: ertl-tpsa@1.0.0#hand-paracetamol = 49.33.
- rule-1: 1 <= 10 = true, gives result.rules.veber.pass.
- rule-2: 49.33 <= 140 = true, gives result.rules.veber.pass.
- pass: rule-1 and rule-2 = true, gives result.rules.veber.pass.
The working, as the case writes it:
Pass when rotatable bonds <= 10 and TPSA <= 140 Angstrom2
both comparisons inclusive.
Answer
result.rules.veber.pass = true
Where these values came from: our own exact-arithmetic script and a hand-worked case; Veber DF et al. J Med Chem 2002;45:2615-2623 (doi 10.1021/jm020017n), abstract as served by PubMed (PMID 12036371): "10 or fewer rotatable bonds and (2) polar surface area equal to or less than 140 A(2)"; the paper itself was not read.
The build has not run this example through the tool.
Wildman-Crippen LogPwildman-crippen-logp@1.0.0
Make every hydrogen explicit. Give each atom the type of the first pattern in RDKit's compiled table (Crippen.cpp, defaultParamData, 110 rows in file order) that matches it starting at that atom
an atom keeps the first type it takes. logP is the sum of the types' logP contributions over all atoms, hydrogens included.
Source 3.
| Constant | Value | From |
|---|---|---|
The logP contribution of each atom type, with the pattern that assigns it (Wildman and Crippen's table as RDKit holds it) a_t | a value held inside @rdkit/rdkit, read at its release tag | Source 3 |
A model of nature: it predicts a measurement and can be wrong for your sample. No prediction error is available.
Worked example
Worked example: one case of wildman-crippen-logp@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- C1: C1 [CH3]C = 0.1441.
- C2: C5 [C]=[!C;A;!#1] (C1 to C4 fail: one H-free C with three neighbours) = -0.2783.
- O3: O9 [O]=C(C)([A;!#1]) (O1 to O8 fail; N4 is aliphatic) = -0.1526.
- N4: N4 [NH1+0]([!#1;A,a])a (N2 needs two aliphatic neighbours) = -0.5188.
- c5: C22 [c](:a)(:a)-N = 0.4619.
- c6: C18 [cH] = 0.1581.
- c7: C18 [cH] = 0.1581.
- c8: C23 [c](:a)(:a)-O = 0.5437.
- O9: O2 [OH,OH2] = -0.2893.
- c10: C18 [cH] = 0.1581.
- c11: C18 [cH] = 0.1581.
- H x3 on C1: H1 [#1][#6,#1], x 3 = 0.123.
- H x4 on c6, c7, c10, c11: H1 [#1][#6,#1], x 4 = 0.123.
- H on N4: H3 [#1][#7] = 0.2142.
- H on O9: H2 [#1]O[CX4,c] = -0.2677.
- sum: (0.1441) + (-0.2783) + (-0.1526) + (-0.5188) + (0.4619) + (0.1581) + (0.1581) + (0.5437) + (-0.2893) + (0.1581) + (0.1581) + 3 x (0.123) + 4 x (0.123) + (0.2142) + (-0.2677) = 1.3506.
The working, as the case writes it:
logP = sum of the atom contributions, hydrogens included.
Answer
result.descriptors.crippenLogP = 1.351
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Crippen.cpp (defaultParamData; first match in file order; hydrogens explicit).
The build has not run this example through the tool.
Topological Polar Surface Area (TPSA)ertl-tpsa@1.0.0
Topological polar surface area: the sum over every N and O atom of a contribution set by its environment (hydrogens, charge, single, double, triple and aromatic bonds, three-membered ring), as RDKit's calcTPSAContribs implements Ertl, Rohde and Selzer's table
S and P are not included (RDKit's default).
Source 4.
Kind of method: not recorded.
Worked example
Worked example: one case of ertl-tpsa@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- N4: N, one H, two single bonds, not in a 3-ring = 12.03.
- O3: O, no H, one double bond = 17.07.
- O9: O, one H, one single bond = 20.23.
- sum: 12.03 + 17.07 + 20.23 = 49.33 Angstrom2, gives result.descriptors.tpsa.
The working, as the case writes it:
TPSA = Σ contribution of each N and O by its environment.
Answer
result.descriptors.tpsa = 49.33 Angstrom2
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/MolSurf.cpp (calcTPSAContribs) (Ertl, Rohde and Selzer 2000's fragment contributions).
The build has not run this example through the tool.
Average molecular weight from natural isotope abundances (RDKit amw)molecule.mw@1.0.0
Average molecular weight: the sum over atoms, hydrogens included, of RDKit's average atomic weight for each element (RDKit amw).
| Symbol | Meaning |
|---|---|
M | mass of one formula unit, g/mol |
| Constant | Value | From |
|---|---|---|
RDKit's average atomic weights of the elements A | a value held inside @rdkit/rdkit, read at its release tag | Source 5 |
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of molecule.mw@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- formula: count atoms = C 8, H 9, N 1, O 2.
- sum: 8 × 12.011 + 9 × 1.008 + 14.007 + 2 × 15.999 = 151.165 g/mol, gives result.descriptors.molecularWeight.
The working, as the case writes it:
M = Σ n × average weight.
Answer
result.descriptors.molecularWeight = 151.165 g/mol
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/atomic_data.cpp (periodicTableAtomData: average and most-abundant-isotope masses).
The build has not run this example through the tool.
Monoisotopic mass (RDKit exactmw)molecule.exact-mass@1.0.0
Monoisotopic mass: the sum over atoms, hydrogens included, of the mass of each element's most abundant isotope as RDKit lists it (RDKit exactmw).
| Symbol | Meaning |
|---|---|
M | mass of one formula unit, g/mol |
| Constant | Value | From |
|---|---|---|
RDKit's masses of each element's most abundant isotope A | a value held inside @rdkit/rdkit, read at its release tag | Source 5 |
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of molecule.exact-mass@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- formula: count atoms = C 8, H 9, N 1, O 2.
- sum: 8 × 12 + 9 × 1.007825032 + 14.003074 + 2 × 15.99491462 = 151.063328528 g/mol.
The working, as the case writes it:
m = Σ n × isotope mass.
Answer
result.descriptors.exactMass = 151.0633
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/atomic_data.cpp (periodicTableAtomData: average and most-abundant-isotope masses).
The build has not run this example through the tool.
Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separatemolecule.hbd@1.0.0
Hydrogen-bond donor sites: atoms matching RDKit's NumHBD pattern [N&!H0&v3,N&!H0&+1&v4,O&H1&+0,S&H1&+0,n&H1&+0], counted once each.
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.hbd@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- N4: N&!H0&v3 = amide N: one H, valence 3: matches.
- O9: O&H1&+0 = hydroxyl O: one H, neutral: matches.
- O3: - = carbonyl O: no H: no match.
- count: sum = 2, gives result.descriptors.hbdSites.
The working, as the case writes it:
Count atoms matching any alternative of the pattern.
Answer
result.descriptors.hbdSites = 2
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, NumHBD: [N&!H0&v3,N&!H0&+1&v4,O&H1&+0,S&H1&+0,n&H1&+0].
The build has not run this example through the tool.
Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separatemolecule.hba@1.0.0
Hydrogen-bond acceptor sites: atoms matching RDKit's NumHBA pattern [$([O,S;H1;v2]-[!$(*=[O,N,P,S])]),$([O,S;H0;v2]),$([O,S;-]),$([N;v3;!$(N-*=!@[O,N,P,S])]),$([nH0X2,o,s;+0])], counted once each.
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.hba@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- O9: [O,S;H1;v2]-[!$(*=[O,N,P,S])] = hydroxyl O bound to ring C8, which carries no double bond to O, N, P or S: matches.
- O3: [O,S;H0;v2] = carbonyl O: no H, valence 2: matches.
- N4: [N;v3;!$(N-*=!@[O,N,P,S])] = amide N is bound to C2, which has a non-ring double bond to O3: excluded.
- count: sum = 2, gives result.descriptors.hbaSites.
The working, as the case writes it:
Count atoms matching any alternative.
Answer
result.descriptors.hbaSites = 2
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, NumHBA: [$([O,S;H1;v2]-[!$(*=[O,N,P,S])]),$([O,S;H0;v2]),$([O,S;-]),$([N;v3;!$(N-*=!@[O,N,P,S])]),$([nH0X2,o,s;+0])].
The build has not run this example through the tool.
Lipinski's historical donor count: hydrogens on N and O (RDKit lipinskiHBD, NHOHCount); the rule of 5 is judged on itmolecule.lipinski-hbd@1.0.0
Lipinski's donor count: the total number of hydrogens on N and O atoms (RDKit calcLipinskiHBD).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.lipinski-hbd@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- N4: H count = 1.
- O9: H count = 1.
- O3: H count = 0.
- sum: 1 + 1 + 0 = 2, gives result.descriptors.lipinskiHBD.
The working, as the case writes it:
Σ hydrogens on every N and O.
Answer
result.descriptors.lipinskiHBD = 2
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcLipinskiHBD: total H on N and O atoms.
The build has not run this example through the tool.
Lipinski's historical acceptor count: N and O atoms (RDKit lipinskiHBA, NOCount); the rule of 5 is judged on itmolecule.lipinski-hba@1.0.0
Lipinski's acceptor count: the number of N and O atoms (RDKit calcLipinskiHBA).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.lipinski-hba@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- atoms: N or O = O3, N4, O9.
- count: sum = 3, gives result.descriptors.lipinskiHBA.
The working, as the case writes it:
Count every N and O.
Answer
result.descriptors.lipinskiHBA = 3
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcLipinskiHBA: count of N and O atoms.
The build has not run this example through the tool.
Rotatable bonds, RDKit strict definition (NumRotatableBonds)molecule.rotatable-bonds@1.0.0
Rotatable bonds: single, non-ring bonds between non-terminal atoms, excluding bonds to triple-bonded atoms and, under RDKit's strict definition, amide C–N bonds, bonds to CF3, CCl3, CBr3 and t-butyl groups and other listed cases (the strict SMARTS in calcNumRotatableBonds).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.rotatable-bonds@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- C1-C2: C1 is terminal (D1) = not counted.
- C2-N4: non-strict: counted; strict: excluded as an amide C-N ([CD3](=[N,O,S])-!@[#7]) = strict: not counted.
- N4-c5: single, non-ring, neither end terminal = counted.
- c8-O9: O9 is terminal (D1) = not counted.
- count: strict sum (non-strict would give 2) = 1, gives result.descriptors.rotatableBonds.
The working, as the case writes it:
Count matching bonds.
Answer
result.descriptors.rotatableBonds = 1
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcNumRotatableBonds: the strict pattern (amide C-N excluded) when the build defines RDK_USE_STRICT_ROTOR_DEFINITION, otherwise [!$(*#*)&!D1]-,:;!@[!$(*#*)&!D1].
The build has not run this example through the tool.
Atoms other than hydrogenmolecule.heavy-atoms@1.0.0
Heavy atoms: the number of atoms other than hydrogen (RDKit NumHeavyAtoms).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.heavy-atoms@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- count: C 8 + N 1 + O 2 = 11, gives result.descriptors.heavyAtoms.
The working, as the case writes it:
Count.
Answer
result.descriptors.heavyAtoms = 11
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, NumHeavyAtoms: atoms other than hydrogen.
The build has not run this example through the tool.
Ring count (symmetrised SSSR; bridged cages count extra rings)molecule.rings@1.0.0
Rings: the number of rings in RDKit's ring perception (calcNumRings: getRingInfo()->numRings()).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.rings@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- rings: one benzene ring c5…c11 = 1, gives result.descriptors.rings.
The working, as the case writes it:
Count the smallest set of smallest rings.
Answer
result.descriptors.rings = 1
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcNumRings: the ring count of RDKit's ring perception (SSSR).
The build has not run this example through the tool.
Rings whose atoms are all aromaticmolecule.aromatic-rings@1.0.0
Aromatic rings: rings every bond of which RDKit marks aromatic (calcNumAromaticRings), under RDKit's aromaticity model.
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.aromatic-rings@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- ring: c5…c11, all six bonds aromatic = 1, gives result.descriptors.aromaticRings.
The working, as the case writes it:
Count rings with all bonds aromatic.
Answer
result.descriptors.aromaticRings = 1
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcNumAromaticRings: rings whose every bond is aromatic.
The build has not run this example through the tool.
Fraction of carbons that are sp3molecule.fsp3@1.0.0
Fraction of sp3 carbons: carbons with sp3 hybridisation divided by all carbons (RDKit calcFractionCSP3).
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.fsp3@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- sp3: C1 only = 1.
- C: all carbons = 8.
- fraction: 1/8 = 0.125, gives result.descriptors.fractionSp3.
The working, as the case writes it:
n(sp3 C) / n(C).
Answer
result.descriptors.fractionSp3 = 0.125
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, calcFractionCSP3: sp3 carbons / carbons.
The build has not run this example through the tool.
Net formal charge as drawnmolecule.formal-charge@1.0.0
Net formal charge: the sum of the atoms' formal charges as RDKit reads the structure.
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.formal-charge@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = CC(=O)Nc1ccc(O)cc1
Steps
- charges: every atom neutral = 0, gives result.descriptors.formalCharge.
The working, as the case writes it:
Σ formal charges.
Answer
result.descriptors.formalCharge = 0
Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6: the sum of the atoms' formal charges.
The build has not run this example through the tool.
Disconnected parts: the number of '.'-separated parts of RDKit's canonical SMILES (0 for no atoms)molecule.fragments@1.0.0
Parse the whole SMILES with RDKit. Count the dot-separated parts of the canonical SMILES it writes. An empty canonical SMILES has zero parts.
Source 7.
Kind of method: not recorded.
Worked example
Worked example: one case of molecule.fragments@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- smiles = C1.C1
Steps
- count-parts: components(CC) = 1 = 1, gives result.descriptors.fragments.value.
The working, as the case writes it:
The matching ring-closure marks bond the two carbons. The connected structure is ethane, written CC without a dot.
Answer
result.descriptors.fragments.value = 1
Where these values came from: the source's own worked example, OpenSMILES 1.0, sections 3.4, 3.7.1 and 4.3.4, read 26 November 2026.; OpenSMILES 1.0, section 3.7.1, ethane row, and section 4.3.4, dot example.
The build has not run this example through the tool.
Sources
RDKit: Open-source cheminformatics, Release_2026_03_6, Code/GraphMol/Descriptors/Crippen.cpp (defaultParamData; getCrippenAtomContribs; calcCrippenDescriptors). BSD-3-Clause.
Used for: Wildman-Crippen LogP. At: table defaultParamData, section getCrippenAtomContribs (first matching pattern in file order sets an atom's type); calcCrippenDescriptors (addHs, then the sum).
Read in full, 11 November 2026RDKit: Open-source cheminformatics, Release_2026_03_6, Code/GraphMol/Descriptors/MolSurf.cpp. BSD-3-Clause.
Used for: Topological Polar Surface Area (TPSA). At: section calcTPSAContribs.
Read in full, 11 November 2026RDKit: Open-source cheminformatics, Release_2026_03_6, Code/GraphMol/atomic_data.cpp (periodicTableAtomData). BSD-3-Clause.
Used for: Average molecular weight from natural isotope abundances (RDKit amw); Monoisotopic mass (RDKit exactmw). At: table periodicTableAtomData, section columns: average atomic weight; most common isotope; its mass.
Read in full, 11 November 2026RDKit: Open-source cheminformatics, Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp. BSD-3-Clause.
Used for: Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separate; Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate; Lipinski's historical donor count: hydrogens on N and O (RDKit lipinskiHBD, NHOHCount); the rule of 5 is judged on it; Lipinski's historical acceptor count: N and O atoms (RDKit lipinskiHBA, NOCount); the rule of 5 is judged on it; Rotatable bonds, RDKit strict definition (NumRotatableBonds); Atoms other than hydrogen; Ring count (symmetrised SSSR; bridged cages count extra rings); Rings whose atoms are all aromatic; Fraction of carbons that are sp3; Net formal charge as drawn. At: section calcNumHBD (SMARTSCOUNTFUNC NumHBD); section calcNumHBA (SMARTSCOUNTFUNC NumHBA); section calcLipinskiHBD; section calcLipinskiHBA; section calcNumRotatableBonds (DefaultStrictDefinition); section NumHeavyAtoms; section calcNumRings; section calcNumAromaticRings; section calcFractionCSP3; section the sum of atom formal charges.
Read in full, 11 November 2026James CA and contributors. OpenSMILES specification, version 1.0.
Used for: Disconnected parts: the number of '.'-separated parts of RDKit's canonical SMILES (0 for no atoms). At: section 2.2 (Grammar), 3.4 (Rings), 3.7–3.7.1 (Disconnected Structures and Other Uses of Ring Numbers and Dot Bond), 4.3.4 (Starting Atom and Branches).
Read in full, 26 November 2026
Cited, not read
Lipinski CA, Lombardo F, Dominy BW, Feeney PJ. Experimental and computational approaches to estimate solubility and permeability in drug discovery and development settings. Adv Drug Deliv Rev 1997;23:3-25; reprinted 2001;46:3-26.
Used for: Lipinski's Rule of Five. At: section the rule of 5: its four limits, how donors and acceptors are counted, and how many limits must be broken.
Not readVeber DF, Johnson SR, Cheng HY, Smith BR, Ward KW, Kopple KD. Molecular properties that influence the oral bioavailability of drug candidates. J Med Chem 2002;45:2615-2623.
Used for: Veber's Bioavailability Rules. At: section the two criteria, and how the paper counted rotatable bonds and computed polar surface area.
Not readWildman SA, Crippen GM. Prediction of physicochemical parameters by atomic contributions. J Chem Inf Comput Sci 1999;39:868-873.
Used for: Wildman-Crippen LogP.
ACS subscription; not fetched. No abstract is indexed in PubMed or Europe PMC (searched 11 November 2026), so the fit's statistics were not read either. RDKit's implementation of the table was read instead. Listed for a person to read.
Not readErtl P, Rohde B, Selzer P. Fast calculation of molecular polar surface area as a sum of fragment-based contributions and its application to the prediction of drug transport properties. J Med Chem 2000;43:3714-3717.
Used for: Topological Polar Surface Area (TPSA).
Subscription only (ACS); not fetched. The contributions were read in RDKit's implementation of the paper instead (MolSurf.cpp). Listed for a person to read.
Not read
How it is checked
- Level
Tested, not reference-checked, the lowest of its 17 methods.
- Checked against
Lipinski's Rule of Five: Not recorded. This level uses the apps' wider definition on the levels page.
Veber's Bioavailability Rules: Not recorded. This level uses the apps' wider definition on the levels page.
Wildman-Crippen LogP: Not recorded. This level uses the apps' wider definition on the levels page.
Topological Polar Surface Area (TPSA): Not recorded. This level uses the apps' wider definition on the levels page.
Average molecular weight from natural isotope abundances (RDKit amw): Not recorded. This level uses the apps' wider definition on the levels page.
Monoisotopic mass (RDKit exactmw): Not recorded. This level uses the apps' wider definition on the levels page.
Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separate: Not recorded. This level uses the apps' wider definition on the levels page.
Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate: Not recorded. This level uses the apps' wider definition on the levels page.
Lipinski's historical donor count: hydrogens on N and O (RDKit lipinskiHBD, NHOHCount); the rule of 5 is judged on it: Not recorded. This level uses the apps' wider definition on the levels page.
Lipinski's historical acceptor count: N and O atoms (RDKit lipinskiHBA, NOCount); the rule of 5 is judged on it: Not recorded. This level uses the apps' wider definition on the levels page.
Rotatable bonds, RDKit strict definition (NumRotatableBonds): Not recorded. This level uses the apps' wider definition on the levels page.
Atoms other than hydrogen: Not recorded. This level uses the apps' wider definition on the levels page.
Ring count (symmetrised SSSR; bridged cages count extra rings): Not recorded. This level uses the apps' wider definition on the levels page.
Rings whose atoms are all aromatic: Not recorded. This level uses the apps' wider definition on the levels page.
Fraction of carbons that are sp3: Not recorded. This level uses the apps' wider definition on the levels page.
Net formal charge as drawn: Not recorded. This level uses the apps' wider definition on the levels page.
Disconnected parts: the number of '.'-separated parts of RDKit's canonical SMILES (0 for no atoms): Unit-tested through molecule_descriptors' handler: the section 3.7 salts (sodium chloride 2, diammonium thiosulfate 3), mixtures and a hydrate, ring closures across '.' (section 3.7.1's ethane, propane and 1-bromo-2,3-dichlorobenzene, each 1), single components, and the empty SMILES (0 parts, as section 2.2's grammar allows; the tool refuses empty input). Not yet compared with Python RDKit's GetMolFrags across the library.
- Cases
Lipinski's Rule of Five: No case set is linked to this version.
Veber's Bioavailability Rules: No case set is linked to this version.
Wildman-Crippen LogP: No case set is linked to this version.
Topological Polar Surface Area (TPSA): No case set is linked to this version.
Average molecular weight from natural isotope abundances (RDKit amw): No case set is linked to this version.
Monoisotopic mass (RDKit exactmw): No case set is linked to this version.
Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separate: No case set is linked to this version.
Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate: No case set is linked to this version.
Lipinski's historical donor count: hydrogens on N and O (RDKit lipinskiHBD, NHOHCount); the rule of 5 is judged on it: No case set is linked to this version.
Lipinski's historical acceptor count: N and O atoms (RDKit lipinskiHBA, NOCount); the rule of 5 is judged on it: No case set is linked to this version.
Rotatable bonds, RDKit strict definition (NumRotatableBonds): No case set is linked to this version.
Atoms other than hydrogen: No case set is linked to this version.
Ring count (symmetrised SSSR; bridged cages count extra rings): No case set is linked to this version.
Rings whose atoms are all aromatic: No case set is linked to this version.
Fraction of carbons that are sp3: No case set is linked to this version.
Net formal charge as drawn: No case set is linked to this version.
Disconnected parts: the number of '.'-separated parts of RDKit's canonical SMILES (0 for no atoms): No case set is linked to this version.
- Hostile inputs
Sent 11 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Same answer
Called twice and with its arguments in another order, it gave the same result.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Not checked
Lipinski's Rule of Five: Lipinski et al. was not read in full (Elsevier subscription): the four limits are from the 2001 reprint's PubMed abstract, which does not say how many must be exceeded; the count is a project choice (this project's ruling of 11 November 2026), not the paper's.
Veber's Bioavailability Rules: Veber 2002 was not read (ACS subscription): the thresholds are from its PubMed abstract only. How the paper counted rotatable bonds (it may exclude or include amide C–N bonds differently from RDKit's strict rule) and how it computed polar surface area were not read, so a molecule near either threshold may pass here and fail under the paper's own counts.
Wildman-Crippen LogP: Wildman and Crippen 1999 was not read (ACS subscription; no indexed abstract): RDKit's table was not compared with the paper's, and the fit's statistics, which would give the prediction error, were not read. No measured logP was compared: paracetamol's estimate (1.351) was checked against RDKit's rules by hand, not against experiment.
Topological Polar Surface Area (TPSA): Ertl et al. 2000 was not read (ACS subscription); the contributions are RDKit's, read in its source, and the per-environment values were not compared with the paper's table.
Average molecular weight from natural isotope abundances (RDKit amw): RDKit's table names no upstream source for its average weights. Compared on 11 November 2026 with CIAAW's abridged 2024 table (this project's ruling of 11 November 2026, question Q2): 40 of the 84 elements CIAAW lists differ; the largest relative difference is germanium (72.61 against 72.630, 2.8e-4), then sulfur (32.067 against 32.06, 2.2e-4), boron, zinc, lithium and selenium; chlorine is 35.453 against 35.45.
Monoisotopic mass (RDKit exactmw): RDKit's table names no upstream source for its isotope masses. Compared on 11 November 2026 with AME2020 (this project's ruling of 11 November 2026, question Q2) at RDKit's most common isotope for 102 elements: the largest relative difference is 1.6e-7 (lithium-7); for H, C, N, O, P, S, Cl, Na, F, Br and I it is at most 1.2e-8, far below the four decimals the tool returns.
Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separate: The modern site definition, not Lipinski's NH/OH count (molecule.lipinski-hbd); Lipinski 1997 was not read. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate: An amide N is not an acceptor under this pattern; Lipinski's N/O count (molecule.lipinski-hba) counts it. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Lipinski's historical donor count: hydrogens on N and O (RDKit lipinskiHBD, NHOHCount); the rule of 5 is judged on it: Lipinski et al. 1997, the published definition, was not read; RDKit's implementation is what is read and applied.
Lipinski's historical acceptor count: N and O atoms (RDKit lipinskiHBA, NOCount); the rule of 5 is judged on it: Lipinski et al. 1997 was not read; RDKit's implementation is what is read and applied.
Rotatable bonds, RDKit strict definition (NumRotatableBonds): The strict definition differs from Veber 2002's own count; Veber 2002 was not read. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Atoms other than hydrogen: Explicit deuterium is counted as hydrogen by RDKit; not checked here. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Ring count (symmetrised SSSR; bridged cages count extra rings): Fused and bridged ring systems are not in the hand case. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Rings whose atoms are all aromatic: Heteroaromatic and fused cases are not in the hand case. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Fraction of carbons that are sp3: Lovering et al. 2009, the published definition, was not read.
Net formal charge as drawn: Charges implied by a structure drawn without them are not inferred. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
Disconnected parts: the number of '.'-separated parts of RDKit's canonical SMILES (0 for no atoms): The count has yet to be compared with Python RDKit's GetMolFrags across the library. No published case set names molecule.fragments@1.0.0.
What was not checked, in fullfrom the method records
- Lipinski et al.
- was not read in full (Elsevier subscription): the four limits are from the 2001 reprint's PubMed abstract, which does not say how many must be exceeded; the count is a project choice (this project's ruling of 11 November 2026), not the paper's.
- logP is RDKit's Crippen estimate in place of the CLOGP (BioByte) the rule was stated with; the substitution is not checked against CLOGP on any compound.
- How the paper counts donors and acceptors was not read; the engine's counts follow its own comment and RDKit's NHOHCount and NOCount.
- That a compound fails only at two or more exceeded limits was confirmed by reading the engine, not by a case: the hand case exceeds none, and the extra run checked (raffinose) exceeded three.
- The engine holds the five values as literals; this record's copies are checked against them only by the hand case run through the handler at prebuild.
- No published case set names lipinski-rule-of-five@1.0.0.
- Veber 2002 was not read (ACS subscription): the thresholds are from its PubMed abstract only.
- How the paper counted rotatable bonds (it may exclude or include amide C–N bonds differently from RDKit's strict rule) and how it computed polar surface area were not read, so a molecule near either threshold may pass here and fail under the paper's own counts.
- The engine holds 10 and 140 as literals; this record's copies are checked against them only by the hand case run through the handler at prebuild.
- No published case set names veber-bioavailability-rules@1.0.0.
- Wildman and Crippen 1999 was not read (ACS subscription; no indexed abstract): RDKit's table was not compared with the paper's, and the fit's statistics, which would give the prediction error, were not read.
- No measured logP was compared: paracetamol's estimate (1.351) was checked against RDKit's rules by hand, not against experiment.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names wildman-crippen-logp@1.0.0.
Topological Polar Surface Area (TPSA)
- Ertl et al.
- 2000 was not read (ACS subscription); the contributions are RDKit's, read in its source, and the per-environment values were not compared with the paper's table.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names ertl-tpsa@1.0.0.
Average molecular weight from natural isotope abundances (RDKit amw)
- RDKit's table names no upstream source for its average weights.
- Compared on 11 November 2026 with CIAAW's abridged 2024 table (this project's ruling of 11 November 2026, question Q2): 40 of the 84 elements CIAAW lists differ; the largest relative difference is germanium (72.61 against 72.630, 2.8e-4), then sulfur (32.067 against 32.06, 2.2e-4), boron, zinc, lithium and selenium; chlorine is 35.453 against 35.45.
- H, C, N, O, P, Na, K and F agree.
- The full table is stored reference values.
- So molecule_descriptors and calc_formula_mass give different weights for a formula with S, Cl and others: a declared, bounded difference, which the reply does not yet state (issue row).
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check.
- No published case set names molecule.mw@1.0.0.
Monoisotopic mass (RDKit exactmw)
- RDKit's table names no upstream source for its isotope masses.
- Compared on 11 November 2026 with AME2020 (this project's ruling of 11 November 2026, question Q2) at RDKit's most common isotope for 102 elements: the largest relative difference is 1.6e-7 (lithium-7); for H, C, N, O, P, S, Cl, Na, F, Br and I it is at most 1.2e-8, far below the four decimals the tool returns.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check.
- No published case set names molecule.exact-mass@1.0.0.
Hydrogen-bond donor sites (RDKit NumHBD); historical Lipinski counts are separate
- The modern site definition, not Lipinski's NH/OH count (molecule.lipinski-hbd); Lipinski 1997 was not read.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.hbd@1.0.0.
Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate
- An amide N is not an acceptor under this pattern; Lipinski's N/O count (molecule.lipinski-hba) counts it.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.hba@1.0.0.
- Lipinski et al.
- 1997, the published definition, was not read; RDKit's implementation is what is read and applied.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.lipinski-hbd@1.0.0.
- Lipinski et al.
- 1997 was not read; RDKit's implementation is what is read and applied.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.lipinski-hba@1.0.0.
Rotatable bonds, RDKit strict definition (NumRotatableBonds)
- The strict definition differs from Veber 2002's own count; Veber 2002 was not read.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.rotatable-bonds@1.0.0.
- Explicit deuterium is counted as hydrogen by RDKit; not checked here.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.heavy-atoms@1.0.0.
Ring count (symmetrised SSSR; bridged cages count extra rings)
- Fused and bridged ring systems are not in the hand case.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.rings@1.0.0.
Rings whose atoms are all aromatic
- Heteroaromatic and fused cases are not in the hand case.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.aromatic-rings@1.0.0.
Fraction of carbons that are sp3
- Lovering et al.
- 2009, the published definition, was not read.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.fsp3@1.0.0.
- Charges implied by a structure drawn without them are not inferred.
- The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9).
- No published case set names molecule.formal-charge@1.0.0.
What this project's records still lack2 things
- A run of the worked example through the tool for all 17 methods.
- A case set linked to this version for all 17 methods.
Cite a number from this toolthe cite line
Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.
molecule_descriptors, server 1.0.0; lipinski-rule-of-five@1.0.0 (Tested, not reference-checked; project convention; unit tests only); veber-bioavailability-rules@1.0.0 (Tested, not reference-checked; project convention; unit tests only); wildman-crippen-logp@1.0.0 (Checked against a reference); ertl-tpsa@1.0.0 (Checked against a reference); molecule.mw@1.0.0 (Checked against a reference); molecule.exact-mass@1.0.0 (Checked against a reference); molecule.hbd@1.0.0 (Checked against a reference); molecule.hba@1.0.0 (Checked against a reference); molecule.lipinski-hbd@1.0.0 (Checked against a reference); molecule.lipinski-hba@1.0.0 (Checked against a reference); molecule.rotatable-bonds@1.0.0 (Checked against a reference); molecule.heavy-atoms@1.0.0 (Checked against a reference); molecule.rings@1.0.0 (Checked against a reference); molecule.aromatic-rings@1.0.0 (Checked against a reference); molecule.fsp3@1.0.0 (Checked against a reference); molecule.formal-charge@1.0.0 (Checked against a reference); molecule.fragments@1.0.0 (Tested, not reference-checked); receipt 7146ed3a92d1/3e10b2170682; methods https://www.drybench.com/methods/molecule; page https://www.drybench.com/methods/tools/molecule-descriptors. Quote this line with any number taken from this reply.Changes to its methods0 changes
No change is logged for these method versions.