Ideal Gas Calculator
Solve PV = nRT for pressure, volume, amount or temperature, with pressure shown in kPa, atm and mmHg.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
P V = n R T, with R = 8.314 kPa L / (mol K)
Frequently asked questions
What are standard conditions?
273.15 K and 100 kPa (STP now); 273.15 K and 101.325 kPa is the older definition.
When is the ideal gas law inaccurate?
At high pressure or low temperature, where molecules attract and take up space.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Gas Laws Calculator
Solve the combined gas law for pressure, volume or temperature after a change, covering Boyle's, Charles's and Gay-Lussac's laws.
Mole Calculator
Convert between grams, moles and number of particles for any substance using its molar mass and Avogadro's number.
Reaction Rate Calculator
Find the average rate of a reaction from a change in concentration over time, and the rate from a rate law with a chosen order.