Ideal Gas Law Calculator (PV = nRT)
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.
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.
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
Oven Temperature Converter
Convert oven temperatures between °C, °F and gas mark, with fan (convection) settings and heat-level names.
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.
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.
Decibel Calculator (dB ↔ Ratio, dB SPL Summation)
Convert between decibels and linear ratios for either voltage/SPL (20·log) or power (10·log), sum multiple dB SPL sources logarithmically, and look up reference levels (dBV, dBu, dBm, dBFS, dB SPL, dBW, dBi) and common everyday loudness values.
Pressure Converter
Convert pressure between pascals, kilopascals, megapascals, bar, psi, atmospheres and mmHg (Torr) — all at once.
Volume Converter
Convert volume between mL, litre, m³ and US teaspoon, tablespoon, fluid ounce, cup, pint, quart and gallon — all at once.