My Easy Science

Guide

Lipinski Rule of Five Explained

The Lipinski Rule of Five is a quick check for whether a molecule looks like an oral drug. It is four simple limits, all multiples of five, and a molecule that passes all four is more likely to be absorbed from the gut. This guide explains the four rules, where they came from, and how to check a molecule with the free Lipinski Rule of Five Checker.

Medicine capsules beside a ball-and-stick molecular model on a white desk
Capsules and a molecular model, the world of drug design.

The four rules

The Lipinski rule of 5 has four limits. A molecule passes when it meets all four. Each limit it breaks is one violation.

RuleLimitWhat it measures
Molecular weight (MW)at most 500 g/molHow big the molecule is
LogPat most 5How fatty the molecule is
H-bond donors (HBD)at most 5OH and NH groups that can donate a hydrogen bond
H-bond acceptors (HBA)at most 10N and O atoms that can accept a hydrogen bond

In short, what is the Lipinski rule of 5? It is a filter for oral drugs: small enough, not too fatty, and not carrying too many hydrogen bond donors or acceptors.

Why five?

In 1997 Christopher Lipinski looked at the oral drugs that had made it to the clinic and found that almost all of them shared four features. The limits he drew around those features all came out as multiples of five, and that is where the name comes from. People also write it as the Lipinski 5 rule, and it is the same four limits. The Lipinski rule of five is therefore a summary of what successful oral drugs look like, not a law of nature.

In 2002 Veber added two more useful rules, both tracking with good oral absorption: at most 10 rotatable bonds, and a topological polar surface area (TPSA) of at most 140 square angstroms. These are called the Veber criteria, and the tool checks them too.

What the four numbers mean

Molecular weight is the mass of one molecule, in grams per mole. LogP is the logarithm of the octanol-water partition coefficient: a high LogP means the molecule prefers fat over water, and a very fatty molecule may not dissolve well enough to be absorbed. H-bond donors are counted as OH and NH groups. H-bond acceptors are counted as N and O atoms.

LogP varies by method. Two methods can give different LogP values for the same molecule, so check the source when a value sits near a limit. The tool uses PubChem XLogP, counts and TPSA, rounded, so use XLogP from PubChem, or a measured LogP, when you compare values.
Aspirin against the four Lipinski limitslimitMW180.16 / 500 g/mol (36%)LogP1.2 / 5 (24%)HBD1 / 5 (20%)HBA4 / 10 (40%)Aspirin uses only a small share of each limit, so it passes all four Lipinski rules.
Aspirin uses only a small share of each limit, so it passes all four Lipinski rules.

Worked example: aspirin passes all four

Aspirin is C9H8O4, with molecular weight 180.16 g/mol, LogP 1.2, 1 H-bond donor, 4 H-bond acceptors, 3 rotatable bonds and TPSA 63.6 square angstroms. Check it against the four Lipinski rules:

180.16 ≤ 500, 1.2 ≤ 5, 1 ≤ 5, 4 ≤ 10

All four pass, so aspirin has 0 Lipinski violations. The Veber rules pass too: 3 rotatable bonds is at most 10, and TPSA 63.6 is at most 140. That is 0 Veber violations as well. Aspirin looks like a typical oral drug on every count.

One violation is usually still fine. Atorvastatin is C33H35FN2O5, with molecular weight 558.6, LogP 5.0, 4 donors and 6 acceptors. It has one violation, the molecular weight, because 558.6 is over 500. Its LogP of 5.0 passes, because the limit is at most 5, and its donors and acceptors pass too. Atorvastatin is still a successful oral drug, which shows the Lipinski rules are a guide, not a law.

The Lipinski Rule of Five Checker showing atorvastatin: each parameter as its value divided by its limit, with the dashed line at 1.0 as the limit. Only molecular weight, at 1.12, sits above the line.
The Lipinski Rule of Five Checker showing atorvastatin: each parameter as its value divided by its limit, with the dashed line at 1.0 as the limit. Only molecular weight, at 1.12, sits above the line.
Molecular weight: where aspirin and atorvastatin sit025050075010001200Limit 500Aspirin 180.16Atorvastatin 558.658.6 over the limitSmallerLargerAspirin sits well under the 500 limit. Atorvastatin sits just past it, by 58.6 g/mol.
Aspirin sits well under the 500 limit. Atorvastatin sits just past it, by 58.6 g/mol.

The Veber rules

Veber's two rules look at flexibility and polar surface. A molecule with more than 10 rotatable bonds is very flexible, and flexible molecules are harder to absorb. A TPSA over 140 square angstroms means a lot of polar surface, which also slows absorption. Aspirin passes both, with 3 rotatable bonds and TPSA 63.6. The companion guide works through what happens when a molecule breaks these rules as well as the Lipinski rules.

Common mistakes

Counting H-bond donors wrong. Count OH and NH groups, not every hydrogen in the formula. A CH3 group is not a donor.

Counting H-bond acceptors wrong. Count N and O atoms, not every atom that looks polar.

Treating a pass as a promise. The Lipinski rules say nothing about potency, safety or metabolism. A molecule can pass all four rules and still fail as a drug.

Mixing LogP methods. A computed LogP from one method and a measured LogP from another are not the same number. Compare like with like, and check the source near a limit.

Forgetting what the rules are about. They describe passive absorption of a small molecule taken by mouth. They do not apply to injections, and they do not cover active transport.

Try it yourself

Open the Lipinski Rule of Five Checker, pick the Aspirin preset, and check the rule-by-rule table: 0 violations. Then pick Atorvastatin and see the single molecular weight violation, with its bar running past the limit. Then try a molecule of your own and see how many violations it has. Once you can read a rule check this way, try the Lipinski Rule Violations guide next.

Last reviewed 17 November 2026 by Masood Ur Rehman, PharmD.