The equation of state for an ideal or perfect gas is the ideal gas law and reads. where P is the pressure, V is the volume, n is amount of gas (in mol units), R is the universal gas constant, 8.314 J/(mol K), and T is the temperature.