Tool 510 · Gas-state solver
Ideal Gas Law Calculator
Solve PV = nRT in mixed units, add an optional measured compressibility factor Z, calculate gas density and mass, model a sealed gas state change, or analyze a gas mixture with Dalton’s law.
Exact SI coreR = 8.31446261815324 J·mol⁻¹·K⁻¹.
4 workflowsState solver, density/mass, state change, mixture.
Z-readyUse Z = 1 for ideal gas or enter measured compressibility.
Standards-awareIUPAC STP and legacy 1 atm are clearly separated.
Solve any one state variable
Leave exactly one of P, V, n or T blank. Units are normalized internally to Pa, m³, mol and K.
Gas state
Gas density and sample mass
State 1
State 2 — leave exactly one of P₂, V₂ or T₂ blank
Component amounts
One component per line: label, amount. Relative amounts are valid when total pressure is given because only mole fractions are needed. When pressure is calculated from V and T, the amounts must be actual moles.