Ideal Gas Law Calculator – How It Works, Formulas, and Examples
The Ideal Gas Law Calculator helps you find one variable (Pressure , Volume , Moles of Gas , or Temperature ) when the other three variables are known. It uses the ideal gas law equation:
where:
- = Pressure
- = Volume
- = Moles of gas
- = Ideal Gas Constant (8.314 J/(mol·K))
- = Temperature (in Kelvin)
This calculator provides the flexibility to choose different units for pressure, volume, and temperature and allows the user to select the units in which the answer should be presented.
Using the Calculator:
-
Choose the Calculation Type Select which variable you wish to calculate from the dropdown:
- Pressure (P) – Given volume , moles of gas , and temperature .
- Volume (V) – Given pressure , moles of gas , and temperature .
- Moles (n) – Given pressure , volume , and temperature .
- Temperature (T) – Given pressure , volume , and moles of gas .
-
Input the Known Variables Enter the known values for the selected variables. Each field corresponds to one of the variables in the ideal gas equation. You must input values for the three variables that are not being calculated.
-
Select Units for Each Variable Select the appropriate units for:
- Pressure (Pa, atm, mmHg, etc.)
- Volume (m³, cm³, L, etc.)
- Temperature (K, °C, °F, °R)
The calculator will handle the necessary conversions to ensure accurate calculations.
-
Choose Units for the Answer Select the desired units in which the result should be presented (Pa for pressure, m³ for volume, K for temperature, and mol for moles).
-
Click ‘Calculate’ Press the “Calculate” button to find the unknown variable. The answer will be displayed in the selected units.
-
Click ‘Clear’ to Reset Press the “Clear” button to reset the form for a new calculation.
Formulas and Examples:
-
Calculate Pressure Formula:
Example: Find the pressure when , , .
-
Calculate Volume Formula:
Example: Find the volume when , , .
-
Calculate Moles Formula:
Example: Find the number of moles when , , . (Convert volume to : 22.4 L = 0.0224 )
-
Calculate Temperature Formula:
Example: Find the temperature when , , .
Quick Tips:
- Ensure all input units are correctly selected.
- Use the conversion features provided by the calculator to get accurate results in your desired units.
- The calculator uses the universal gas constant .