# Compressibility Factor Calculator

The compressibility factor calculator determines the **compressibility factor** using a version of the ideal gas law 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**. 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, `Z`

. Mathematically, the **ideal gas equation** for a gas having volume `V`

and `n`

number of moles at pressure `P`

, and temperature `T`

with gas constant `R`

is written as:

` P * V = n * R * T `

This transforms into a compressibility factor equation, where the compressibility factor `Z`

is included in the equation:

` Z = P * V / n * R * T `

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 = V`_{actual} / V_{ideal}

## How do I use the compressibility factor calculator?

Follow the below-mentioned steps to calculate the compressibility factor, `Z`

.

- Step 1: Enter the gas pressure,
`P`

. - Step 2: Give the gas volume,
`V`

. - Step 3: Input the amount of substance in moles,
`n`

. - Step 4: Insert the universal gas constant,
`R`

. The universal gas constant is set to its default value in SI units i.e. 8.314 8.314 J⋅K⁻¹⋅mol⁻¹. The value in FPS unit system is`10.73164 [psi ft`

.^{3}]/[lbm mol °R] - Step 5: Fill in the temperature of the gas,
`T`

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

## Example: Using the compressibility factor calculator

Find the compressibility factor for air at `1 bar`

and `293 K`

having volume `1 m`

. Take the number of moles as ^{3}`44.6`

and gas constant R as `8.314 J⋅K⁻¹⋅mol⁻¹`

.

- Step 1: Enter the gas pressure,
`P = 1 bar`

. - Step 2: Give the gas volume,
`V = 1 m`

.^{3} - Step 3: Input the amount of substance in moles,
`n = 44.6`

. - Step 4: The universal gas constant,
`R`

is set to`8.314`

as default value. - Step 5: Fill in the temperature of gas,
`T = 293 K`

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

` Z = P * V / n * R * T `

` Z = 10`^{5} * 1 / 44.6 * 8.314 * 293 = 0.9204

Now we know the compressibility factor, `Z`

for air at the above conditions is `0.9204`

. You can also read about van der Waals equation, which also estimates the property of deviation of gases from ideal behavior. 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.

## FAQ

### What is the compressibility factor of a gas?

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

` Z = P × V / n × R × T = V`_{actual}/V_{ideal}

### How do I calculate compressibility factor?

To calculate compressibility factor:

**Multiply**no. of moles by universal gas constant and gas temperature.**Divide**pressure by the preceding product.**Multiply**the product by 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`

.