Ideal Gas Law Calculator
Calculate pressure, volume, temperature, or number of moles of an ideal gas using the ideal gas law (PV = nRT).
Was this calculator helpful?
How to use this tool?
How to Use the Ideal Gas Law Calculator
- Enter three known values in the fields: Pressure (Pa), Volume (m³), Moles (mol), and Temperature (K). Leave the unknown field blank or empty.
- All values must be positive numbers (greater than zero). Use metric units only: pascals for pressure, cubic meters for volume, moles for amount, and kelvin for temperature.
- Click "Calculate" to compute the missing variable using the ideal gas law (PV = nRT) with R = 8.314462618 J/(mol·K).
- View the result displayed below, including the calculated value with its unit and a step-by-step breakdown of the formula used.
- If you see red validation errors, ensure exactly three fields are filled with positive numbers and one field is empty or zero.
Tip: Use scientific notation (e.g., 1.01325e5) for large or small numbers.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
The ideal gas law is PV = nRT, where P is pressure, V is volume, n is number of moles, R is the universal gas constant (8.314 J/(mol·K)), and T is temperature in Kelvin.
Enter any three of the four variables (pressure, volume, moles, temperature) with positive values, and leave the unknown field blank. Click 'Calculate' to get the result.
Pressure in pascals (Pa), volume in cubic meters (m³), moles in mol, temperature in kelvin (K). The gas constant R = 8.314462618 J/(mol·K).