Diffusion Coefficient Calculator
How it Works
01Pick the Shape
7 options — sphere, three disk orientations, three ellipsoid modes — sets the friction-formula context
02Enter Temperature
K, °C, or °F — auto-converted to absolute K for the Einstein equation
03Enter Radius & Friction
a in 10 length units (Å→ft); ξ in kg/s (or s/kg mobility convention)
04Get D = k_B·T/ξ
Diffusion coefficient + 5-band classification + Brownian RMS over 1 μs to 1 min
What is a Diffusion Coefficient Calculator?
Albert Einstein derived this relation in 1905 in his Brownian-motion paper — the same paper that helped prove atoms exist. The equation links a microscopic property (friction in a viscous fluid) to a macroscopic observable (how far a particle drifts on average). For a sphere of radius a in a fluid of viscosity η, ξ = 6πηa (Stokes drag), giving the Stokes-Einstein equation D = k_B·T/(6πηa). The calculator handles the general case where you supply ξ directly, with the shape menu providing the appropriate friction formula for context.
The result panel shows D in SI (m²/s), CGS (cm²/s), and mm²/s; classifies the diffusion against five reference bands (small molecule → micron-scale particle); displays the calculation breakdown step-by-step; and computes the Brownian RMS displacement (√6Dt in 3D) at four timescales — 1 μs, 1 ms, 1 s, 1 minute — so you can see how far a typical particle drifts on each timescale.
Pro Tip: Pair this with our Molarity Calculator for solute concentration work, or the PPM to Molarity Calculator for environmental water-quality calculations.
How to Use the Diffusion Coefficient Calculator?
How do I calculate the diffusion coefficient?
The diffusion coefficient comes directly from the Einstein-Smoluchowski relation — one of the most beautiful equations in statistical mechanics. Here's the complete derivation:
Think of it like a tug-of-war: the thermal energy k_B·T pushes the particle around randomly, while the friction ξ resists motion. The diffusion coefficient is the equilibrium result of this balance — k_B·T worth of "push" divided by ξ worth of "resistance" gives the rate at which the particle spreads.
The Einstein-Smoluchowski Relation
D = k_B · T / ξ
where k_B = 1.380649 × 10⁻²³ J/K is the Boltzmann constant, T is absolute temperature in kelvins, and ξ is the friction coefficient in kg/s. D has units of m²/s — area per unit time, which is exactly what you'd expect for a quantity that describes how a 2D area of probability density spreads over time.
Stokes-Einstein for Spheres
D = k_B · T / (6πηa)
For a sphere of radius a in a Newtonian fluid of viscosity η, Stokes' law gives the friction coefficient as ξ = 6πηa. Substituting into the Einstein-Smoluchowski relation gives the Stokes-Einstein equation, the most-used formula in soft-matter physics. For water at 25°C (η = 0.89 mPa·s) and a 1 nm radius particle, D ≈ 2.5 × 10⁻¹⁰ m²/s — typical for a small protein.
Friction Coefficients by Shape
- Sphere: ξ = 6πηa (Stokes drag, ~1851)
- Disk moving face-first: ξ = 16ηa
- Disk moving edge-first: ξ = (32/3)ηa
- Disk rotating about axis: ξ_rot = (32/3)ηa³ (rotational, units kg·m²/s)
- Ellipsoid (lengthways translation): ξ = 6πηa·F_∥(p) — Perrin factor F_∥
- Ellipsoid (sideways translation): ξ = 6πηa·F_⊥(p) — F_⊥ > F_∥, larger drag
- Ellipsoid (tumbling rotation): ξ_rot = 6πηa·F_T(p) — Perrin's rotational factor
Brownian RMS Displacement
⟨r²⟩ = 6 D t (3D) → RMS = √(6Dt)
For a free Brownian particle in 3D, the mean-square displacement grows linearly with time at rate 6D. RMS displacement is the square root. The calculator shows this at 1 μs, 1 ms, 1 s, and 1 min so you can see the timescale-vs-distance trade-off characteristic of diffusion: doubling time only multiplies distance by √2.
Diffusion Coefficient Calculator – Brownian Motion In Practice
- Step 1: Identify the shape and inputs. Sphere, T = 298.15 K, a = 1 nm = 10⁻⁹ m. Water viscosity η ≈ 0.89 × 10⁻³ Pa·s at 25°C.
- Step 2: Compute the Stokes friction. ξ = 6πηa = 6π × 0.89×10⁻³ × 10⁻⁹ ≈ 1.68 × 10⁻¹¹ kg/s.
- Step 3: Compute k_B·T. k_B·T = 1.38×10⁻²³ × 298.15 ≈ 4.11 × 10⁻²¹ J (often called "kT thermal energy" — the natural unit for thermal phenomena).
- Step 4: Apply D = k_B·T / ξ. D ≈ 4.11×10⁻²¹ / 1.68×10⁻¹¹ ≈ 2.4 × 10⁻¹⁰ m²/s.
- Step 5: Read the band. D = 2.4×10⁻¹⁰ falls in the "Small Molecule / Protein-Class" region — consistent with a small folded protein like ubiquitin (8.5 kDa, hydrodynamic radius ~1.5 nm, measured D ≈ 1.5×10⁻¹⁰ m²/s).
- Step 6: Compute the Brownian RMS. RMS = √(6 × 2.4×10⁻¹⁰ × 1) ≈ 38 μm in 1 second. After 1 ms it's ~1.2 μm — about a cell radius. Diffusion is fast on cellular distances but slow on macroscopic distances.
Now consider a 100 nm latex bead in water: ξ = 6π × 0.89×10⁻³ × 100×10⁻⁹ ≈ 1.68 × 10⁻⁹ kg/s, giving D ≈ 2.4 × 10⁻¹² m²/s — a hundred times smaller because friction scales with radius. RMS in 1 second is just 3.8 μm. This is why pollen grains in water look like they "jiggle" rather than drift far — visible Brownian motion but slow translation.
Who Should Use the Diffusion Coefficient Calculator?
Technical Reference
Einstein-Smoluchowski (1905-1906): D = k_B·T/ξ. Derived independently by Albert Einstein (1905) and Marian Smoluchowski (1906). Linked the macroscopic diffusion coefficient (a phenomenological constant in Fick's laws) to the microscopic friction coefficient (a property of the particle and surrounding fluid).
Stokes-Einstein (sphere): Substituting Stokes' result ξ = 6πηa for a rigid sphere gives D = k_B·T/(6πηa). For water at 25°C: D × a ≈ 2.4 × 10⁻¹⁹ m³/s. Quick rule of thumb: D in m²/s ≈ 2.4 × 10⁻¹⁰ for a 1 nm particle, scaling as 1/a.
Perrin Friction Factors (1934): For ellipsoids of axis ratio p = c/a (c = semi-major, a = semi-minor):
- Translational (parallel): F_∥ = (8/3)·(p²−1)^(3/2) / [(2p²−1)·ln(p+√(p²−1)) − p·√(p²−1)] for prolate
- Translational (perpendicular): F_⊥ = (8/3)·(p²−1)^(3/2) / [(2p²−3)·ln(p+√(p²−1)) + p·√(p²−1)]
- Average translation: F_avg = (1/3)·F_∥ + (2/3)·F_⊥
- For p = 1 (sphere) all factors reduce to 1, recovering Stokes
- For p >> 1 (rod-like), F_∥ ≈ p / [ln(2p) − 0.5] and F_⊥ ≈ 2p / [ln(2p) + 0.5]
Reference Diffusion Coefficients in Water at 25°C:
- H⁺ ion: 9.31 × 10⁻⁹ m²/s (Grotthuss mechanism — anomalously fast)
- OH⁻ ion: 5.27 × 10⁻⁹ m²/s
- Na⁺: 1.33 × 10⁻⁹ m²/s
- O₂ (dissolved): 2.0 × 10⁻⁹ m²/s
- Glucose: 6.7 × 10⁻¹⁰ m²/s
- Sucrose: 5.2 × 10⁻¹⁰ m²/s
- Lysozyme (14 kDa): 1.1 × 10⁻¹⁰ m²/s
- Hemoglobin (65 kDa): 7.0 × 10⁻¹¹ m²/s
- BSA (66 kDa): 6.0 × 10⁻¹¹ m²/s
- λ-DNA (48 kbp): ~5 × 10⁻¹³ m²/s
When Stokes-Einstein Fails. The relation breaks down for: (1) particles smaller than the solvent molecules, (2) supercooled liquids near the glass transition, (3) dense suspensions where hydrodynamic interactions dominate, (4) active particles (bacteria, ATP-driven motors) where Brownian-equilibrium assumptions fail, (5) anisotropic media or near interfaces. In these cases, D and ξ are still defined but the simple D = k_B·T/ξ relation is replaced by more complex theories (mode-coupling, Stokes-Einstein-Debye for rotation, etc.).
Key Takeaways
Frequently Asked Questions
What is the Diffusion Coefficient Calculator?
Output includes D in SI (m²/s), CGS (cm²/s), and mm²/s; a 5-band classification (small molecule → micron particle); a complete calculation breakdown; and the Brownian RMS displacement (√6Dt in 3D) at four timescales — 1 μs, 1 ms, 1 s, 1 minute — so you can see how far a typical particle drifts on each timescale.
Designed for biophysics, chemical engineering, and statistical-mechanics coursework, the tool runs entirely in your browser — no data is stored or transmitted.
Pro Tip: For more chemistry tools, try our Molarity Calculator.
What's the formula for the diffusion coefficient?
What units does ξ have — kg/s or s/kg?
Why does the calculator have 7 different shapes?
What's a 'typical' diffusion coefficient?
What's Brownian RMS displacement and why does it scale with √t?
Does temperature really matter that much?
Why is the friction coefficient (ξ) so important?
When does the Einstein-Smoluchowski relation fail?
How is the diffusion coefficient measured experimentally?
What's the relationship between diffusion coefficient and viscosity?
Disclaimer
The Einstein-Smoluchowski relation assumes a particle in dilute solution at thermal equilibrium with the bath, with friction independent of velocity (low Reynolds number). For dense suspensions, supercooled liquids, anisotropic media, or active particles, deviations from D = k_B·T/ξ can be significant. Pick the appropriate Stokes/Perrin friction formula from the shape menu.