Random Walk vs Brownian Motion: Abstract Statistics vs Physical Nanoparticle Diffusion
Random Walk and Brownian Motion both show the same √t diffusion law, but one is an abstract statistical model with three step rules and the other plugs real temperature, particle radius and viscosity into Einstein's diffusion equation. Compare the two simulations and see which fits what you want to learn.
🧪 Try both simulations
⚡ Quick answer
Both simulations converge on the same square-root-of-time diffusion law, but they model it at different levels of abstraction. Random Walk is an abstract, unit-less statistical model: many walkers, three selectable step rules (free 2D, lattice, Lévy flight), and no physical parameters beyond step size and walker count. Brownian Motion is physically parameterized: it plugs a real temperature, particle radius, and fluid viscosity into Einstein's diffusion coefficient D = k_BT/(6πηr) and compares the measured trajectory against the theoretical curve MSD = 4Dt for an actual nanoparticle in a real fluid.
📊 Random Walk vs Brownian Motion — Nanoparticle Diffusion Simulator
| Random Walk | Brownian Motion — Nanoparticle Diffusion Simulator | |
|---|---|---|
| Underlying model | Discrete-step statistical process with no physical units — a pure mathematics demonstration | Continuous physical diffusion process derived from Einstein-Smoluchowski theory, in real SI units |
| What you control | Walker count (1-200), step size, walk type (free 2D, lattice, Lévy flight), and trail length | Temperature (200-400 K), particle radius (1-100 nm), and fluid viscosity (water, glycerol, or oil) |
| Governing law shown | Average displacement grows as √(number of steps) × step size | MSD = 4Dt (2D) / 6Dt (3D), with D = kBT / (6πηr) |
| What's on screen | Up to 200 simultaneous walker paths with fading trails, plus a live histogram of radial distances converging toward a Gaussian | A single tracked nanoparticle trajectory plus a live MSD-vs-time plot compared directly to the theoretical prediction |
| Special modes | Lévy Flight — heavy-tailed jumps that model foraging animals, epidemics, and financial markets; Lattice — steps restricted to four grid directions | Fluid presets — switch between water, glycerol, and oil to see how viscosity alone can slow diffusion by two orders of magnitude |
| Real-world grounding | An abstract mathematical pattern that shows up anywhere a system takes many small random steps, from stock prices to animal foraging | A literal physical model of nanoparticles suspended in a fluid, directly relevant to colloids, drug delivery, and nanoscale engineering |
| Best for learning | Why the √t law emerges from pure randomness regardless of the underlying mechanism, and how heavy-tailed jumps change transport | How temperature, particle size, and viscosity physically set the diffusion rate through Einstein's formula |
The Random Walk simulator strips diffusion down to its mathematical bones. At each step, every one of up to 200 particles moves in a random direction — free in any angle, restricted to four lattice directions, or drawn from a heavy-tailed Lévy distribution with exponent α = 1.5. No physical units appear anywhere: there's no temperature, no viscosity, no particle size, just a step count and a step length. Yet the statistics panel tracks how the average displacement grows as √(steps) × step size, the exact same square-root law that governs real Brownian motion, and the live histogram of walker positions converges toward a Gaussian bell curve as more walkers accumulate more steps.
The Brownian Motion simulator takes that same square-root law and grounds it in real physics. Instead of an abstract step size, you set an actual temperature between 200 K and 400 K, a particle radius between 1 nm and 100 nm, and a fluid — water, glycerol, or oil — each with its own real viscosity η. These three numbers feed directly into Einstein's diffusion coefficient D = k_BT/(6πηr), derived from the Stokes-Einstein relation for drag on a sphere, and the simulator plots the resulting mean-squared displacement against the theoretical curve MSD = 4Dt in real time. Where Random Walk asks "how does randomness alone produce diffusion?", Brownian Motion asks "how fast does a specific physical particle actually diffuse in a specific fluid at a specific temperature?"
Want to explore more? Browse the full library of 1000+ interactive, browser-based simulations, or see other side-by-side comparisons.