Van der Waals Equation Calculator
This van der Waals equation calculator is a handy tool that allows you to analyze the physical properties of real gases. It uses the van der Waals equation, which is a thermodynamic equation of state that improves the ideal gas law equation. Have you ever wondered what is a real gas? Read on to learn about the real gas definition and the real gas law.
Do you need to analyze the gas state equation but don't know which one you should use? You have to choose the correct theory: ideal gas vs. real gases. The following text explains the difference between an ideal and a real gas. You will find out the advantages of using the van der Waals equation of state instead of an ideal gas equation.
Van der Waals introduced two parameters (socalled van der Waals parameters), which are related to the critical point of gas, i.e., to the point at which it is impossible to distinguish between liquid and vapor (liquid and its vapor can coexist). In the text below, we have also written about the meaning of these constants and how you can estimate them.
Ideal gas vs. real gas
An ideal gas consists of a large number of randomly moving point particles, which can collide with each other and the walls of the container. It is a socalled kinetic molecular theory, which we have described in our thermal energy calculator. You may also be interested in our particle velocity calculator, where you can find the average velocity of particles in a gas at a given temperature.
The real gas law, a modification of the ideal gas law, takes into account two additional aspects:

Molecules do not only collide with each other like in an ideal gas but can also attract each other within a distance of several molecules' radii. Because there are no gas particles behind the surface of the container, molecules near the surface are attracted to the material. As a result, the actual real gas pressure on the container walls is less than it would be in an ideal gas (see pressure calculator).

Molecules are particles with a nonzero volume – not material points, like in an ideal gas. Therefore, the volume of a whole gas can't be less than a certain constant.
Van der Waals constants
Van der Waals constants are substancespecific constants that can be calculated using the parameters of the critical point: pressure $P_{\rm c}$, temperature $T_{\rm c}$, and the molar volume $V_{\rm c}$. At a critical point, both the liquid and gas phases of a substance have the same density – they are indistinguishable. There is a useful relation between critical point parameters:
where $R$ is the gas constant $\small R = 8.3144598\ \rm J / (mol\! \cdot\! K)$.
In the real gas law, one of the van der Waals constants is called attraction parameter $a$, which takes into account that particles can attract each other, and the second is repulsion parameter $b$, which is the effective molecular volume (particles are not material points).
Our van der Waals equation calculator uses the following formulas for the van der Waals constants:
If the interaction between molecules $\small(a = 0)$ and the size of the molecules $\small(b = 0)$ can be neglected, i.e., if we can treat gas as the ideal gas, then the van der Waals equation of state transforms into the ideal gas equation.
Van der Waals equation of state
Our van der Waals equation calculator is divided into two parts. First, you should specify the critical parameters of the considered gas to estimate van der Waals constants. You can change those constants directly in the advanced mode or choose one of the typical gases.
In the second part of the van der Waals equation calculator, you can find what is the relation between volume, pressure, and temperature in real gas with the following relation:
where:
 $P$ – Pressure of the gas;
 $V$ – Volume of the gas;
 $T$ – Temperature of the gas;
 $n$ – Number of moles of gas (see molarity calculator); and
 $a$ and $b$  Van der Waals parameters (see the previous section).
The constant $b$ value corresponds to the volume of one mole of the molecules (it is a correction for finite molecular size). Therefore, to avoid a situation where the volume of the molecules is greater than that of the whole gas, we must impose a condition $\small V / n > b$.
The van der Waals equation is generally a very good approximation of the real gas state equation, especially for high pressures and under temperature and pressure conditions close to the gas condensation parameters.