HomeArticlesMolecular Biology

Cell Membrane Diffusion: Simple, Facilitated and Active Transport

450 randomly walking particles show why diffusion always runs downhill on its own, and why crossing uphill costs a cell real ATP.

mysimulator teamUpdated June 2026≈ 7 min read▶ Open the simulation

Random walks add up to a directed flow

No individual molecule in this simulation "knows" to move from a crowded chamber to an empty one. Each of the 450 particles undergoes Brownian motion, a memoryless random walk driven by thermal collisions, and it is exactly as likely to step toward the crowded side as away from it. What is not equally likely is the outcome: with more particles on one side, more random steps originate from that side, so more steps carry particles across the membrane from high to low concentration than the reverse. Diffusion down a gradient is a statistical inevitability of large numbers, not a force pulling molecules anywhere.

live demo · 450 particles diffusing between two chambers● LIVE

Fick's first law and the diffusion rate

The net flux this produces is described by Ficks first law: flux is proportional to the concentration gradient, and it always points from high to low concentration.

J = −D · dC/dx

J   flux, amount crossing unit area per unit time
D   diffusion coefficient (depends on molecule size, membrane, temperature)
dC/dx   concentration gradient across the membrane

For a permeable membrane between two well-mixed chambers this simplifies to a rate proportional to the concentration difference, which is why the crossing rate in the simulation is fastest right at the start, when the imbalance is largest, and slows as the two chambers approach equal concentration — an exponential approach to equilibrium, never quite reaching a perfectly static 50/50 split because thermal motion never stops.

Simple diffusion needs no help, and no membrane can move it uphill

Small nonpolar molecules (O₂, CO₂, and to a lesser extent water) simply dissolve into the lipid bilayer and diffuse straight through — the mode this simulation calls Simple Diffusion. It requires no protein and no energy, and it can only ever move net material down its gradient, never up it, because it is powered entirely by the random thermal motion already present in the system.

Facilitated diffusion: a protein doorway, still no energy

Ions and polar molecules like glucose cannot cross the hydrophobic bilayer core unassisted. Facilitated diffusion routes them through channel or carrier proteins — five discrete channels in this simulation — that provide a hydrophilic path across the membrane. It is still entirely passive: the protein does not spend energy, it only lowers the energetic barrier to crossing, so material still moves only from high to low concentration, just faster than simple diffusion would allow and only at the channel locations, which is visibly why particles cluster near the five openings in the animation.

Active transport: spending ATP to go against the gradient

Active transport is qualitatively different: it uses the chemical energy of ATP hydrolysis to pump ions against their concentration gradient, something no amount of waiting or random motion can achieve on its own. The canonical real example is the Na⁺/K⁺ ATPase, which for every ATP hydrolysed exports 3 sodium ions and imports 2 potassium ions against both gradients, maintaining the resting membrane potential that every neuron and muscle cell depends on. This simulation's active-transport mode models the same principle: a pump that keeps pushing ions one direction regardless of the gradient, at a fixed energetic cost per ion, which is why concentrations can end up permanently lopsided in that mode instead of settling to equal chambers.

Frequently asked questions

Why does diffusion always move toward equal concentration if each particle moves randomly?

Because more particles start on the crowded side, so more random steps originate there, producing a statistical net flow toward the empty side even though every individual step is equally likely in either direction. It's a law of large numbers, not a directional force.

What's the actual difference between simple and facilitated diffusion?

Both are passive and move material only down its concentration gradient using no cellular energy. Simple diffusion crosses the lipid bilayer directly and works for small nonpolar molecules; facilitated diffusion uses a channel or carrier protein to let ions and polar molecules like glucose cross, which they otherwise couldn't do at any useful rate.

Why does active transport need ATP but diffusion doesn't?

Diffusion only moves material downhill, which random thermal motion already provides for free. Moving ions uphill, against their concentration gradient, requires doing work against that gradient, and cells pay for that work by hydrolysing ATP, as the Na⁺/K⁺ pump does continuously to maintain resting membrane potential.

Try it live

Everything above runs in your browser — open Cell Membrane Diffusion and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Cell Membrane Diffusion simulation

What did you find?

Add reproduction steps (optional)