The amg unit for number density can be converted to the SI unit of moles per cubic meter (mol/m3) by the formula
where
- ≘ indicates correspondence, since the SI unit is of molar concentration and not number density;
- n0 is the Loschmidt constant;
- NA is the Avogadro constant.
In cgs units, one amagat in units of (number of particles) per cubic centimeter is:

The number density of an ideal gas at absolute pressure p and absolute temperature T can be calculated as
where T0 = 273.15 K, and p0 = 101.325 kPa (STP before 1982).