Methane is a chemical compound with the chemical formula CH4. It is a group-14 hydride and the simplest alkane, and is the main constituent of natural gas. Methane in the atmosphere is a greenhouse gas.