Chemical Engineering · Physical Chemistry
Raoult’s law calculator icon showing a solution with solute particles and the vapor above it

Raoult’s law calculator

This Raoult’s law calculator works out the vapor pressure of a solution with a nonvolatile solute (the vapor pressure lowering), the partial pressures, total pressure and vapor composition of an ideal mixture of two or three liquids, and, for gases dissolved in water, the concentration or partial pressure from Henry’s law.

Pressures can be entered in atm, kPa, mmHg (torr), bar or psi, masses in g, kg or lb. The defaults are textbook problems from OpenStax Chemistry and ChemTeam, so you can compare the Raoult’s law calculator with the published answers.

Vapor pressure lowering by a nonvolatile solute

Psolution = xsolvent · P*solvent. Default: 92.1 g glycerin in 184.4 g ethanol at 40 °C (OpenStax Example 11.6).
At the temperature of the solution; the vapor pressure calculator gives it from Antoine constants.
Water 18.015, ethanol 46.069, benzene 78.11 g/mol.
1 for molecular solutes (sugar, urea, glycerin); about 2 for NaCl and 3 for CaCl₂ in dilute ideal solution.

Raoult’s law calculator for a mixture of volatile liquids

pi = xi·Pi*, P = Σ pi, yi = pi/P. Default: 0.0400 mol CH₂Cl₂ (133 torr) and 0.0800 mol CH₂Br₂ (11.4 torr) at 25 °C.

Henry’s law for a gas dissolved in water

c = kHcp · p (solubility form) or p = kHpx · x (mole-fraction form). Table values for 25 °C.
Partial pressure = mole fraction in the gas × total pressure; O₂ in air at 1 atm: 0.2095 atm.

How to use the Raoult’s law calculator

The first panel handles a solvent with a nonvolatile solute such as sugar, urea, glycerin or a salt. Enter the masses and molar masses (or the solvent mole fraction directly) and the vapor pressure of the pure solvent at the same temperature; the Raoult’s law calculator returns the vapor pressure of the solution and the lowering. Its third mode works backwards from a measured vapor pressure to the molar mass of an unknown solute. The second panel is for mixtures of volatile liquids: give two or three amounts and pure-component vapor pressures to get each partial pressure, the total pressure and the vapor composition, or start from a vapor composition to get the dew pressure and the liquid. The third panel applies Henry’s law to O₂, N₂ or CO₂ in water, or to any gas with your own constant in any of the usual forms.

Raoult’s law formula

pi = xi · Pi* P = Σ xi · Pi* yi = pi / P

In an ideal solution, the partial pressure of each component above the liquid equals its mole fraction in the liquid times the vapor pressure it would have as a pure liquid at the same temperature, as set out in OpenStax Chemistry 2e, section 11.4 and the LibreTexts physical chemistry text. For a nonvolatile solute only the solvent contributes:

Psolution = xsolvent · P*solvent ΔP = P* − P = xsolute · P*

The relative lowering ΔP/P* equals the mole fraction of solute particles, whatever the solute is, which is why vapor pressure lowering is a colligative property. For an electrolyte count the ions: one mole of NaCl gives about two moles of particles, the van ’t Hoff factor i.

Worked examples with the Raoult’s law calculator

Glycerin in ethanol (the default). OpenStax Example 11.6 dissolves 92.1 g of glycerin (92.094 g/mol, 1.000 mol) in 184.4 g of ethanol (46.069 g/mol, 4.003 mol) at 40 °C, where pure ethanol has P* = 0.178 atm. Then xethanol = 4.003/5.003 = 0.800 and P = 0.800 × 0.178 = 0.142 atm (108.2 mmHg), as published. The lowering is 0.0356 atm. Feed 0.1424 atm back into the molar-mass mode and the Raoult’s law calculator returns 92.0 g/mol for the solute (the rounding of P to four digits explains the small gap to 92.09 g/mol). In the mole-fraction mode, the OpenStax check problem (urea in water, xwater = 0.9852, P* = 23.7 torr) gives 23.35 torr, matching the book’s 23.4 torr.

Two volatile liquids. A solution of 0.0400 mol CH₂Cl₂ (P* = 133 torr) and 0.0800 mol CH₂Br₂ (P* = 11.4 torr) at 25 °C, the ChemTeam worked example and the default of the second panel of the Raoult’s law calculator: x = 0.3333 and 0.6667, partial pressures 44.33 and 7.60 torr, total 51.93 torr, and the vapor contains yCH₂Cl₂ = 0.854. ChemTeam, rounding x to 0.333, gets 51.89 torr and 0.8535. Amounts in moles are converted to mole fractions by the Raoult’s law calculator, so you do not need to normalize them. The vapor is far richer in the more volatile component, the basis of distillation.

Example in US units: benzene and toluene at 100 °F

At 100 °F (37.8 °C) the Antoine equation gives P* = 3.224 psia for benzene and 1.032 psia for toluene. For an equimolar liquid, enter psi in both pressure menus: the Raoult’s law calculator gives pbenzene = 1.612 psia, ptoluene = 0.516 psia, a total vapor pressure of 2.128 psia and a vapor with 75.8 mol % benzene. That is the vapor composition in the head space of a tank of the liquid at that temperature.

Henry’s law in the Raoult’s law calculator: dilute gases

Raoult’s law describes the solvent; a gas that is only sparingly dissolved follows Henry’s law instead, with a constant that has nothing to do with the gas’s vapor pressure. The same law is written in several conventions, and confusing them is the most common error. The values below are the 25 °C constants for water tabulated from R. Sander’s 2023 compilation in the Henry’s law article; the Raoult’s law calculator uses the c/p form internally.

GaskHcp = c/p (mol/(L·atm))kHpc = p/c (L·atm/mol)kHpx = p/x (atm)Molar mass (g/mol)Dissolved at p = 1 atm (mg/L)
Oxygen, O₂1.3 × 10⁻³7704.3 × 10⁴32.0041.6
Nitrogen, N₂6.1 × 10⁻⁴16009.1 × 10⁴28.0117.1
Carbon dioxide, CO₂3.4 × 10⁻²291.6 × 10³44.011496

The last column is our own calculation, c = kHcp × 1 atm × M. The default of the third panel is oxygen from air (p = 0.2095 atm): c = 1.3 × 10⁻³ × 0.2095 = 2.72 × 10⁻⁴ mol/L, or 8.7 mg/L. Because the tabulated constant has only two significant figures, this is a few percent above measured saturation values; use a precise constant for water-quality work. For a carbonated drink bottled under 2.5 atm of CO₂, c = 0.034 × 2.5 = 0.085 mol/L, about 3.7 g/L.

Checks against OpenStax. Example 11.1 uses k = 1.36 × 10⁻⁵ mol/(L·kPa) at 20 °C and asks for the solubility at 20.7 kPa: choose “own Henry constant”, the mol/(L·kPa) form, and the Raoult’s law calculator gives 2.82 × 10⁻⁴ mol/L, the published value. Example 11.2 uses k = 1.2 × 10⁻³ mol/(L·atm) for O₂ at 30 °C and p = 0.17 atm: 2.04 × 10⁻⁴ mol/L and 6.5 mg/L (the book rounds c to 2.0 × 10⁻⁴ before converting and reports 6.4 mg/L).

Common mistakes with Raoult’s and Henry’s law

Mass fractions instead of mole fractions. Both laws use mole fractions; convert with the Mole Fraction Calculator if you have masses. Forgetting dissociation. 0.1 mol of CaCl₂ gives about 0.3 mol of particles. Total pressure instead of partial pressure in Henry’s law. Only the partial pressure of the dissolving gas counts, 0.21 atm for O₂ in air, not 1 atm; the Partial Pressure Calculator (Dalton’s Law) covers Dalton’s law. Mixing up Henry conventions. A larger kHpc means a less soluble gas, a larger kHcp a more soluble one. Vapor pressures at different temperatures. P* must be at the temperature of the solution; the Vapor Pressure Calculator gives it from Antoine constants.

Limits of the Raoult’s law calculator: non-ideal solutions

Raoult’s law is exact only for ideal solutions of similar molecules, such as benzene and toluene. Mixtures with stronger attractions between unlike molecules (acetone and chloroform) have a lower vapor pressure than predicted, a negative deviation; mixtures with weaker attractions (ethanol and water, ethanol and hexane) have a higher one, a positive deviation, and may form azeotropes. Even then, the solvent of a very dilute solution follows Raoult’s law and the solute follows Henry’s law, which is why the two laws appear together. The Raoult’s law calculator therefore suits dilute solutions, ideal hydrocarbon mixtures and teaching problems; for real non-ideal mixtures, activity coefficients are needed. For a related colligative effect, see the Osmotic Pressure Calculator.

Related calculators

For molality-based colligative calculations, use the Molality Calculator; for distillation of ideal mixtures, the Relative Volatility Calculator.

Frequently asked questions

How do you calculate vapor pressure lowering?

Find the mole fraction of the solute (counting ions for salts), xsolute = nsolute/(nsolute + nsolvent), and multiply by the vapor pressure of the pure solvent: ΔP = xsolute·P*. The vapor pressure of the solution is P* − ΔP = xsolvent·P*. The first panel of the Raoult’s law calculator does this from masses.

What is the difference between Raoult’s law and Henry’s law?

Both say the partial pressure of a component is proportional to its mole fraction in the liquid. Raoult’s law uses the pure-component vapor pressure as the constant and applies to the solvent or to ideal mixtures; Henry’s law uses an empirical constant and applies to a dilute solute such as a gas dissolved in water.

How do I find the vapor composition with Raoult’s law?

Compute each partial pressure pi = xiPi*, add them for the total pressure P, then yi = pi/P. The second panel of the Raoult’s law calculator does this for up to three liquids.

Which Henry’s law constant should I use?

Use the form your data come in and keep the units with it: c = k·p with k in mol/(L·atm), p = k·c with k in L·atm/mol, or p = H·x with H in atm or bar. The Raoult’s law calculator converts between them and lists all four forms in the result.

Is this Raoult’s law calculator free?

Yes. The Raoult’s law calculator runs in your browser, needs no sign-up and does not store or send the values you enter.