Omni calculator
Last updated:

Compressibility Factor Calculator

Table of contents

How is the compressibility factor defined?How do I use the compressibility factor calculator?Example: Using the compressibility factor calculatorFAQs

The compressibility factor calculator determines the compressibility factor using a version of the ideal gas law equation corrected for non-ideal gases. This factor is useful to determine the mass and volume of non-ideal gases. You can generate several results from the calculator to draw a compressibility factor chart. Read on to understand what is the compressibility factor and how to calculate it.

How is the compressibility factor defined?

The behavior of an ideal gas can be generalized using the equation we know as ideal gas law. We discussed this concept thoroughly at our ideal gas law calculator, and we learned how to derive it at our combined gas law calculator. However, this equation can only be applied in specific conditions and for gases. Therefore, this equation was modified to account for the behavior of real gases. This operation was performed by including a dimensionless entity known as compressibility factor, ZZ. Mathematically, the ideal gas equation for a gas having volume VV and nn number of moles at pressure PP, and temperature TT with gas constant RR is written as:

Z=PVnRTZ = \frac{P\cdot V}{n\cdot R\cdot T}

This transforms into a compressibility factor equation, where the compressibility factor ZZ is included in the equation:

The compressibility factor is used to determine the deviation of thermodynamic properties of real gases from the ideal gas behavior. The term compressibility factor can also be defined as the ratio of the actual volume of a gas to the ideal volume of gas for a given temperature and pressure. Mathematically thats':

Z=VactualVidealZ = \frac{V_{\mathrm{actual}}}{V_{\mathrm{ideal}}}

How do I use the compressibility factor calculator?

Follow the below-mentioned steps to calculate the compressibility factor, ZZ.

  • Step 1: Enter the gas pressure, PP.
  • Step 2: Give the gas volume, VV.
  • Step 3: Input the amount of substance in moles, nn.
  • Step 4: Insert the universal gas constant, RR. The universal gas constant is set to its default value in SI units i.e. 8.314 J/(Kmol)8.314\ \mathrm{J/(K \cdot mol)}. The value in FPS unit system is 10.73164 (ψft3)(lbmmol °R)10.73164\ \mathrm{(\psi\cdot ft^3)(lbm \cdot mol\ \degree R)}.
  • Step 5: Fill in the temperature of the gas, TT.
  • Step 6: The calculator will now use the compressibility factor equation to return the value of compressibility factor.

🙋 You may need some help with the conversions, here: take our temperature conversion tool and our pressure conversion calculator to quickly change between units!

Example: Using the compressibility factor calculator

Find the compressibility factor for air at 1 bar1\ \mathrm{bar} and 293 K293\ \mathrm{K} having volume 1 m31\ \mathrm{m^3}. Take the number of moles as 44.644.6 and gas constant RR as 8.314 J/(Kmol)8.314\ \mathrm{J/(K\cdot mol)}.

  • Step 1: Enter the gas pressure, P=1 barP = 1\ \mathrm{bar}.

  • Step 2: Give the gas volume, V=1 m3V = 1\ \mathrm{m^3}.

  • Step 3: Input the amount of substance in moles, n=44.6n = 44.6.

  • Step 4: The universal gas constant, RR is set to 8.3148.314 as default value.

  • Step 5: Fill in the temperature of gas, T=293 KT = 293\ \mathrm{K}.

  • Step 6: The calculator will now use the compressibility factor equation to return the value of the compressibility factor.

Z=PVnRT=105144.68.314293=0.9204\begin{split} Z &= \frac{P\cdot V}{n\cdot R\cdot T}\\[1em] &=\frac{10^5\cdot1}{44.6\cdot 8.314\cdot 293} = 0.9204 \end{split}
Compressibility charts for real gas at different temperature
Compressibility factor chart Retired Pchem Prof CC BY-SA 4.0, via Wikimedia Commons.

Now we know the compressibility factor, ZZ for air at the above conditions is 0.92040.9204.You can also find the compressibility factor for several combinations of temperature and pressure to make a compressibility factor chart, as an example of which can be seen above.

At our Van der Waals equation calculator you can learn about another modification of the gas law that describes the the property of deviation of gases from ideal behavior.

FAQs

What is the compressibility factor of a gas?

The compressibility factor is the ratio of the actual volume of gas to the volume of an ideal gas.

Z = P × V / n × R × T = V(actual)/V(ideal)

How do I calculate compressibility factor?

To calculate the compressibility factor:

  1. Multiply no. of moles by universal gas constant and gas temperature.

  2. Divide pressure by the preceding product.

  3. Multiply the product by the volume of gas to obtain the compressibility factor.

    Z = P × V / n × R × T

What is the physical significance of the compressibility factor Z?

The compressibility factor Z is the deviation of properties of real gas from ideal gas behavior. It is used to modify properties of ideal gas to real gas.

What is the compressibility factor equation?

The compressibility factor equation can be written as: Z = P × V / n × R × T, where Z is the compressibility factor, for pressure P, volume V, gas constant R, number of moles n, and temperature T.

Check out 45 similar thermodynamics and heat calculators 🌡️
Biot numberBoltzmann factorBoyle's law...42 more