The state of a quantity of gaseous matter is formulated based on four different variables: pressure, volume, temperature and number of moles of gas. Then, the equation known as the ideal gas equation, explains the relationship between these four variables using the expression:
P*V=n*R*T
where P represents the gas pressure, V its volume, n the number of moles of gas, R the gas constant and T the gas temperature.