What is diffusion length?
Einstein–Smoluchowski Diffusion Relation: For a random walk, the mean squared displacement grows linearly with time: ⟨r²⟩ = 2nDt in n dimensions. — Einstein 1905, Smoluchowski 1906
A diffusing molecule does not travel in a straight line. It is knocked in a new, random direction billions of times a second, so its path is a tangled random walk. Many of its steps cancel each other out. As a result, the distance it gets from its starting point grows much more slowly than the length of the path it has actually travelled.
The diffusion length measures how far, typically, a particle has got from its starting point after a time t. The key result, worked out by Albert Einstein in 1905 and Marian Smoluchowski in 1906, is that this distance grows with the square root of time:
- wait 4 times as long and particles get 2 times as far;
- wait 100 times as long and they get only 10 times as far.
This square-root rule makes diffusion fast over short distances and hopelessly slow over long ones. For a small molecule in water (D ≈ 1 × 10⁻⁹ m²/s, moving in 3D):
| Distance | Typical time, t = L²/(6D) | For scale |
|---|---|---|
| 1 µm | 0.17 ms | A bacterium |
| 10 µm | 17 ms | A human cell |
| 100 µm | 1.7 s | The width of a hair |
| 1 mm | 2.8 minutes | A grain of sand |
| 1 cm | 4.6 hours | A sugar cube |
| 1 m | about 5 years | A large room |
The formula explained
| Symbol | Quantity | SI unit | Meaning |
|---|---|---|---|
| L | Diffusion length (RMS distance) | m | Root-mean-square displacement after time t |
| n | Dimensions | — | Number of spatial dimensions in which diffusion occurs |
| D | Diffusion coefficient | m²/s | Diffusion coefficient |
| t | Time | s | Elapsed time |
Mean squared displacement. ⟨r²⟩ is the average of the squared distance from the start, taken over many particles. Each direction a particle can move in adds 2Dt, so ⟨r²⟩ = 2Dt in 1D, 4Dt in 2D and 6Dt in 3D. The diffusion length L is its square root, the root-mean-square (RMS) displacement.
Choosing n.
- n = 1 for diffusion along one direction: into a slab or wafer from its surface, along a thin tube, or when you only care about one coordinate.
- n = 2 for motion confined to a surface, such as a protein moving in a cell membrane.
- n = 3 for free diffusion in a liquid or gas.
Units. D × t gives m²/s × s = m², and the square root gives metres. If you use D in cm²/s, the time must still be in seconds and the length comes out in cm. The calculator handles the conversions.
Other conventions. Textbooks define "diffusion length" in slightly different ways. They all scale as √(Dt) and differ only by a constant factor:
| Expression | Where you will see it |
|---|---|
| √(Dt) | Characteristic length in Fick's second law and heat-treatment problems |
| 2√(Dt) | The denominator of the error-function argument |
| √(2Dt) | RMS displacement in 1D |
| √(6Dt) | RMS displacement in 3D |
| √(Dτ) | Minority-carrier diffusion length in semiconductors, τ = lifetime |
How to use this calculator
- Choose the quantity you want to find in the Calculate menu. It is highlighted as the result field.
- Enter the known values. Scientific notation such as
1.6e-11is accepted. - Select a unit for each value. Units are converted to SI automatically.
- The answer updates as you type. Open Show calculation steps to see the working, or use Copy result to share a link with your inputs.
Step-by-step worked example
Problem. (a) How far does a small molecule with D = 1.0 × 10⁻⁹ m²/s typically move in water in one second? (b) How long would it take to spread 1 cm? (c) A signalling molecule with D ≈ 5 × 10⁻¹⁰ m²/s crosses a 20 nm gap between two nerve cells. Roughly how long does that take?
Part (a): distance in 1 s, 3D
- ⟨r²⟩ = 2nDt = 2 × 3 × 1.0 × 10⁻⁹ × 1 = 6.0 × 10⁻⁹ m².
- L = √(6.0 × 10⁻⁹) = 7.7 × 10⁻⁵ m ≈ 77 µm.
Part (b): time to spread 1 cm
- Rearrange: t = L² / (2nD).
- t = (0.01)² / (6 × 1.0 × 10⁻⁹) = 1.0 × 10⁻⁴ / 6.0 × 10⁻⁹ = 16 700 s ≈ 4.6 hours.
Part (c): crossing a 20 nm gap
- Crossing a gap is a one-dimensional problem, so n = 1.
- t = (20 × 10⁻⁹)² / (2 × 5 × 10⁻¹⁰) = 4 × 10⁻¹⁶ / 1 × 10⁻⁹ = 4 × 10⁻⁷ s ≈ 0.4 µs.
A 100-fold distance increase from 77 µm to 1 cm costs a factor of about 17 000 in time. The nanometre gap, by contrast, is crossed almost instantly. This is why nerve signals use diffusion only across very narrow gaps.
Try it: the calculator's defaults reproduce part (a). For part (b), choose "Time (t)" in the Calculate menu and enter L = 1 cm.
How to interpret the result
- It is a typical distance, not a maximum. Particles spread out in a bell-shaped (Gaussian) distribution. In 1D, about 68% end up within ±L of the start, and the rest go further. Some particles always arrive much sooner than the typical time.
- Distances do not add up linearly in time. If a molecule covers 77 µm in one second, it does not cover 77 µm × 60 in a minute. It covers 77 µm × √60 ≈ 0.6 mm.
- Compare with flow. If the fluid is moving with speed v, compare the diffusion time L²/D with the flow time L/v. Their ratio is the Péclet number, vL/D. When it is much greater than 1, flow carries material far faster than diffusion does. This is why stirring, breathing and blood circulation exist.
- Check that D suits the medium. The same molecule diffuses about 10 000 times faster in air than in water. In a gel, inside a cell or through tissue, it is slower than in pure water.
Real-world applications
- Why cells are small. In a bacterium about 1 µm across, molecules reach anywhere inside within a millisecond, so no transport system is needed. Larger cells rely on motor proteins and internal streaming to move cargo over longer distances.
- Why we need blood vessels. Oxygen can supply tissue by diffusion over only about a tenth of a millimetre or so. Most cells in the body therefore lie within roughly 100–200 µm of a capillary. Any thicker tissue needs blood flow to carry oxygen in.
- Heat treatment and cooking. Case-hardening depth, the time to dope a semiconductor junction and the time to cook food through all scale with thickness squared. A steak twice as thick takes roughly four times as long to cook through.
- Solar cells and electronics. The minority-carrier diffusion length, √(Dτ), tells designers how far charge carriers can travel before they are lost. The light-absorbing layer of a solar cell is made comparable to or thinner than this length.
- Chromatography. As a band of molecules travels along a chromatography column, diffusion along the column broadens it by an amount set by √(2Dt). This is one reason slow runs give broader, less well-separated peaks.
Common mistakes and unit-conversion tips
- Using the wrong number of dimensions. For the same D and t, the 3D RMS distance is √3 ≈ 1.7 times the 1D value. Diffusion into a flat surface is usually 1D, even though the molecules move in 3D.
- Mixing conventions. If a textbook defines L = √(Dt), your answer from L = √(2nDt) will differ by √2 or √6. Check which definition a problem expects.
- Assuming distance is proportional to time. Doubling the time increases the distance by only √2 ≈ 1.41 times.
- µm²/s versus m²/s. 1 µm²/s = 10⁻¹² m²/s. Biologists often quote D in µm²/s; for example, a small protein in cytoplasm is of order 10 µm²/s.
- Ignoring convection. In air, or in any moving fluid, currents usually dominate over distances of more than a few millimetres. Pure diffusion times then badly overestimate how long mixing takes.
Frequently asked questions
How long does diffusion take?
Diffusion time grows with the square of distance: t = L² / (2nD). A small molecule in water (D ≈ 10⁻⁹ m²/s, 3D) crosses 1 µm in about 0.2 ms, a 10 µm cell in about 17 ms, 1 mm in about 3 minutes and 1 cm in about 4.6 hours. A gas in air (D ≈ 10⁻⁵ m²/s) takes about 4.6 hours to spread 1 m by diffusion alone, which is why air currents usually dominate.
How long does diffusion last?
Net diffusion lasts until equilibrium, when the concentration is the same everywhere. Particles keep moving after that, but equally in every direction, so there is no further net change. The time to approach equilibrium over a distance L is roughly t ≈ L²/(2nD), so it grows with the square of the distance.
How do I calculate the rate of diffusion?
The rate of diffusion through a layer is the flux from Fick's first law, J = D·ΔC/Δx, in mol/(m²·s); multiply by the area to get mol/s. To compare how fast two gases diffuse, use Graham's law. To find how far or how long, use this calculator.
Why do some textbooks use L = √(Dt) or L = 2√(Dt)?
They are all "diffusion lengths" defined slightly differently. √(Dt) is the characteristic length in Fick's second law, 2√(Dt) appears in the erf argument, and √(2Dt) is the 1D RMS displacement. They differ only by constant factors, so state which one you use.
Is this the average distance travelled?
It is the root-mean-square displacement from the starting point, not the path length. The actual path is far longer and very jagged.
What is the diffusion length in semiconductors?
For minority carriers, L = √(Dτ), where τ is the carrier lifetime. Set n = 1 and enter τ as the time, then divide the result by √2 to match that convention.
Related calculators
- Stokes–Einstein Equation Calculator: estimate D for a particle or molecule in a liquid from its size.
- Fick's Second Law Calculator: the full concentration profile, not just a typical distance.
- Einstein Relation Calculator (Mobility ↔ Diffusivity): D for electrons, holes and ions from their mobility.
- Thermal Diffusivity Calculator: the same √(αt) rule for how far heat penetrates.
Sources and further reading
- Einstein, A. (1905). Über die von der molekularkinetischen Theorie der Wärme geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten Teilchen. Annalen der Physik, 322(8), 549–560.
- von Smoluchowski, M. (1906). Zur kinetischen Theorie der Brownschen Molekularbewegung und der Suspensionen. Annalen der Physik, 326(14), 756–780.
- Berg, H. C. (1993). Random Walks in Biology (expanded ed.). Princeton University Press.
- Phillips, R., Kondev, J., Theriot, J., & Garcia, H. (2012). Physical Biology of the Cell (2nd ed.). Garland Science. Chapter 13, A statistical view of biological dynamics.
- Crank, J. (1975). The Mathematics of Diffusion (2nd ed.). Oxford University Press.