For solar elemental abundances, take a molecular hydrogen- and helium-dominated atmosphere with atmospheric carbon-to-oxygen ratio near . The principal oxygen-bearing molecule is generally water; the carbon and nitrogen carriers depend on both temperature and pressure.
At the cool observable upper layers, methane is the expected main carbon reservoir under chemical equilibrium, with abundant water and much less carbon monoxide. At the hotter layers approaching , carbon monoxide becomes the main carbon carrier and water contains much of the oxygen not bound in it. The relevant law of mass action follows from
Lower temperature favors the exothermic methane-forming direction, while increasing pressure favors the side with fewer molecules. This explains why the change of dominant carrier cannot be specified by temperature alone.
Nitrogen is distributed between molecular nitrogen and ammonia. Cooling favors ammonia, but low pressure favors molecular nitrogen; it is therefore unsafe to call ammonia dominant throughout the low-pressure region. The exact partition requires the equilibrium constant for .
Carbon dioxide is usually a minor constituent at solar composition; hydrogen cyanide and acetylene are much less abundant than the principal carbon carriers in this oxygen-rich equilibrium case. Condensation can remove refractory species where a condensation curve is crossed. The robust cool-atmosphere expectation is a molecular hydrogen–helium background with methane and water, changing toward carbon monoxide in hotter layers. Precise mixing ratios require thermodynamic data and an explicitly specified elemental inventory after rainout.
At fixed temperature and pressure, the atmospheric carbon-to-oxygen ratio controls the division of the elemental inventory among carbon monoxide, methane, water and other molecules. For an oxygen-rich mixture, water can remain after carbon monoxide consumes its share of oxygen. Increasing the atmospheric carbon-to-oxygen ratio reduces the oxygen available for water, particularly in the hotter layers where carbon monoxide is stable. Near or above unity there, water can become strongly depleted while excess carbon feeds methane, hydrogen cyanide and acetylene. This familiar hot carbon-rich behavior should not be applied unchanged to every cool layer: at , methane formation can leave substantial water even at high atmospheric carbon-to-oxygen ratio.
Increasing the atmospheric metallicity of a giant planet at fixed elemental ratios increases the heavy-element inventory relative to molecular hydrogen and helium. Abundances of water and the major carbon-bearing molecules generally rise while molecular hydrogen remains dominant. In that regime, the law of mass action for gives
Where carbon monoxide and water each scale roughly linearly with enrichment , carbon dioxide consequently scales approximately as . This scaling changes when molecular hydrogen ceases to dominate or chemical partitioning changes. Higher enrichment can also favor carbon monoxide over methane at fixed conditions, increase mean molecular weight, and reduce the atmospheric scale height and transmission-feature amplitudes. Cloud formation and atmospheric condensate rainout alter the observable elemental ratios relative to the bulk ones.