Raoult's Law Simulator: Ideal Solution Vapor Pressure Calculator

simulator beginner ~8 min
Loading simulation...
P = 67.8 kPa — p_A = 47.8 kPa, p_B = 20.0 kPa, y_A = 0.705

An ideal binary mixture with x_A = 0.50, P_A° = 95.5 kPa, P_B° = 40 kPa has total pressure P = 67.8 kPa. The vapor is enriched in A: y_A = 0.705.

Formula

p_i = x_i · P_i^sat (Raoult's law for ideal solutions)
p_i = γ_i · x_i · P_i^sat (modified Raoult's law)
y_i = p_i / P_total

Raoult's Law Fundamentals

Raoult's law is the starting point for all vapor-liquid equilibrium calculations. Proposed by Francois-Marie Raoult in 1887, it states that each component in an ideal liquid mixture contributes a partial vapor pressure equal to its mole fraction times its pure-component vapor pressure: p_i = x_i·P_i^sat. The total pressure above the liquid is the sum of all partial pressures. This beautifully simple relationship arises when molecules of different species are so similar that swapping one for another in the liquid structure has no energetic or volumetric effect.

P-x-y Diagram

The P-x-y diagram at constant temperature shows total pressure and vapor composition as functions of liquid composition. For an ideal system, the total pressure P = x_A·P_A^sat + (1-x_A)·P_B^sat is a straight line between the two pure-component vapor pressures — a defining characteristic of Raoult's law. The vapor curve y_A = x_A·P_A^sat/P always lies above the liquid line, reflecting the enrichment of the more volatile component in the vapor phase. The simulation draws both curves and the operating point as you adjust composition.

Deviations from Ideality

Real mixtures deviate from Raoult's law whenever unlike molecular interactions differ from like interactions. Positive deviations (γ > 1) occur in mixtures like ethanol-water, where hydrogen bonding between ethanol molecules is disrupted by water, increasing the tendency to vaporize. Negative deviations (γ < 1) appear in systems like chloroform-acetone, where cross-species hydrogen bonds stabilize the liquid. The activity coefficient γ quantifies this deviation: modified Raoult's law p_i = γ_i·x_i·P_i^sat handles both ideal and non-ideal systems.

Engineering Significance

Raoult's law provides the foundation for distillation design. The ratio P_A^sat/P_B^sat determines the ideal-system relative volatility α, which directly controls the number of distillation stages required. When pure-component vapor pressures are close, α ≈ 1 and separation is difficult regardless of column design. Activity coefficient deviations can either help (increasing effective α) or hinder (decreasing α or forming azeotropes) the separation. Understanding Raoult's law and its limitations is therefore the first step in designing any distillation process.

FAQ

What is Raoult's law?

Raoult's law states that the partial vapor pressure of a component in an ideal liquid mixture equals its mole fraction times its pure-component vapor pressure: p_i = x_i · P_i^sat. It applies when the intermolecular forces between different molecules are similar to those between like molecules. The total pressure is the sum of all partial pressures: P = Σ x_i · P_i^sat.

What is an ideal solution?

An ideal solution is one that obeys Raoult's law at all compositions — the enthalpy and volume of mixing are zero, and the entropy of mixing equals that of an ideal gas mixture. Examples include benzene-toluene, hexane-heptane, and other mixtures of chemically similar molecules. Most real mixtures deviate from ideality to some degree.

What causes positive and negative deviations from Raoult's law?

Positive deviations occur when unlike molecules interact less favorably than like molecules (e.g., ethanol-hexane) — molecules 'want to escape' the mixture, increasing vapor pressure. Negative deviations occur when unlike molecules attract strongly (e.g., chloroform-acetone via hydrogen bonding) — molecules are stabilized in the liquid, reducing vapor pressure.

How is the activity coefficient related to Raoult's law?

The modified Raoult's law p_i = γ_i · x_i · P_i^sat introduces the activity coefficient γ_i to account for non-ideal liquid behavior. For an ideal solution, γ = 1. Positive deviations give γ > 1; negative deviations give γ < 1. Activity coefficients are functions of composition and temperature, modeled by equations like Margules, Van Laar, Wilson, NRTL, and UNIQUAC.

Sources

Embed

<iframe src="https://homo-deus.com/lab/distillation/raoults-law/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub