Step 3: Use the ideal gas law equation, PV = nRT, to solve for the final pressure. In this equation, P is the pressure, V is the volume, n is the number of moles, R is the ideal gas constant, and T is the temperature. The ideal gas constant (R) can be taken as 0.0821 L·atm/(K·mol) when the volume is in liters and the temperature is in Kelvin.