A diffusion coefficient calculator estimates how fast particles spread through a fluid. It finds the diffusion coefficient of a sphere from the temperature, the viscosity and the radius, shows how far particles travel in a given time, and gives the flux of material across a concentration gradient.
How to use the diffusion coefficient calculator
- Choose the job.
- Enter the temperature, viscosity and radius, or D and the time, or D, the concentration difference and the distance.
- Press Calculate.
Stokes–Einstein
For spherical particles moving in a liquid at low Reynolds number, the diffusion coefficient is D = k_B T ÷ (6π η r), where η is the dynamic viscosity and r is the Stokes radius of the particle [2]. The general form is D = μ k_B T, with μ the mobility [2]. The Boltzmann constant, 1.380649 × 10⁻²³ J/K, is not on the pages we read, and we take its exact value from the SI definition. The calculator converts the temperature to kelvins, the viscosity from mPa·s and the radius from nanometres.
A worked example
For a sphere of radius 1 nm in water at 25 °C, with a viscosity of 0.89 mPa·s, the calculator gives D = 2.4537 × 10⁻¹⁰ m²/s. That is 2.45 × 10⁻⁶ cm²/s. The value is smaller than that of small molecules, which the page lists at about 10⁻⁵ cm²/s in water, because the particle here is bigger [1]. The result is our own calculation.
How far particles spread
The mean squared displacement of diffusing particles is ⟨x²⟩ = 2 n D t, where n is the number of dimensions [3]. In one dimension it is 2 D t. With the D above and a time of one second, the mean squared displacement is 4.9 × 10⁻¹⁰ m², and the root mean square distance is about 22 micrometres. The distance grows with the square root of time, so waiting four times as long only doubles the spread.
Fick's first law
The flux of material is J = −D dc/dx, the diffusion coefficient times the concentration gradient, with a minus sign because material moves from high to low concentration [3]. D has dimensions of area per time and J is an amount per area per time [3]. The calculator takes the concentration drop and the distance and gives the size of the flux. For carbon dioxide in water, D is about 1.6 × 10⁻⁹ m²/s [1], and a drop of 100 mol/m³ over a millimetre gives a flux of 1.6 × 10⁻⁴ mol/(m² s).
Typical values
The page lists coefficients at 25 °C and 1 atmosphere for gases in air: water vapour 0.260, carbon dioxide 0.160 and hydrogen 0.410 cm²/s [1]. For solutes in water at infinite dilution: oxygen 2.10, carbon dioxide 1.92, ethanol 0.84 and helium 6.28 in units of 10⁻⁵ cm²/s [1]. The page notes that carbon dioxide diffuses about ten thousand times more slowly in water than in air [1]. Solids are far slower still.
Temperature and viscosity
Because D is proportional to T and inversely proportional to the viscosity, warming a liquid speeds diffusion twice over: T rises and the viscosity falls. The page gives the liquid relation D₁/D₂ = (T₁/T₂)(μ₂/μ₁) [1]. For gases, the page cites the Chapman–Enskog theory, with D rising with T to the power 3/2 and falling with pressure [1].
Limits
Stokes–Einstein works for particles much larger than the solvent molecules and fails for small molecules and ions in water. Biomolecules and nanoparticles are the usual use. For other cases, use a measured value or a correlation made for the system, and enter it in the other two modes.
Choosing the right mode
Use the first mode when you know the size of the particle, such as a protein, a virus or a nanoparticle, and the liquid it moves in. Use the second to judge whether diffusion alone can carry material a given distance in a given time, a question that comes up in cell biology and in porous materials. Use the third when a concentration gradient is maintained across a layer, as in a membrane or a stagnant film.
Why distance scales with the square root of time
A diffusing particle takes random steps, so it wanders away slowly. To travel ten times as far you need a hundred times as long. For a particle with a D of 10⁻⁹ m²/s, one millimetre takes about 500 seconds in one dimension, while a centimetre takes about 14 hours. That is why diffusion works well over a cell but poorly over a body, where blood flow takes over.
Checking units
The calculator works in SI units: metres, seconds and moles per cubic metre. A coefficient quoted in cm²/s is converted by multiplying by 10⁻⁴ to get m²/s. The output for the first mode shows both so that you can compare it with a table.
Common mistakes
- Entering the diameter as the radius. The formula needs the radius.
- Using the wrong viscosity unit. Enter millipascal seconds.
- Expecting linear growth with time. Distance goes with the square root of time.
- Applying it to small ions. The model assumes a large sphere.
What next
Use this often? Add Diffusion Co to your Home screen.
Frequently asked questions
What is a diffusion coefficient calculator?
A tool that finds how fast particles diffuse, using the Stokes–Einstein relation, the mean squared displacement and Fick's first law.
What is the Stokes–Einstein equation?
D = k_B T ÷ (6π η r) for a sphere of radius r in a liquid of viscosity η.
How far do particles diffuse in time t?
The mean squared displacement is 2nDt, with n the number of dimensions.
What is Fick's first law?
J = −D dc/dx: the flux is proportional to the concentration gradient.
What is a typical diffusion coefficient in water?
About 10⁻⁵ cm²/s for small molecules and ions, and much less for large particles.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.