Partial Pressure Calculator

Calculate the partial pressure of individual gases in a mixture using Dalton's Law of Partial Pressures or the Ideal Gas Law. Enter the moles of each gas and total pressure, or use the Ideal Gas Law mode to find pressure from moles, volume, and temperature.

Add gases to the mixture, enter the number of moles for each, and specify the total pressure. The calculator will determine each gas's mole fraction and partial pressure.
Ideal Gas Law: P = nRT / V
Leave exactly one field blank to solve for the unknown. R = 0.08206 L·atm/(mol·K)
mol

What Is Partial Pressure?

Partial pressure is one of the most fundamental concepts in chemistry and physics, particularly when dealing with gaseous systems. In simple terms, the partial pressure of a gas in a mixture is the pressure that the gas would exert if it alone occupied the entire volume of the mixture at the same temperature. Each gas in a mixture behaves independently of the others, contributing its own share to the total pressure of the system. This principle was first described by the English chemist and physicist John Dalton in the early nineteenth century and remains a cornerstone of gas chemistry to this day.

Consider a sealed container holding a mixture of nitrogen and oxygen. The nitrogen molecules are constantly colliding with the walls of the container, generating a certain pressure. The oxygen molecules are doing the same. The total pressure inside the container is simply the sum of these two individual pressures. Neither gas "knows" the other is present; each acts as if it occupies the entire volume by itself. The pressure contributed by the nitrogen alone is its partial pressure, and the pressure contributed by the oxygen alone is its partial pressure. When you add these two partial pressures together, you get the total pressure inside the container.

Partial pressure is measured in the same units as any other pressure: atmospheres (atm), kilopascals (kPa), pascals (Pa), bar, millimeters of mercury (mmHg, also known as torr), or pounds per square inch (psi). The concept applies equally well whether you are analyzing the Earth's atmosphere, the gas mixture in a scuba tank, or the behavior of anesthetic gases in a hospital operating room. Understanding partial pressure is essential for chemists, engineers, physicians, and anyone who works with gas mixtures in any capacity.

Dalton's Law of Partial Pressures

Dalton's Law of Partial Pressures states that the total pressure exerted by a mixture of non-reacting gases is equal to the sum of the partial pressures of each individual gas. Mathematically, this is expressed as:

Ptotal = P1 + P2 + P3 + ... + Pn

Where Ptotal is the total pressure of the gas mixture, and P1, P2, P3, through Pn are the partial pressures of each individual gas component. This law holds true for ideal gases and is an excellent approximation for real gases at moderate temperatures and pressures.

The law is a direct consequence of the kinetic molecular theory of gases, which states that gas molecules move independently of one another. Because the molecules of one gas do not interact with the molecules of another gas (in the ideal approximation), each gas contributes to the total pressure in proportion to the number of its molecules present. There is no "interference" between different types of gas molecules; they simply add their individual effects together.

Dalton's Law is extremely useful in practical applications. For instance, when a gas is collected over water in a laboratory, the total pressure of the collected gas includes the vapor pressure of water. To find the pressure of the dry gas alone, you subtract the water vapor pressure from the total pressure. This is a direct application of Dalton's Law. Similarly, when calculating the composition of air in a pressurized aircraft cabin or determining the gas mixture for a deep-sea diver, Dalton's Law provides the mathematical framework for ensuring safety and accuracy.

It is important to note that Dalton's Law applies strictly to mixtures of gases that do not chemically react with each other. If the gases in the mixture can react (for example, hydrogen and oxygen in the presence of a spark), then the composition of the mixture changes over time, and the simple additive relationship breaks down. However, for the vast majority of practical gas mixture problems, the gases are inert with respect to each other, and Dalton's Law applies perfectly.

The Ideal Gas Law Connection

The ideal gas law, PV = nRT, is one of the most widely used equations in chemistry and physics. It relates the pressure (P), volume (V), amount in moles (n), and temperature (T) of an ideal gas through the universal gas constant R. When combined with Dalton's Law, the ideal gas law provides a powerful tool for calculating partial pressures.

For a single gas in a mixture, the partial pressure can be calculated as:

Pi = niRT / V

Where Pi is the partial pressure of gas i, ni is the number of moles of gas i, R is the ideal gas constant (0.08206 L·atm/(mol·K)), T is the absolute temperature in Kelvin, and V is the volume of the container in liters. This equation shows that the partial pressure of any gas in a mixture depends only on its own molar quantity, the temperature, and the volume -- not on the presence or identity of any other gases in the mixture.

The total pressure of the mixture can also be expressed using the ideal gas law: Ptotal = ntotalRT / V, where ntotal is the total number of moles of all gases combined. Dividing the partial pressure equation by the total pressure equation gives the mole fraction relationship, which we will explore in the next section.

The ideal gas law is an approximation that works best at high temperatures and low pressures, where gas molecules are far apart and intermolecular forces are negligible. At very high pressures or very low temperatures, real gas behavior deviates from the ideal gas law, and more complex equations of state (such as the van der Waals equation) may be needed. However, for most everyday calculations, the ideal gas law provides sufficiently accurate results.

Mole Fraction Explained

The mole fraction is a dimensionless quantity that represents the proportion of a particular gas in a mixture relative to the total amount of all gases present. It is defined as:

xi = ni / ntotal

Where xi is the mole fraction of gas i, ni is the number of moles of gas i, and ntotal is the total number of moles of all gases in the mixture. By definition, the sum of all mole fractions in a mixture equals exactly 1 (or 100% if expressed as a percentage).

The mole fraction provides an elegant way to calculate partial pressures using Dalton's Law. The partial pressure of any gas in the mixture is simply its mole fraction multiplied by the total pressure:

Pi = xi × Ptotal

This relationship is both simple and powerful. It means that if you know the composition of a gas mixture (in terms of mole fractions) and the total pressure, you can immediately calculate the partial pressure of any component. Conversely, if you know the partial pressure of a gas and the total pressure, you can determine its mole fraction and, by extension, its relative abundance in the mixture.

Mole fractions are widely used in chemistry, chemical engineering, and atmospheric science because they are independent of temperature and pressure. Unlike concentrations expressed in moles per liter (which change with volume and temperature), mole fractions remain constant as long as the composition of the mixture does not change. This makes them particularly useful for describing gas mixtures under varying conditions.

Henry's Law and Gas Solubility

Henry's Law is closely related to the concept of partial pressure and describes the relationship between the partial pressure of a gas above a solution and the concentration of that gas dissolved in the solution. It states that at a constant temperature, the amount of gas dissolved in a liquid is directly proportional to the partial pressure of that gas above the liquid:

C = kH × Pgas

Where C is the concentration of the dissolved gas, kH is Henry's Law constant (which is specific to each gas-solvent pair and depends on temperature), and Pgas is the partial pressure of the gas above the solution.

Henry's Law has profound implications in many areas. In diving, it explains why nitrogen dissolves into a diver's blood and tissues under the increased pressure at depth. As the diver ascends and the external pressure decreases, the dissolved nitrogen comes out of solution, forming bubbles that can cause decompression sickness (commonly known as "the bends"). Understanding the partial pressures of the gases in the breathing mixture is critical for planning safe dive profiles.

In carbonated beverages, Henry's Law explains why carbon dioxide stays dissolved when the bottle is sealed (high partial pressure of CO2 above the liquid) but begins to escape as bubbles when the bottle is opened (the partial pressure of CO2 drops to atmospheric levels). In environmental science, Henry's Law governs the exchange of gases like oxygen and carbon dioxide between the atmosphere and bodies of water, which is crucial for aquatic ecosystems and climate modeling.

How to Calculate Partial Pressure (Step by Step)

Calculating partial pressure is a straightforward process once you understand the underlying concepts. Here is a systematic, step-by-step guide:

Method 1: Using Mole Fractions and Total Pressure

  1. Identify all gases in the mixture and determine the number of moles of each gas. If you are given masses instead of moles, convert each mass to moles using the molar mass of the gas (n = mass / molar mass).
  2. Calculate the total moles by adding up the moles of all individual gases: ntotal = n1 + n2 + ... + nk.
  3. Calculate the mole fraction of each gas by dividing its moles by the total moles: xi = ni / ntotal.
  4. Multiply each mole fraction by the total pressure to find the partial pressure: Pi = xi × Ptotal.
  5. Verify your answer by checking that the sum of all partial pressures equals the total pressure.

Method 2: Using the Ideal Gas Law

  1. Identify the known quantities: moles (n), volume (V), and temperature (T). Make sure the temperature is in Kelvin (K = °C + 273.15).
  2. Choose the appropriate value of R based on your units. For pressure in atm and volume in liters, use R = 0.08206 L·atm/(mol·K).
  3. Substitute into the equation: P = nRT / V.
  4. Solve for the unknown: this could be pressure, moles, volume, or temperature, depending on which value you left blank.

Both methods will give you the same result when applied to the same system. The mole fraction method is typically easier when you know the total pressure and the composition of the mixture. The ideal gas law method is more appropriate when you need to determine the pressure from physical conditions (moles, volume, temperature).

Applications of Partial Pressure

Scuba Diving and Hyperbaric Medicine

In scuba diving, understanding partial pressure is literally a matter of life and death. The air a diver breathes is subject to increasing pressure as depth increases. At the surface, the partial pressure of oxygen in air is approximately 0.21 atm (since air is about 21% oxygen). At a depth of 10 meters (33 feet), the total pressure doubles to 2 atm, and the partial pressure of oxygen rises to 0.42 atm. At 30 meters, the total pressure is 4 atm and the partial pressure of oxygen is 0.84 atm.

While moderate increases in oxygen partial pressure are harmless, excessively high partial pressures of oxygen (above about 1.6 atm) can cause oxygen toxicity, leading to seizures and potentially drowning. Conversely, the partial pressure of nitrogen increases with depth and causes nitrogen narcosis (a state of impaired judgment similar to intoxication) at partial pressures above about 3.2 atm. To avoid these dangers, technical divers use specially formulated gas mixtures (such as nitrox, trimix, or heliox) that adjust the proportions of oxygen, nitrogen, and helium to maintain safe partial pressures at the planned depth.

In hyperbaric medicine, patients are placed in chambers pressurized to 2-3 atm while breathing pure oxygen. The elevated partial pressure of oxygen dramatically increases the amount of oxygen dissolved in the blood (as described by Henry's Law), promoting healing in conditions such as carbon monoxide poisoning, non-healing wounds, and certain infections.

Respiratory Physiology

The human respiratory system is fundamentally governed by partial pressure gradients. When you inhale, air enters your lungs, where the partial pressure of oxygen is approximately 100 mmHg (about 0.13 atm) in the alveoli. The blood arriving at the lungs from the body has a partial pressure of oxygen of only about 40 mmHg. This pressure difference drives the diffusion of oxygen from the alveoli into the blood.

Simultaneously, carbon dioxide moves in the opposite direction. The partial pressure of CO2 in the blood arriving at the lungs is about 46 mmHg, while the alveolar partial pressure is about 40 mmHg. This gradient, though smaller, is sufficient to drive CO2 from the blood into the lungs for exhalation. These partial pressure gradients are the engine that keeps gas exchange running continuously, delivering oxygen to tissues and removing carbon dioxide waste.

At high altitudes, the total atmospheric pressure decreases, which means the partial pressure of oxygen also decreases. At the summit of Mount Everest (approximately 8,848 meters), the atmospheric pressure is only about 0.33 atm, and the partial pressure of oxygen is roughly 0.07 atm -- only a third of the sea-level value. This is why climbers require supplemental oxygen at extreme altitudes.

Industrial Gas Mixing

In industrial applications, partial pressure calculations are essential for preparing gas mixtures of precise composition. For example, in the semiconductor industry, extremely pure gas mixtures are used in chemical vapor deposition (CVD) processes. Engineers must carefully control the partial pressures of reactant gases to produce thin films with specific properties. In welding, shielding gas mixtures of argon and carbon dioxide are used, and the proportions must be calculated using partial pressure principles to achieve optimal weld quality.

In the food and beverage industry, modified atmosphere packaging (MAP) uses specific gas mixtures to extend the shelf life of products. The partial pressures of oxygen, carbon dioxide, and nitrogen within the package are carefully controlled. Too much oxygen promotes spoilage, while the right amount of carbon dioxide inhibits microbial growth. Partial pressure calculations ensure that the desired atmosphere is achieved inside each package.

Partial Pressure of Oxygen in the Atmosphere

Earth's atmosphere is composed primarily of nitrogen (approximately 78.09%), oxygen (approximately 20.95%), argon (approximately 0.93%), and carbon dioxide (approximately 0.04%), along with trace amounts of other gases. The standard atmospheric pressure at sea level is 1 atm (101.325 kPa, or 760 mmHg).

Using Dalton's Law, we can calculate the partial pressure of each major component:

  • Nitrogen: PN2 = 0.7809 × 1 atm = 0.7809 atm (593.5 mmHg)
  • Oxygen: PO2 = 0.2095 × 1 atm = 0.2095 atm (159.2 mmHg)
  • Argon: PAr = 0.0093 × 1 atm = 0.0093 atm (7.1 mmHg)
  • Carbon dioxide: PCO2 = 0.0004 × 1 atm = 0.0004 atm (0.3 mmHg)

These values represent dry air. In practice, the atmosphere contains varying amounts of water vapor, which has its own partial pressure. The partial pressure of water vapor depends on temperature and humidity and typically ranges from about 0.01 atm in cold, dry conditions to about 0.04 atm in hot, humid conditions. When water vapor is present, it "displaces" some of the other gases, slightly reducing their partial pressures (since the total must still equal atmospheric pressure).

The partial pressure of oxygen is particularly important in aviation and mountaineering. Commercial aircraft cabins are pressurized to an equivalent altitude of about 6,000-8,000 feet (1,800-2,400 meters), where the partial pressure of oxygen is still high enough for comfortable breathing. At higher altitudes, supplemental oxygen or pressurized cabins become necessary. Pilots of unpressurized aircraft must use supplemental oxygen above 12,500 feet (3,810 meters) for flights longer than 30 minutes, and at all times above 14,000 feet (4,267 meters).

Worked Examples

Example 1: Gas Mixture of Nitrogen and Oxygen

A sealed container holds a mixture of 3.0 moles of nitrogen (N2) and 1.0 mole of oxygen (O2). The total pressure of the mixture is 2.0 atm. Calculate the partial pressure of each gas.

Step 1: Find the total moles.
ntotal = 3.0 + 1.0 = 4.0 mol

Step 2: Calculate mole fractions.
xN2 = 3.0 / 4.0 = 0.75
xO2 = 1.0 / 4.0 = 0.25

Step 3: Calculate partial pressures.
PN2 = 0.75 × 2.0 atm = 1.50 atm
PO2 = 0.25 × 2.0 atm = 0.50 atm

Verification: 1.50 + 0.50 = 2.00 atm (equals total pressure).

Example 2: Using the Ideal Gas Law

You have 0.50 moles of carbon dioxide (CO2) in a 10.0 L container at 25°C. What is the partial pressure of CO2?

Step 1: Convert temperature to Kelvin.
T = 25 + 273.15 = 298.15 K

Step 2: Apply the ideal gas law.
P = nRT / V
P = (0.50 mol)(0.08206 L·atm/(mol·K))(298.15 K) / (10.0 L)
P = (0.50 × 0.08206 × 298.15) / 10.0
P = 12.233 / 10.0
P = 1.223 atm

Thus, the CO2 exerts a partial pressure of approximately 1.22 atm in the container.

Example 3: Three-Gas Mixture at High Pressure

A pressurized tank contains 2.0 moles of helium (He), 5.0 moles of nitrogen (N2), and 3.0 moles of oxygen (O2) at a total pressure of 15 atm. Find the partial pressure of each gas.

Step 1: Total moles = 2.0 + 5.0 + 3.0 = 10.0 mol

Step 2: Mole fractions:
xHe = 2.0 / 10.0 = 0.20
xN2 = 5.0 / 10.0 = 0.50
xO2 = 3.0 / 10.0 = 0.30

Step 3: Partial pressures:
PHe = 0.20 × 15 = 3.0 atm
PN2 = 0.50 × 15 = 7.5 atm
PO2 = 0.30 × 15 = 4.5 atm

Verification: 3.0 + 7.5 + 4.5 = 15.0 atm.

How to Use This Calculator

This Partial Pressure Calculator offers two powerful modes for computing partial pressures of gases. Here is a complete guide to using each mode:

Mode 1: Dalton's Law (Mole Fraction)

  1. Add your gases: The calculator starts with two gas rows. Click "Add Gas" to add more gases (up to 8 total). Click the red remove button to delete a gas row.
  2. Enter gas names (optional): Type the name of each gas (e.g., "N2", "O2", "CO2"). If you leave the name blank, the calculator will label it "Gas 1", "Gas 2", etc.
  3. Enter moles: For each gas, enter the number of moles. This must be a positive number.
  4. Enter total pressure: Type the total pressure of the gas mixture in the "Total Pressure" field. Use the dropdown to select your preferred pressure unit (atm, kPa, Pa, bar, mmHg, or psi).
  5. Click "Calculate Partial Pressures": The calculator will compute the mole fraction and partial pressure of each gas, display a results summary with large numbers, a mole fraction table, a pie chart showing the composition of the mixture, and a step-by-step breakdown of the calculation.

Mode 2: Ideal Gas Law

  1. Select the Ideal Gas Law tab at the top of the calculator.
  2. Enter any three of the four values: Pressure (P), Moles (n), Volume (V), and Temperature (T). Leave exactly one field blank -- that will be the value the calculator solves for.
  3. Select units: Choose the appropriate unit for each value using the dropdown menus. For pressure, you can choose from atm, kPa, Pa, bar, mmHg, or psi. For volume, choose from liters (L), milliliters (mL), or cubic meters (m3). For temperature, choose Kelvin (K) or Celsius (C).
  4. Click "Calculate": The calculator will determine the missing value and display the result along with a step-by-step calculation.

Both modes display results in your chosen units and provide clear, detailed steps so you can verify the calculation and learn the process. The calculator handles unit conversions automatically, so you can input values in whatever units are most convenient for your particular problem.

Frequently Asked Questions

Total pressure is the combined pressure of all gases in a mixture, while partial pressure is the individual pressure contribution of a single gas in that mixture. According to Dalton's Law, the total pressure is the sum of all the partial pressures. For example, if a container has nitrogen at 0.8 atm partial pressure and oxygen at 0.2 atm partial pressure, the total pressure is 1.0 atm. Each gas "acts as if" the other gases are not present, contributing to the total pressure in proportion to its abundance.
No, the partial pressure of any individual gas in a mixture can never exceed the total pressure. Since the partial pressure of a gas is defined as its mole fraction multiplied by the total pressure, and the mole fraction is always between 0 and 1, the partial pressure must always be less than or equal to the total pressure. The only scenario where a gas's partial pressure equals the total pressure is when the "mixture" contains only that single gas (mole fraction = 1).
Partial pressure is critical in medicine because it drives the exchange of oxygen and carbon dioxide in the lungs and tissues. Doctors measure the partial pressures of O2 and CO2 in arterial blood (called PaO2 and PaCO2) to assess respiratory function. Normal PaO2 is 80-100 mmHg; values below 60 mmHg indicate hypoxemia. Anesthesiologists also rely on partial pressure calculations to deliver precise concentrations of anesthetic gases. In hyperbaric medicine, elevated oxygen partial pressures (1.5-3.0 atm) are used therapeutically to treat decompression sickness, carbon monoxide poisoning, and chronic non-healing wounds.
According to the ideal gas law (P = nRT/V), pressure is directly proportional to temperature when the volume and number of moles are held constant. If you increase the temperature of a gas mixture in a rigid container, the total pressure and all partial pressures will increase proportionally. This is because higher temperatures give gas molecules more kinetic energy, causing them to collide with the container walls more forcefully and frequently. Conversely, cooling a gas mixture decreases all partial pressures. The mole fractions, however, remain unchanged because they depend only on the relative amounts of each gas, not on temperature.
At sea level, the standard atmospheric pressure is 1 atm (101.325 kPa or 760 mmHg). Since dry air is approximately 20.95% oxygen, the partial pressure of oxygen is about 0.2095 atm, which equals approximately 159.2 mmHg or 21.2 kPa. In practice, the presence of water vapor slightly reduces this value. In the lungs (alveoli), the partial pressure of oxygen is lower still, approximately 100 mmHg (0.132 atm), because some oxygen is absorbed and the inhaled air is humidified and mixed with residual air in the lungs.
Dalton's Law is strictly valid only for ideal gases, but it serves as an excellent approximation for real gases under most common conditions (moderate temperatures and pressures). Real gases deviate from ideal behavior when molecules are close together, such as at very high pressures or very low temperatures. Under these conditions, intermolecular forces become significant, and the volume of the gas molecules themselves is no longer negligible compared to the container volume. For highly accurate work under extreme conditions, equations of state such as the van der Waals equation or the Redlich-Kwong equation can be used to account for these deviations.
When a gas is collected over water by displacement, the collected gas is mixed with water vapor. The total pressure measured (usually equal to atmospheric pressure) is the sum of the partial pressure of the collected gas and the vapor pressure of water at the given temperature. To find the pressure of the dry gas alone, you subtract the water vapor pressure from the total pressure: Pgas = Ptotal - Pwater. Water vapor pressure depends on temperature and can be found in standard reference tables. For example, at 25°C, the vapor pressure of water is approximately 23.8 mmHg.
The relationship is described by Henry's Law, which states that the concentration of a dissolved gas is directly proportional to its partial pressure above the solution: C = kH × P. This means that increasing the partial pressure of a gas above a liquid increases the amount of gas that dissolves. This principle explains why carbonated drinks fizz when opened (the CO2 partial pressure drops), why divers can develop nitrogen narcosis at depth (elevated N2 partial pressure increases nitrogen dissolved in brain tissue), and why oxygen dissolves more readily into blood in the lungs than in the tissues.