Skip to content

Molecular Mass Calculator (GMV Law)

Updated:

Estimate a gas’s molar mass from its density relative to hydrogen. Enter the Density of Gas and Density of Hydrogen in g/L to calculate vapour density and molecular mass.

Molecular Mass (GMV Law) Calculator

Input Fields
g/L
Mass per unit volume of the gas
g/L
Standard density of hydrogen gas at STP
If enabled, the result will update automatically when you change any value.

Molecular Mass (GMV Law) Formula

Formula
\[ D_{\mathrm{H_2}}=\frac{\rho_{\mathrm{gas}}}{\rho_{\mathrm{H_2}}} \] \[ M_{\mathrm{gas}}\approx D_{\mathrm{H_2}}\times 2\ \mathrm{g/mol} \]

Where:

  • \(D_{\mathrm{H_2}}\) — vapour density relative to hydrogen (no units).
  • \(\rho_{\mathrm{gas}}\) — density of the gas (g/L).
  • \(\rho_{\mathrm{H_2}}\) — density of hydrogen gas, \(\mathrm{H_2}\), under the same conditions (g/L).
  • \(M_{\mathrm{gas}}\) — estimated molar mass of the gas (g/mol).

The density ratio compares equal volumes of the two gases at the same temperature and pressure. The factor of \(2\ \mathrm{g/mol}\) approximates the molar mass of hydrogen gas, so the result is an estimate rather than an exact molar mass.

Molecular Mass (GMV Law) – Calculation Example

Example: A gas has a density of 2.5 g/L. Use the default hydrogen density of 0.08988 g/L.

\[ D_{\mathrm{H_2}}=\frac{2.5\ \mathrm{g/L}}{0.08988\ \mathrm{g/L}}\approx 27.8149 \]

\[ M_{\mathrm{gas}}\approx\frac{2.5}{0.08988}\times 2\ \mathrm{g/mol}\approx 55.6297\ \mathrm{g/mol} \]

Result: Vapour density is 27.8149, and estimated molecular mass is 55.6297 g/mol.

How to use the calculator

  1. Enter the sample’s density in Density of Gas, in g/L. The default is 2.5 g/L.
  2. Enter the density of hydrogen gas in Density of Hydrogen, also in g/L. The default is 0.08988 g/L, a commonly used approximate value at standard temperature and pressure (STP).
  3. Read Vapour Density as a unitless ratio: it tells you how many times as dense the sample is as hydrogen under matching conditions.
  4. Read Molecular Mass as the estimated molar mass in g/mol. Both inputs must be greater than zero; otherwise, the calculator reports “Invalid input.”

What vapour density tells you about molecular mass

Here, vapour density means density relative to hydrogen, not the gas’s density in g/L. A vapour density of 27.8149 means the gas is about 27.8149 times as dense as hydrogen when equal volumes are compared at the same temperature and pressure. Because both densities use g/L, their units cancel in the ratio.

The connection to molar mass comes from the gram-molecular volume principle: at the same temperature and pressure, equal volumes of ideal gases contain equal numbers of molecules. A denser gas therefore has more mass per molecule, in the same proportion as its density relative to hydrogen. Multiplying that ratio by hydrogen’s approximate molar mass of 2 g/mol gives the estimated molar mass of the sample. Hydrogen in this comparison is molecular hydrogen, \(\mathrm{H_2}\), not a single hydrogen atom.

The calculator labels the answer “Molecular Mass” and expresses it in g/mol; more precisely, g/mol is a unit of molar mass. The relative molecular mass of a molecule is unitless and is approximately the same numerical value. The result can help you assess a proposed chemical formula, but one density measurement cannot establish a gas’s identity: different substances can have similar molar masses.

Assumptions and practical limits

  • Match the conditions. Gas density changes with temperature and pressure. Use a hydrogen density measured or specified at the same temperature and pressure as the sample. Do not combine a sample measured under room conditions with the default STP hydrogen density without adjusting the conditions.
  • Keep the units consistent. Both density entries must use g/L. If your measurements use other units, convert both before entering them.
  • Treat the answer as approximate. The calculation uses 2 g/mol for hydrogen rather than its more precise molar mass of about 2.016 g/mol. Real-gas behavior and measurement uncertainty can also affect the density ratio.
  • Consider the sample. A mixture gives an effective average molar mass, not the molar mass of each component. Impurities, moisture, and incomplete vaporization can make a measured gas density misleading.

If your gas and hydrogen densities refer to different conditions, use the Combined Gas Law calculator to examine temperature, pressure, and volume changes. For a calculation based on measured pressure, volume, temperature, and amount of gas, see the Ideal Gas Law calculator. Once you have a possible chemical formula, the Atomic Mass calculator can help you compare it with the estimated molar mass.

Frequently Asked Questions

How can I calculate molar mass by hand using equal-volume gas samples?

Weigh equal volumes of the unknown gas and hydrogen at the same temperature and pressure, then divide the unknown gas’s mass by the hydrogen sample’s mass. Multiply that ratio by hydrogen’s molar mass. For example, if the samples weigh 0.150 g and 0.010 g, the estimate is \(15\times 2.016=30.24\ \mathrm{g/mol}\). Using the calculator’s rounded factor of 2 gives 30 g/mol.

What is a normal or good molar mass for a gas?

There is no universal normal value; molar mass depends on the substance. For reference, helium is about 4.00 g/mol, nitrogen about 28.0 g/mol, and carbon dioxide about 44.0 g/mol. A useful result is one that agrees with an independently known or proposed composition within your measurement uncertainty. Molar mass alone cannot confirm a gas’s identity.

How do I convert kg/m³ or g/m³ to g/L?

A density in kg/m³ has the same numerical value in g/L: \(1\ \mathrm{kg/m^3}=1\ \mathrm{g/L}\). For g/m³, divide by 1,000; for example, \(1{,}200\ \mathrm{g/m^3}=1.2\ \mathrm{g/L}\). Convert each input separately, and check that both densities refer to the same temperature and pressure.

Can I enter density relative to air instead of density relative to hydrogen?

No. A value relative to air uses a different reference gas and cannot be entered as though it were a hydrogen-relative density. For an approximate conversion under matching conditions, multiply density relative to air by \(28.97/2.016\), or about 14.37. Air’s composition varies, so this conversion is approximate; use measured densities when available.

Why does my result differ from a published molar mass?

First check the reference conditions and units. Also, this calculator uses 2 g/mol for hydrogen rather than approximately 2.016 g/mol, making its result about 0.8% lower than a calculation using the more precise value. Larger differences may come from measurement error, impurities, condensation, or departures from ideal-gas behavior.

What if the gas density is lower than the hydrogen density?

The calculator will return a ratio below 1 and an estimated molar mass below 2 g/mol, provided both inputs are positive. For an ordinary sample of a pure, stable molecular gas under comparable conditions, that result warrants checking the measurements, units, and reference conditions. The calculation itself does not determine whether the sample or its stated density is physically plausible.

Leave a Reply

Your email address will not be published. Required fields are marked *