Ideal Gas Law Calculator
Solve pressure, volume, temperature, or amount of gas from the other three values with PV = nRT. Mix practical units without doing the rearrangement or conversions by hand.
P = nRT / V gives about 1 atm.
Ideal-gas approximation only. Useful for homework, lab setup, and rough engineering checks, but it does not model real-gas behavior, gas-specific properties, or safety certification.
Was this useful?
Examples
How It Works
Formula
Variables
- Pressure
- Volume
- Amount of gas(mol)
- Ideal gas constant(8.314462618 Pa·m^3/(mol·K))
- Absolute temperature(K)
Choose the unknown, enter the other three gas-state values with their units, and the calculator rearranges PV = nRT. It converts pressure, volume, and temperature into one internal basis before solving, then converts the answer back into your chosen display unit.
The ideal gas law relates pressure, volume, amount of gas, and absolute temperature through PV = nRT. This calculator converts pressure to pascals, volume to cubic metres, and temperature to Kelvin, solves the rearranged equation for the active mode, and then converts the solved value back into your selected output unit. The full state summary keeps P, V, n, and T visible together so you can sanity-check the whole gas state instead of trusting a single number.