pV = nRT. where p = pressure, V = volume, n = quantity of moles regarding gas, R = universal gas constant, T = temperatures within Kelvin. You would need to convert mass in to the quantity of moles of gas through dividing mass from the relative molecular mass with the gas. After that, rearranging the above mentioned provides V = (nRt / p).