Gas Constant (R) Calculator

The universal gas constant, R = 8.314462618 J/(mol·K), changes numeric value depending on your unit system. Pick your pressure, volume, and amount units below and see the matching value of R instantly.

R Unit Converter

R in your chosen units

Common Values of R

The gas constant is one of the most-quoted numbers in chemistry and physics, and because it can be expressed in so many different unit combinations, students often memorize several versions of it without realizing they are all the same underlying constant. The table beside this text lists the values you will most commonly need.

In SI units, R = 8.314462618 J/(mol·K). This is the value to use whenever pressure is in pascals and volume is in cubic meters, and it is the value this site's ideal gas law calculator uses internally regardless of which units you actually type in, since it always converts to SI before solving.

In chemistry classrooms, R = 0.082057 L·atm/(mol·K) is by far the most commonly used form, since gas volumes are usually measured in liters and pressures in atmospheres.

Value of RUnits
8.314462618J/(mol·K)
8.314462618Pa·m³/(mol·K)
0.082057L·atm/(mol·K)
62.363L·mmHg/(mol·K)
83.14462618L·mbar/(mol·K)
1.987204cal/(mol·K)
8.314462618 × 10⁻²L·bar/(mol·K)

Worked Example: Using R to Find Pressure

Problem: 0.75 mol of nitrogen gas is held in a 2.00 L cylinder at 310 K. What is the pressure inside the cylinder?

Given: n = 0.75 mol, V = 2.00 L, T = 310 K. Since volume is in liters, use R = 0.082057 L·atm/(mol·K). Rearrange PV = nRT for pressure: P = nRT / V P = (0.75 × 0.082057 × 310) / 2.00 P ≈ 9.54 atm

Notice that choosing R = 0.082057 L·atm/(mol·K) instead of 8.314462618 J/(mol·K) avoided an extra unit conversion step entirely, since volume was already in liters and the answer came out directly in atmospheres. Picking the right form of R for the units you already have is the whole point of this calculator, try the same problem with the ideal gas law calculator to see it solved with automatic unit conversion instead.

Common Mistakes When Using the Gas Constant

The single most common error with R is mismatched units, using R = 8.314462618 J/(mol·K) while pressure is in atm and volume is in liters, or using R = 0.082057 L·atm/(mol·K) while volume is actually in cubic meters. Because R carries its own implicit units, plugging the wrong version into PV = nRT produces an answer that is wrong by whatever conversion factor was missed, often by a large, easy-to-miss margin like a factor of 100 or 1,000.

A second mistake is forgetting that R's numeric value changes with the amount unit too, not just pressure and volume. R per kilomole is 1,000 times larger than R per mole, since a kilomole represents 1,000 times more gas particles for the same measured pressure and volume. If a problem gives you moles but you accidentally use a kmol-based R (or vice versa), the resulting pressure or volume will be off by exactly that factor of 1,000.

A third pitfall is treating R as if it varies between different gases. It does not. R is identical for helium, nitrogen, carbon dioxide, or any other (approximately ideal) gas. What changes between gases is molar mass, which is a completely separate quantity used to convert between moles and grams, not a substitute for or variant of R itself.

Finally, remember that R only appears in the ideal gas law and its direct derivatives (like the Arrhenius or Nernst equations). It does not appear in the standalone forms of Boyle's, Charles', Gay-Lussac's, or Avogadro's Laws, or in the standard combined gas law, since R algebraically cancels out of all of those comparisons between two states of the same fixed amount of gas.

Gas Constant FAQ

What is the gas constant R?
The gas constant (also called the universal or ideal gas constant) is the proportionality constant in the ideal gas law, PV = nRT. Its SI value is R = 8.314462618 joules per mole-kelvin, J/(mol·K). A fixed physical constant that does not depend on which gas you are working with.
Why does R have different numeric values in different tables?
R is a single physical quantity, but its numeric value changes depending on which units you measure pressure, volume, and amount of gas in. Exactly like how the speed of light is 'the same' whether you write it as 3×10⁸ m/s or 186,000 mi/s. The most common values are 8.314462618 J/(mol·K), 0.082057 L·atm/(mol·K), and 62.363 L·mmHg/(mol·K).
Which value of R should I use in PV = nRT?
Use whichever value of R matches the units you are using for pressure and volume in that specific problem. If pressure is in atm and volume is in liters, use R = 0.082057 L·atm/(mol·K). If pressure is in Pa and volume is in m³, use R = 8.314462618 J/(mol·K). This page's calculator converts R live to whatever unit combination you select.
How is R related to Boltzmann's constant and Avogadro's number?
R equals Boltzmann's constant (k_B) multiplied by Avogadro's number (N_A): R = k_B × N_A = (1.380649×10⁻²³ J/K) × (6.02214076×10²³ /mol) ≈ 8.314462618 J/(mol·K). Boltzmann's constant describes gas behavior per molecule, while R describes it per mole. The two are simply related by how many molecules are in a mole.
Is R the same for every gas?
Yes: that is precisely what makes it 'universal.' Under the ideal gas approximation, R has the same value regardless of whether the gas is helium, nitrogen, oxygen, or any other gas, because PV = nRT treats moles of particles identically regardless of their mass or chemical identity.
Where do I use R outside of PV = nRT?
Besides the ideal gas law, R appears in the Arrhenius equation for reaction rates, in the Nernst equation for electrochemistry, in the Boltzmann distribution, and in the calculation of the root-mean-square speed of gas molecules. It is one of the most widely used constants in physical chemistry and thermodynamics.
Who first determined the value of the gas constant?
No single person is credited with 'discovering' R the way Boyle or Charles are credited with their laws. R emerged gradually through the 19th century as chemists like Henri Victor Regnault made increasingly precise measurements of gas behavior, and August Krönig and Rudolf Clausius developed the kinetic theory that explained why such a constant should exist at all. French engineer Émile Clapeyron is usually credited with first writing the combined PV = nRT relationship explicitly, in 1834, building on the individual gas laws already established by Boyle, Charles, and Gay-Lussac.
How precisely is R known today?
As of the 2019 revision of the International System of Units (SI), the gas constant is fixed to an exact value, R = 8.31446261815324 J/(mol·K), because it is now defined in terms of two other exactly-fixed constants, the Boltzmann constant and Avogadro's number, rather than measured experimentally. This calculator rounds that exact value to 8.314462618 J/(mol·K) for display, which is more than precise enough for any classroom, laboratory, or engineering calculation.
What is the specific gas constant, and how does it differ from R?
The specific gas constant (often written R_specific or just R with a subscript) is the universal gas constant R divided by a particular gas's molar mass: R_specific = R / M. Unlike R itself, the specific gas constant is different for every gas: air's specific gas constant is about 287 J/(kg·K), for example. The specific gas constant is used when working with mass directly (in kilograms) rather than moles, which is common in engineering and meteorology.

Related Calculators