Calculate the partial pressure of a gas in a mixture using its mole fraction and the total pressure, or calculate it from the ideal gas law when you know the gas’s amount, temperature, and volume. Enter the relevant values to get pressure in kPa; the result assumes ideal-gas behavior.
Formula
For a component of an ideal-gas mixture, partial pressure is its mole fraction multiplied by the mixture’s total pressure:
pi = (ni / ntotal) × Ptotal = Xi × Ptotal
- pi is the component’s partial pressure, in kPa.
- ni is the amount of that gas, in mol.
- ntotal is the sum of the amounts of all gases in the mixture, in mol.
- Xi is the component’s mole fraction, unitless, equal to ni/ntotal.
- Ptotal is the mixture’s total pressure, in kPa.
The calculator uses the mole-fraction formula directly. Amounts of gas must use the same unit, and the component amount cannot exceed the total amount. Pressure is a nonnegative absolute pressure. The calculator does not accept a component amount greater than the total, so check that your inputs describe one mixture.
If using the ideal gas law instead, calculate a component’s pressure from pi = niRT/V, where R = 8.31446261815324 J/(mol·K), temperature T is in K, and volume V is in m³. This gives pressure in Pa; divide by 1000 to convert Pa to kPa. You can also use R = 8.31446261815324 kPa·L/(mol·K) with volume in L, which directly gives kPa. Temperature in kelvin is °C + 273.15. The formula is an ideal-gas approximation.
Worked Example
Use the calculator’s default values: the gas amount is 1 mol, the total gas amount is 2 mol, and total pressure is 101.325 kPa.
- Find the mole fraction: Xi = 1 mol / 2 mol = 0.5.
- Multiply by total pressure: pi = 0.5 × 101.325 kPa = 50.6625 kPa.
- Rounded to the calculator’s three decimal places, the partial pressure is 50.663 kPa. The mole fraction output is 0.5000.
The partial pressures of all components add up to the total pressure for an ideal mixture. In this two-component example, the other component also has a mole fraction of 0.5 and a partial pressure of 50.6625 kPa; the unrounded pressures sum to 101.325 kPa.
Assumptions
- The gases behave ideally, so each gas contributes pressure in proportion to its mole fraction.
- The total amount is the sum of all gas components in the mixture, measured on the same basis.
- Pressure is absolute, not gauge pressure. No particular temperature or volume is required for the mole-fraction method.
What You’ll Need
- The total pressure of the gas mixture, expressed as an absolute pressure.
- The amount of the gas of interest and the total amount of gas, in matching units such as mol.
- A calculator, or the inputs above. If using the ideal gas law, you also need the gas’s temperature and volume, with units converted consistently.
Step-by-Step
- Identify the gas component. Decide which gas’s partial pressure you need. For example, in a mixture of nitrogen and oxygen, select oxygen and use only the oxygen amount as the component amount.
- Find the total pressure. Use the pressure of the whole mixture, not the pressure of one component. Use an absolute pressure value. If your source gives gauge pressure, convert it to absolute pressure by adding the local atmospheric pressure, using consistent units.
- Determine the component and total amounts. Enter the amount of the chosen gas as x and the amount of all gases combined as nt. If amounts are listed separately, add them to obtain the total. Moles are convenient, but any consistent amount units cancel in the ratio.
- Check the inputs. The component amount must be greater than zero and no larger than the total amount. Total amount and total pressure must also be positive. Confirm that the values refer to the same mixture and conditions.
- Calculate the mole fraction. Divide the component amount by the total amount: Xi = ni/ntotal. The value must be between 0 and 1. A value of 0.2 means the component makes up 20% of the mixture by amount.
- Multiply by total pressure. Compute pi = XiPtotal. The output has the same pressure unit as the total pressure. The calculator displays kPa, so convert another pressure unit before entering it if needed.
- Check the result against the mixture. A component’s partial pressure cannot exceed the total pressure. For a complete list of components, calculate each partial pressure and verify that their sum is approximately the total pressure, allowing for rounding.
- Use the ideal gas law when appropriate data are available. If you know one component’s amount, temperature, and volume, calculate pi = niRT/V. Keep units consistent, convert °C to K by adding 273.15, and convert Pa to kPa by dividing by 1000. For a mixture, this value should agree with the mole-fraction calculation when assumptions and inputs match.
Common Mistakes
- Using the wrong total. Divide by the total amount of every gas in the mixture, not just the amounts of selected components.
- Mixing units. Moles and millimoles cannot be entered as if they were the same unit. Convert all amounts to one unit first. Likewise, do not mix kPa with atm or mmHg in a calculation without conversion.
- Confusing gauge and absolute pressure. Gas-law calculations use absolute pressure. A gauge pressure of zero does not mean the gas pressure is zero; it means the pressure matches local atmospheric pressure.
- Using Celsius in the ideal gas law. Convert temperature to kelvin before applying pV = nRT. Mole-fraction calculations do not need temperature as an input.
- Rounding too soon. Keep several digits for mole fraction and intermediate calculations, then round the final pressure to match the precision of the measurements.
- Assuming real gases are always ideal. At high pressure or near condensation, interactions between molecules can make partial pressures differ from ideal-gas estimates.
Tips
- Write down the component, total amount, and total pressure with their units before substituting values.
- Use the mole-fraction route when the composition and total pressure are known; it does not require temperature or volume.
- For gas collected over water, the measured pressure includes water vapor. If you need the dry-gas pressure, subtract water vapor pressure at the collection temperature from the total pressure first.
- Keep unrounded results for checks. The sum of unrounded component partial pressures should match the total pressure for an ideal mixture.
- For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Troubleshooting
The result is greater than the total pressure: Check that the component amount does not exceed the total amount and that the total amount includes every gas. Also verify decimal placement and units.
The calculator rejects an input: A negative amount or pressure is not valid here, and the component amount cannot be greater than the total amount. Recheck which value belongs in each field.
Your result differs from a textbook answer: Check whether the textbook uses atm, mmHg, or another pressure unit, and whether it reports dry gas or gas collected over water. Compare unrounded values before deciding that the methods disagree.
The mole-fraction and ideal-gas methods disagree: Confirm that both calculations use the same component amount, temperature, volume, and total pressure, and that all units are converted correctly. A discrepancy can also indicate non-ideal behavior or inconsistent measurements.
The partial pressures do not add to the measured total: Make sure no component was omitted and that each mole fraction uses the same total amount. Small differences may result from rounding; large ones usually point to missing gases or incorrect input data.
Frequently Asked Questions
What is partial pressure?
It is the pressure contributed by one gas in a mixture. For an ideal mixture, it equals that gas’s mole fraction multiplied by the total pressure.
Can I calculate partial pressure without knowing temperature?
Yes. If you know the gas’s mole fraction and the mixture’s total pressure, use pi = XiPtotal. Temperature is needed for the ideal gas law route.
Do partial pressures add up to total pressure?
For an ideal gas mixture, yes: the partial pressures of all components sum to the total pressure, according to Dalton’s law.
What is the difference between mole fraction and partial pressure?
Mole fraction is a unitless proportion of the mixture. Partial pressure is a pressure value, obtained by multiplying that proportion by total pressure.
How do I find oxygen’s partial pressure in air?
Multiply oxygen’s mole fraction in the air sample by the sample’s total pressure. Use the actual composition and pressure if the air is humid, at unusual conditions, or not ordinary dry air.
When is the ideal-gas calculation unreliable?
It can be less accurate at high pressures, low temperatures, or near condensation, where molecular interactions matter. Use a suitable real-gas model or reference data when greater accuracy is required.
Related
Formula used
in x | Gas amount | mol | 1 | 0 in nt | Total gas amount | mol | 2 | 0 in pt | Total pressure | kPa | 101.325 | 0 out pp | Partial pressure | kPa | x / nt * pt | 3 out y | Mole fraction | - | x / nt | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Natural Gas Enthalpy Calculator and Its Limits3.0345 kJ
- Gas Volume Calculator: Calculate Volume With PV = nRT24.465 L
- Noble Gas Electron Configuration Calculator26
- H₂S Partial Pressure Calculator and Gas-Law Formula1.013 kPa
- Partial Pressure Formula: Calculate a Gas’s Share
- Partial Pressure Equation and How to Use It