How to use the ideal gas law calculator
Find pressure of an ideal gas from moles, temperature and volume. Enter amount, temperature, volume in the fields above; the pressure, pressure, pressure are computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- n β Amount (mol)
- T β Temperature (K)
- V β Volume (L)
Worked example
With amount = 1 mol, temperature = 298.15 K, volume = 24.5 L, the calculator gives pressure β 101.1819 kPa; pressure β 0.9985879 atm; pressure β 1.011819 bar.
Frequently asked questions
What is the formula for the ideal gas law calculation?
Pressure (kPa) = n Γ RGAS Γ T / V. Pressure (atm) = [Pressure] Γ 1000 / ATM. Pressure (bar) = [Pressure] / 100. Here n is amount (mol), T is temperature (K), V is volume (L).
What inputs do I need for the ideal gas law (pv = nrt) calculator?
You need amount in mol, temperature in K, volume in L. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.