Calculator

Ideal gas law

With this formula you can calculate the pressure, the volume, the amount of substance and the temperature of an ideal gas.

p × V = n × R × T
() [Pa] × () [m³] = () [mol] × R × () [K]

To fill in a variable, click on a bracket "()", a variable or a unit.
Input a number or a calculation, choose a unit and click on the button "Insert input".
The variable that you want to calculate, should be empty or filled in with an "x"/"X".
If everything is filled in correctly, a button ("Calculate") shoud appear, that has to be pressed.

If the calculation duration is too long (over 10 seconds) or an error occurs, check if every variable is filled in correctly.

Variables

p Pressure
V Volume
n Amount of substance
R Gas constant = 8.314462618 [kg m2 s-2 mol⁻¹ K⁻¹]
T Temperature
{solns = solve([}
{(}
{()}
{*}
{1}
{)}
{*}
{(}
{()}
{*}
{1}
{)}
{==}
{(}
{()}
{*}
{1}
{)}
{*}
{(}
{8.314462618}
{*}
{1}
{)}
{*}
{(((}
{()}
{+}
{0))}
{)}
{}