# Ideal gas law

To the mobile version
 Pressure P = Pa mbar Bar atm Torr Volume V = cm³ l m³ Number n = Mol mmol Moleküle Temperature T = K °C °F Molar mass M = g / mol kg / mol Mass m = g kg

Rounding: significant digits.
Decimal sign:

This is a calculator covering the ideal gas law P·V = n·R·T. When three of the four quantities pressure P, volume V, molar number n, and temperature T are known, the fourth quantity is calculated for an ideal gas. When the molar mass of the gas is known, the mass of the gas can be used instead of the molar number.

Usage: Type the values of three quantities into the corresponding fields of either pressure, volume, number or temperature. Always choose the correct unit in the corresponding pull-down-menu before you type a value. The calculation is performed after a further click with the mouse on any free space of the window or on the "calculate" button. With the help of the pull-down-menus you can show the result in other units.
The calculation is performed using the values in those three input fields changed last. After the calculation, these fields are coloured lightgreen while the field displaying the calculated value is coloured pink. For another calculation with other values just type these into the corresponding fields. For another calculation with a value that has been calculated before, click on the radio button in front of the value. The lines with this quantity will be recolored light green and become input values for the next calculation.
After the molar mass of the gas has been typed in (the input field is coloured light grey), the mass will be calculated after a change of the mole number (also after a calculation). Vice versa the molar number will be calculated after a change of the mass.

Example: What is the number of molecules (in moleculec/cm³) of air under normal conditions. Type the following values: 1 cm³ for the volume, 1 atm or 1013.25 hPa for the pressure, and 0 °C for the temperature. After a click with the mouse on any free space of the window or on the "calculate" button you can read the result (2.6868·1019 molecules / cm³).
Now you want to calculate what is the mass of one cubic meter of air under the sane cinditions. An averaged molar mass of air of 28.9644 g/mol is assumed. Type this value into the corresponding field. The input fields for the molar mass show a light grey color after a further mouse click. Next change the input of the volume to 1 m³. After a click with the mouse on any free space of the window or on the "calculate" button you can read the result again (1.2922 kg / m³).

Remarks: