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

Partial Pressure Calculator — Dalton's Law

Calculate partial pressure from mole fraction, moles or total pressure using Dalton's law p = xP. Results in kPa, mmHg and atm, with the mixture balance.

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
The pressure this one component would exert if it alone occupied the whole container at the same temperature. Absolute, in kilopascals. Values below about 1 × 10⁻⁷ kPa hit the calculator's final 10-decimal-place rounding — work in pascals or ppm for trace gases.
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.

This partial pressure calculator applies Dalton's law, pᵢ = xᵢ × p: the partial pressure of one component of a gas mixture is its mole fraction multiplied by the total pressure of the mixture. It answers the question in four directions — give it a fraction and a total to get a partial pressure, a partial and a total to get a fraction, a partial and a fraction to get a total, or the raw mole amounts of a component and of the whole mixture and it will work the fraction out itself.

The idea behind the law is that in an ideal gas mixture the components ignore one another. Each behaves as if the others were not there, so each contributes pressure in proportion to how many of its molecules are present, regardless of whether those molecules are helium atoms or sulphur hexafluoride. The partial pressure of a component is defined as the pressure it would exert alone in the same container at the same temperature, and the total pressure is the sum of all of them. That summation property is the other half of Dalton's law and the fastest way to check a mixture calculation: work out every component's partial pressure and they must add back up to the total.

Temperature does not appear anywhere on this page, and that is not an omission. Writing pᵢ = nᵢRT/V for the component and p = nRT/V for the mixture and dividing one by the other cancels R, T and V entirely, leaving pᵢ/p = nᵢ/n = xᵢ. Dalton's law is temperature-independent and volume-independent for an ideal mixture. Heat a cylinder of medical air and both the oxygen partial pressure and the total pressure rise by the same factor, so the fraction is unchanged — which is why gas cylinders are labelled by percent composition rather than by partial pressure.

Three conventions govern the numbers. **Mole fraction, not percentage, and not mass fraction.** The input is a dimensionless amount fraction strictly greater than 0 and at most 1; oxygen in dry air is about 20.95 percent by volume, so the input is 0.2095. Entering 20.95 is rejected rather than silently used. Mole fraction and mass fraction are different quantities: O₂ is 20.95 percent of dry air's molecules but about 23.1 percent of its mass, because an O₂ molecule is heavier than the N₂ average. **Absolute pressure, not gauge.** A gauge reads the excess over ambient, so a cylinder gauge showing zero is at about 101.325 kPa absolute. **The units only have to be consistent.** Because pᵢ = xᵢp is a straight proportionality, entering both pressures in psi returns an answer in psi. The fields are labelled kPa because that is the SI-coherent choice; the results panel also reports the answer in conventional mmHg (1 mmHg = 133.322387415 Pa exactly) and in standard atmospheres (1 atm = 101 325 Pa exactly).

The model is an ideal gas mixture, and it inherits every limitation of the ideal gas law plus one of its own. It assumes the molecules have no volume and exert no forces on each other, so it degrades at high pressure and near condensation — a 200 bar diving cylinder is well outside the regime, and the real partial pressures in it differ measurably from the ideal prediction. Beyond that, it assumes the components do not react with one another and are not in equilibrium with a condensed phase. If a mixture contains water vapour in contact with liquid water, the water's partial pressure is fixed by its saturation vapour pressure at that temperature, not by any fraction you choose. If two components react, the composition is not constant and the question is not well posed.

A note on composition figures generally: the composition of dry air is not a universal constant. Atmospheric CO₂ has risen by roughly a third since 1960 and continues to climb about 2 to 3 ppm a year, with O₂ falling correspondingly, and any real sample carries a variable amount of water vapour on top. This page therefore takes composition as an input you supply and never bakes a value in. The 0.2095 default for the oxygen fraction is a rounded illustrative figure drawn from the U.S. Standard Atmosphere 1976 tabulation of dry air; treat it as an example, not as an authority for your own sample. On significant figures, the solver carries every step at 30-digit precision and rounds once, at the end, to ten decimal places; round the answer yourself to the precision your own composition figure justifies, which for most real mixtures is three or four significant figures at best.

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

The partial pressure of a component in a gas mixture is the pressure that component would exert if it alone occupied the whole container at the same temperature. Dalton's law of partial pressures states two things about it. First, each component's partial pressure is its amount (mole) fraction times the total pressure: pᵢ = xᵢ × p. Second, the total pressure of the mixture is the sum of the partial pressures of all the components: p = Σ pᵢ. The IUPAC Compendium of Chemical Terminology states the first form directly under the entry for pressure: '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.' The IUPAC Green Book gives the same definition with the gas-phase symbol y for the amount fraction, pB = yB p, and lists its coherent SI unit as the pascal. The amount fraction xᵢ is moles of component i divided by total moles of all components. It is dimensionless, lies between 0 and 1, and for an ideal gas is numerically identical to the volume fraction and to the pressure fraction — which is why compressed-gas cylinders are labelled in 'percent by volume' and why a 21 percent oxygen mixture has an oxygen partial pressure of 0.21 atm when the total pressure is 1 atm. It is not the mass fraction. Dalton's law holds exactly for ideal gases and is an excellent approximation for real gas mixtures at moderate pressure, well away from condensation, provided the components neither react nor sit in equilibrium with a liquid phase. Where a liquid is present — water in a humidifier, a solvent in a headspace vial — that species' partial pressure is set by its saturation vapour pressure at the system temperature and is not free to be chosen; that is Raoult's law territory rather than Dalton's.

How to use this calculator.

  1. Choose what you want to work out. The first three options rearrange pᵢ = xᵢ × p; the fourth lets you enter mole amounts instead of a fraction.
  2. If you know the composition as a fraction, enter it as a decimal between 0 and 1 — 20.95 percent is 0.2095. Percentages are rejected, not silently converted.
  3. Enter the total pressure of the mixture in kilopascals, absolute. 1 atm = 101.325 kPa; 1 bar = 100 kPa; 1 mmHg = 0.133322387415 kPa; 1 psi = 6.894757 kPa. Add local atmospheric pressure to any gauge reading first.
  4. If you know mole amounts instead, pick 'from mole amounts' and enter the moles of your component and the total moles of the whole mixture. Any consistent amount unit works because only the ratio is used.
  5. Read the partial pressure in kPa, and the same value converted to conventional mmHg and to standard atmospheres beneath it.
  6. Check your work with the 'everything else in the mixture' output: it is the total minus your component, so repeating the calculation for every component should make all the partial pressures add back up to the total.
  7. Round the answer yourself to the significant figures your composition figure justifies — usually three or four, rarely more.

The formula.

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

Write the ideal gas law for one component of a mixture and for the mixture as a whole, in the same container at the same temperature:

pᵢ = nᵢ R T / V p = n R T / V

Divide the first by the second. R, T and V all cancel, leaving pᵢ / p = nᵢ / n = xᵢ, or pᵢ = xᵢ p. That cancellation is why this page has no temperature field and no volume field: they are genuinely absent from the relation, not merely assumed. The four modes are the three rearrangements of that equation plus one change of input basis:

pᵢ = xᵢ × p solve for the partial pressure xᵢ = pᵢ / p solve for the mole fraction p = pᵢ / xᵢ solve for the total pressure xᵢ = nᵢ / n, then pᵢ = xᵢ × p enter mole amounts instead of a fraction

Rounding stage: FINAL ONLY. Every division and multiplication is carried out in Decimal.js at 30-digit working precision, and one rounding to ten decimal places is applied at the return boundary. Nothing is rounded in between. One consequence is worth knowing: a partial pressure below about 1 × 10⁻⁷ kPa is at the edge of what ten decimal places can represent, so trace-gas work should be done in pascals or in parts per million rather than in kilopascals.

Unit conversions in the output panel. The conventional millimetre of mercury is defined exactly as 0.001 m × 13 595.1 kg m⁻³ × 9.806 65 m s⁻² = 133.322387415 Pa, and that is the factor used here. The torr is a different definition — exactly 101 325/760 Pa = 133.322368421… Pa — and is smaller by 1.4 parts in ten million. NIST Special Publication 811 lists both as 1.333224 × 10² Pa, i.e. they are interchangeable at any precision anyone measures. The standard atmosphere is exactly 101 325 Pa.

Invalid domain and what the calculator does about it. A mole fraction must satisfy 0 < xᵢ ≤ 1; exactly 1 is allowed and means a pure gas, exactly 0 is rejected because a component that is not present has no partial pressure to compute. A value above 1 is rejected, which catches the common mistake of entering a percentage. Pressures must be strictly positive, because they are absolute; a negative value is usually a gauge reading. A partial pressure greater than the total pressure is rejected, because it implies a mole fraction above 1 — the usual cause is one of the two being a gauge reading or being in a different unit. Moles of a component greater than total moles is rejected for the same reason. In every case the calculator names the offending field rather than returning a NaN or an infinity.

A worked example.

Example

A calibration cylinder is filled with a certified CO₂-in-nitrogen mixture: 0.0500 mol of carbon dioxide and 1.9500 mol of nitrogen, 2.0000 mol in total, at a total absolute pressure of 500.0 kPa. What is the partial pressure of the CO₂? Choose 'Partial pressure, from mole amounts' and enter nᵢ = 0.0500 mol, n = 2.0000 mol, p = 500.0 kPa. The calculator first forms the mole fraction, xᵢ = 0.0500 / 2.0000 = 0.025, which is 2.5 percent by volume, then applies Dalton's law: pᵢ = 0.025 × 500.0 = 12.5 kPa. The supporting outputs restate the same 12.5 kPa in the two other units the field uses. In conventional millimetres of mercury it is 12 500 Pa / 133.322387415 = 93.7576969807 mmHg. In standard atmospheres it is 12 500 / 101 325 = 0.1233654083 atm. The 'everything else in the mixture' output is 500.0 − 12.5 = 487.5 kPa, which is the nitrogen's partial pressure, and 12.5 + 487.5 = 500.0 kPa confirms Dalton's summation rule closes exactly. Notice what the answer does not depend on. No temperature was given and none was needed: warm this cylinder from 15 °C to 30 °C and both the CO₂ partial pressure and the total pressure rise by the factor 303.15/288.15 = 1.052, leaving the 2.5 percent composition untouched. No volume was given either. And nothing about the chemical identity of the two gases entered the arithmetic — swap the nitrogen for helium or for sulphur hexafluoride and, as long as the mole amounts are the same, the CO₂ partial pressure is still 12.5 kPa. That indifference to identity is Avogadro's hypothesis doing the work underneath Dalton's law. If instead you had been told the composition directly as '2.5 percent CO₂ by volume', you would use the first mode with a mole fraction of 0.025 and the same 500.0 kPa total, and get the same 12.5 kPa — the calculator's two entry routes agree exactly, which is one of its unit tests.

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

Frequently asked questions.

What is Dalton's law of partial pressures?
It says two things. First, each component of a gas mixture contributes a partial pressure equal to its mole fraction times the total pressure: pᵢ = xᵢ × p. Second, the total pressure is the sum of all the components' partial pressures: p = Σ pᵢ. The physical picture is that in an ideal gas the molecules are far enough apart that they ignore each other, so each species pushes on the container walls in proportion to how many of its molecules are present, independently of what else is in the container. IUPAC states the first form under its entry for pressure: '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.'
Why doesn't the calculator ask for temperature or volume?
Because they cancel. Write the ideal gas law for the component, pᵢ = nᵢRT/V, and for the whole mixture, p = nRT/V, in the same container at the same temperature. Divide one by the other and R, T and V all disappear, leaving pᵢ/p = nᵢ/n. Dalton's law is a statement about ratios, so it is temperature- and volume-independent for an ideal mixture. Practically, this means heating a sealed cylinder raises every partial pressure and the total pressure by the same factor and leaves the composition unchanged — which is why compressed-gas cylinders are labelled by percent composition rather than by partial pressure, and why a diving cylinder's oxygen fraction does not change as it warms in the sun even though its gauge pressure does.
What is the difference between mole fraction, volume percent and mass percent?
For an ideal gas, mole fraction, volume fraction and pressure fraction are all the same number, because Avogadro's hypothesis says equal volumes of any gas at the same temperature and pressure contain equal numbers of molecules. That is why gas cylinder labels quote 'percent by volume' and you can use the figure directly as a mole fraction. Mass fraction is different, because molecules have different masses. Oxygen is about 20.95 percent of dry air by mole and by volume, but about 23.1 percent by mass, because an O₂ molecule at 32.00 g/mol is heavier than the 28.96 g/mol average air molecule. If your composition figure is quoted 'by weight' or 'w/w', convert it to a mole basis before using it here: divide each component's mass by its molar mass to get moles, then use the 'from mole amounts' mode.
Can a partial pressure be larger than the total pressure?
No, and the calculator rejects it. A partial pressure larger than the total would require a mole fraction above 1, meaning a component made up of more than all of the mixture. When it happens in practice there are three usual causes. One of the two pressures is a gauge reading and the other is absolute — add local atmospheric pressure, about 101.325 kPa at sea level, to the gauge value. The two are in different units — check that a value in mmHg has not been compared with one in kPa, a factor of 7.5 apart. Or a partial pressure has been read from a different total-pressure condition than the one entered, for example an alveolar oxygen tension quoted at sea level being compared against a total pressure at altitude.
How do I calculate the partial pressure of oxygen in air?
Multiply the oxygen mole fraction by the total pressure. Dry air is about 20.95 percent oxygen by volume, so at a total pressure of one standard atmosphere the calculation is 0.2095 × 101.325 = 21.23 kPa, which is 159.2 mmHg or 0.2095 atm. Two adjustments matter in practice. Real air contains water vapour, which displaces the dry components; if the water vapour partial pressure is known, subtract it from the total before applying the dry-air fraction. And altitude reduces the total pressure while leaving the composition essentially unchanged, so the oxygen fraction stays near 0.2095 all the way up but the oxygen partial pressure falls with the barometer — at 60 kPa, roughly 4000 m, it is only 12.6 kPa. Note that the composition of air is not a fixed constant: CO₂ is rising a few parts per million a year with O₂ falling correspondingly, so a value like 0.2095 is an illustrative rounded figure rather than a permanent one.
Does Dalton's law work for real gases?
It is an excellent approximation at moderate pressures and a poor one at high pressures. The law follows from the ideal gas model, in which molecules have no volume of their own and exert no forces on one another, so it fails in the same regimes the ideal gas law fails: above roughly 10 atmospheres, near a component's condensation point, and for strongly polar species. The deviation for real mixtures also depends on which molecules are mixed, because unlike interactions (say N₂ with CO₂) are not simply the average of the like interactions — the correction is handled by mixing rules in a real equation of state such as Peng-Robinson. For a filled diving or industrial cylinder at 200 bar the ideal partial pressures can be several percent from the truth, which is why gas blending for technical diving uses real-gas corrections rather than plain Dalton arithmetic.
What about water vapour and other components in contact with a liquid?
Then that component's partial pressure is not free to be chosen. A species in equilibrium with its own liquid has a partial pressure fixed by its saturation vapour pressure at the system temperature — for water, about 3.17 kPa at 25 °C and about 7.38 kPa at 40 °C. That is Raoult's-law and vapour-pressure territory, not Dalton's. The usual workflow for humid gas is to subtract the water vapour partial pressure from the total first, then apply the dry-gas mole fractions to what is left. This is exactly what physiologists do when they compute inspired oxygen tension in the airway, where inhaled air is fully saturated at body temperature, and what analytical chemists do when correcting a gas volume collected over water.
Which mmHg does this calculator use?
The conventional millimetre of mercury, defined exactly as 0.001 m of a fluid of density 13 595.1 kg/m³ under standard gravity 9.806 65 m/s², which works out to 133.322387415 Pa. The torr is defined differently, as exactly one seven-hundred-and-sixtieth of a standard atmosphere, 101 325/760 = 133.322368421… Pa. The two differ by about 1.4 parts in ten million, far below the resolution of any pressure measurement made in these units, and NIST Special Publication 811 lists both with the same rounded conversion factor of 1.333224 × 10² Pa. Treat mmHg and Torr as interchangeable in practice, but be aware they are not the same definition — this page states which one it applies rather than leaving you to guess.

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 hard-coded constant precisely for this reason. Retrieved 2026-07-29.

In this category

Embed

Quanta Pro

Paid features are coming later.

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