Skip to main content
Chemistry LibreTexts

1.7: Structural Formulas

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. This notation can be accredited to Swedish chemist Jons Jakob Berzeliu. The most common elements present in organic compounds are carbon, hydrogen, oxygen, and nitrogen. With carbon and hydrogen present, other elements, such as phosphorous, sulfur, silicon, and the halogens, may exist in organic compounds.  Compounds that do not pertain to this rule are called inorganic compounds.

Molecular Geometry and Structural Formula

Understanding how atoms in a molecules 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 structural formula.


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


A polymer is formed when small molecules of identical structure, monomers, combine into a large cluster. The monomers are joined together by covalent bonds. When monomers repeat and bind, they form a polymer. While they can be comprised of natural or synthetic molecules, polymers often include plastics and rubber. When a molecule has more than one of these polymers, square parenthesis are used to show that all the elements within the polymer are multiplied by the subscript outside of the parenthesis. The subscript  (shown as n in the example below) denotes the number of monomers present in the macromolecule (or polymer).  

Ethylene becomes the polymer polyethylene.  

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. Molecular compounds are also misleading when dealing with isomers, which have the same number and types of atoms (see above in molecular geometry and structural formula). 

Ex. Molecular Formula for Ethanol: C2H6O.

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. Empirical formulas tend to tell us very little about a compound because one cannot determine the structure, shape, or properties of the compound without knowing the molecular formula. Usefulness of the empirical formula is decreased because many chemical compounds can have the same empirical formula. 

Ex. Find the empirical formula for C8H16O2.

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

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 indicate whether the bond is a single, double, or triple covalent bond.  Structural formulas are helpful because they explain the properties and structure of the compound which empirical and molecular formulas cannot always represent. 

Ex.  Structural Formula for Ethanol: File:Physical_Chemistry/Quantum_Mechanics/Atomic_Theory/Chemical_Compounds/Formulas_of_Inorganic_and_Organic_Compounds/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 are 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 be complex at times, 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 structure and order of the atoms in a compound making the advantages and disadvantages similar to structural formulas. 

Ex. Line-Angle Formula for Ethanol:  File:Physical_Chemistry/Quantum_Mechanics/Atomic_Theory/Chemical_Compounds/Formulas_of_Inorganic_and_Organic_Compounds/Line_Angle_Ethanol_Jean.gif

Formulas of Inorganic Compounds

Inorganic compounds are typically not of biological origin.  Inorganic compounds are made up of atoms connected using ionic bonds.  These inorganic compounds can be binary compounds, binary acids, or polyatomic ions.

Binary compounds

Binary compounds are formed between two elements, either a metal paired with a nonmetal or two nonmetals paired together.  When a metal is paired with a nonmetal, they form ionic compounds in which one is a negatively charged ion and the other is positvely charged.  The net charge of the compound must then become neutral.  Transition metals have different charges; therefore, it is important to specify what type of ion it is during the naming of the compound.  When two nonmetals are paired together, the  compound is a molecular compound.  When writing out the formula, the element with a positive oxidation state is placed first. 

Ex. Ionic Compound: BaBr2(Barium Bromide)

Ex. Molecular Compound: N2O4 (Dinitrogen Tetroxide)

Binary acids

Binary acids are binary compounds in which hydrogen bonds with a nonmetal forming an acid.  However, there are exceptions such as NH3, which is a base. This is because it shows no tendency to produce a H+.  Because hydrogen is positively charged, it is placed first when writing out these binary acids. 

Ex. HBr (Hydrobromic Acid)

Polyatomic ions

Polyatomic ions is formed when two or more atoms are connected with covalent bonds.  Cations are ions that have are postively charged, while anions are negatively charged ions.  The most common polyatomic ions that exists are those of anions.  The two main polyatomic cations are Ammonium and Mercury (I).    Many polyatomic ions are typically paired with metals using ionic bonds to form chemical compounds. 

Ex. MnO4- (Polyatomic ion); NaMnO4 (Chemical Compound)


Many acids have three different elements to form ternary compounds.  When one of those three elements is oxygen, the acid is known as a oxoacid. In other words, oxacids are compounds that contain hydrogen, oxgygen, and one other element. 

Ex. HNO3 (Nitric Acid)

Complex Compounds

Certain compounds can appear in multiple forms yet mean the same thing.  A common example is hydrates: water molecules bond to another compound or element.  When this happens, a dot is shown between H2O and the other part of the compound.  Because the H2O molecules are embedded within the compound, the compound is not necessarily "wet".  When hydrates are heated, the water in the compound evaporates and the compound becomes anhydrous.  These compounds can be used to attract water such as CoCl2.  When CoCl2 is dry, CoCl2 is a blue color wherease the hexahydrate (written below) is pink in color. 

Ex. CoCl2 ·6 H2O

Formulas of Organic Compounds

Organic compounds contain a combination carbon and hydrogen or carbon and hydrogen with nitrogen and a few other elements, such as phosphorous, sulfur, silicon, and the halogens.  Most organic compounds are seen in biological origin, as they are found in nature. 


Hydrocarbons are compounds that consist of only carbon and hydrogen atoms.  Hydrocarbons that are bonded together with only single bonds are alkanes.  The simplest example is methane (shown below).  When hydrocarbons have one or more double bonds, they are called alkenes.  The simplest alkene is Ethane (C2H4) which contains a double bond between the two carbon atoms. 

File:Physical_Chemistry/Quantum_Mechanics/Atomic_Theory/Chemical_Compounds/Formulas_of_Inorganic_and_Organic_Compounds/CH4_Jean.gif            ethane123.gif


Ex. Methane on left, Ethane on right

Functional Groups

Functional groups are atoms connected to carbon chains or rings of organic molecules.  Compounds that are within a functional group tend to have similiar properties and characteristics.  Two common functional groups are hydroxl groups and carboxyl groups.  Hydroxl groups end in -OH and are alcohols.  Carboxyl groups end in -COOH, making compounds containing -COOH carboxylic acids.  Functional groups also help with nomenclature by using prefixes to help name the compounds that have similar chemical properties. 


Ex. Hydroxyl Group on top; Carboxyl Group on bottom


  1. Miessler, Gary L. Inorganic Chemistry. 2nd.  Upper Saddle River: Prentince Hall, 1999. 
  2. Munowitz, Michael.  Principles of Chemistry.  Norton & Company: New York, 2000.
  3. Pettrucci, Ralph H. General Chemistry: Principles and Modern Applications. 9th. Upper Saddle River: Pearson Prentice Hall, 2007.


  1. Which of the following formulas are organic?
    1. HClO       
    2. C5H10
    3. CO2
  2.  What is the name of the following formula?


  1.  Classify the following formulas into their appropriate functional group
    1.  Acetic acid      
    2.  Butanol
    3.  Oxalic acid
  1. What are the empirical formulas for the following compounds?
    1. C12H10O6
    2. CH3CH2CH2CH2CH2CH2CH3
    3.  H3O
  1. What is the name of the following figure and what is the molecular formula of the following figure?



Answer Key:

 1. b and c.  2. Propane. 3. a. carboxyl group, b. hydrox, c. . 4. a. C6H5O3, b. C7H16, c. H3O. 5. Methylbutane, C5H12


  • Jean Kim (UCD), Kristina Bonnett (UCD)

Further Reading

Michigan State Virtual Textbook of Organic Chemistry


 Analysis of Molecular and Empirical Formulas


          The Many Ways of Drawing Butane

Hidden Hydrogens, Hidden Lone Pairs, Hidden Counterions

The Principle of Least Effort

Condensed Formulas: Deciphering the Brackets

Common Mistakes: Pentavalent Carbon

Carey 4th Edition On-Line Activity

Khan Academy

          Organic Structures

          Representing Organic Molecules


Drawing Skeletal Structures of Bond-Line Notations of Organic Molecules

Cliffs Notes

Slide Presentations

Book Sections

          Book section on Condensed and line structrures

Web Pages

          Condensed formulas

          Molecular formula, structural formula, 3-dimensions

          Condensed structures and Lewis Structures

          Representing organic structrures

          Different type of structure representations

          Condensed formulas and line structures


          Line structures

          Condensed Formulas


          Handout describing Line Structures

          How to draw skeletal formulas