Percentage purity calculations and gas volume calculations