ChemistryOrganic chemistry

Hydrocarbons: Definition, Types, Sources and Examples

Space-filling model of a methane molecule, one carbon atom surrounded by four hydrogen atoms
Space-filling model of a methane molecule, one carbon atom surrounded by four hydrogen atoms. Image: Dbc334 and Jynto (Public domain), via Wikimedia Commons

A hydrocarbon is a compound made only of carbon and hydrogen atoms, such as methane (CH4), the main gas in natural gas. Hydrocarbons are the raw material for most fuels and many plastics. Their behavior depends on how the carbon atoms are joined together.

Contents

What is a hydrocarbon?

In plain words, a hydrocarbon is a molecule that contains nothing but carbon and hydrogen. Carbon is the element with atomic number 6, and each carbon atom forms four covalent bonds, which are links made by sharing electrons. Each hydrogen atom forms one bond. Because carbon can link to other carbon atoms, it builds long chains, branched chains and rings, and this gives hydrocarbons their large variety.

The formal definition, used by IUPAC, is an organic compound consisting only of carbon and hydrogen. Chemists place hydrocarbons in the organic family, which is the large group of carbon-based molecules, and the name describes the chemistry rather than where the substance comes from.

A hydrocarbon has no single symbol or SI unit, because it is a family of substances rather than one measured quantity. Each hydrocarbon is described by its formula and by its molar mass, the mass of one mole of the substance in grams per mole (g/mol). Methane has a molar mass of about 16.04 g/mol, ethane (C2H6) about 30.07 g/mol and benzene (C6H6) about 78.11 g/mol.

The simplest hydrocarbon is methane, with one carbon atom bonded to four hydrogen atoms. The four bonds point toward the corners of a tetrahedron, and the H–C–H bond angles are about 109.5°.

How the carbon skeleton is built

The carbon atoms form the skeleton of the molecule, and hydrogen atoms fill the remaining bonds. A simple way to picture the build is as a set of steps:

  • Link carbon atoms to each other to make a backbone, one bond at a time.
  • Add hydrogen atoms to each carbon until every carbon has four bonds in total.
  • Choose the bond type between carbons. Single bonds (one shared pair of electrons) give alkanes. Double bonds (two shared pairs) give alkenes. Triple bonds (three shared pairs) give alkynes.
  • Close the chain into a ring when needed. Benzene is a six-carbon ring with one hydrogen on each carbon.

Ethane is two carbon atoms joined by one single bond, with three hydrogens on each carbon. Ethene (C2H4) has a C=C double bond, and ethyne (C2H2) has a C≡C triple bond. In benzene the electrons are spread around the whole ring, so the simple picture of alternating single and double bonds is only an approximation. Chemists call this kind of bonding aromatic.

The formulas and a worked example

Each family follows a general formula, which links the number of hydrogen atoms to the number of carbon atoms. In the formula below, n is the number of carbon atoms in the molecule.

CnH2n+2

For alkanes, which are saturated hydrocarbons with only single bonds, the molecule has 2n + 2 hydrogen atoms. Alkenes with one C=C double bond follow CnH2n, and alkynes with one triple bond follow CnH2n−2.

Octane, a part of gasoline, has n = 8. Using the alkane formula, 2 × 8 + 2 = 18, so its formula is C8H18. Counting hydrogens this way is a quick check on any alkane formula.

Hydrocarbons burn in oxygen to give carbon dioxide and water. For methane:

CH4 + 2 O2 → CO2 + 2 H2O

Each side of this equation has 1 carbon, 4 hydrogen and 4 oxygen atoms, so the equation balances. Burning releases energy as heat, which is why hydrocarbons are used as fuels.

Sources, uses and environmental effects

The two main sources are crude oil and natural gas. Crude oil is a mixture of thousands of hydrocarbons. Refineries separate it by fractional distillation: the oil is heated, and the parts with different boiling points condense at different heights in a tall column. Long molecules that are too large for fuel are broken into smaller, more useful ones by cracking.

Hydrocarbons are used as fuels, as the starting material for plastics such as polyethylene, as solvents and as lubricants. Burning them adds carbon dioxide, a greenhouse gas, to the atmosphere. Incomplete combustion produces soot and carbon monoxide, which are harmful to health. Oil spills damage wildlife and coastlines, and hydrocarbon emissions from vehicles and factories add to air pollution.

Everyday examples

  • Cooking gas. Natural gas in many kitchens and heating systems is usually 70 to 90 percent methane.
  • Gasoline and diesel. These fuels are mixtures of hydrocarbons. Gasoline molecules typically have about 4 to 12 carbon atoms, and octane is one of the main components.
  • Candle wax. Paraffin wax is a mixture of long alkanes, usually with about 20 to 40 carbon atoms. The melted wax is drawn up the wick and burns in the flame.
  • Plastic bags and bottles. Polyethylene is a long chain of ethene units joined together.
  • Road surfaces. Asphalt is a thick, sticky mixture of heavy hydrocarbons that binds the stones in a road.

Hydrocarbons and other organic compounds

Every hydrocarbon is an organic compound, but not every organic compound is a hydrocarbon. Ethanol (C2H5OH) is organic, yet it contains oxygen, so it is an alcohol rather than a hydrocarbon. A simple test is to check the formula: if the molecule contains any element other than carbon and hydrogen, it is not a hydrocarbon.

Hydrocarbons are also not all the same. An alkane has only single bonds and is saturated. An alkene or alkyne has multiple bonds and is unsaturated, so it can add other atoms across its multiple bond. The atoms in every hydrocarbon are held together by covalent bonds, in which pairs of electrons are shared between atoms.

Who discovered it

Hydrocarbons were known long before chemists named them. People burned natural gas and used bitumen, a natural form of asphalt, for thousands of years. The modern understanding began in the 19th century, when chemists worked out that carbon atoms form four bonds and can link into chains and rings.

Michael Faraday isolated benzene in 1825 from a residue left after compressing oil gas. In 1865 August Kekulé proposed the ring structure of benzene, which helped explain why it behaves differently from alkenes. The naming rules that describe hydrocarbons systematically were developed and standardized by IUPAC during the 20th century.

Common mistakes and exam tips

  • Saying that hydrocarbons contain oxygen. They do not. Check the formula: only carbon and hydrogen are allowed.
  • Mixing up the bond types. Alkanes have only single bonds, alkenes have a C=C double bond, and alkynes have a C≡C triple bond. Use the general formula to check which family a molecule belongs to.
  • Forgetting to balance combustion equations. Count the atoms of each element on both sides. For methane, that means 4 hydrogens and 4 oxygens on each side.

More about Hydrocarbon

Frequently asked questions

What is a hydrocarbon in simple terms?

A hydrocarbon is a molecule made only of carbon and hydrogen atoms. Methane (CH4), the main gas in natural gas, is the simplest example. Hydrocarbons are the basis of most fuels and many plastics.

What is the difference between alkanes, alkenes and alkynes?

Alkanes have only single bonds between carbon atoms, alkenes have at least one C=C double bond, and alkynes have at least one C≡C triple bond. Alkanes are called saturated because they hold the most hydrogen for their carbon count.

Is methane a hydrocarbon?

Yes. Methane has one carbon atom bonded to four hydrogen atoms, so it contains only carbon and hydrogen. It is the smallest alkane and the main component of natural gas.

What are the main sources of hydrocarbons?

The two main natural sources are crude oil and natural gas, which form from buried organic matter over millions of years. Refineries separate crude oil into fuels and chemical feedstocks by fractional distillation.

Why are hydrocarbons used as fuels?

Hydrocarbons release a large amount of energy when they burn, because their C–H and C–C bonds are converted into stronger bonds in carbon dioxide and water. Complete combustion gives CO2 and water, while incomplete combustion can also produce carbon monoxide and soot.

Sources and further reading

  • IUPAC, "Compendium of Chemical Terminology" (the Gold Book)
  • OpenStax, "Organic Chemistry"
  • Encyclopaedia Britannica, "Hydrocarbon"

Cite this page

“Hydrocarbons: Definition, Types, Sources and Examples.” Atoms & Forces, https://science.bigworldlist.com/chemistry/hydrocarbon/.