Ideal Gas Law Calculator (PV = nRT)
Solve PV = nRT for pressure, volume, moles or temperature, with Pa/kPa/bar/atm/mmHg/psi, mL/L/m³, mol/mmol and K/°C/°F units.
Result
22.41397 L
PV = nRT · R = 8.314 J/(mol·K)
PV = nRT with R = 8.314 J/(mol·K). Inputs are converted to SI (Pa, m³, mol, K) internally; temperature must be absolute.
How to use
- Choose which variable to solve for: P, V, n or T.
- Enter the other three with their units (temperature is converted to kelvin internally).
- Read the result in the unit you picked for the unknown.
About this tool
ShowHide
The ideal gas law PV = nRT links the four state variables of a gas: pressure P, volume V, amount in moles n and absolute temperature T, tied together by the gas constant R = 8.314 J/(mol·K). Give this calculator any three and it solves for the fourth, converting every input to SI internally so you can mix units freely — pressure in Pa, kPa, bar, atm, mmHg (torr) or psi; volume in mL, L or m³; amount in mol or mmol; and temperature in kelvin, Celsius or Fahrenheit. For example, one mole at 1 atm and 273.15 K occupies 22.414 L, the molar volume at STP. The result comes back in whatever unit you selected for the unknown.
Frequently asked questions
What is the ideal gas law?
PV = nRT, where P is pressure, V volume, n the amount in moles, T absolute temperature and R = 8.314 J/(mol·K) the universal gas constant. It models a gas whose particles have negligible volume and no interactions.
Why must temperature be absolute?
The law uses kelvin because pressure and volume scale with absolute temperature. This tool converts Celsius or Fahrenheit to kelvin for you before computing.
What volume does one mole occupy?
At STP (1 atm, 273.15 K) one mole of an ideal gas occupies 22.414 L; at 1 bar and 273.15 K it is 22.711 L. Enter those values to verify.
When does the ideal gas law break down?
It is least accurate at high pressure and low temperature, where molecular volume and attractions matter. Real-gas equations like van der Waals correct for that.
Related tools
Triangle Solver: SSS, SAS, ASA, AAS & SSA
Solve any triangle from three known sides and angles — SSS, SAS, ASA, AAS or the ambiguous SSA case — with area, perimeter, radii, heights and medians.
Math & Statistics
Oven Temperature Converter
Convert oven temperatures between °C, °F and gas mark, with fan (convection) settings and heat-level names.
Convert
Molarity Calculator
Convert between mass, moles, volume and molar concentration of a solution — solve for molarity, the mass to weigh out, or the volume to make up.
Science & Engineering
RC & RL Filter and Time Constant Calculator
Time constant, cutoff frequency, step response and low- or high-pass gain and phase of an RC or RL circuit, plus the time to reach a voltage.
Science & Engineering
Psychrometric Calculator (Moist Air Properties)
From dry bulb plus relative humidity, wet bulb, dew point or humidity ratio, get every moist-air property: enthalpy, specific volume, density and more.
Science & Engineering
Ohm's Law Calculator
Solve V, I, R, P from any two known values. V=IR, P=VI, P=V²/R, P=I²R — pick which pair you have, get the other two instantly.
Science & Engineering