A specific gas constant calculator gives the gas constant of one particular gas, written Rs, from its molar mass or from its two specific heats. It differs from the universal gas constant because it is per kilogram, not per mole. Pick a common gas, type a molar mass, or enter Cp and Cv, and press Calculate.
How to use the specific gas constant calculator
- Choose the method: a common gas, a molar mass, or Cp and Cv.
- Pick the gas or fill in the boxes.
- Press Calculate.
What the constant is
The ideal gas law is P V = n R T, where R is the universal gas constant [2]. Dividing R by the molar mass of one particular gas gives its specific gas constant, Rs = R ÷ M [1]. The universal constant is the same for every gas, while Rs changes from gas to gas, because a kilogram of a light gas contains many more molecules than a kilogram of a heavy one. Wikipedia gives R = 8.31446261815324 J/(mol·K) [1].
Using molar mass
Convert the molar mass to kilograms per mole and divide. For a molar mass of 28.9647 grams per mole, a commonly used figure for dry air, Rs = 8.31446 ÷ 0.0289647, about 287.06 joules per kilogram kelvin. Wikipedia lists 287.052874 for dry air [1]. The calculator takes the molar mass in grams per mole, as it is printed in chemistry tables, and does the division by 1,000 for you.
Using the specific heats
Rs = Cp − Cv, the difference between the specific heat at constant pressure and at constant volume, both per kilogram, is known as Mayer's relation [1]. Enter the two values and the calculator subtracts them. It also shows the ratio γ = Cp ÷ Cv, which is our own addition and is the number that appears in many gas formulas. With the example values of 1,005 and 718 joules per kilogram kelvin, which we chose for illustration, Rs is 287 and γ is about 1.4, in line with the 7/5 that Wikipedia gives for air [3].
The table of gases
The calculator offers twelve common gases, from butane at about 143 to hydrogen at about 4,124 joules per kilogram kelvin. Wikipedia's article tabulates only dry air, at 287.052874 [1]. For the other gases, each value is our own division of R by a standard molar mass taken from general chemistry knowledge.
A note on rounding the molar mass
The molar mass you enter sets the third decimal place. With 28.9647 grams per mole the tool returns 287.055, and with the rounded 28.96 it returns 287.102. The small gap does not matter in practice, but it explains why a result can differ in the third decimal place from a number quoted elsewhere.
Why Rs is used in engineering
Engineers working with air, steam or fuel gases usually write the ideal gas law per unit mass, P V = m Rs T, or P = ρ Rs T for the density ρ. Wikipedia derives it by replacing n with m ÷ M and defining Rs as R ÷ M, which gives p = ρ Rs T [2]. It is why one number for each gas, such as 287 for air, is quoted so often in thermodynamics and aerodynamics.
Light and heavy gases
Because Rs is inversely proportional to the molar mass, hydrogen with a molar mass near 2 has a value of about 4,124, while carbon dioxide at 44 has about 189. A gas with a high Rs expands more for each kilogram of heat and pressure change, and its sound travels faster at a given temperature. The calculator shows the effect directly if you switch between gases.
Units
The result is in joules per kilogram kelvin, which is the same as metres squared per second squared per kelvin. The molar mass is in grams per mole, and the two specific heats are in joules per kilogram kelvin. This is a pure SI science formula, so there is no US option, and the unit is shown next to each box.
Limits
An ideal gas has no forces between its molecules and takes up no volume of its own. Real gases depart from that at high pressure and near liquefaction, and for them the specific gas constant is only a first approximation. For steam close to saturation or a dense gas, use steam tables or a real-gas equation of state.
Worked example with Cp and Cv
Suppose a gas has Cp of 1,005 and Cv of 718 joules per kilogram kelvin. These are illustrative values that we chose. Subtracting gives Rs = 287 joules per kilogram kelvin, which is the value for dry air in the table. The ratio γ is 1,005 ÷ 718, about 1.4. Pick the Cp and Cv method, enter the two numbers and compare. If Cv is not smaller than Cp, the calculator reports an error, because their difference is a positive gas constant.
Where the constant is used
The specific gas constant appears whenever pressure, temperature and density of one gas are linked. It sets the density of air at a given pressure and temperature, the speed of sound in a gas, and the work done when a gas expands. This site has an ideal gas law calculator and an air density calculator that use the same idea, so you can carry the value of Rs from this page into them.
Common mistakes
- Using the molar mass in kilograms. The box asks for grams per mole.
- Mixing up R and Rs. R is per mole and Rs is per kilogram.
- Entering Cv larger than Cp. Cp is always the bigger one for a gas.
- Using a rounded molar mass. Use more digits for a precise result.
What next
Use this often? Add Specific Gas to your Home screen.
Frequently asked questions
What is a specific gas constant calculator?
A tool that finds Rs, the gas constant of one gas per kilogram, from its molar mass or its specific heats.
What is the specific gas constant of air?
About 287 joules per kilogram kelvin, from the universal constant divided by a molar mass of 28.9647 grams per mole.
How is the specific gas constant related to Cp and Cv?
Rs = Cp − Cv, with both specific heats per kilogram.
What is the difference between R and Rs?
R is the universal constant per mole of any gas. Rs is R divided by one gas's molar mass, so it is per kilogram.
Is the specific gas constant the same at every temperature?
In the ideal gas model, yes. It depends only on the gas.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.