Skip to main content
Chemistry LibreTexts

7.3: Ionic Compounds - Names and Formulas

  • Page ID
    465543
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Chemistry is the experimental and theoretical study of materials on their properties at the macroscopic and microscopic levels.

    A chemical formula is a format used to express the structure of atoms. The formula tells which elements and how many of each element are present in a compound. Formulas are written using the elemental symbol of each atom and a subscript to denote the number of elements.

    Molecular Formula

    The molecular formula is based on the actual makeup of the compound. Although the molecular formula can sometimes be the same as the empirical formula, molecular compounds tend to be more helpful. However, they do not describe how the atoms are put together.

    Ex. Molecular Formula for Ethanol: C2H6O.

    It is important to note that a subscript following a symbol and a number in front of a symbol does not represent the same thing; for example, H2 and 2H represent distinctly different species. H2 is a molecular formula; it represents a diatomic molecule of hydrogen, consisting of two atoms of the element that are chemically bonded together. The expression 2H, on the other hand, indicates two separate hydrogen atoms that are not combined as a unit. The expression 2H2 represents two molecules of diatomic hydrogen (Figure \(\PageIndex{1}\)).

    This figure shows four diagrams. The diagram for H shows a single white sphere, and it is labeled one H atom. The diagram for 2 H shows two white spheres that are not bonded together. It is labeled 2 H atoms. The diagram for H subscript 2 shows two white spheres bonded together. It is labeled one H subscript 2 molecules. The diagram for 2 H subscript 2 shows two sets of bonded, white spheres. It is labeled 2 H subscript 2 molecules.
    Figure \(\PageIndex{1}\): The symbols H, 2H, H2, and 2H2 represent very different entities.

    Empirical Formula

    An empirical formula shows the most basic form of a compound. Empirical formulas show the number of atoms of each element in a compound in the most simplified state using whole numbers. While empirical formulas cannot determine the structure, shape, or properties of the compound, it usually is one of the first experiments to know what atoms and in which relationship are present in an unknown sample.

    Ex. Find the empirical formula for C8H16O2.

    Answer: C4H8O (divide all subscripts by 2 to get the smallest, whole number ratio).

    Binary compounds

    Binary compounds are formed between two elements, either a metal paired with a nonmetal or two nonmetals paired together.

    When two nonmetals are paired together, the compound is a molecular compound always represented using the Molecular Formula. When writing out the formula, the element with a more metallic character (with a positive oxidation state) is placed first.

    Ex. Molecular Compound: N2O4 (Dinitrogen Tetroxide)

    When a metal is paired with a nonmetal, they form an ionic compound, representing it using Empirical Formulas. In ionic compounds, each atom is in the form of an ion; one atom is a negatively charged ion (anion), and the other is a positively charged ion (cation). The net charge of the compound must be neutral using the minimal amount of each atom.

    Ex. Ionic Compound: BaBr2 (Barium Bromide)

    Example \(\PageIndex{1}\): Empirical and Molecular Formulas

    Molecules of glucose (blood sugar) contain 6 carbon atoms, 12 hydrogen atoms, and 6 oxygen atoms. What are the molecular and empirical formulas of glucose?

    Solution

    The molecular formula is C6H12O6 because one molecule contains 6 C, 12 H, and 6 O atoms. The simplest whole-number ratio of C to H to O atoms in glucose is 1:2:1, so the empirical formula is CH2O.

    Exercise \(\PageIndex{1}\)

    A molecule of metaldehyde (a pesticide used for snails and slugs) contains 8 carbon atoms, 16 hydrogen atoms, and 4 oxygen atoms. What are the molecular and empirical formulas of metaldehyde?

    Answer

    Molecular formula, C8H16O4; empirical formula, C2H4O

    Structural Formula

    A structural formula displays the atoms of the molecule in the order they are bonded. It also depicts how the atoms are bonded to one another, for example single, double, and triple covalent bond. Covalent bonds are shown using lines. The number of dashes indicates whether the bond is a single, double, or triple covalent bond. Structural formulas are helpful because they explain the compound's properties and structure, which empirical and molecular formulas cannot always represent.

    Ex. Structural Formula for Ethanol: Ethanol_Jean_NEW.gif

    Condensed Structural Formula

    Condensed structural formulas show the order of atoms like a structural formula but are written in a single line to save space and make it more convenient and faster to write out. Condensed structural formulas are also helpful when showing that a group of atoms is connected to a single atom in a compound. When this happens, parenthesis is used around the group of atoms to show they are together.

    Ex. Condensed Structural Formula for Ethanol: CH3CH2OH (Molecular Formula for Ethanol C2H6O).

    Line-Angle Formula

    Because organic compounds can sometimes be complex, line-angle formulas are used to write carbon and hydrogen atoms more efficiently by replacing the letters with lines. A carbon atom is present wherever a line intersects another line. Hydrogen atoms are then assumed to complete each of carbon's four bonds. All other atoms that are connected to carbon atoms are written out. Line angle formulas help show the structure and order of the atoms in a compound, making the advantages and disadvantages similar to structural formulas.

    Ex. Line-Angle Formula for Ethanol: Line_Angle_Ethanol_Jean.gif

    Ball-and-stick model

    A ball-and-stick model shows the geometric arrangement of the atoms with atomic sizes not to scale, and a space-filling model shows the relative sizes of the atoms.

    Figure A shows C H subscript 4. Figure B shows a carbon atom that is bonded to four hydrogen atoms at right angles: one above, one to the left, one to the right, and one below. Figure C shows a 3-D, ball-and-stick model of the carbon atom bonded to four hydrogen atoms. Figure D shows a space-filling model of a carbon atom with hydrogen atoms partially embedded into the surface of the carbon atom.
    Figure \(\PageIndex{2}\): A methane molecule can be represented as (a) a molecular formula, (b) a structural formula, (c) a ball-and-stick model, and (d) a space-filling model. Carbon and hydrogen atoms are represented by black and white spheres, respectively.

    Molecular Geometry and Structural Formula

    Understanding how atoms in a molecule are arranged and how they are bonded together is very important in giving the molecule its identity. Isomers are compounds in which two molecules can have the same number of atoms, and thus the same molecular formula, but can have completely different physical and chemical properties because of differences in the structural formula.

    75-28-5-gas.gif Butane represented with balls. Carbon atoms represented with black balls and Hydrogen with white. Bond follow a zig-zag shape

    Methylpropane and butane have the same molecular formula of C4H10, but are structurally different (methylpropane on the left, butane on the right).

    Summary

    As discussed previously, we can describe a compound with a molecular formula, in which the subscripts indicate the actual numbers of atoms of each element in a molecule of the compound. In many cases, the molecular formula of a substance is derived from the experimental determination of both its empirical formula and its molecular mass (the sum of atomic masses for all atoms composing the molecule). For example, it can be determined experimentally that benzene contains two elements, carbon (C) and hydrogen (H), and that for every carbon atom in benzene, there is one hydrogen atom. Thus, the empirical formula is CH. An experimental determination of the molecular mass reveals that a molecule of benzene contains six carbon atoms and six hydrogen atoms, so the molecular formula for benzene is C6H6 (Figure \(\PageIndex{3}\)).

    Figure A shows that benzene is composed of six carbons shaped like a hexagon. Every other bond between the carbon atoms is a double bond. Each carbon also has a single bonded hydrogen atom. Figure B shows a 3-D, ball-and-stick drawing of benzene. The six carbon atoms are black spheres while the six hydrogen atoms are smaller, white spheres. Figure C is a space-filling model of benzene which shows that most of the interior space is occupied by the carbon atoms. The hydrogen atoms are embedded in the outside surface of the carbon atoms. Figure d shows a small vial filled with benzene which appears to be clear.
    Figure \(\PageIndex{3}\): Benzene, C6H6, is produced during oil refining and has many industrial uses. A benzene molecule can be represented as (a) a structural formula, (b) a ball-and-stick model, and (c) a space-filling model. (d) Benzene is a clear liquid. (credit d: modification of work by Sahar Atwa).

    If we know a compound’s molecular formula, we can easily determine the empirical formula. (This is somewhat of an academic exercise; the reverse chronology is generally followed in actual practice.) For example, the molecular formula for acetic acid, the component that gives vinegar its sharp taste, is C2H4O2. This formula indicates that a molecule of acetic acid (Figure \(\PageIndex{4}\)) contains two carbon atoms, four hydrogen atoms, and two oxygen atoms. The ratio of atoms is 2:4:2. Dividing by the lowest common denominator (2) gives the simplest, whole-number ratio of atoms, 1:2:1, so the empirical formula is CH2O. Note that a molecular formula is always a whole-number multiple of an empirical formula.

    Figure A shows a jug of distilled, white vinegar. Figure B shows a structural formula for acetic acid, which contains two carbon atoms connected by a single bond. The left carbon atom forms single bonds with three hydrogen atoms. The right carbon atom forms a double bond with an oxygen atom. The right carbon atom also forms a single bond with an oxygen atom. This oxygen forms a single bond with a hydrogen atom. Figure C shows a 3-D ball-and-stick model of acetic acid.
    Figure \(\PageIndex{4}\): (a) Vinegar contains acetic acid, C2H4O2, which has an empirical formula of CH2O. It can be represented as (b) a structural formula and (c) as a ball-and-stick model. (credit a: modification of work by “HomeSpot HQ”/Flickr)
    Exercise \(\PageIndex{1}\)
    1. Which of the following formulas can not be considered an Empirical Formula?
      1. HClO
      2. C5H10
      3. CO2
    2. Write the empirical formula for the following compounds
      1. C12H10O6
      2. CH3CH2CH2CH2CH2CH2CH3
      3. H3O+
    Answer
    1. b. C5H10
    2. a. C6H5O3, b. C7H16, c. H3O+
    Exercise \(\PageIndex{1}\)
    1. What is the Classification of the following formula? Structure showing linear arrangement of 3 carbons and 8 hydrogen in total.
    2. What is the name of the representation and the chemical formula of the following molecule? skeletal structure four carbons in linear structure with a branching carbon connected to the second carbon. There are 12 hydrogens in total.
    Answer
    1. Structural Formula
    2. Line-Angle, C5H12

    Contributors and Attributions

    • Sol Parajon Puenzo (Cañada College)
    • Jean Kim (UCD), Kristina Bonnett (UCD)

    7.3: Ionic Compounds - Names and Formulas is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by LibreTexts.