Home · Math · Algebra · Van der Waals Equation Calculator

Van der Waals Equation Calculator

Pressure of a real gas from the van der Waals equation, which corrects the ideal gas law for molecular size (b) and intermolecular attraction (a).

Your figures

Example result — edit the figures to make it yours

2,431,340

Pressure P (Pa)

Ideal-gas pressure RT ÷ V (Pa)2,494,200

What this calculator does

Pressure of a real gas from the van der Waals equation, which corrects the ideal gas law for molecular size (b) and intermolecular attraction (a). Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

P = RT ÷ (V − b) − a ÷ V², R = 8.314 J/(mol·K)

The gas constant R = 8.314 J/(mol·K) is built in. The constants a (Pa·m⁶/mol²) and b (m³/mol) are substance-specific inputs — for example CO₂ has a ≈ 0.364 and b ≈ 4.27×10⁻⁵. V is the molar volume and must exceed b. The ideal-gas pressure RT/V is shown for comparison; the two agree at large V.

Worked example

With the example inputs this page opens with (temperature t (k) 300, molar volume v (m³/mol) 0.001, constant a (pa·m⁶/mol²) 0.14, constant b (m³/mol) 0.00003), the result is 2,431,340 — pressure p (pa). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying temperature t (k)
Temperature T (K)Pressure P (Pa)
1501,145,670
2401,917,072
3002,431,340
3753,074,175
4503,717,010
6005,002,680

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Van der Waals Equation Calculator work?

Pressure of a real gas from the van der Waals equation, which corrects the ideal gas law for molecular size (b) and intermolecular attraction (a). Temperature T (K), molar volume V (m³/mol), constants a and b → Pressure, ideal-gas pressure. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Van der Waals Equation Calculator need?

Temperature T (K), molar volume V (m³/mol), constants a and b → Pressure, ideal-gas pressure. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Van der Waals Equation Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.