Calculate a gas’s new pressure when its volume changes using Boyle’s law, or find the new volume, with options for a temperature change and moles of gas.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Final pressure, fixed T | Finds the pressure of a gas after its volume changes at constant temperature | Requires the initial absolute pressure, the initial volume and the final volume |
| Final volume, fixed T | Finds the volume of a gas after its pressure changes at constant temperature | Requires the initial absolute pressure, the initial volume and the final absolute pressure |
| Pressure, new temperature | Finds the pressure after both the volume and the temperature change | Requires the initial absolute pressure, the initial and final volumes and the initial and final temperatures |
| Pressure from moles | Finds the pressure of an amount of gas held in a volume at a temperature | Requires the amount of gas, the gas volume and the gas temperature |
Pressure is entered in atm, kPa, Pa, bar, psi or mmHg, volume in L, mL, m³, ft³ or in³, and temperature in K, °C or °F. The amount of gas is in mol, mmol or kmol. Each function has a result unit setting.
Volume to Pressure Formulas
| P₁ | Initial absolute pressure |
| V₁ | Initial volume |
| P₂ | Final absolute pressure |
| V₂ | Final volume |
For a fixed amount of an ideal gas at constant temperature, pressure multiplied by volume stays constant, which is Boyle’s law [1]. Halving the volume doubles the pressure. Inputs are converted to pascals and cubic meters, with 1 atm = 101,325 Pa, 1 bar = 100,000 Pa, 1 psi = 6,894.757 Pa and 1 mmHg = 133.3224 Pa [4].
Final pressure, fixed T
A gas at 1 atm squeezed from 4 L to 3 L ends at 1 × 4 ÷ 3 = 1.3333 atm. A 750 mL bottle at 110,000 Pa compressed to 625 mL ends at 110,000 × 750 ÷ 625 = 132,000 Pa. The details also list the pressure at 75% and 125% of the final volume.
Final volume, fixed T
Two liters of gas at 1 atm raised to 4 atm shrink to 1 × 2 ÷ 4 = 0.5 L.
Pressure, new temperature
(T₂ ÷ T₁) [2]
For a fixed amount of gas, P × V ÷ T stays constant [2]. The temperatures must be absolute, so °C and °F are converted to kelvin first. A gas at 1 atm compressed from 10 L to 5 L while it warms from 300 K to 360 K ends at 1 × 2 × 1.2 = 2.4 atm.
Pressure from moles
n is the amount of gas in moles, T is the temperature in kelvin, V is the volume in m³ and R is the molar gas constant, 8.314462618 J/(mol·K) [3]. One mole in 22.4 L at 273.15 K gives 1 × 8.314462618 × 273.15 ÷ 0.0224 = 101,388 Pa, which is 1.0006 atm. Two moles in 10 L at 25 °C give 495.79 kPa.
Limits of This Estimate
- Every function treats the gas as ideal [2]. Gases at high pressure or near the point where they turn liquid depart from it, and a phase change is not modeled.
- Pressures are absolute. A gauge reading needs atmospheric pressure, about 1 atm at sea level, added to it first.
- The first three functions assume no gas enters or leaves. The result is a gas pressure, not a pressure rating for a tank or vessel.
Sources
- NASA Glenn Research Center, Boyle’s Law: constant product of pressure and volume at fixed temperature
- NASA Glenn Research Center, Equation of State: the ideal gas law and the need for absolute temperature
- NIST, CODATA Value: molar gas constant: value of R
- NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: pressure unit factors
