calculator.onl
Categories50

Ideal gas law calculator

Solve pressure, volume, amount or temperature using pV = nRT.

A worked example

Double the gas volume at the same temperature. Watch the piston rise and read the pressure gauge.

Selected unknown101.5577 kPaAbsolute pressure101.5577 kPaVolume24 LAbsolute temperature293.15 K
Choose the unknown; enter the other three quantities.

L
Positive gas volume in litres.

mol
Positive amount of gas in moles.

K
Positive absolute temperature in Kelvin; K = °C + 273.15.

Updates as you type

Check the entered ranges and geometry; counts must be whole numbers.

YOUR RESULT

Selected unknown

101.5577 kPa

Calculated from your inputs

Absolute pressure101.5577 kPa
Volume24 L
Amount of gas1 mol
Absolute temperature293.15 K
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

At fixed temperature and amount of gas, doubling the ideal-gas volume halves the calculated absolute pressure. Change “Volume” from 24 L to 48 L and keep the other inputs from the worked example. The value for “Selected unknown” goes from 101.5577 kPa to 50.7788 kPa. For a related calculation, try Molarity, Concentration & Dilution Calculator.

What to enter

InputWhat it meansExample value
Solve forChoose the unknown; enter the other three quantities.Absolute pressure
Absolute pressureAbsolute pressure in kPa, not gauge pressure.—
VolumePositive gas volume in litres.24 L
Amount of gasPositive amount of gas in moles.1 mol
Absolute temperaturePositive absolute temperature in Kelvin; K = °C + 273.15.293.15 K

How the calculation works

  1. Choose the unknown and enter the three known values.
  2. Rearrange pV = nRT using R = 8.31446261815324 kPa·L/(mol·K).
  3. Read the selected unknown first, then inspect the full state and p–V curve.
The formulapV = nRT; R = 8.31446261815324 kPa·L/(mol·K)

A worked example

Example: n = 1 mol, T = 293.15 K and V = 24 L gives p ≈ 101.5577 kPa.

Example you can load

What to enter
Result for this example · Selected unknown101.5577 kPa

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Ideal-gas approximation with positive absolute pressure and Kelvin temperature. Real gases may differ, especially near condensation or at high pressure.

Frequently asked questions

Can I enter Celsius?

Convert to Kelvin first by adding 273.15.

Can I use gauge pressure?

No. Convert to absolute pressure using the applicable ambient pressure.

What stays fixed on the curve?

The calculated amount n and temperature T; pressure varies inversely with volume.