{| class="wikitable" style="margin: 0 0 0 0.5em; float: right;"

! Value of

! Unit

|-

| colspan="2" |SI units

|-

|

| J⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| m<sup>3</sup>⋅Pa⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| kg⋅m<sup>2</sup>⋅s<sup>−2</sup>⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

| colspan="2" |Other common units

|-

|

| L⋅Pa⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| L⋅kPa⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| L⋅bar⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| erg⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| atm⋅ft<sup>3</sup>⋅lbmol<sup>−1</sup>⋅°R<sup>−1</sup>

|-

|

| psi⋅ft<sup>3</sup>⋅lbmol<sup>−1</sup>⋅°R<sup>−1</sup>

|-

|

| BTU⋅lbmol<sup>−1</sup>⋅°R<sup>−1</sup>

|-

|

| inH<sub>2</sub>O⋅ft<sup>3</sup>⋅lbmol<sup>−1</sup>⋅°R<sup>−1</sup>

|-

|

| torr⋅ft<sup>3</sup>⋅lbmol<sup>−1</sup>⋅°R<sup>−1</sup>

|-

|

| L⋅atm⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| L⋅torr⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| cal⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|

| m<sup>3</sup>⋅atm⋅K<sup>−1</sup>⋅mol<sup>−1</sup>

|-

|}

thumb|Heating gas at constant pressure and constant-volume

The molar gas constant (also known as the gas constant, universal gas constant, or ideal gas constant) is denoted by the symbol or . It is the molar equivalent to the Boltzmann constant, expressed in units of energy per temperature increment per amount of substance, rather than energy per temperature increment per particle. The constant is also a combination of the constants from Boyle's law, Charles's law, Avogadro's law, and Gay-Lussac's law. It is a physical constant that is featured in many fundamental equations in the physical sciences, such as the ideal gas law, the Arrhenius equation, and the Nernst equation.

The gas constant is the constant of proportionality that relates the energy scale in physics to the temperature scale and the scale used for amount of substance. Thus, the value of the gas constant ultimately derives from historical decisions and accidents in the setting of units of energy, temperature and amount of substance. The Boltzmann constant and the Avogadro constant were similarly determined, which separately relate energy to temperature and particle count to amount of substance.

The gas constant R is defined as the Avogadro constant N<sub>A</sub> multiplied by the Boltzmann constant k (or k<sub>B</sub>):

<math display=block>\begin{align}

R &= N_\text{A} k \\

&= 6.02214076 \cdot 10^{23} \text{mol}^{-1} \cdot 1.380649 \cdot 10^{-23} \text{J} \cdot \text{K}^{-1} \\

&= 8.31446261815324 \ \text{J} \cdot \text{K}^{-1} \cdot \text{mol}^{-1}

\end{align}</math>

Since the 2019 revision of the SI, both N<sub>A</sub> and k are defined with exact numerical values when expressed in SI units. As a consequence, the SI value of the molar gas constant is exact.

Some have suggested that it might be appropriate to name the symbol R the Regnault constant in honour of the French chemist Henri Victor Regnault, whose accurate experimental data were used to calculate the early value of the constant. However, the origin of the letter R to represent the constant is elusive. The universal gas constant was apparently introduced independently by August Friedrich Horstmann (1873) and Dmitri Mendeleev who reported it first on 12 September 1874. Using his extensive measurements of the properties of gases, Mendeleev also calculated it with high precision, within 0.3% of its modern value.

The gas constant occurs in the ideal gas law:<math display="block">PV = nRT = m R_\text{specific} T,</math>where P is the absolute pressure, V is the volume of gas, n is the amount of substance, m is the mass, and T is the thermodynamic temperature. R<sub>specific</sub> is the mass-specific gas constant. The gas constant is expressed in the same unit as molar heat.

Dimensions

From the ideal gas law <math>PV = nRT</math> we get

<math display=block>R = \frac{PV}{nT},</math>

where P is pressure, V is volume, n is the amount of a given substance, and T is temperature.

As pressure is defined as force per area, the gas equation can also be written as

<math display=block>R = \frac{ \dfrac{\text{force{\text{area \times \text{volume} }

{ \text{amount} \times \text{temperature} }.

</math>

Area and volume are (length)<sup>2</sup> and (length)<sup>3</sup> respectively. Therefore:

<math display=block>\begin{align}

R &= \frac{ \dfrac{\text{force} }{ (\text{length})^2} \times (\text{length})^3 } { \text{amount} \times \text{temperature} } \\ \\

&= \frac{ \text{force} \times \text{length} } { \text{amount} \times \text{temperature} }.

\end{align}</math>

Since force × length = work,

<math display=block>R = \frac{ \text{work} }{ \text{amount} \times \text{temperature} }.</math>

The physical significance of R is work per mole per kelvin. It may be expressed in any set of units representing work or energy (such as joules), units representing temperature on an absolute scale (such as kelvin or rankine), and any system of units designating a mole or a similar pure number that allows an equation of macroscopic mass and fundamental particle numbers in a system, such as an ideal gas (see Avogadro constant).

Instead of a mole, the constant can be expressed by considering the normal cubic metre.

Otherwise, we can also say that

<math display=block>\text{force} = \frac{ \text{mass} \times \text{length} } { (\text{time})^2 }.</math>

Therefore, we can write R as

<math display=block>R = \frac{ \text{mass} \times \text{length}^2 } { \text{amount} \times \text{temperature} \times (\text{time})^2 }.</math>

And so, in terms of SI base units, R = .

Relationship with the Boltzmann constant

The Boltzmann constant k<sub>B</sub> (alternatively k) may be used in place of the molar gas constant by working in pure particle count, N, rather than amount of substance, n, since

<math display=block>R = N_\text{A} k_\text{B},</math>

where N<sub>A</sub> is the Avogadro constant. For example, the ideal gas law in terms of the Boltzmann constant is

<math display=block>PV = N k_\text{B} T,</math>

where N is the number of particles (molecules in this case), or to generalize to an inhomogeneous system the local form holds:

<math display=block>P = n k_\text{B} T,</math>

where n = N/V is the number density. Finally, by defining the kinetic energy associated to the temperature,

<math display=block>T := k_\text{B} T,</math>

the equation becomes simply

<math display=block>P = n T,</math>

which is the form usually encountered in statistical mechanics and other branches of theoretical physics.

Measurement and replacement with defined value

As of 2006, the most precise measurement of R had been obtained by measuring the speed of sound c<sub>a</sub>(P,&nbsp;T) in argon at the temperature T of the triple point of water at different pressures P, and extrapolating to the zero-pressure limit c<sub>a</sub>(0,&nbsp;T). The value of R is then obtained from the relation

<math display=block>c_\text{a}(0, T) = \sqrt{\frac{\gamma_0 R T}{A_\text{r}(\text{Ar}) M_\text{u},</math>

where

  • γ<sub>0</sub> is the heat capacity ratio (5/3 for monatomic gases such as argon);
  • T is the temperature, T<sub>TPW</sub> = 273.16&nbsp;K by the definition of the kelvin at that time;
  • A<sub>r</sub>(Ar) is the relative atomic mass of argon; and
  • M<sub>u</sub>&nbsp;=&nbsp; as defined at the time.

However, following the 2019 revision of the SI, R now has an exact value defined in terms of other exactly defined physical constants.

Specific gas constant

{| class="wikitable" style="float: right;"

! R<sub>specific</sub><br />for dry air

! Unit

|-

| 287.052874

| J⋅kg<sup>−1</sup>⋅K<sup>−1</sup>

|-

| 53.3523

| ft⋅lbf⋅lb<sup>−1</sup>⋅°R<sup>−1</sup>

|-

| 1,716.46

| ft⋅lbf⋅slug<sup>−1</sup>⋅°R<sup>−1</sup>

|}

The specific gas constant of a gas or a mixture of gases (R<sub>specific</sub>) is given by the molar gas constant divided by the molar mass (M) of the gas or mixture:

<math display=block> R_\text{specific} = \frac{R}{M}.</math>

Just as the molar gas constant can be related to the Boltzmann constant, so can the specific gas constant by dividing the Boltzmann constant by the molecular mass of the gas:

<math display=block> R_\text{specific} = \frac{k_\text{B{m}.</math>

Another important relationship comes from thermodynamics. Mayer's relation relates the specific gas constant to the specific heat capacities for a calorically or thermally perfect gas:

<math display=block> R_\text{specific} = c_P - c_V,</math>

where c<sub>P</sub> is the specific heat capacity for a constant pressure and c<sub>V</sub> is the specific heat capacity for a constant volume.

It is common, especially in engineering applications, to represent the specific gas constant by the symbol R. In such cases, the universal gas constant is usually given a different symbol such as ' to distinguish it. In any case, the context and/or unit of the gas constant should make it clear as to whether the universal or specific gas constant is being referred to.

In case of air, using the perfect gas law and the standard sea-level conditions (SSL) (air density ρ<sub>0</sub> = 1.225&nbsp;kg/m<sup>3</sup>, temperature T<sub>0</sub> = 288.15&nbsp;K and pressure p<sub>0</sub> = ), we have that R<sub>air</sub> = P<sub>0</sub>/(ρ<sub>0</sub>T<sub>0</sub>) = . Then the molar mass of air is computed by M<sub>0</sub> = R/R<sub>air</sub> = .

U.S. Standard Atmosphere

The U.S. Standard Atmosphere, 1976 (USSA1976) defines the gas constant R<sup>∗</sup> as R<sup>∗</sup> = , equivalent to .

The use of the kilomole in the unit results in an extra factor of in the constant. The USSA1976 acknowledges that their defined value of R<sup>*</sup> is not consistent with the cited values for the Avogadro constant and the Boltzmann constant.