Gas composition and calculations