Pressure Volume Temperature Formula and Ideal Gas Law
- Pressure
- 101.325 kPa
- You entered
- Volume
- 24.465 L
- You entered
- Temperature
- 298.15 K
- You entered
The pressure–volume–temperature relationship for a fixed amount of ideal gas is described by the ideal gas law, PV = nRT. Enter any three of pressure, volume, temperature, and amount of gas to calculate the fourth; this calculator assumes ideal-gas behavior and uses kelvins for temperature.
Formula
The ideal gas law is PV = nRT. Rearranging it to find the amount of gas gives n = PV / (RT), which is the calculation used above.
- P is absolute pressure, in kilopascals (kPa).
- V is gas volume, in liters (L).
- n is amount of gas, in moles (mol).
- T is absolute temperature, in kelvins (K).
- R is the gas constant, 8.314462618 kPa·L/(mol·K).
The units must match the chosen value of R. With pressure in pascals and volume in cubic meters, use R = 8.314462618 Pa·m³/(mol·K); with pressure in atmospheres and volume in liters, use approximately 0.082057 L·atm/(mol·K). The calculator uses kPa and L, so its stated R is appropriate.
Worked Example
Using the default entries—P = 101.325 kPa, V = 24.465 L, and T = 298.15 K—calculate n:
- Multiply pressure by volume: 101.325 × 24.465 = 2479.997625 kPa·L.
- Multiply R by temperature: 8.314462618 × 298.15 ≈ 2478.96 kPa·L/mol.
- Divide: n = 2479.997625 ÷ (8.314462618 × 298.15) ≈ 1.000 mol.
Rounded to the calculator’s three decimal places, the result is 1.000 mol.
How Pressure, Volume, and Temperature Relate
The ideal gas law combines several familiar gas relationships. It applies to a specified amount of gas; if the amount remains constant, pressure, volume, and absolute temperature constrain one another. In plain terms, warming a gas in a container that cannot expand raises its pressure. Allowing it to expand instead can increase its volume, depending on the conditions.
For a fixed amount of gas, the combined gas law compares two states without needing to enter the number of moles:
P₁V₁/T₁ = P₂V₂/T₂
Use absolute pressure and kelvins for both states. This form is useful when a gas changes conditions and the question is how its pressure, volume, or temperature changes. The ideal gas law is more direct when the amount of gas is known or needs to be calculated.
When to Use the Ideal Gas Law
Use PV = nRT to estimate the state of a gas when its pressure, volume, temperature, and amount are known or when one of those quantities is unknown. It is commonly useful for introductory chemistry and physics problems, and for approximate calculations involving gases at relatively low pressure and sufficiently high temperature.
The calculator’s inputs are not four independent values: it uses three to solve for the fourth. In this version, the three entries are pressure, volume, and temperature, and the output is moles. To calculate a different unknown, rearrange the law—for example, P = nRT/V or V = nRT/P—and enter consistent units in the corresponding calculation.
Units and Common Mistakes
- Use kelvins, not Celsius or Fahrenheit. Convert Celsius with K = °C + 273.15. Convert Fahrenheit to Celsius first with °C = (°F − 32) × 5/9, then add 273.15. A temperature of 25°C is 298.15 K.
- Use absolute pressure. The law requires pressure measured from a vacuum, not gauge pressure measured relative to surrounding air. For example, convert a gauge reading to absolute pressure by adding the local atmospheric pressure, using consistent pressure units.
- Match units to R. A pressure in atmospheres cannot be combined directly with R expressed for kPa unless you convert the pressure or use the matching gas constant.
- Keep precision until the end. Rounding intermediate values can noticeably affect results in multi-step calculations. Round the final answer to suit the precision of the measurements.
For US customary measurements, convert volume to liters or cubic feet and pressure to a unit compatible with the chosen gas constant. Temperature must still be absolute: convert Fahrenheit to kelvins before using the law. It is often simpler to convert all measurements to SI-compatible units first. Do not mix cubic inches, cubic feet, psi, and a gas constant intended for liters and kPa.
Assumptions and Limits
The ideal gas law treats gas particles as having negligible volume and assumes their interactions are sufficiently small to ignore. Real gases depart from this model, especially at high pressure or near condensation, where particles are crowded or intermolecular effects matter. Under those conditions, the estimate may be inaccurate; a real-gas equation or measured property data may be needed.
Also check that the gas amount and the reported volume refer to the same sample and conditions. A gas can change volume when pressure or temperature changes, even if no gas is added or removed. The equation does not itself describe a reaction, leakage, or phase change; those require additional information.
Frequently Asked Questions
What is the pressure-volume-temperature formula?
The ideal gas formula is PV = nRT. P is absolute pressure, V is volume, n is amount in moles, T is temperature in kelvins, and R is the gas constant.
What is the formula when the amount of gas stays constant?
For two states of a fixed amount of gas, use P₁V₁/T₁ = P₂V₂/T₂. Pressure must be absolute and temperature must be in kelvins.
Can I use Celsius in PV = nRT?
No. Convert Celsius to kelvins by adding 273.15. The ideal gas law uses absolute temperature, whose zero is absolute zero.
Does pressure mean gauge pressure or absolute pressure?
Use absolute pressure. Gauge pressure is measured above local atmospheric pressure, so convert it by adding atmospheric pressure before using the equation.
When does the ideal gas law become inaccurate?
It can become less accurate at high pressures and near condensation or other conditions where gas particles interact significantly. In those cases, a real-gas model may be more appropriate.
Related
Formula used
in p | Pressure | kPa | 101.325 | 0 in v | Volume | L | 24.465 | 0 in t | Temperature | K | 298.15 | 0 out n | Amount of gas | mol | p * v / (8.314462618 * t) | 3
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, rounded as each result states. See how the calculators work or report an error.