Topological polar surface area (TPSA) explained
TPSA adds up tabulated contributions of polar N and O fragments to estimate polar surface from a 2D structure. It is a fast proxy for membrane permeability.
Topological polar surface area, TPSA, estimates how much of a molecule's surface belongs to polar atoms, using only its 2D structure. Each nitrogen or oxygen fragment adds a tabulated contribution in Ų, and the sum approximates the polar surface of a 3D model. Peter Ertl, Bernhard Rohde and Paul Selzer published the method in 2000. Chemists use TPSA as a fast proxy for passive membrane permeability, with 140 Ų a common ceiling for oral absorption and 60 to 90 Ų a common heuristic range for brain penetration.
Polar surface area in 3D and in 2D
Polar surface area began as a 3D descriptor. You build a conformer, compute its molecular surface and keep the part that belongs to nitrogen, oxygen and polar hydrogens. Polar surface tracks the energy a molecule must pay to leave water and enter the lipid interior of a membrane. More polar surface means a larger desolvation cost and slower passive diffusion.
The 3D calculation has two drawbacks. It needs a conformer, and the answer changes with the conformer chosen. It is also slow when you screen a large library. Ertl's group fitted a table of fragment contributions by least squares against 3D polar surface areas computed for a large set of molecules. The resulting topological sum reproduces the 3D values closely, needs no coordinates and runs almost instantly.
How the fragment sum works
TPSA classifies each polar atom by element, attached hydrogens, heavy-atom neighbours, bond types, aromaticity and charge. Each class has one value. A few common contributions, as implemented in RDKit:
- Hydroxyl oxygen, in an alcohol, a phenol or a carboxylic acid, 20.23 Ų.
- Carbonyl oxygen, 17.07 Ų.
- Ether oxygen, 9.23 Ų.
- Primary amine NH2, 26.02 Ų.
- Secondary NH, in an amine or an amide, 12.03 Ų.
- Tertiary amine nitrogen, 3.24 Ų.
- Pyridine-type aromatic nitrogen, 12.89 Ų.
- Pyrrole-type aromatic NH, 15.79 Ų.
- Nitrile nitrogen, 23.79 Ų.
Carbon and the halogens contribute nothing. A tertiary amine adds little because its nitrogen is buried among three carbons. An NH2 adds a lot because it exposes two polar hydrogens.
A worked example with ibuprofen and paracetamol
Ibuprofen has one carboxylic acid. Its carbonyl oxygen adds 17.07 Ų and its OH adds 20.23 Ų, for 37.30 Ų. Paracetamol has an amide NH, an amide carbonyl and a phenol OH, so its TPSA is 12.03 + 17.07 + 20.23 = 49.33 Ų. RDKit reproduces both sums.
from rdkit import Chem
from rdkit.Chem import rdMolDescriptors
drugs = {
"ibuprofen": "CC(C)Cc1ccc(cc1)C(C)C(=O)O",
"paracetamol": "CC(=O)Nc1ccc(O)cc1",
"caffeine": "Cn1cnc2c1c(=O)n(C)c(=O)n2C",
"omeprazole": "COc1ccc2[nH]c(nc2c1)S(=O)Cc1ncc(C)c(OC)c1C",
}
for name, smi in drugs.items():
mol = Chem.MolFromSmiles(smi)
print(name,
round(rdMolDescriptors.CalcTPSA(mol), 2),
round(rdMolDescriptors.CalcTPSA(mol, includeSandP=True), 2))
# ibuprofen 37.3 37.3
# paracetamol 49.33 49.33
# caffeine 61.82 61.82
# omeprazole 77.1 96.31
Atorvastatin reaches 111.79 Ų with its amide, two hydroxyls and carboxylic acid. Imatinib, with several aromatic nitrogens and an amide, sits at 86.28 Ų.
Sulfur and phosphorus, the option most people forget
Ertl's paper tabulates contributions for sulfur and phosphorus as well. Many programs, RDKit among them, still count only nitrogen and oxygen by default. Omeprazole shows the effect, since its sulfoxide sulfur adds about 19 Ų when included. Hydrochlorothiazide goes from 118.36 to 135.12 Ų once its two sulfonyl sulfurs are counted. When two programs disagree on TPSA, check this setting first. It explains many apparent conflicts.
What the TPSA thresholds mean
Two cut-offs dominate practice. Veber and colleagues analysed rat oral bioavailability in 2002. Compounds with a polar surface area of 140 Ų or less and 10 or fewer rotatable bonds did well more often. The guide to Veber's rules covers that analysis. For the central nervous system, a common heuristic puts the upper limit between 60 and 90 Ų. Diazepam, at 32.67 Ų, and caffeine, at 61.82 Ų, both act on the brain. The guide to blood-brain barrier penetration explains why a low TPSA is necessary but not sufficient.
These thresholds describe trends across populations of compounds. A molecule at 145 Ų is not doomed, and one at 80 Ų is not guaranteed to reach the brain. Efflux transporters, ionisation and metabolism all intervene.
Where TPSA misleads
- Intramolecular hydrogen bonds hide polar groups from solvent. TPSA cannot see them, so it overstates the polarity that some molecules present to a membrane. Large chameleonic drugs such as cyclosporin fold to shield their polar groups.
- Charge is not captured well. A carboxylate and its carboxylic acid get similar TPSA values, yet the anion permeates far more slowly.
- Tautomers and protonation states change the sum. The same drug drawn as two tautomers can return two TPSA values.
- TPSA ignores size. Two compounds with equal TPSA can differ greatly in molecular weight and lipophilicity.
TPSA pairs well with hydrogen-bond counts, and the guide on counting hydrogen-bond donors and acceptors explains how those conventions differ. Molecule Analysis returns an RDKit property profile for a compound entered by name, CID or SMILES.
Key points
- TPSA is a 2D sum of fragment contributions for polar nitrogen and oxygen atoms, fitted to 3D polar surface areas by Ertl and colleagues in 2000.
- Ibuprofen scores 37.30 Ų and paracetamol 49.33 Ų, and both sums can be checked by hand from the fragment table.
- RDKit excludes sulfur and phosphorus by default, which matters for sulfonamides, sulfoxides and phosphates.
- 140 Ų for oral absorption and 60 to 90 Ų for brain penetration are population trends, not hard limits.
- TPSA misses intramolecular hydrogen bonds, charge and size, so read it next to logD and hydrogen-bond counts.
Questions people ask
- What is topological polar surface area?
- Topological polar surface area, or TPSA, estimates the surface area that belongs to a molecule's polar atoms, mostly nitrogen and oxygen and the hydrogens attached to them. It is computed from the 2D structure by adding a fixed contribution for each polar fragment, using the table published by Ertl and colleagues in 2000.
- What is a good TPSA for oral drugs?
- Veber and colleagues found that compounds with a polar surface area of 140 Ų or less, together with 10 or fewer rotatable bonds, were more likely to show good oral bioavailability in the rat. Above 140 Ų, passive permeability through the gut wall tends to be poor. The limit is a guideline drawn from data, not a hard boundary.
- What TPSA is needed to cross the blood-brain barrier?
- A common heuristic places the upper limit for passive brain penetration somewhere between 60 and 90 Ų. Many central nervous system drugs sit well below that range, diazepam at about 33 Ų for example. Efflux transporters such as P-glycoprotein can still keep a low-TPSA compound out of the brain.
- Does RDKit TPSA include sulfur and phosphorus?
- Not by default. RDKit counts only nitrogen and oxygen fragments unless you pass includeSandP=True to rdMolDescriptors.CalcTPSA. With that option the value rises by close to 20 Ų for omeprazole, whose sulfoxide sulfur is then counted.
Further reading
- Ertl, Rohde and Selzer, Fast calculation of molecular polar surface area (2000)
- Veber et al., Molecular properties that influence the oral bioavailability of drug candidates (2002)
- Wikipedia, Polar surface area
- RDKit, rdkit.Chem.rdMolDescriptors module documentation
In practice: The ADMET dashboard computes the RDKit property profile and the Lipinski flags for any compound; the numbers in these guides are the ones it shows.