Root Mean Square Speed Calculator for Ideal Gas

Enter a gas's molar mass and temperature to find the root-mean-square (RMS) speed of its molecules using v_rms = √(3RT/M), along with the most probable and average molecular speeds from kinetic theory.

Quick Facts

RMS speed formula
v_rms = √(3RT/M)
R = 8.314 J/(mol·K); T is absolute temperature in kelvin; M is molar mass in kg/mol.
Most probable speed
v_p = √(2RT/M)
The speed at the peak of the Maxwell–Boltzmann distribution curve.
Average (mean) speed
v_avg = √(8RT/πM)
The arithmetic mean speed of all molecules in the sample.
Fixed speed ratio
v_p : v_avg : v_rms ≈ 1 : 1.128 : 1.225
Independent of gas identity or temperature — only the scale changes.

Your Results

Calculated
RMS Speed
-
v_rms = √(3RT/M), in meters per second
Most Probable Speed
-
v_p = √(2RT/M) — peak of the distribution
Average Speed
-
v_avg = √(8RT/πM) — mean of the distribution
RMS Speed (km/h)
-
Same RMS speed, converted for intuition

Ready

Choose a gas (or enter a custom molar mass) and a temperature, then press Calculate.

Formula and Method for RMS Speed of Gas Molecules

In an ideal gas, molecules do not all move at the same speed — they follow the Maxwell-Boltzmann speed distribution, a spread of speeds set by temperature and molecular mass. The root-mean-square (RMS) speed, v_rms, is the square root of the average of the squared molecular speeds: v_rms = √(3RT / M), where R = 8.314 J/(mol·K) is the ideal gas constant, T is the absolute temperature in kelvin, and M is the molar mass in kilograms per mole. This calculator also reports the most probable speed and the average (mean) speed from the same distribution.

Deriving the RMS speed formula

The kinetic theory of gases treats each molecule as a point mass in random motion, colliding elastically with the container walls and other molecules. The equipartition theorem gives each gas molecule an average translational kinetic energy of (3/2)kT, where k = 1.380649 × 10⁻²³ J/K is the Boltzmann constant. Setting this equal to the kinetic energy expression (1/2)m·v_rms² and solving for v_rms gives v_rms = √(3kT/m). Multiplying numerator and denominator by Avogadro's number N_A converts per-molecule mass m to molar mass M = N_A·m and per-molecule constant k to the gas constant R = N_A·k, yielding the working formula v_rms = √(3RT/M). The same distribution also defines the most probable speed, v_p = √(2RT/M) (the peak of the Maxwell-Boltzmann curve), and the mean speed, v_avg = √(8RT/(πM)) (the arithmetic average over all molecules).

How the calculation works

Enter the gas's molar mass in grams per mole (or pick a common gas from the preset list to auto-fill it) and a temperature with its unit. The calculator first converts temperature to kelvin — adding 273.15 from Celsius, or applying (°F − 32) × 5/9 + 273.15 from Fahrenheit — since the formula only works with absolute temperature. It then converts molar mass from g/mol to kg/mol by dividing by 1000, and plugs both values into v_rms = √(3RT/M), v_p = √(2RT/M), and v_avg = √(8RT/(πM)). The RMS speed is also converted to kilometers per hour (× 3.6) for a more intuitive comparison, since a few hundred meters per second is hard to picture directly.

Common mistakes

  • Forgetting to convert to kelvin: plugging a Celsius or Fahrenheit value directly into the formula gives a nonsensical (or even imaginary, for negative Celsius) result — always use absolute temperature.
  • Mixing up g/mol and kg/mol: molar masses are usually tabulated in g/mol (e.g., O₂ ≈ 32 g/mol), but the formula needs kg/mol; skipping the ÷1000 conversion overstates speed by a factor of about 31.6 (√1000).
  • Confusing RMS speed with average speed: v_rms is always about 8.5% higher than v_avg and about 22.5% higher than v_p — they are related but not interchangeable, especially in problems about kinetic energy versus momentum transfer.

Real-world applications

  • Atmospheric science uses RMS speed to explain why light gases like hydrogen and helium escape Earth's atmosphere over geologic time, while heavier gases like nitrogen and oxygen remain bound by gravity.
  • Graham's law of effusion, which predicts how gases diffuse through a small opening, follows directly from the 1/√M dependence of molecular speed.
  • The kinetic theory expression for RMS speed underlies the theoretical estimate of the speed of sound in a gas, which scales with the same √(T/M) relationship.
  • Vacuum technology and semiconductor manufacturing use RMS speed calculations to estimate gas molecule collision rates and mean free path inside vacuum chambers.

Frequently Asked Questions

What is the formula for RMS speed of a gas?
The root-mean-square speed is v_rms = √(3RT / M), where R is the gas constant (8.314 J/(mol·K)), T is the absolute temperature in kelvin, and M is the molar mass of the gas in kilograms per mole. This comes from equating the average translational kinetic energy per molecule, (3/2)kT, to (1/2)m·v_rms².
How is RMS speed different from average speed and most probable speed?
All three describe the Maxwell-Boltzmann speed distribution of gas molecules. Most probable speed (v_p = √(2RT/M)) is the peak of the curve, average speed (v_avg = √(8RT/(πM))) is the arithmetic mean, and RMS speed (v_rms = √(3RT/M)) is the square root of the mean of the squared speeds. They always follow the ratio v_p : v_avg : v_rms ≈ 1 : 1.128 : 1.225, with v_rms always the largest of the three.
Why do lighter gas molecules move faster?
At a given temperature, all gas molecules have the same average kinetic energy, (3/2)kT, regardless of mass. Since kinetic energy depends on both mass and speed squared, a lighter molecule must move faster than a heavier one to carry the same energy — this is why hydrogen (M ≈ 2 g/mol) moves nearly 4 times faster than oxygen (M ≈ 32 g/mol) at the same temperature.
How does temperature affect molecular speed?
RMS speed is proportional to the square root of absolute temperature (v_rms ∝ √T), so doubling the temperature in kelvin increases RMS speed by a factor of √2 ≈ 1.41, not by a factor of 2. Temperature must always be converted to kelvin before use, since the formula is undefined for negative absolute temperatures.