STP Calculator

Calculate gas volume, pressure, temperature, or moles at standard temperature and pressure.

Enter known values to calculate

What Is the STP Calculator?

This STP calculator computes the volume, pressure, temperature, or number of moles of an ideal gas under standard temperature and pressure conditions. Standard temperature is defined as 0 °C (273.15 K) and standard pressure as 1 atm (101.325 kPa). The tool applies the ideal gas law to determine the unknown variable when the other three are known.

It is primarily used in chemistry and physics to convert gas measurements to standard conditions, enabling consistent comparisons between experiments and calculations.

How the Calculation Works

The calculator uses the ideal gas law equation:

PV = nRT

Where:

At STP, the temperature is fixed at 273.15 K and pressure at 1 atm. If you provide any three of the four variables, the calculator solves for the fourth using the rearranged form of the ideal gas law. The tool assumes ideal gas behavior, which is accurate for most gases at moderate pressures and temperatures.

How to Use the STP Calculator

  1. Enter the known values for volume, pressure, temperature, and moles. Leave the field you want to calculate blank.
  2. Ensure units match the expected format: volume in liters, pressure in atm, temperature in Kelvin, and moles in mol.
  3. Click the calculate button. The missing value will be computed and displayed.

If you are working with conditions that differ from standard temperature and pressure, adjust the temperature and pressure fields accordingly. The calculator does not enforce STP values — it simply applies the ideal gas law to whatever inputs you provide.

Example Calculation

Suppose you have 2.0 moles of an ideal gas at standard temperature and pressure. To find the volume:

Using PV = nRT, volume V = nRT / P = (2.0 × 0.082057 × 273.15) / 1 = 44.8 L. This matches the known molar volume of an ideal gas at STP (22.4 L/mol × 2 mol = 44.8 L).

Understanding Your Results

The output value is calculated to three decimal places by default. For volume, the result represents the space the gas would occupy under the specified conditions. For pressure, it indicates the force exerted per unit area. Temperature is given in Kelvin, and moles represent the amount of substance.

If the result seems unexpected, verify that all input values are in the correct units and that you have not left more than one field blank. The calculator cannot solve for multiple unknowns simultaneously.

Common Mistakes to Avoid

Limitations of the Calculator

This tool applies the ideal gas law, which assumes no intermolecular forces and negligible molecular volume. It is most accurate for monatomic gases at low to moderate pressures. For gases near their condensation point or under extreme pressure, results may differ from experimental measurements. The calculator does not account for gas mixtures or non-ideal behavior corrections such as the van der Waals equation.

Practical Use Cases

FAQ

What does STP stand for?

STP stands for Standard Temperature and Pressure. The standard temperature is 0 °C (273.15 K) and standard pressure is 1 atm (101.325 kPa). These conditions are used as a reference point for gas measurements.

Can I use this calculator for real gases?

The calculator uses the ideal gas law, which is a good approximation for many real gases at moderate temperatures and pressures. For highly accurate work with real gases, corrections such as the van der Waals equation may be needed.

What units should I use?

Volume must be in liters, pressure in atm, temperature in Kelvin, and moles in mol. If your data is in different units, convert them before entering values.

Why is my result showing an error?

An error typically occurs when more than one field is left blank, or when a non-numeric value is entered. Ensure exactly one input field is empty and all others contain valid numbers.

What is the molar volume of an ideal gas at STP?

At STP, one mole of an ideal gas occupies 22.414 liters. This value is derived from the ideal gas law and is a useful reference for stoichiometric calculations.