Hydrocarbons and Naming Alkanes

What are hydrocarbons and how do you name alkanes?

IntermediateOrganic ChemistryLast reviewed 4 October 2026

What is it?

Organic chemistry is the chemistry of carbon compounds. Carbon is special because each carbon atom forms four covalent bonds and can bond to other carbon atoms, building chains, branches and rings of almost any size.

The simplest organic compounds are hydrocarbons, which contain only carbon and hydrogen. They form three families:

  • Alkanes: only C–C single bonds. General formula CXnHX2n+2\ce{C_{n}H_{2n+2}}. Example: ethane, CX2HX6\ce{C2H6}.
  • Alkenes: at least one C=C double bond. General formula CXnHX2n\ce{C_{n}H_{2n}}. Example: ethene, CX2HX4\ce{C2H4}.
  • Alkynes: at least one C≡C triple bond. General formula CXnHX2n−2\ce{C_{n}H_{2n-2}}. Example: ethyne, CX2HX2\ce{C2H2}.

Alkanes are called saturated: each carbon holds as many hydrogen atoms as possible. Alkenes and alkynes are unsaturated.

Key idea

Each family is a homologous series: a set of compounds with the same general formula and similar chemistry, in which each member differs from the next by one CHX2\ce{CH2} unit. The name tells you the number of carbons (the stem) and the family (the ending: -ane, -ene, -yne).

Why does it matter?

  • Fuels. Natural gas (methane), bottled gas (propane and butane), petrol (mostly CX5\ce{C5} to CX10\ce{C10}) and diesel are hydrocarbons.
  • Materials. Ethene and propene are the starting materials for the plastics polyethylene and polypropylene.
  • Language. The alkane names are the foundation of every other organic name: ethanol, ethanoic acid and ethyl ethanoate all start from “eth-” (2 carbons).

How does it work?

1. The first ten stems

CarbonsStemAlkane
1meth-methane, CHX4\ce{CH4}
2eth-ethane, CX2HX6\ce{C2H6}
3prop-propane, CX3HX8\ce{C3H8}
4but-butane, CX4HX10\ce{C4H10}
5pent-pentane, CX5HX12\ce{C5H12}
6hex-hexane, CX6HX14\ce{C6H14}
7hept-heptane, CX7HX16\ce{C7H16}
8oct-octane, CX8HX18\ce{C8H18}
9non-nonane, CX9HX20\ce{C9H20}
10dec-decane, CX10HX22\ce{C10H22}

2. Four ways to draw a molecule

Butane can be written as:

  • Molecular formula: CX4HX10\ce{C4H10} (atoms only, no structure).
  • Structural formula: every atom and every bond drawn out.
  • Condensed formula: CHX3CHX2CHX2CHX3\ce{CH3CH2CH2CH3} (each carbon with its hydrogens, in order).
  • Skeletal formula: a zigzag line. Each corner and line end is a carbon atom; hydrogen atoms on carbon are not drawn.

Around each carbon in an alkane the four bonds point to the corners of a tetrahedron (109.5°), which is why chains are zigzag, not straight.

3. Naming branched alkanes (IUPAC rules)

  1. Find the longest continuous carbon chain. It gives the parent name (for example, 5 carbons: pentane). The chain may bend; it does not have to be the one written in a straight line.
  2. Number the chain from the end that gives the branches the lowest numbers (locants).
  3. Name each branch (substituent) from its number of carbons with the ending -yl: methyl, CHX3X−\ce{CH3-}; ethyl, CX2HX5X−\ce{C2H5-}.
  4. If a substituent appears more than once, use di-, tri-, tetra-, and give a locant for each one.
  5. List different substituents in alphabetical order (ignore di-, tri-). Use commas between numbers and hyphens between numbers and words: 2,3-dimethylpentane, 3-ethyl-2-methylhexane.

4. Structural isomers

Structural isomers have the same molecular formula but different arrangements of atoms. CX4HX10\ce{C4H10} has two (butane and 2-methylpropane); CX5HX12\ce{C5H12} has three (see the figure); CX6HX14\ce{C6H14} has five. Isomers are different compounds with different properties: more branching makes molecules more compact, so their attractions are weaker and their boiling points lower.

5. Alkenes and alkynes

Name them like alkanes, but the longest chain must contain the multiple bond, and you number it from the end that gives the double or triple bond the lowest locant. Write the locant of the first carbon of the double bond before the ending:

  • CHX2=CHCHX2CHX3\ce{CH2=CHCH2CH3} is but-1-ene; CHX3CH=CHCHX3\ce{CH3CH=CHCH3} is but-2-ene.

6. Combustion

In plenty of oxygen, hydrocarbons burn completely to carbon dioxide and water, releasing a lot of energy:

CX3HX8+5 OX2→3 COX2+4 HX2O\ce{C3H8 + 5O2 -> 3CO2 + 4H2O}

With too little oxygen, incomplete combustion also forms carbon monoxide (CO, a toxic gas) and soot (C).

Think of it like this

An IUPAC name is like a postal address. The parent chain is the street (“pentane”), the locants are the house numbers (“2-”), and the substituents are what is at each house (“methyl”). Anyone who reads the address can find exactly one molecule, and every molecule has exactly one correct address.

More precisely

Hydrocarbon chains can also close into rings. Cycloalkanes such as cyclohexane, CX6HX12\ce{C6H12}, have the general formula CXnHX2n\ce{C_{n}H_{2n}}, the same as alkenes, so a formula alone does not tell you the family. The boiling-point trend comes from London dispersion forces, which grow with the size and surface contact of the molecules: longer chains have higher boiling points, and branched isomers lower ones.

Visualise it

Skeletal formulas of the three isomers of C5H12. Pentane: a zigzag chain of five carbons numbered 1 to 5, condensed formula CH3CH2CH2CH2CH3, boiling point 36 °C. 2-Methylbutane: a four-carbon chain numbered 1 to 4 with a methyl branch on carbon 2, condensed formula CH3CH(CH3)CH2CH3, boiling point 28 °C. 2,2-Dimethylpropane: a three-carbon chain with two methyl branches on carbon 2, condensed formula C(CH3)4, boiling point 10 °C. More branching gives a lower boiling point.
Same formula, three compounds: the more branched the skeleton, the lower the boiling point.

Worked example

Worked example: Naming a branched alkane

Question: Name CHX3CH(CHX3)CHX2CH(CHX3)CHX3\ce{CH3CH(CH3)CH2CH(CH3)CH3}.

  1. Longest chain: the five carbons written in a row, so the parent is pentane.
  2. Number the chain: the methyl groups are on carbons 2 and 4 from either end, so the locants are 2 and 4.
  3. Two methyl groups: dimethyl.
  4. Name: 2,4-dimethylpentane (molecular formula CX7HX16\ce{C7H16}, which fits CXnHX2n+2\ce{C_{n}H_{2n+2}}).

Worked example: Finding the hidden longest chain

Question: A student names CHX3CH(CX2HX5)CHX2CHX3\ce{CH3CH(C2H5)CH2CH3} as “2-ethylbutane”. Find the correct name.

  1. Follow the chain through the ethyl group: CHX3\ce{CH3} and CHX2\ce{CH2} of the ethyl branch plus three more carbons give a chain of 5, not 4.
  2. The parent is therefore pentane, with one CHX3\ce{CH3} branch on carbon 3 (counting from either end).
  3. Correct name: 3-methylpentane. An ethyl group on carbon 2 is always a sign that the longest chain was missed.

Worked example: Mass of carbon dioxide from burning propane

Question: What mass of COX2\ce{CO2} forms when 11.0 g of propane burns completely? (CX3HX8\ce{C3H8} = 44.09 g/mol; COX2\ce{CO2} = 44.01 g/mol)

  1. Equation: CX3HX8+5 OX2→3 COX2+4 HX2O\ce{C3H8 + 5O2 -> 3CO2 + 4H2O}
  2. n(CX3HX8)=11.0 g44.09 g/mol=0.2495 moln(\ce{C3H8}) = \dfrac{11.0\ \text{g}}{44.09\ \text{g/mol}} = 0.2495\ \text{mol}
  3. n(COX2)=0.2495 mol CX3HX8×3 mol COX21 mol CX3HX8=0.7485 moln(\ce{CO2}) = 0.2495\ \text{mol}\ \ce{C3H8} \times \dfrac{3\ \text{mol}\ \ce{CO2}}{1\ \text{mol}\ \ce{C3H8}} = 0.7485\ \text{mol}
  4. m(COX2)=0.7485 mol×44.01 g/mol=m(\ce{CO2}) = 0.7485\ \text{mol} \times 44.01\ \text{g/mol} = 32.9 g

Common mistake

Common mistake: Not finding the longest chain

The longest chain is often bent on paper. Names such as “2-ethylbutane” or “1-methylbutane” are always wrong: a 2-ethyl or 1-methyl group means the chain could have been longer (3-methylpentane and pentane).

Common mistake: Numbering from the wrong end

CHX3CHX2CHX2CH(CHX3)CHX3\ce{CH3CH2CH2CH(CH3)CH3} is 2-methylpentane, not 4-methylpentane. Number from the end nearer the branch.

Common mistake: Ordering substituents by number instead of alphabet

Substituents are listed alphabetically, and di-, tri- do not count: 3-ethyl-2,3-dimethylpentane, not 2,3-dimethyl-3-ethylpentane (“e” comes before “m”).

Notation note

  • Current IUPAC names put the locant just before the ending (but-1-ene); older books write 1-butene. Both mean the same compound.
  • In condensed formulas, a group in brackets is a branch on the carbon before it: CHX3CH(CHX3)CHX3\ce{CH3CH(CH3)CH3} is 2-methylpropane.
  • R stands for “the rest of the molecule”, a carbon chain of any length.

Remember this

Remember this

  • Alkanes CXnHX2n+2\ce{C_{n}H_{2n+2}} (single bonds), alkenes CXnHX2n\ce{C_{n}H_{2n}} (C=C), alkynes CXnHX2n−2\ce{C_{n}H_{2n-2}} (C≡C).
  • Stems: meth 1, eth 2, prop 3, but 4, pent 5, hex 6, hept 7, oct 8, non 9, dec 10.
  • Naming: longest chain → lowest locants → substituents (-yl) with di-/tri- → alphabetical order.
  • Isomers: same molecular formula, different structure; more branching → lower boiling point.
  • Complete combustion: hydrocarbon + OX2\ce{O2} → COX2\ce{CO2} + HX2O\ce{H2O}.

Test yourself

Check your understanding before moving on.

Flashcards

Hydrocarbons and Naming Alkanes: Flashcards

10 cards

  1. Question
    What is a hydrocarbon?
    Answer

    A compound containing only carbon and hydrogen.

  2. Question
    General formula of the alkanes?
    Answer

    CₙH₂ₙ₊₂ (only C–C single bonds), e.g. propane C₃H₈.

  3. Question
    General formulas of the alkenes and the alkynes?
    Answer

    Alkenes CₙH₂ₙ (one C=C); alkynes CₙH₂ₙ₋₂ (one C≡C).

  4. Question
    Saturated or unsaturated: what is the difference?
    Answer

    Saturated (alkanes): only single C–C bonds, maximum H. Unsaturated (alkenes, alkynes): at least one C=C or C≡C.

  5. Question
    What is a homologous series?
    Answer

    A family with the same general formula and similar chemistry, each member differing from the next by CH₂.

  6. Question
    Stems for 1 to 10 carbons?
    Answer

    meth, eth, prop, but, pent, hex, hept, oct, non, dec.

  7. Question
    The steps for naming a branched alkane?
    Answer

    Longest chain → number for lowest locants → name branches (methyl, ethyl) with di-/tri- → list alphabetically.

  8. Question
    What are structural isomers?
    Answer

    Compounds with the same molecular formula but different arrangements of atoms, e.g. butane and 2-methylpropane (C₄H₁₀).

  9. Question
    How does branching affect the boiling point of isomers?
    Answer

    More branching → more compact molecules → weaker dispersion forces → lower boiling point (pentane 36 °C, 2,2-dimethylpropane 10 °C).

  10. Question
    Products of complete and of incomplete combustion of a hydrocarbon?
    Answer

    Complete: CO₂ + H₂O. Incomplete (too little O₂): also CO and soot (C).

Quiz

Hydrocarbons and Naming Alkanes: Quiz

7 questions

  1. Question 1EasyWhich is the general formula of the alkanes?
    Show answer

    Answer: CₙH₂ₙ₊₂

    Alkanes have only single bonds, so each carbon carries the maximum number of hydrogens: CₙH₂ₙ₊₂ (e.g. C₃H₈). CₙH₂ₙ is the alkenes and CₙH₂ₙ₋₂ the alkynes.

  2. Question 2EasyWhat is the molecular formula of heptane?
    Show answer

    Answer: C₇H₁₆

    Hept- means 7 carbons; for an alkane, H = 2(7) + 2 = 16.

  3. Question 3MediumWhat is the IUPAC name of CH₃CH₂CH₂CH(CH₃)CH₃?
    Show answer

    Answer: 2-methylpentane

    The longest chain has 5 carbons. Numbering from the end nearer the branch puts the methyl on carbon 2, not 4. (Hexane is an isomer, but it is the unbranched chain.)

  4. Question 4MediumHow many structural isomers have the formula C₅H₁₂?
    Show answer

    Answer: 3

    Pentane, 2-methylbutane and 2,2-dimethylpropane.

  5. Question 5MediumWhich of these names is correct?
    Show answer

    Answer: 3-methylpentane

    2-Ethylbutane and 1-methylbutane miss the longest chain (they are 3-methylpentane and pentane). "2-dimethyl" needs two locants: 2,2-dimethylpropane.

  6. Question 6MediumWhich compound has the highest boiling point?
    Show answer

    Answer: pentane

    Pentane is the largest unbranched molecule here: it has the most surface contact and the strongest dispersion forces (36 °C). Branching lowers the boiling point, and butane is smaller.

  7. Question 7HardIn 2C₄H₁₀ + 13O₂ → 8CO₂ + 10H₂O, how many moles of O₂ does 1 mol of butane need?
    Show answer

    Answer: 6.5 mol

    1 mol C₄H₁₀ × (13 mol O₂ / 2 mol C₄H₁₀) = 6.5 mol O₂.

Notes and downloads

  • Worksheet

    Hydrocarbons and Naming Alkanes Worksheet

    9 questions on hydrocarbon formulas, IUPAC naming of alkanes and alkenes, structural isomers and combustion calculations. Answer key included.

    IntermediateFree

References

  1. Brown, T. L.; LeMay, H. E., Jr.; Bursten, B. E.; Murphy, C. J.; Woodward, P. M.; Stoltzfus, M. W. Chemistry: The Central Science, 15th ed.; Pearson, 2022.

Spotted a mistake? Let us know and we'll fix it.