💨 Graham's Law of Effusion
Light and heavy gas molecules escape through a tiny orifice at different rates. Watch cumulative effusion counts diverge and converge to Graham's law: rate ∝ 1/√M.
How it Works
This simulation places two types of gas particles — a light gas (Gas A) and a heavy gas (Gas B) — inside a rigid box with a small orifice in one wall leading to a vacuum. Particles move in straight lines, bounce elastically off the walls, and undergo real pairwise elastic collisions with each other, conserving both momentum and kinetic energy. Initial speeds are sampled from a Maxwell-Boltzmann-like distribution set by the temperature slider and each gas's molar mass.
Whenever a particle happens to reach the orifice while moving outward, it escapes and is counted. Because the orifice is modeled as much smaller than the particles' mean free path, escapes happen molecule-by-molecule rather than as a bulk flow — this is true effusion, not diffusion. The lighter gas moves faster on average, so it strikes and passes through the orifice more often, and its cumulative escape curve on the right-hand chart rises faster than the heavy gas's curve, converging toward the ratio predicted by Graham's law.
RMS speed: v_rms = √(3RT / M)
Effusion rate ∝ average molecular speed ∝ 1/√M (fixed T)
Orifice size changes the absolute rate only — never the ratio
Frequently Asked Questions
What is Graham's law of effusion?
Graham's law states that the rate of effusion of a gas is inversely proportional to the square root of its molar mass: rate ∝ 1/√M. For two gases at the same temperature and pressure, rate1/rate2 = √(M2/M1).
How is Graham's law derived from kinetic theory?
From kinetic theory, the root-mean-square speed of gas molecules is v_rms = √(3RT/M). Since effusion rate through a tiny orifice is proportional to how often molecules strike and pass through the opening, which scales with average molecular speed, the effusion rate inherits the same 1/√M dependence.
What is the difference between effusion and diffusion?
Effusion is the escape of gas molecules one at a time through a hole much smaller than the mean free path, so molecules pass through without colliding with each other near the opening. Diffusion is the bulk mixing of gases through a medium, driven by concentration gradients and involving many intermolecular collisions. Both follow similar mass-dependent scaling but are physically distinct processes.
Why must the orifice be smaller than the mean free path for true effusion?
If the orifice is comparable to or larger than the mean free path, gas flows out as a collective hydrodynamic stream (bulk flow) rather than molecule-by-molecule. True effusion requires a small enough opening that molecules escape independently, each governed only by its own velocity.
Why does the orifice size not change the measured escape ratio?
Enlarging the orifice increases the chance that any molecule striking that region escapes, speeding up escapes for both gases proportionally. Since the extra flux depends only on geometry, not molecular mass, the ratio of escape rates stays fixed at √(M_B/M_A); only the absolute number of escapes per second changes.
Why does helium escape from balloons faster than other gases?
Helium is a light molecule (M ≈ 4 g/mol), so it has a high average speed at any given temperature and passes through the microscopic pores in balloon rubber more quickly than heavier gases like nitrogen or oxygen, causing helium balloons to deflate noticeably faster.
How was Graham's law used in uranium enrichment?
Gaseous diffusion/effusion plants historically separated uranium-235 from uranium-238 by converting uranium to uranium hexafluoride (UF6) gas and passing it through porous barriers. Because 235UF6 is very slightly lighter than 238UF6, it effuses marginally faster, and repeating the process through thousands of stages gradually enriched the 235U fraction.
How does this simulation connect to the Maxwell-Boltzmann speed distribution?
The same v_rms = √(3RT/M) formula that sets each gas's typical speed here also determines the width and peak of its Maxwell-Boltzmann speed distribution. Lighter gases have broader, faster distributions, which is exactly why their molecules strike the orifice more often and escape at a higher rate.
What real-world techniques rely on effusion or diffusion-based separation?
Gas chromatography separates volatile compounds partly based on how they diffuse through a stationary phase; industrial isotope separation historically used gaseous diffusion cascades; and the escape of light gases like hydrogen and helium from the top of planetary atmospheres (Jeans escape) follows the same mass-dependent speed argument.
Why does the escape rate slow down over time in this simulation?
As gas empties out of the box, fewer particles remain to strike the orifice, so the absolute number of escapes per second declines for both gases, even though the ratio of their rates stays governed by √(M_B/M_A).
About this simulation
This simulator drops a mix of light and heavy gas molecules into a box with a tiny orifice leading to vacuum, then lets real 2D elastic physics take over: particles bounce off walls, collide with each other conserving momentum and energy, and occasionally wander into the gap and escape. Because the lighter gas moves faster on average at any given temperature, it reaches the orifice more often — and the live chart on the right turns that microscopic fact into a macroscopic curve, with the cumulative escape counts for both gases converging toward the ratio Graham's law predicts: √(M_B/M_A).
🔬 What it shows
Two gas types (light Gas A in blue, heavy Gas B in pink) undergoing real pairwise elastic collisions inside a box with a small orifice. The right-hand chart tracks cumulative escapes for each gas over time, annotated with the theoretical and currently measured escape ratio.
🎮 How to use
Pick a gas pair preset (H₂/O₂, He/Ar, CH₄/CO₂, or Custom), or drag the molar mass sliders directly. Adjust temperature to speed everything up, orifice size to change the overall escape rate, and particle count for a denser or sparser gas — then hit Reset to start a fresh run.
💡 Did you know?
Gaseous effusion of uranium hexafluoride (UF6) was used for decades to enrich uranium: because 235UF6 is barely lighter than 238UF6, it takes thousands of effusion stages, each nudging the isotope ratio by a tiny amount, to reach usable enrichment levels.
Frequently asked questions
What do the molar mass sliders control?
They set M for Gas A and Gas B in g/mol, which determines each gas's average speed via v_rms = √(3RT/M) and therefore how quickly it reaches and escapes through the orifice.
What does the temperature slider change?
Raising temperature increases the average kinetic energy, and thus speed, of both gases in the same proportional way, speeding up all effusion — but it does not change the ratio between Gas A and Gas B's escape rates, since both scale identically with T.
Why do the two lines on the chart diverge over time?
The chart plots cumulative escaped particles for each gas. Because the lighter gas has a higher average speed, it strikes and passes through the orifice more often per second, so its curve climbs faster — visually demonstrating Graham's law.
What do the gas pair presets represent?
H₂/O₂, He/Ar, and CH₄/CO₂ are common real gas pairs with well-known molar masses. Selecting one loads both molar mass sliders automatically so you can compare theoretical and measured ratios for a realistic pair, or choose Custom to set arbitrary masses.
Why doesn't changing the orifice size change the theoretical ratio?
The orifice size slider controls how large the opening is, which changes how often any molecule near it escapes — but since that geometric factor applies equally to both gases, only the overall speed of the simulation changes, not the ratio √(M_B/M_A).
Why does the measured ratio fluctuate early on but settle down later?
With few escaped particles, random fluctuations in exactly which molecules happen to hit the orifice first can push the measured ratio away from the theoretical value. As more particles escape, the law of large numbers takes over and the measured ratio converges toward √(M_B/M_A).
Light and heavy gas molecules escape through a tiny orifice at different rates. Watch cumulative effusion counts diverge and converge to Graham's law: rate ∝ 1/√M.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install