Audited 29 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 2·0 uses

Partial Pressure Calculator — Dalton's Law

Dalton's law four ways: partial pressure from mole fraction or moles, mole fraction from pressures, or total pressure, with results in kPa, mmHg and atm.

Partial Pressure Calculator (Dalton's Law)

What do you want to work out?
A dimensionless amount fraction between 0 (exclusive) and 1 (inclusive) — not a percentage. Oxygen in dry air is about 20.95 % by volume, so enter 0.2095, not 20.95. Values of exactly 0 or above 1 are rejected.
ABSOLUTE pressure of the whole mixture, in kilopascals. 1 atm = 101.325 kPa exactly; 1 bar = 100 kPa; 1 mmHg = 0.133322387415 kPa; 1 psi = 6.894757 kPa. Convert a gauge reading by adding local atmospheric pressure first.
kPa
Absolute partial pressure of the one component you are interested in, same unit as the total pressure. It can never exceed the total pressure — if yours does, one of the two is a gauge reading or is in a different unit.
kPa
Used only in the 'from mole amounts' mode. Any consistent amount unit works — moles, millimoles, even molecule counts — because only the ratio nᵢ/n is used.
mol
The TOTAL amount of all components added together, including the one above — not the amount of everything else. Must be at least as large as nᵢ.
mol
Partial pressure (pᵢ)
21.2276
pᵢ, the absolute pressure this component would exert alone in the same volume, in kPa (or whatever unit you entered both pressures in).
Mole fraction (x)
0.2095
Percent by volume
20.95 %
Total pressure (p)
101.325 kPa
Partial pressure
159.22 mmHg
Partial pressure
0.2095 atm
Everything else in the mixture
80.0974 kPa

Background.

Air on a high mountain is the same mixture as air at the coast, about 20.95% oxygen, yet it leaves people breathless. What pushes oxygen into the blood is not its percentage but its partial pressure, its share of the total pressure. With the barometer at 101.325 kPa that share is 0.2095 × 101.325 = 21.23 kPa; where the barometer reads 60 kPa it is only 12.57 kPa.

That multiplication is Dalton's law. In a mixture of gases each component contributes a partial pressure equal to its mole fraction times the total, pᵢ = xᵢ × p, and the partial pressures of all the components add up to the total. Four modes cover the ways the question arrives: a mole fraction and a total pressure give the partial pressure; a partial pressure and a total give the fraction; a partial pressure and a fraction give the total; or mole amounts give the fraction first and the partial pressure from it. Every result is also shown in millimetres of mercury and standard atmospheres, beside the pressure left over for the rest of the mixture.

Temperature and volume never come into it. For ideal gases sharing one container, pᵢ = nᵢRT ⁄ V and p = nRT ⁄ V, so their ratio is nᵢ ⁄ n and R, T and V cancel. Heating a sealed cylinder raises every partial pressure and the total by the same factor and leaves the composition alone.

Three habits keep the numbers right: enter the composition as a fraction (0.2095, not 20.95), use absolute pressures rather than gauge readings, and keep both pressures in one unit. The fields are labelled in kilopascals, and because the law is a plain proportion, psi in gives psi out for the partial pressure, though the mmHg and atm conversions assume kilopascals.

What is partial pressure calculator (dalton's law)?

A component's partial pressure is the pressure it would exert if it alone filled the container at the same temperature. The IUPAC Gold Book defines it under its entry for pressure as pᵢ = xᵢp, where xᵢ is the amount fraction of the constituent and p the total pressure; the Green Book writes the same relation as p_B = y_B p, using y for a gas-phase fraction. The amount fraction is the component's moles divided by the total moles. For ideal gases it equals the volume fraction, since equal volumes of gases at the same temperature and pressure hold equal numbers of molecules, which is why cylinder labels quote percent by volume. It is not the mass fraction: oxygen makes up 20.95% of dry air's molecules but about 23.1% of its mass, because an O₂ molecule (32.00 g/mol) outweighs the average air molecule (28.96 g/mol).

How to use this calculator.

  1. Choose the mode: partial pressure from a fraction, fraction from a partial pressure, total pressure from both, or partial pressure from mole amounts.
  2. Enter the fraction as a decimal between 0 and 1, so a cylinder labelled 32% oxygen goes in as 0.32. A composition quoted by mass has to be turned into moles first.
  3. Enter absolute pressures in kilopascals: 1 atm = 101.325 kPa, 1 bar = 100 kPa, 1 psi = 6.894757 kPa. Add atmospheric pressure to a gauge reading before entering it.
  4. For mole amounts, give the moles of your component and the total moles of the whole mixture, that component included. Millimoles or molecule counts work equally well, since only the ratio is used.
  5. Check the result with the balance output. Repeat for each component and the partial pressures should add back up to the total.

The formula.

pᵢ = xᵢ · p p = Σ pᵢ xᵢ = nᵢ / n

Dalton's law follows from the ideal gas law. In one container at one temperature, component i obeys pᵢ = nᵢRT ⁄ V and the whole mixture obeys p = nRT ⁄ V. Dividing gives pᵢ ⁄ p = nᵢ ⁄ n = xᵢ, so pᵢ = xᵢ × p, and summing over every component gives p = Σpᵢ because the fractions add to 1. The four modes are rearrangements of that one line: pᵢ = xᵢp, xᵢ = pᵢ ⁄ p, p = pᵢ ⁄ xᵢ, and, from moles, xᵢ = nᵢ ⁄ n followed by pᵢ = xᵢp. The balance output is p − pᵢ.

The unit conversions use exact definitions: 1 atm = 101,325 Pa, and the conventional millimetre of mercury is 13,595.1 kg/m³ × 9.80665 m/s² × 0.001 m = 133.322387415 Pa exactly. The torr, defined as 101,325 ⁄ 760 Pa, is smaller by about 1.4 parts in ten million, so NIST lists the two with the same rounded factor.

The ideal model weakens where the ideal gas law does: at high pressure, near condensation, and with strongly interacting molecules, where real-gas equations of state with mixing rules take over. It also cannot set the pressure of a component in contact with its own liquid. Water vapour over liquid water is pinned at the saturation vapour pressure, about 3.17 kPa at 25 °C, whatever fraction you might choose. Because the fraction must lie between 0 and 1, a partial pressure above the total, or component moles above the total moles, is refused as a sign of mixed units or a gauge reading.

A worked example.

Example

A calibration cylinder holds 0.05 mol of carbon dioxide in nitrogen, 2 mol of gas altogether, at 500 kPa absolute. The mole fraction of CO₂ is 0.05 ÷ 2 = 0.025, or 2.5% by volume, so its partial pressure is 0.025 × 500 = 12.5 kPa. In the other units that is 12,500 Pa ÷ 133.322387415 = 93.7577 mmHg, or 12,500 ÷ 101,325 = 0.1234 atm. The nitrogen supplies the rest, 500 − 12.5 = 487.5 kPa, and 12.5 + 487.5 brings the sum back to the 500 kPa total.

total Pressure500
moles Total2
mole Fraction0.21
partial Pressure21.228
solve ForfromMoles
moles Component0.05

Frequently asked questions.

What is the oxygen partial pressure in the air I breathe in?
Lower than the dry-air figure, because inhaled air is saturated with water vapour at body temperature, about 6.28 kPa (47 mmHg) at 37 °C. Subtract that from 101.325 kPa and apply the oxygen fraction: 0.2095 × 95.045 = 19.91 kPa, or 149.35 mmHg, against 21.23 kPa for dry air. Alveolar oxygen is lower again, because oxygen is taken up and carbon dioxide added there.
How is a nitrox maximum operating depth worked out?
With the total-pressure mode. Many diver-training agencies use an oxygen partial pressure of 1.4 bar (140 kPa) as a working limit. With a 32% mix, 140 ÷ 0.32 = 437.5 kPa absolute; take away 101.325 kPa of atmosphere and 336.2 kPa is left for seawater, roughly 33 metres. Real dive planning follows your agency's tables and training.
My partial pressure came out higher than the total. What went wrong?
One of three things, since a component cannot exceed the whole mixture. Either one pressure is a gauge reading and the other absolute, the two are in different units (mmHg and kPa differ by a factor of about 7.5), or the partial pressure belongs to different conditions, such as a sea-level value compared with a total measured at altitude.
How do I use a composition given by mass?
Convert each component to moles by dividing its mass by its molar mass, then use the mole-amounts mode. In 100 g of dry air, about 23.15 g is oxygen: 23.15 ÷ 32.00 = 0.7234 mol of O₂ out of 100 ÷ 28.96 = 3.4530 mol in total, which gives the familiar mole fraction of 0.2095.
Does heating a gas cylinder change its partial pressures?
Yes, all of them, by the same factor as the total, so the composition is untouched. Warming the example cylinder from 15 °C to 30 °C multiplies every pressure by 303.15 ÷ 288.15 = 1.052, taking the CO₂ from 12.5 to about 13.15 kPa while it stays 2.5% of the mixture.
Is the mmHg here the same as a torr?
Not by definition, though you will never measure the difference. The conventional millimetre of mercury is 133.322387415 Pa; the torr is 101,325 ⁄ 760 = 133.322368 Pa, smaller by about 1.4 parts in ten million. The mmHg output uses the first, and NIST Special Publication 811 gives both as 1.333224 × 10² Pa.

References& sources.

  1. [1]International Union of Pure and Applied Chemistry. Compendium of Chemical Terminology (the 'Gold Book'), 5th edition, online version 5.0.0 (2025), entry 'pressure' (P04819), which also defines partial pressure: 'Normal force acting on a surface divided by the area of that surface. For a mixture of gases the contribution by each constituent is called the partial pressure pᵢ = xᵢ p, where xᵢ is the amount fraction of the ith constituent and p is the total pressure.' Source documents: Green Book, 2nd ed., p. 12; Pure Appl. Chem. 1996, 68, 957, p. 987. Independent standards body; open access; retrieved and quoted 2026-07-29.
  2. [2]International Union of Pure and Applied Chemistry. Quantities, Units and Symbols in Physical Chemistry (the 'Green Book'), 3rd edition, 2nd printing 2012, §2.10 'Chemical thermodynamics', p. 48. Tabulates 'partial pressure pB pB = yB p Pa' alongside mole fraction (amount fraction) x, y and total pressure p. Used as the SECOND, independent statement of the same definition — it writes the gas-phase amount fraction as y rather than x, and it is the document the Gold Book entry cites as its own source. Agrees exactly. Open access PDF, text verified locally; retrieved 2026-07-29.
  3. [3]Thompson, A. & Taylor, B. N. (2008). Guide for the Use of the International System of Units (SI). NIST Special Publication 811, 2008 edition, Appendix B.8 'Factors for units listed alphabetically': 'millimeter of mercury, conventional (mmHg) → pascal (Pa): 1.333 224 E+02' and 'torr (Torr) → pascal (Pa): 1.333 224 E+02'. The source of this page's pressure-unit conversions and of the statement that mmHg and Torr are indistinguishable at published precision. Independent national metrology institute; open access; retrieved and quoted 2026-07-29.
  4. [4]Tiesinga, E., Mohr, P. J., Newell, D. B. & Taylor, B. N. CODATA Recommended Values of the Fundamental Physical Constants: 2022. NIST Standard Reference Database 121, 'molar gas constant' R = 8.314 462 618… J mol⁻¹ K⁻¹, listed as exact. Cited for the derivation pᵢ/p = nᵢ/n, in which R cancels; no numerical use is made of R on this page. Open access; retrieved 2026-07-29.
  5. [5]National Oceanic and Atmospheric Administration, National Aeronautics and Space Administration & United States Air Force (1976). U.S. Standard Atmosphere, 1976. NOAA-S/T 76-1562, Washington DC. The tabulation from which the illustrative dry-air oxygen fraction used as this page's default input is taken. SCANNED GOVERNMENT REPORT: the NASA NTRS and NOAA copies both load (HTTP 200) but carry an unusable OCR text layer, so the figure could not be machine-verified from the scan; it is used here only as a rounded illustrative default, and composition is a user input rather than a fixed constant precisely for this reason. Retrieved 2026-07-29.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
pᵢ = xᵢ · p p = Σ pᵢ xᵢ = nᵢ / n
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon