Graham's Law of Effusion

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction

Graham's law of effusion describes how quickly one gas escapes through a tiny opening compared with another gas under the same conditions. The central idea is simple: lighter gas particles move faster on average than heavier ones, so they reach the opening more often and effuse more rapidly. This calculator lets you use that relationship in either direction. If you know three of the four quantities involved, you can solve for the missing one: rate 1, rate 2, molar mass of gas 1, or molar mass of gas 2.

In chemistry classes, Graham's law is often introduced as a compact square-root relationship, but it is more than a memorized formula. It connects a visible laboratory measurement, such as how fast a gas leaks through a pinhole, to an invisible molecular property, its molar mass. That makes it a useful bridge between macroscopic observations and kinetic theory. This page keeps the calculator practical while also explaining what the numbers mean, when the law works well, and where its limits begin.

Effusion is not the same as ordinary gas flow through a pipe or nozzle. In true effusion, the opening is extremely small, and molecules pass through because of their random thermal motion rather than because a pump is forcing bulk movement. Under those conditions, the relative rate depends mainly on molecular speed, which is why molar mass matters so strongly. If you are comparing gases at the same temperature and using consistent units, Graham's law gives a fast and reliable estimate.

How to Use This Calculator

The calculator is designed around the standard classroom form of Graham's law. Enter exactly three values and leave the unknown field blank. The script will detect which quantity is missing and compute it automatically when you press the button. This means you can use the same tool for several common tasks: comparing two known gases, finding an unknown molar mass from measured rates, or predicting how much faster one gas effuses than another.

Use the inputs as follows. Rate 1 and Rate 2 are the effusion rates for gas 1 and gas 2. These can be in moles per second, liters per minute, or another rate unit, as long as both rates use the same unit. Molar Mass M1 and Molar Mass M2 are the molar masses of the two gases, typically in grams per mole. Again, consistency matters more than the specific unit choice. Because the equation compares ratios, matching units allow the calculation to work correctly.

A good workflow is to identify the gas you already know best and assign it consistently as gas 1 or gas 2. Then enter the measured or known values carefully. If you provide fewer than three values or all four values, the calculator will ask you to correct the input because the algebra requires exactly one unknown. If one of the needed denominator values is zero, the script also warns you, since division by zero would make the calculation invalid.

When the result appears, read it in context. A larger effusion rate means the gas escapes faster through the same tiny opening. A larger molar mass means the gas particles are heavier on a per-mole basis and therefore tend to move more slowly at the same temperature. If the answer seems surprising, check whether the gases were assigned in the intended order and whether the units were kept consistent across both gases.

Formula

The main relationship used by the calculator is Graham's law in ratio form:

Formula: r_1 / r_2 = sqrt(M_2 / M_1)

r1 r2 = M2 M1

Here r1 and r2 are the effusion rates of gases 1 and 2, while M1 and M2 are their molar masses. The equation says that the ratio of rates is equal to the square root of the inverse molar-mass ratio. In plain language, if gas 1 is lighter than gas 2, then gas 1 should effuse faster, and the amount faster is controlled by the square root of the mass comparison rather than by the mass comparison itself.

This same equation can be rearranged depending on which quantity is unknown. For example, if you know both rates and M1, then you can solve for M2 by squaring the rate ratio and multiplying by the known molar mass. If instead you know both molar masses and one rate, you can solve for the other rate by multiplying the known rate by the square root of the appropriate mass ratio. The calculator performs these algebraic rearrangements automatically, but it helps to understand the structure so you can judge whether the answer is physically reasonable.

The law is closely related to molecular speed from kinetic theory. The root-mean-square speed is often written as 3 R T M , where R is the gas constant, T is absolute temperature, and M is molar mass. Although this expression is often presented in a more standard grouped form in textbooks, the key takeaway remains the same: molecular speed varies inversely with the square root of molar mass. Since effusion rate tracks how often molecules reach and pass through a tiny opening, the same square-root dependence appears in Graham's law.

Because the formula uses ratios, units cancel in a helpful way. If both rates are measured in the same rate unit, their ratio is valid. If both molar masses are measured in the same mass-per-mole unit, their ratio is also valid. That is why the calculator can work with many practical unit choices, provided you stay consistent from one gas to the other.

Worked Example

Suppose you want to compare hydrogen and carbon dioxide. Hydrogen has a molar mass of about 2.016 g/mol, and carbon dioxide has a molar mass of about 44.01 g/mol. If carbon dioxide effuses at a rate of 1.00 in some chosen unit, what should the hydrogen rate be under the same conditions?

Start with the ratio form of Graham's law and let hydrogen be gas 1 and carbon dioxide be gas 2. Then:

Formula: r_1 / r_2 = sqrt(44.01 / 2.016)

r1 r2 = 44.01 2.016

The square root of that ratio is about 4.67. So if carbon dioxide effuses at 1.00 unit per time, hydrogen should effuse at about 4.67 units per time. This is a useful example because it shows how a large difference in molar mass creates a noticeable difference in effusion rate. The relationship is not linear, but the effect is still strong enough to matter in experiments and industrial applications.

You can also run the example in reverse. Imagine you measure two gases and find that one effuses twice as fast as the other. If the slower gas has a known molar mass, you can estimate the faster gas's molar mass by rearranging the equation. Squaring the rate ratio is the key step. A gas that effuses twice as fast is not half as heavy; it is one-fourth the molar mass of the comparison gas when all other assumptions are satisfied.

Worked examples like these are valuable because they help you interpret the result beyond the arithmetic. If a very heavy gas appears to effuse much faster than a very light gas, that usually signals a setup problem, inconsistent units, or conditions that do not match the assumptions of true effusion. The calculator gives the numerical answer, but chemical judgment still matters.

Assumptions and Limitations

Graham's law works best when the gases behave ideally and the opening is so small that molecules pass through one at a time with minimal collisions in the opening itself. This is the classic effusion regime. If the hole is too large, the process starts to resemble bulk flow rather than molecular escape, and the simple square-root relationship becomes less accurate. The law also assumes the gases are being compared at the same temperature, because temperature affects molecular speed directly.

Real gases can deviate from ideal behavior, especially at high pressure or when intermolecular forces are strong. Under those conditions, measured rates may differ from the ideal prediction. That does not make the law useless; it simply means the result should be treated as an approximation rather than an exact physical description. In many educational and moderate-condition laboratory settings, the approximation is still very good.

Another limitation is that the calculator compares only two gases at a time and assumes the values entered are positive, meaningful physical quantities. Negative rates or negative molar masses do not make chemical sense. The script preserves the original behavior of the page, so it checks for missing values and some zero-denominator cases, but you should still enter realistic data. If you are working with mixtures, reactive gases, or nonstandard apparatus, the interpretation may require more advanced analysis than Graham's law alone can provide.

It is also important to distinguish effusion from diffusion. Diffusion is the spreading of gases through space and involves many intermolecular collisions. Graham's historical work touched both topics, and lighter gases do tend to spread faster, but the exact physical situation is different. This calculator is specifically for effusion-style comparisons, where gas escapes through a tiny opening under conditions close to the ideal assumptions.

Why the Result Matters

Even though Graham's law is often taught in introductory chemistry, it has real scientific and engineering importance. It helped explain gas behavior before modern statistical mechanics was fully developed, and it later became part of technologies such as isotope separation and vacuum-system analysis. In the classroom, it gives students a concrete way to connect molar mass with molecular motion. In practice, it can help estimate unknown gases, compare leakage behavior, or check whether measured rates are plausible.

The result from this calculator should therefore be read as more than a standalone number. It is a statement about relative molecular motion. A faster rate points to a lower molar mass when the comparison is fair, and a slower rate points to a higher molar mass. If you keep the assumptions in mind and use consistent units, the calculation becomes an efficient way to reason about gas behavior without needing a full kinetic-theory derivation every time.

The table below lists molar masses of several common gases that are often used in examples and homework problems. You can use these values directly in the calculator to explore how strongly effusion rate changes with molar mass.

Common gases and approximate molar masses
Gas Molar Mass (g/mol)
Hydrogen (H₂) 2.016
Helium (He) 4.0026
Nitrogen (N₂) 28.014
Oxygen (O₂) 31.998
Carbon Dioxide (CO₂) 44.01

For instance, the table makes it easy to see why helium escapes balloons faster than oxygen-rich air components and why hydrogen effuses especially quickly. These comparisons are not just trivia; they are direct consequences of the square-root mass relationship built into the law.

Enter exactly three values and leave the unknown field blank.

Provide any three values to compute the fourth.