🧪 Chemistry Calculator Suite Knowledge Base

Virial Equation of State and the Second Virial Coefficient

By Aniket Bhardwaj · 30 October 2026 · Physical Chemistry: Real Gases

The ideal gas law fails at high pressure and low temperature. The van der Waals equation gives one model for the failure. The virial equation is more general: it writes the deviation as a power series, and each coefficient has a physical meaning. In IIT-JAM, GATE and CSIR-NET, questions ask for the sign of B, the Boyle temperature, or a value of Z from a given B. This page covers all three with computed examples.

The equation

Z = PVm / RT = 1 + B(T)/Vm + C(T)/Vm2 + …
Pressure form: Z = 1 + B′P + C′P2 + …
To first order: B′ = B / RT, so Z ≈ 1 + BP/RT

What the sign of B tells you

Sign of BDominant effectZ compared with 1
B < 0 (low T)Attraction between moleculesZ < 1
B = 0 (Boyle temperature)Attraction and repulsion balance for pairsZ ≈ 1 over a wide range of low pressure
B > 0 (high T)Repulsion (molecular size)Z > 1

The Boyle temperature TB is the temperature at which B(T) = 0. Near this temperature the gas follows Boyle’s law closely at low pressures.

For a van der Waals gas, expanding the equation gives B(T) = b − a/RT. Setting B = 0 gives TB = a/Rb. The constants a (attraction) and b (excluded volume) are specific to each gas, so use the values supplied in the question.

Worked example 1: Z and pressure from B

For a gas at 300 K, B = −120 cm3/mol (practice value). The molar volume is 1.000 L. Ignore C. Find Z, and the pressure compared with an ideal gas. (R = 0.082057 L atm K−1 mol−1)

B = −120 cm3 = −0.120 L/mol. Z = 1 + B/Vm = 1 + (−0.120 / 1.000) = 0.880.

RT = 0.082057 × 300 = 24.617 L atm/mol. Ideal pressure = RT/Vm = 24.617 atm.

Real pressure = Z × RT/Vm = 0.880 × 24.617 = 21.66 atm. The real pressure is lower because attractions pull the molecules together.

Worked example 2: Boyle temperature from B(T)

For a gas, B(T) = 60 − 24000/T in cm3/mol, with T in kelvin (practice expression). Find B at 300 K and the Boyle temperature.

At 300 K: B = 60 − 24000/300 = 60 − 80 = −20 cm3/mol (negative, so attraction dominates and Z < 1).

Boyle temperature: B = 0, so 60 = 24000/T, giving TB = 24000/60 = 400 K.

Worked example 3: B and TB for a van der Waals gas

A gas has a = 1.36 L2 atm mol−2 and b = 0.0318 L/mol. Find B at 300 K and the Boyle temperature.

RT = 24.617 L atm/mol. a/RT = 1.36 / 24.617 = 0.05525 L/mol.

B = b − a/RT = 0.0318 − 0.05525 = −0.02345 L/mol = −23.4 cm3/mol.

TB = a / (Rb) = 1.36 / (0.082057 × 0.0318) = 1.36 / 0.0026094 = 521 K.

Since 300 K is below 521 K, B is negative, consistent with the result above.

Worked example 4: Z at a given pressure

Using the gas of Example 3 at 300 K and 10 atm, find Z using the pressure form Z ≈ 1 + BP/RT.

BP/RT = (−0.02345 × 10) / 24.617 = −0.2345 / 24.617 = −0.00953.

Z = 1 − 0.00953 = 0.9905.

The gas is only about 1% away from ideal at this pressure. This truncated form is reliable at low to moderate pressure only; at high pressure the C term must be added.

Common mistakes

  • Mixing units of B. If B is in cm3/mol and Vm in litres, convert (1 L = 1000 cm3) before dividing.
  • Using the P-form with the V-form coefficient. B′ = B/RT, not B.
  • Thinking B > 0 means attraction. A positive B means repulsion dominates.
  • Treating B as constant. B depends on temperature; C does too.
  • Confusing Boyle temperature with critical temperature. TB is where B = 0; Tc is above which no liquid forms. For a van der Waals gas, TB = a/Rb and Tc = 8a/27Rb, so TB is larger.

Exam relevance

Question typeWhere to look
Z from B and VmZ = 1 + B/Vm
Sign of B and meaningNegative: attraction. Positive: repulsion
Boyle temperatureSolve B(T) = 0
B for a van der Waals gasB = b − a/RT

Check the syllabus in the current official notification of your exam. All values here are for practice.

Compare any real-gas result with the ideal-gas value using the Ideal Gas Law calculator.

Open the Ideal Gas Law Calculator →
Chemistry · CSIR-NET / GATE / IIT-JAM
Practise chemistry questions

Previous-year CSIR-NET questions and timed quizzes to check what you just read.

More Concepts articles