Root Mean Square Speed Calculator
Enter the gas type and temperature to find the root mean square (RMS) speed of its molecules. The calculator also returns the mean speed and the most probable speed so you can see how all three molecular speeds relate for your gas. Choose from 11 preset gases or enter a custom molar mass, and switch between Kelvin, Celsius, and Fahrenheit.
Formula
Worked example
For nitrogen (N2, M = 0.028014 kg/mol) at 25 °C (298.15 K): 3 × 8.3145 × 298.15 ÷ 0.028014 = 265,140 m²/s². Square root gives v_rms = 515 m/s. The mean speed is sqrt(8 × 8.3145 × 298.15 / (pi × 0.028014)) = 474 m/s, and the most probable speed is sqrt(2 × 8.3145 × 298.15 / 0.028014) = 420 m/s.
What is RMS speed and why does it matter?
The root mean square (RMS) speed of a gas is the square root of the mean of the squared speeds of all molecules in the sample. Unlike a simple average, squaring the speeds before averaging gives extra weight to faster molecules, which carry more kinetic energy. The result is directly tied to the average translational kinetic energy: KE_avg = (1/2) M v_rms^2 = (3/2) RT for one mole of an ideal gas. This makes v_rms the most physically meaningful of the three characteristic speeds from kinetic theory. It appears in Graham's law of effusion, in the derivation of gas pressure, and in comparisons of how quickly different gases spread or react. For example, hydrogen has an RMS speed about four times that of oxygen at the same temperature because its molar mass is roughly 1/16 as large, and speed scales as 1/sqrt(M).
The three molecular speeds: RMS, mean, and most probable
Kinetic theory defines three characteristic speeds from the Maxwell-Boltzmann distribution. The most probable speed (v_mp = sqrt(2RT/M)) is the speed at the peak of the distribution and the one most molecules have. The mean speed (v_mean = sqrt(8RT/(pi M))) is the arithmetic average of all molecular speeds; it is slightly higher than v_mp because faster molecules pull the average up. The RMS speed (v_rms = sqrt(3RT/M)) is always the largest of the three because squaring amplifies the contribution of fast molecules. Their constant ratio is v_rms : v_mean : v_mp = sqrt(3) : sqrt(8/pi) : sqrt(2), or approximately 1.000 : 0.921 : 0.816. All three scale with sqrt(T) and with 1/sqrt(M), so lighter gases and hotter gases always have higher speeds regardless of which measure you use.
How to use this calculator
Select a preset gas from the dropdown or choose "Custom gas" and type in the molar mass in g/mol. Set your temperature unit (Kelvin, Celsius, or Fahrenheit) and enter the temperature. The calculator converts everything to SI units internally, computes the three speeds, and shows a bar chart comparing them. The "Show your work" panel walks through each arithmetic step so you can follow the calculation by hand. The speed-vs-temperature chart below the result shows how RMS speed and most probable speed change across a wide temperature range for your chosen gas. The reference table lists precomputed values for 11 gases at 25 °C for quick lookup.
Ideal gas assumptions and real-world accuracy
The formula v_rms = sqrt(3RT/M) is derived from the kinetic theory of ideal gases, which assumes point-like molecules with no intermolecular forces, elastic collisions only, and a large number of particles. Real gases deviate from this model at high pressures (where molecules are close together and interact) and at very low temperatures (where quantum effects and condensation become important). For everyday conditions, between roughly 200 K and 2000 K and at pressures near or below one atmosphere, the ideal-gas result is accurate to within a few tenths of a percent for most common diatomic and noble gases. Polar molecules such as water vapour deviate somewhat more, and very heavy molecules at low temperature can show noticeable departure. For engineering work at extreme conditions, equations of state such as van der Waals or Peng-Robinson are more appropriate.
RMS speeds at 25 °C (298.15 K) for common gases
| Gas | Molar mass (g/mol) | RMS speed at 25 °C (m/s) | Notes |
|---|---|---|---|
| Hydrogen (H2) | 2.016 | 1920 | Lightest gas; fastest RMS speed |
| Helium (He) | 4.003 | 1363 | Noble gas; escapes atmosphere slowly |
| Water vapour | 18.015 | 642 | At temperatures above 100 °C in equilibrium |
| Neon (Ne) | 20.180 | 607 | Noble gas; used in neon signs |
| Nitrogen (N2) | 28.014 | 515 | Most of Earth's atmosphere |
| Air (average) | 28.964 | 506 | Approximate weighted average |
| Oxygen (O2) | 31.999 | 482 | Second most abundant in air |
| Argon (Ar) | 39.948 | 431 | Third most abundant in air; used in welding |
| Carbon Dioxide | 44.010 | 411 | Greenhouse gas; denser than air |
| Methane (CH4) | 16.043 | 681 | Main component of natural gas |
| Chlorine (Cl2) | 70.906 | 310 | Toxic diatomic gas; much denser than air |
Calculated from v_rms = sqrt(3RT/M) using R = 8.3145 J/(mol·K). Molar masses from NIST.
Frequently asked questions
What is the difference between RMS speed, mean speed, and most probable speed?
All three come from the Maxwell-Boltzmann speed distribution and describe the same gas differently. Most probable speed (v_mp) is the peak of the distribution curve. Mean speed (v_mean) is the arithmetic average. RMS speed (v_rms) is the square root of the average of squared speeds, and it is the largest of the three because squaring over-weights fast molecules. Their ratio is always approximately 1.000 : 0.921 : 0.816 for any ideal gas at any temperature.
Why does a lighter gas have a higher RMS speed than a heavier gas at the same temperature?
At the same temperature all ideal gases have the same average kinetic energy per mole: (3/2)RT. Since kinetic energy = (1/2)Mv_rms^2, a smaller molar mass M requires a larger speed to store the same energy. The RMS speed is proportional to 1/sqrt(M), so hydrogen (M = 2 g/mol) has an RMS speed about sqrt(32) = 5.7 times that of oxygen (M = 32 g/mol) at equal temperatures.
How does temperature affect the RMS speed?
RMS speed is proportional to sqrt(T) where T is the absolute temperature in Kelvin. Doubling the absolute temperature (for example from 300 K to 600 K) increases v_rms by a factor of sqrt(2), or about 41%. Halving the temperature reduces v_rms by the same factor. Note that it is the absolute temperature that matters: adding 100 °C when you are already near 0 °C has a much bigger effect than adding 100 °C when you are near 1000 °C.
Can I use this calculator for gas mixtures?
The formula applies to a pure gas with a single molar mass. For a mixture, each component has its own speed distribution. The "Air" preset uses the effective average molar mass of dry air (about 28.97 g/mol), which gives the RMS speed of an air-equivalent molecule, but individual nitrogen molecules in air still move at nitrogen's v_rms and oxygen molecules at oxygen's v_rms. For a custom mixture, calculate the weighted-average molar mass by mass fraction and enter it under "Custom gas".
What are the units of RMS speed and how do I convert to km/h?
This calculator returns RMS speed in metres per second (m/s), the SI unit. To convert to kilometres per hour, multiply by 3.6. To convert to miles per hour, multiply by 2.237. For example, nitrogen at 25 °C has a v_rms of about 515 m/s, which is roughly 1854 km/h or 1152 mph.
What is the formula for RMS speed?
v_rms = sqrt(3RT/M), where R is the universal gas constant (8.3145 J/(mol·K)), T is the absolute temperature in Kelvin, and M is the molar mass in kg/mol. An equivalent form using Boltzmann's constant k and molecular mass m is v_rms = sqrt(3kT/m). Both forms are identical; the first works per mole, the second works per molecule.
Is RMS speed the same as the speed of sound in a gas?
No, but they are closely related. The speed of sound in an ideal gas is c = sqrt(gamma RT/M), where gamma is the heat capacity ratio (about 1.40 for diatomic gases like air). Comparing this to v_rms = sqrt(3RT/M) shows that c = v_rms × sqrt(gamma/3). For air at 20 °C, v_rms is about 502 m/s while the speed of sound is 343 m/s, so the RMS speed is about 1.46 times the speed of sound.