How to Name a Molecule

Naming an organic compound looks complicated at first, but it is a mechanical process with just a few steps. This article walks through the whole path, including two math formulas that help a lot: the alkane general formula and the degree of unsaturation.

The mental map

Structure → parent chain → numbering → substituents → name. IUPAC naming starts with the structure, not with a familiar-sounding word. Identify what is present, then turn each decision into one part of the name.

  1. Recognize the highest-priority functional group.
  2. Choose the parent chain or ring containing it.
  3. Count carbons and select the parent prefix.
  4. Number the structure to obtain the lowest locants.
  5. Add unsaturations and substituents, then proofread.

Read the structure before naming it

In a skeletal formula, every vertex and line end represents a carbon unless another symbol is shown. Hydrogens attached to carbon are usually hidden. The zigzag below is therefore not an empty line: it already encodes a four-carbon chain.

CarbonsRootSaturated alkaneFormula
1meth-methaneCH₄
2eth-ethaneC₂H₆
3prop-propaneC₃H₈
4but-butaneC₄H₁₀
5pent-pentaneC₅H₁₂
6hex-hexaneC₆H₁₄
7hept-heptaneC₇H₁₆
8oct-octaneC₈H₁₈

The parent chain is only the starting point. In 3-methylhexane, “hex-” tells us there are six carbons in the parent chain, “3-” gives the substituent position, and “methyl” identifies a CH₃ group attached to it.

Which functional group controls the name?

A molecule can contain an alcohol, a double bond, a halogen, and other groups at the same time. One group becomes the principal characteristic group and determines the suffix; the others appear as prefixes or unsaturation information.

Principal groupCommon suffixExample
Carboxylic acid-oic acidethanoic acid
Ester-oateethyl ethanoate
Amide-amideethanamide
Nitrile-nitrilepropanenitrile
Aldehyde-alpropanal
Ketone-onepropanone
Alcohol-olpropan-2-ol
Alkene / alkyne-ene / -ynebut-1-ene

This is a practical summary for common introductory cases. The complete IUPAC hierarchy should be consulted for structures containing several competing groups.

Step 1 — Count the carbons in the main chain

Find the longest continuous chain containing the highest-priority functional group. For a simple alkane with $n$ carbons, the number of hydrogens always follows the same formula:

$$C_nH_{2n+2}$$

For example, for $n=4$ (butane): $C_4H_{2(4)+2} = C_4H_{10}$ — matches butane's actual formula.

H3H2H2H3CCCC
Butane (C₄H₁₀) — 4 carbons in a zigzag, each completing its valence with hydrogen (shown above each carbon)

Step 2 — Calculate the degree of unsaturation (if you don't already know it)

When you only have the molecular formula (say, from an exercise) and need to figure out how many double bonds, triple bonds, or rings the molecule has, you use the degree of unsaturation (also called the hydrogen deficiency index):

$$DoU = \frac{2C + 2 + N - H}{2}$$

where $C$ is the number of carbons, $N$ the number of nitrogens, and $H$ the number of hydrogens (halogens count as hydrogen in this formula, since they occupy an equivalent valence slot).

Example: for $C_4H_8$ (a butene), $DoU = \frac{2(4)+2-8}{2} = \frac{2}{2} = 1$ — one unsaturation, which could be a double bond or a ring. You need more information (or to draw the structure) to know which one.

Step 3 — Choose the right suffix

With the chain defined, the suffix depends on the highest-priority functional group present (see the full list in functional groups). Carboxylic acid always wins; halogen never becomes a suffix.

Step 4 — Number the way that gives the lowest locant

The golden rule: number the chain starting from the end that gives the lowest number to the main group. Only after breaking that tie do you look at the position of double/triple bonds, and last at the substituents.

CCCC1234
Numbering from the left: the double bond falls on C1-C2 → but-1-ene (locant 1)
CCCC1234
Numbering from the right: the double bond would fall on C3-C4 → higher locant, wrong

Step 5 — Assemble the final name

Put it all together in this order: substituent prefixes (alphabetical) + chain numerical prefix + unsaturation infix + main group suffix. For example, 3-chloro-2-methylpentan-1-ol has two substituents (chloro and methyl, alphabetically ordered), a 5-carbon chain (pentan), and the -ol suffix at position 1.

12345OHCH₃Cl
3-chloro-2-methylpentan-1-ol — a 5-carbon chain (numbered), with -OH on C1, methyl on C2, and chlorine on C3

Three cases that cause confusion

1. Same formula, different structures

C₄H₁₀ has two constitutional isomers: butane and 2-methylpropane. A molecular formula alone does not tell us how atoms are connected; the structure or a condensed formula is required.

Condensed formulaNameWhy?
CH₃–CH₂–CH₂–CH₃butanecontinuous four-carbon parent chain
(CH₃)₃CH2-methylpropanethree-carbon parent + methyl at C2

2. One unsaturation is not necessarily one double bond

For C₄H₈, the degree of unsaturation is 1. It may describe an alkene, such as but-1-ene, or a ring, such as cyclobutane. DoU counts rings + double bonds + twice the number of triple bonds; it does not reveal the position or type by itself.

3. Ethanol and dimethyl ether are not the same compound

Both have molecular formula C₂H₆O, but the oxygen is connected differently:

Nomenclature describes connectivity, not just the atom count.

Common mistakes

Quick revision checklist

  1. Does the parent contain the highest-priority functional group?
  2. Does the carbon count match the parent root?
  3. Does the numbering give the principal group the lowest locant?
  4. Are unsaturations and substituents in the correct positions?
  5. Are substituent prefixes alphabetized?
  6. Does the name account for every carbon and heteroatom in the structure?

Quick practice

  1. Name CH₃–CH(CH₃)–CH₂–CH₃.
  2. What is the DoU of C₆H₆?
  3. Which group supplies the suffix in a molecule containing an alcohol and an alkene?
Show worked answers

1. 2-methylbutane: the longest chain has four carbons and the methyl group gets the lowest locant.

2. DoU = (2×6 + 2 − 6)/2 = 4. Benzene has one ring and three double bonds.

3. The alcohol is principal and receives the -ol suffix; the double bond is shown with -en-.

Frequently asked questions

Do I need to memorize every name?

No. Memorize the roots from 1 to 8, the main suffixes, and the numbering logic. The rest becomes easier when every name is split into parts.

What if there is a tie in numbering?

Use the sequence: principal group, unsaturation, then substituents. More specialized structures may require the full IUPAC recommendations.

Does the simulator replace chemical analysis?

It is useful for testing structures and visualizing a name breakdown, but the final interpretation still depends on the drawn connectivity and the applicable rules.

Want to see this process in action? Build the molecule in the simulator and watch the name (and its full breakdown) get generated automatically.

Try it in the simulator →