Partial Pressure Calculator for O2 and N2
Calculate oxygen and nitrogen partial pressure using Dalton’s Law for any gas mix, pressure unit, and optional humidity correction.
Results
How to Calculate the Partial Pressure of O2 and N2: Expert Guide
If you need to calculate the partial pressure of oxygen (O2) and nitrogen (N2), you are using one of the most practical ideas in gas physics: Dalton’s Law of Partial Pressures. This law is used every day in respiratory care, anesthesia, aviation medicine, high altitude physiology, hyperbaric operations, and scuba diving planning. The core idea is straightforward: each gas in a mixture contributes a share of the total pressure, and that share depends on its concentration.
In plain language, if the atmosphere has a total pressure and oxygen makes up around 20.95% of dry air, then oxygen contributes about 20.95% of that total pressure. Nitrogen, at around 78.09% of dry air, contributes most of the rest. The calculator above automates this process and helps you include humidity correction when needed, because humidified gas in the airways can lower the effective pressure available to oxygen and nitrogen.
The Core Formula
Dalton’s Law is:
Partial Pressure of Gas = Fraction of Gas x Total Pressure
For oxygen and nitrogen:
- PO2 = FO2 x Ptotal
- PN2 = FN2 x Ptotal
If you are calculating inspired gas in the lungs, many clinicians use corrected pressure:
- PO2 = FO2 x (Ptotal – PH2O)
- PN2 = FN2 x (Ptotal – PH2O)
where PH2O is water vapor pressure. At body temperature, a common reference value is 47 mmHg.
Step by Step Calculation Workflow
- Choose your total pressure and unit (mmHg, kPa, atm, or psi).
- Enter oxygen fraction and nitrogen fraction as percentages.
- If relevant, apply water vapor correction and enter PH2O in the same pressure unit.
- Convert percentages to decimal fractions (20.95% becomes 0.2095).
- Multiply each fraction by effective pressure.
- Interpret values in your context: environment, clinical, or diving.
Worked Example at Sea Level (Dry Gas)
Use dry atmospheric air at approximately 760 mmHg:
- FO2 = 0.2095
- FN2 = 0.7809
- Ptotal = 760 mmHg
Then:
- PO2 = 0.2095 x 760 = 159.2 mmHg
- PN2 = 0.7809 x 760 = 593.5 mmHg
These are standard dry inspired values near sea level and are frequently used in textbooks and training materials.
Worked Example with Humidity Correction
For inspired gas in the upper airway at 37 C:
- Ptotal = 760 mmHg
- PH2O = 47 mmHg
- Effective pressure = 760 – 47 = 713 mmHg
Therefore:
- PO2 = 0.2095 x 713 = 149.4 mmHg
- PN2 = 0.7809 x 713 = 556.8 mmHg
This is why corrected inspired oxygen pressure is lower than dry atmospheric oxygen pressure. In medicine, this correction is essential for gas exchange calculations.
Reference Composition of Dry Air
| Gas | Approximate Volume Fraction (%) | Partial Pressure at 760 mmHg (mmHg) |
|---|---|---|
| Nitrogen (N2) | 78.09 | 593.5 |
| Oxygen (O2) | 20.95 | 159.2 |
| Argon (Ar) | 0.93 | 7.1 |
| Carbon Dioxide (CO2) | ~0.04 | ~0.3 |
These values are widely accepted atmospheric statistics and illustrate why oxygen is physiologically critical but not the dominant atmospheric gas by volume.
Altitude Effects on PO2 and PN2
At altitude, gas fractions remain nearly the same, but total pressure drops. That means both PO2 and PN2 decrease. This is one reason people may experience hypoxia at high elevation even though oxygen percentage in air is still about 21%.
| Approximate Altitude | Total Pressure (mmHg) | PO2 in Dry Air (mmHg) | PN2 in Dry Air (mmHg) |
|---|---|---|---|
| Sea level (0 m) | 760 | 159.2 | 593.5 |
| 1,500 m | 634 | 132.8 | 495.1 |
| 3,000 m | 526 | 110.2 | 410.8 |
| 5,500 m | 380 | 79.6 | 296.7 |
These values are approximate standard atmosphere comparisons and are very useful for preplanning mountain, aviation, and field operations.
Where This Calculation Is Used
- Respiratory therapy: estimating inspired oxygen pressure with different FiO2 settings.
- Anesthesia: balancing oxygen and nitrogen to maintain safe gas delivery.
- Diving: monitoring oxygen toxicity and nitrogen loading risk under increased ambient pressure.
- Aerospace and altitude medicine: assessing hypoxic stress at reduced barometric pressure.
- Hyperbaric environments: understanding elevated gas partial pressures under compression.
Unit Handling: mmHg, kPa, atm, and psi
You can perform calculations in any pressure unit as long as all pressure terms use the same unit. Useful conversions include:
- 1 atm = 760 mmHg
- 1 kPa = 7.50062 mmHg
- 1 psi = 51.7149 mmHg
The calculator internally converts and returns consistent values so you can avoid manual conversion errors.
Common Mistakes to Avoid
- Using percentages as whole numbers: 20.95 must become 0.2095 in the equation.
- Ignoring humidity when appropriate: inspired gas calculations often need PH2O subtraction.
- Mixing units: do not subtract 47 mmHg from pressure entered in kPa unless converted.
- Assuming oxygen fraction changes with altitude: oxygen percentage is similar, total pressure is what changes most.
- Not checking mixture totals: O2 + N2 + other gases should not exceed 100%.
Clinical and Operational Interpretation Tips
In clinical workflows, inspired PO2 is only part of the oxygenation story. Alveolar ventilation, diffusion, and perfusion all matter. Still, partial pressure calculations give a fast first-pass estimate that guides oxygen therapy and risk screening.
In diving, partial pressure thresholds are central to gas planning. Oxygen partial pressure that is too high can increase toxicity risk, while nitrogen partial pressure influences narcosis and decompression strategy. In aviation, lower PO2 at cabin altitude is the key reason supplemental oxygen protocols exist.
Quick Decision Checklist
- Do I need dry gas pressure or humidified inspired pressure?
- Are all inputs in the same pressure unit?
- Did I verify gas fractions are realistic for the intended mixture?
- Did I review both absolute results and trends across pressure changes?
Authoritative Sources for Deeper Study
For evidence-based reference material, review:
- NIST Guide for SI units and conversions (.gov)
- NOAA atmospheric science education resources (.gov)
- NCBI clinical physiology overview of oxygenation concepts (.gov)
Educational note: this calculator is intended for planning and learning. It does not replace clinical judgment, dive tables/computers, aviation regulations, or institutional protocols.