Ideal Gas Law Calculator
The ideal gas law relates absolute pressure, gas volume, amount of substance and absolute temperature.
How to use this calculator
- Enter absolute pressure, volume in litres and temperature in Celsius.
- Confirm that all inputs use the stated units and the same population, period or scope.
- Change one assumption at a time when comparing scenarios.
Formula used by the ideal gas law calculator
n = PV/(RT)
- n = PV/(RT)
- Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.
- Inputs are validated against required ranges and outputs are rounded for readability.
Worked examples
Worked example
101.325 kPa, 24.465 L and 20°C.
The calculation estimates moles under ideal-gas assumptions.
The calculation estimates moles under ideal-gas assumptions.
Understanding the result
The ideal gas law relates absolute pressure, gas volume, amount of substance and absolute temperature.
Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.
Important notes
Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.
Use the result as a calculation aid for the inputs supplied; confirm critical specifications independently.
Frequently asked questions
Why use Kelvin?
Gas-law relationships require absolute temperature rather than a relative Celsius scale.
Can gauge pressure be entered?
Convert gauge pressure to absolute pressure first.
How do I use this calculator?
Enter absolute pressure, volume in litres and temperature in Celsius.
Affiliate recommendations
Tools related to Ideal Gas Law Calculator
These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.
- Growth Wise SAT & ACT prep Visit partner ↗
SAT and ACT study tools, flashcards, and preparation resources for students.
See the Affiliate Disclosure for details.
Related calculators
- Ideal Gas Pressure Calculator — Estimate ideal-gas pressure from amount of gas, absolute temperature and container volume using SI units.
- Ohm's Law Calculator — Calculate voltage, current, or resistance from the other two electrical quantities.
- Coulomb’s Law Calculator — Estimate electrostatic force between two point charges and determine whether their signs imply attraction or repulsion.
- Conductor Resistance from Resistivity Calculator — Estimate conductor resistance from material resistivity, length and cross-sectional area with unit conversion.
- Solution Dilution Calculator — Estimate final concentration and solvent volume using solute conservation in a dilution.
- Spring Force Calculator — Calculate ideal spring force magnitude from a spring constant and displacement using Hooke’s law.
Related explanations
Learn the method behind the number or compare the terminology before using the calculator.
- How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
- Simple Interest Formula and Examples — Learn the simple interest formula, how to solve for principal, rate, time, and final amount.
- Percent Difference — Understand percent difference, when it is appropriate, and how it differs from percentage change and percent error.
This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.