Raoult’s Law Calculator

Enter liquid-phase amounts and the pure-component vapor pressures at the same temperature to estimate partial and total pressure under Raoult’s law.

mol
kPa
mol
kPa

Raoult’s Law for an Ideal Binary Mixture

For an ideal liquid solution, each volatile component contributes a partial pressure proportional to its liquid-phase mole fraction and its pure-component vapor pressure at the same temperature:

pᵢ = xᵢ Pᵢ°
Ptotal = Σpᵢ
xᵢ = nᵢ ÷ Σn

Here pᵢ is the component partial pressure, xᵢ is its mole fraction in the liquid, Pᵢ° is the vapor pressure of the pure liquid at the mixture temperature, and nᵢ is the liquid amount in moles. This calculator reports the liquid mole fractions, component partial pressures, total pressure, and gas-phase mole fractions implied by Dalton’s law.

Worked Example

Mix 1.0 mol of component 1 with a pure vapor pressure of 100 kPa and 1.0 mol of component 2 with a pure vapor pressure of 50 kPa. Each liquid mole fraction is 0.5. The partial pressures are 50 kPa and 25 kPa, so the ideal total pressure is 75 kPa. The vapor is richer in the more volatile component: its vapor mole fraction is 50/75, or about 0.667.

Use Vapor Pressures at One Temperature

Pure-component vapor pressure changes with temperature. Obtain both P° values at the same temperature and use the same pressure unit for each. The amount units cancel in the mole-fraction calculation, but both amounts must use the same basis, such as moles.

The calculator assumes both components are volatile and present in the liquid phase. It does not calculate vapor pressure from temperature, estimate activity coefficients, or model chemical reaction, dissociation, or changing liquid composition during evaporation.

Ideal-Solution Assumption

Real mixtures may deviate from Raoult’s law because unlike molecules interact differently from like molecules. Some mixtures show positive deviations and others negative deviations. The equation is most useful for ideal or approximately ideal solutions; use measured vapor-liquid-equilibrium data or an appropriate thermodynamic model for nonideal systems.

If one component is a nonvolatile solute, its vapor contribution is approximately zero under the simple model. In that case the solvent partial pressure can be estimated from its mole fraction, but this two-volatile-component calculator should not be used to characterize a chemically complex solution without checking the assumptions.

Pressure and Composition Outputs

Partial pressures add to the total pressure in this ideal binary model. Gas-phase mole fraction is each partial pressure divided by total pressure. It generally differs from the liquid mole fraction because components with higher pure vapor pressures contribute more strongly to the vapor.

Raoult’s law is related to colligative effects, but this page solves the component vapor-pressure balance for a binary liquid mixture. The site’s colligative-properties tool instead estimates boiling-point elevation and freezing-point depression from molality and van’t Hoff factor.

OpenStax: Raoult’s law and ideal-solution vapor pressure

Frequently Asked Questions

What is Raoult’s law?
For an ideal liquid solution, a component’s partial pressure equals its liquid mole fraction multiplied by its pure-component vapor pressure at the same temperature.
How do I calculate total vapor pressure?
Calculate each volatile component’s partial pressure and add them: Ptotal = ΣxᵢPᵢ°.
Why can vapor composition differ from liquid composition?
A component with a higher pure vapor pressure contributes more to the vapor, so its gas-phase mole fraction can exceed its liquid mole fraction.
Can I use this for nonideal mixtures?
The result is an ideal-solution estimate. Nonideal mixtures may need measured equilibrium data or a model with activity coefficients.
Do the pure vapor pressures need the same units?
Yes. Enter both pure-component vapor pressures in the same pressure unit and at the same temperature.