Gas Equilibrium Calculator