Cosmetic creams and lotions are emulsions — one liquid dispersed as droplets inside another that would not normally mix with it. An emulsifier is an amphiphilic molecule with a hydrophilic head and a lipophilic tail that sits at the oil-water interface and keeps the droplets from coalescing. Which way it stabilizes the emulsion — oil droplets in water (O/W) or water droplets in oil (W/O) — is predicted by its HLB number (Hydrophile-Lipophile Balance).
Most commercial moisturizers are O/W emulsions because they feel light and rinse off easily, while heavy-duty barrier ointments (like diaper-rash creams) are often W/O — the continuous oil phase is exactly what gives them their occlusive, water-trapping effect.
A 3D cosmetic chemistry lab: switch between an oil-in-water (O/W) and a water-in-oil (W/O) emulsion to see emulsifiers orient by HLB, then send a test molecule through a stratum-corneum cross-section at a speed set by the real Potts-Guy skin-permeability equation.
Emulsifiers are amphiphiles that sit at the oil-water interface, head in the water and tail in the oil. Which side becomes the continuous phase depends on the emulsifier's HLB number: HLB 8–18 stabilizes O/W (oil droplets in water), HLB 3–6 stabilizes W/O (water droplets in oil) — flip the emulsion type to see the head/tail orientation invert at every droplet. On the skin side, the stratum corneum's brick-and-mortar structure forces most molecules to thread around corneocytes through the lipid matrix rather than crossing them directly, and how fast that crossing happens follows the Potts-Guy regression from molecular weight and log Kow, with W/O emulsions getting an occlusion-driven permeability boost.
Press O/W or W/O to rebuild the droplets and watch the emulsifier chains flip orientation. Drag the molecular-weight and log Kow sliders to resize and recolor the test molecule and watch the computed Kp update live. Press Start penetration test to send the molecule zig-zagging through the lipid matrix — bigger, more polar molecules cross far slower than small, moderately lipophilic ones. Reset restores the defaults.
The "ideal" molecule for skin penetration is often called Lipinski-adjacent for dermal delivery: moderate size, moderate lipophilicity (log Kow around 1–3). Go too hydrophilic and the molecule can't cross the lipid mortar at all; go too lipophilic or too large and it gets stuck in the lipid matrix instead of diffusing through.