Diffusion and Osmosis

Watch particles spread down a concentration gradient and water cross a semi-permeable membrane

Beginner

Interactive simulation

Mode

300 K (27 °C)
400

Changing this restarts the run.

Barrier

Left half
400
Right half
0
Left − right
400
Mixed
0%
Time
0.0 s
Temperature
300 K
D vs 300 K
1.00×
Water viscosity
0.85 mPa·s
  • Dye particle
  • Particles per slice
  • Even spread

Tap or click inside the box to add a drop of 40 more particles. D follows the Stokes-Einstein relation for water, D ∝ T / η, so it rises faster than temperature because warm water is less viscous.

How diffusion and osmosis work

Diffusion is the net movement of particles from where they are more concentrated to where they are less concentrated. It needs no energy from the cell: it is the overall result of countless random collisions. Once the particles are evenly spread they keep moving, but just as many cross each way, so the concentrations stop changing. That is dynamic equilibrium.

Osmosis is diffusion of water across a semi-permeable membrane. When solute particles cannot cross, the water moves instead: there is net flow from the side with less solute (more free water) to the side with more solute. In the simulation water molecules cross both ways all the time; the readouts show more crossing in one direction than the other until the concentrations inside and outside match.

What happens next depends on the cell. A red blood cell has no wall, so in a dilute solution it keeps swelling until its membrane tears. A plant cell is surrounded by a stiff wall: as the protoplast presses on it, turgor pressure builds up and balances the osmotic pull long before the cell can burst.

Random motion, net direction

No particle knows where the gradient is. Each one moves at random, but more particles start on the crowded side, so more of them happen to wander across than wander back.

Temperature

Warmer particles move faster and warm water is less viscous, so the diffusion coefficient rises steeply with temperature.

Semi-permeable membranes

Cell membranes let water through, much of it via aquaporin channels, but hold back most dissolved ions, sugars and proteins.

Water follows solute

Osmosis is the net movement of water across such a membrane toward the side with the higher solute concentration, which is the side with the lower water potential.

Key formulas

Fick's first law

J = −D × ΔC / Δx

J
net flux: amount crossing a unit area each second
D
diffusion coefficient (m²/s)
ΔC / Δx
concentration gradient

Stokes-Einstein: why heat speeds diffusion

D = k_B T / (6π η r)

k_B
Boltzmann constant
T
absolute temperature (K)
η
viscosity of the water, which falls as it warms
r
radius of the particle

Osmotic pressure (van 't Hoff)

Π = c R T

Π
osmotic pressure
c
solute concentration in osmoles per litre
R
gas constant, 0.008314 L·MPa/(mol·K)

Tonicity at a glance

Surrounding solutionWaterAnimal cellPlant cell
Hypotonic (less solute outside)Net flow into the cellSwells and may burst (lysis)Turgid: protoplast presses on the wall
Isotonic (equal solute)No net flowNormal shapeFlaccid: no pressure on the wall
Hypertonic (more solute outside)Net flow out of the cellShrinks and crinkles (crenation)Plasmolysed: membrane pulls away from the wall

Common misconception

Water does not stop moving at equilibrium, and it does not "want" to dilute the solute. Water molecules keep crossing in both directions; osmosis is only the difference between the two flows, and in an isotonic solution that difference is zero.

How to use this visualizer

  1. 1
    In Diffusion mode, press Play and watch the dye spread. The bars underneath count particles in each slice of the box; the dashed line is a perfectly even spread.
  2. 2
    Raise the temperature and press Reset to compare how quickly the profile flattens. Switch on the barrier to see diffusion through pores.
  3. 3
    Tap or click inside the box to add a drop of extra dye anywhere and watch it spread out again.
  4. 4
    In Osmosis mode, choose hypotonic, isotonic or hypertonic surroundings, or set the outside concentration exactly with the slider.
  5. 5
    Watch the arrows, the Net water flow readout and the volume graph. Switch between the red blood cell and the plant cell to compare lysis and crenation with turgor and plasmolysis.

Real-world applications

IV drips

Intravenous fluids are made isotonic with blood, such as 0.9% saline at about 300 mOsm/L. Pure water in a vein would make red blood cells swell and burst; a strongly hypertonic drip would shrink them.

Food preservation

Salting fish and making jam with lots of sugar create hypertonic surroundings that draws water out of bacteria and moulds, so they cannot grow.

Wilting and watering plants

A watered plant is held upright by turgor pressure. Too much fertiliser or salty soil makes the soil water hypertonic, the cells plasmolyse and the plant wilts even in wet soil.

Gas exchange in the lungs

Oxygen diffuses from the air in the alveoli into the blood and carbon dioxide diffuses out, each down its own concentration gradient, across a barrier less than a micrometre thick.

How the simulation is simplified

The particles move in two dimensions and the box is shown at a size you can see, not at the true scale of molecules. In osmosis mode the cell volume follows the standard membrane equation, rate ∝ (inside − outside − turgor), with 30% of the cell treated as solid material that water cannot leave, and the water molecules shown crossing are a sample that tracks that flow.

Practice problems

Problem 1: Which way does the water go?

Red blood cells (about 300 mOsm/L inside) are placed in three tubes: 0.9% saline (about 300 mOsm/L), 0.3% saline (about 100 mOsm/L) and 3% saline (about 1000 mOsm/L). Describe the net water movement and what happens to the cells in each tube.
Show solution

0.9% saline is isotonic: no net water flow, the cells keep their normal shape.

0.3% saline is hypotonic: net water flow into the cells, which swell and burst (haemolysis).

3% saline is hypertonic: net water flow out of the cells, which shrink and crenate.

Water always moves toward the higher solute concentration

Problem 2: Osmotic pressure

Use Π = cRT to find the osmotic pressure of a 0.30 Osm/L solution at 37 °C (310 K). Why can a plant cell withstand being placed in pure water when a red blood cell cannot?
Show solution

Π = 0.30 × 0.008314 × 310 = 0.77 MPa, about 7.6 atmospheres.

In pure water both cells take in water. The red blood cell has nothing to resist the swelling, so it bursts once its volume passes about 1.7 times normal.

The plant cell wall pushes back. Turgor pressure rises until it balances the osmotic pressure difference, and net water entry stops.

0.77 MPa; the wall supplies the opposing pressure

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.