molecalculator

Moles & Molar Mass

Ideal Gas Equation Pressure Units

Calculator No. 01-11932 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The ideal gas equation (PV = nRT) accepts pressure in any unit as long as you pair it with the matching value of the gas constant R. The most common choices are atmospheres (atm), kilopascals (kPa), and millimeters of mercury (mmHg or torr), each with its own R value.

Formula

The ideal gas equation is written as:

PV = nRT

Where:

  • P = pressure of the gas (unit depends on the R value you choose)
  • V = volume of the gas (liters, L)
  • n = amount of gas (moles, mol)
  • R = ideal gas constant (value depends on pressure and volume units)
  • T = absolute temperature (kelvin, K)

Temperature must always be in kelvin (K = °C + 273.15). If you use °C directly, the equation fails because the gas constant assumes an absolute scale.

Worked Example

Using the default values: P = 1.0 atm, V = 22.414 L, n = 1.0 mol, T = 0 °C (273.15 K).

Step 1: Convert temperature to kelvin: T = 0 + 273.15 = 273.15 K

Step 2: Rearrange the ideal gas equation to solve for R: R = PV / (nT)

Step 3: Plug in the numbers: R = (1.0 atm × 22.414 L) / (1.0 mol × 273.15 K)

Step 4: Calculate: R = 22.414 / 273.15 = 0.082057 L·atm/(mol·K)

The calculator shows R = 0.082057 L·atm/(mol·K), which matches the known value. It also converts that pressure to 101.325 kPa and 760 mmHg, confirming that 1 atm = 101.325 kPa = 760 mmHg exactly.

Assumptions

  • The gas behaves ideally (no intermolecular forces, negligible molecular volume).
  • Temperature is in kelvin, not Celsius.
  • Pressure and volume are in consistent units with the chosen R.
  • Amount is in moles, not grams.

Common Pressure Units and Their R Values

You cannot use a single R value for all pressure units. Here are the standard R values you will encounter in textbooks and lab work:

  • Atmospheres (atm): R = 0.082057 L·atm/(mol·K). This is the most common in chemistry courses.
  • Kilopascals (kPa): R = 8.31446 L·kPa/(mol·K). This is the SI-preferred unit for pressure.
  • Millimeters of mercury (mmHg) or torr: R = 62.364 L·mmHg/(mol·K). Often used in gas law problems involving barometers.
  • Pascals (Pa): R = 8314.46 L·Pa/(mol·K). Rarely used directly, but appears in some physics contexts.
  • Bars (bar): R = 0.0831446 L·bar/(mol·K). Common in engineering and high-pressure work.

Notice that the numeric value of R changes to keep the equation balanced. If you accidentally use R = 0.0821 with pressure in kPa, your answer will be off by a factor of about 101.325.

How to Choose the Right Pressure Unit

Your choice of pressure unit usually depends on the data you are given. Follow these steps:

  1. Identify the pressure unit in your problem statement.
  2. Select the R value that matches that unit.
  3. Ensure volume is in liters. If volume is in mL, convert to L by dividing by 1000.
  4. Ensure temperature is in kelvin. If given in °C, add 273.15.
  5. Calculate, then convert the final pressure to your desired unit if needed.

For example, if a problem gives pressure in mmHg (like 760 mmHg), use R = 62.364. If you prefer to work in atm, first convert mmHg to atm (divide by 760), then use R = 0.082057. Both methods give the same result, but mixing units without converting is the most common error.

Common Mistakes and Misconceptions

  • Using °C instead of K: This is the #1 error. Always add 273.15 to °C.
  • Mixing R values: Using R = 0.0821 with kPa will give a pressure that is ~101 times too large.
  • Forgetting to convert volume: If volume is in mL, you must divide by 1000 to get liters.
  • Confusing atm and bar: They are close (1 atm ≈ 1.01325 bar) but not equal. Using the wrong R leads to ~1.3% error.
  • Assuming mmHg and torr are different: They are exactly the same unit (1 mmHg = 1 torr).

A common misconception is that the ideal gas equation only works for “ideal” gases like helium. In reality, it works well for most real gases at low pressure and high temperature. At high pressure or low temperature, real gases deviate, and you would need the van der Waals equation instead.

Why Pressure Units Matter in Real Calculations

In laboratory settings, pressure is often measured in mmHg (from a mercury manometer) or kPa (from digital sensors). If you are calculating the number of moles of gas produced in a reaction, you must use the correct R. For instance, if you collect a gas over water and measure the total pressure as 755 mmHg, you need to subtract the vapor pressure of water (in mmHg) before using the ideal gas equation. This is a classic application where using the wrong R value would ruin the result.

Similarly, in meteorology and engineering, pressure is often given in hPa (hectopascals, which equal millibars). The R value for hPa is 83.1446 L·hPa/(mol·K). Many students forget this and use the atm value, leading to errors in atmospheric chemistry problems.

Frequently Asked Questions

Can I use any pressure unit in the ideal gas equation?
Yes, but you must pair it with the correct R value. The equation itself is unit-agnostic; the R constant absorbs the unit conversions. Always check that your pressure unit matches the R you are using.

What is the most common R value in chemistry?
The most common is 0.082057 L·atm/(mol·K), because many textbook problems give pressure in atmospheres. However, SI-focused courses often use 8.31446 L·kPa/(mol·K).

Why do I get a different answer when I use kPa instead of atm?
Because you are using a different R value. If you use R = 0.0821 with kPa, you are mixing units. Convert pressure to atm first, or use R = 8.314, and you will get the same answer.

Is torr exactly equal to mmHg?
Yes, 1 torr is defined as 1/760 of an atmosphere, which is exactly equal to 1 mmHg. The two names are used interchangeably in gas law problems.

Does the ideal gas equation work for real gases?
It works well at low pressures (near atmospheric) and high temperatures. For high pressures or low temperatures, real gases deviate because molecules have volume and attract each other. The van der Waals equation corrects for this.

What if I have pressure in psi (pounds per square inch)?
You can convert psi to atm (1 atm = 14.696 psi) or to kPa (1 psi = 6.89476 kPa), then use the corresponding R. There is no standard R for psi, so conversion is necessary.

Safety and Lab Practice

When performing gas law calculations for lab work, always follow your lab method, the safety data sheet (SDS) and your supervisor. Never use the ideal gas equation to calculate pressures for gas cylinders or reactions that may produce toxic gases. The equation assumes ideal behavior, which is not true at high pressures. Always check the actual pressure limits of your equipment and use proper ventilation.

Related

Formula used
in p | Pressure | atm | 1.0 | 0
in v | Volume | L | 22.414 | 0
in n | Amount of gas | mol | 1.0 | 0
in t | Temperature | °C | 0 | -273.15
out R | Gas constant (R) | L·atm/(mol·K) | (p * v) / (n * (t + 273.15)) | 6
out p_kpa | Pressure in kPa | kPa | p * 101.325 | 3
out p_mmhg | Pressure in mmHg | mmHg | p * 760 | 2

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

The whole Moles & Molar Mass section →