Calculating Gas