Log D is a measure of how readily a chemical compound distributes between a fatty (oil-like) phase and water, taking into account whether the compound carries an electrical charge at a given pH. It stands for the logarithm (base 10) of the distribution coefficient, and it’s one of the most important numbers in drug design because it predicts how well a molecule can cross biological membranes, get absorbed in the gut, and reach its target in the body.
The Basic Concept
Every molecule has a preference: it either dissolves more easily in water or more easily in fats and oils. This preference, called lipophilicity, determines how a drug behaves inside your body, since cell membranes are made of fatty lipid layers. To quantify lipophilicity in the lab, scientists dissolve a compound in a two-layer system of water and 1-octanol (a fatty alcohol that mimics biological membranes well) and measure how the compound splits between the two layers.
The distribution coefficient, D, is the ratio of the total concentration of the compound in the octanol layer to its total concentration in the water layer. That ratio includes every form the molecule takes at a specific pH: charged, partially charged, and uncharged. Log D is simply the base-10 logarithm of that ratio. A log D of 2 means the compound is 100 times more concentrated in the oil phase than in water. A log D of -1 means it strongly prefers water.
Critically, log D always comes attached to a pH value. You’ll often see it written as log D7.4, meaning the measurement was taken at physiological blood pH. Change the pH, and you change how much of the molecule is ionized, which changes the result.
How Log D Differs From Log P
Log P (the partition coefficient) measures the same oil-versus-water preference, but only for the completely neutral, uncharged form of a molecule. It assumes no ionization has occurred. For compounds that never pick up or lose a proton, log P and log D are identical. But most drug molecules are acids, bases, or both, meaning they ionize to some degree in water. Once a molecule ionizes, it becomes more water-soluble and less likely to cross into the oil phase. Log P ignores this entirely.
Log D captures reality more accurately because it accounts for all species present at a specific pH. If you’re designing a drug meant to work in the bloodstream at pH 7.4, the log P value could paint a misleading picture of how the molecule actually behaves there. A weakly acidic drug might have a log P of 3 (suggesting it’s quite lipophilic), but at pH 7.4, most of the molecule exists in its ionized, water-loving form, giving it a much lower log D. This distinction matters enormously when predicting whether a drug will cross membranes efficiently.
Why It Matters in Drug Design
Log D sits at the center of a balancing act. A drug needs enough lipophilicity to cross cell membranes and get absorbed from the gut into the bloodstream, but too much lipophilicity creates problems: poor water solubility, accumulation in fatty tissues, and a higher risk of toxic off-target effects. Retrospective analyses of human bioavailability data have found that compounds with log D values (at pH 6.5) between -2 and 3 tend to show increased bioavailability. At physiological pH, an optimum range between 1 and 3 is commonly cited for oral drug candidates.
The picture gets more nuanced for larger molecules. Research by Waring established that bigger molecules (molecular weight above 500) often need a log D above 4.5 to have a reasonable chance of high permeability, because their size makes membrane crossing inherently harder. Smaller molecules can get away with lower lipophilicity.
For drugs targeting the brain, lipophilicity is especially critical. The blood-brain barrier is one of the tightest membrane barriers in the body, and hydrophilic (water-loving) compounds simply cannot get through. Compounds that successfully penetrate it tend to have lipophilicity values in the range of roughly 1.5 to 2.5, though this is just one of several factors that determine brain access.
The Solubility-Permeability Tradeoff
Think of log D as a dial. Turn it too low (below about -2), and the molecule dissolves beautifully in water but refuses to cross any lipid membrane. It will pass straight through the gut without being absorbed. Turn it too high (above about 5), and the molecule buries itself in fatty tissue, resists dissolving in blood, and may start binding indiscriminately to proteins and membranes it shouldn’t touch. Studies have found that highly lipophilic compounds are more likely to bind to ion channels in the heart (a known safety concern), partly because reaching those channels requires high membrane affinity in the first place.
This is why medicinal chemists monitor log D obsessively during the early stages of drug development. A promising molecule with a log D that’s too high will often be chemically modified to introduce polar groups that bring the value down into a safer, more absorbable range.
How Log D Is Measured
The gold-standard technique is the shake-flask method. A compound is dissolved in a mixture of octanol and an aqueous buffer set to a specific pH. The two phases are shaken together, allowed to separate, and the concentration of the compound in each layer is measured using analytical techniques like mass spectrometry or UV spectroscopy. It’s accurate and works for both neutral and ionizable compounds, but it’s slow, sometimes taking hours per measurement.
Potentiometric titration is another well-validated approach. It works by measuring how a compound’s acid-base behavior shifts in the presence of octanol versus water alone. This method shows excellent agreement with shake-flask results but requires highly pure samples and only works for compounds that have acid-base properties.
For high-throughput screening, where pharmaceutical companies need log D estimates for thousands of compounds quickly, chromatographic methods are preferred. These run the compound through a specialized HPLC column and infer lipophilicity from how long it takes to pass through. The tradeoff is lower accuracy compared to shake-flask, but the speed makes it practical for early-stage drug discovery when rough rankings matter more than precise numbers.
Why Octanol Is the Standard
The choice of 1-octanol as the oil phase isn’t arbitrary. Octanol contains a hydroxyl group that can form hydrogen bonds, much like the polar head groups of the phospholipids that make up cell membranes. This makes it a reasonable stand-in for biological lipids. It primarily captures the same types of nonspecific molecular interactions (London dispersion forces) that govern how compounds interact with real membranes. The octanol-water system also benefits from an enormous experimental database covering over 13,700 chemicals, making it easy to compare new compounds against known references.
No surrogate is perfect. Octanol is less sensitive to certain specific interactions like hydrogen bonding and dipole effects than real biological membranes. But for a single, standardized measurement that predicts membrane behavior reasonably well across a huge range of chemical structures, nothing has displaced it in decades of use.

