A molecular formula tells you which elements make up a molecule and how many atoms of each element it contains. A structural formula shows how those atoms are connected. Both describe the same chemical substance, but they provide different kinds of information.
For example, ethanol and dimethyl ether have the same molecular formula, C₂H₆O, but different structural formulas. Ethanol contains an oxygen atom bonded between a carbon atom and a hydrogen atom, forming an –OH group. Dimethyl ether contains an oxygen atom bonded to two carbon atoms. These differences in atomic arrangement give the two compounds distinct physical and chemical properties.
Understanding the difference between molecular and structural formulas is essential for interpreting chemical equations, identifying compounds, and explaining why substances made from the same elements can behave very differently.
What is a molecular formula?
A molecular formula identifies the elements present in a molecule and specifies the number of atoms of each element. It uses chemical symbols, such as C for carbon, H for hydrogen, O for oxygen, and N for nitrogen, followed by subscripts that indicate the number of atoms.
Consider water, which has the molecular formula H₂O. The formula indicates that each water molecule contains two hydrogen atoms and one oxygen atom.
Similarly, carbon dioxide has the molecular formula CO₂, meaning that each molecule contains one carbon atom and two oxygen atoms. Glucose, a sugar used by cells as an energy source, has the molecular formula C₆H₁₂O₆. Each glucose molecule contains six carbon atoms, 12 hydrogen atoms, and six oxygen atoms.
When a formula contains no subscript after an element symbol, the number of atoms of that element is one. For example, CO₂ contains one carbon atom, not zero or an unspecified amount.
Molecular formulas are useful because they communicate a molecule’s elemental composition in a compact, standardized form. They also help chemists calculate molecular mass, determine the proportions of elements in a substance, and balance chemical equations.
However, a molecular formula does not normally reveal how atoms are bonded or arranged in space. That limitation becomes important when different compounds share the same molecular formula.
What is a structural formula?
A structural formula represents the arrangement of atoms in a chemical substance and, in most forms, shows the bonds connecting them. It provides information that a molecular formula leaves out.
Chemical bonds hold atoms together in molecules. In a structural formula, lines commonly represent covalent bonds, which form when atoms share electrons. A single line represents a single bond, two parallel lines represent a double bond, and three parallel lines represent a triple bond.
For example, water can be represented structurally as H–O–H. This arrangement shows that the oxygen atom is bonded to both hydrogen atoms.
Ethene, a molecule used in manufacturing polyethylene and other chemicals, has the molecular formula C₂H₄. Its structural formula can be written as CH₂=CH₂. The double bond between the carbon atoms distinguishes ethene from compounds that contain the same numbers of carbon and hydrogen atoms but different bonding arrangements.
Structural formulas vary in detail. Some show every atom and bond explicitly, while others simplify the drawing by omitting certain carbon and hydrogen labels. More detailed representations can also communicate the three-dimensional arrangement of atoms.
The central purpose remains the same: a structural formula reveals how the atoms are connected, rather than merely counting them.
The key differences between molecular and structural formulas
Molecular and structural formulas differ in the information they communicate, how they are written, and the chemical questions they can answer.
A molecular formula provides an atomic count. A structural formula provides information about connectivity and bonding.
For example, the molecular formula C₂H₆O tells you that a molecule contains two carbon atoms, six hydrogen atoms, and one oxygen atom. It does not tell you whether the oxygen is part of an alcohol group or an ether linkage.
A structural formula can distinguish those arrangements. Ethanol is represented as CH₃–CH₂–OH, while dimethyl ether is represented as CH₃–O–CH₃. Both have the same molecular formula, but their atoms are connected differently.
The following comparison summarizes the main distinctions:
| Feature | Molecular formula | Structural formula |
|---|---|---|
| Main purpose | Shows the number of atoms of each element | Shows how atoms are connected |
| Elemental composition | Explicitly identifies the elements and their counts | May show the same information through labeled atoms and groups |
| Chemical bonds | Does not directly show bonds | Usually shows bonds explicitly or through a simplified notation |
| Atomic arrangement | Does not specify connectivity | Reveals connectivity and, depending on the representation, additional structural details |
| Ability to distinguish isomers | Often insufficient on its own | Can distinguish compounds with different bonding arrangements |
| Common use | Calculations, chemical equations, and composition analysis | Identifying compounds, understanding bonding, and predicting chemical behavior |
Neither formula is universally better. Each serves a different purpose, and chemists often use both when describing a substance.
Why the same molecular formula can describe different compounds
One of the most important reasons to distinguish molecular formulas from structural formulas is the existence of isomers.
Isomers are compounds that share the same molecular formula but differ in how their atoms are arranged. Depending on the type of isomerism, their structures may differ in connectivity or in the three-dimensional orientation of atoms.
When atoms connect in different ways, they can form different chemical functional groups. A functional group is a specific arrangement of atoms that contributes to a molecule’s characteristic chemical reactions.
Ethanol and dimethyl ether illustrate this principle. Both have the molecular formula C₂H₆O, but ethanol contains a hydroxyl group, –OH, attached to a carbon atom. This makes ethanol an alcohol. Dimethyl ether contains an oxygen atom bonded to two carbon atoms, making it an ether.
These structural differences influence their properties. Ethanol can form hydrogen bonds with other ethanol molecules through its hydroxyl group. Dimethyl ether cannot donate hydrogen bonds in the same way because it lacks an O–H bond. As a result, ethanol and dimethyl ether have substantially different boiling points and physical behavior.
Their chemical reactions also differ. Ethanol can undergo reactions characteristic of alcohols, while dimethyl ether exhibits chemistry associated with ethers.
This example shows why an elemental count alone cannot fully identify a compound. A molecular formula can establish which atoms are present without specifying the unique arrangement that gives a substance its chemical identity.
Common types of structural formulas
Structural formulas come in several forms. Each provides a different level of detail, allowing chemists to represent molecules efficiently without losing the information relevant to a particular problem.
A complete structural formula shows the atoms and bonds in a molecule as explicitly as practical. For small molecules, this representation can make the connectivity especially clear. Water, for instance, can be written as H–O–H.
A condensed structural formula groups atoms together to make the structure more compact. Ethanol can be written as CH₃CH₂OH instead of drawing every bond separately. The sequence indicates two carbon groups followed by a hydroxyl group. Although the bonds are not all drawn as lines, the notation conveys the molecular connectivity.
A skeletal formula, also called a line-angle formula, is widely used to represent organic compounds. Carbon atoms are generally implied at line ends and corners, and hydrogen atoms attached to carbon are usually omitted. Other elements, such as oxygen and nitrogen, are written explicitly, as are hydrogen atoms bonded to those elements when needed to clarify the structure.
Skeletal formulas are particularly useful for large organic molecules because drawing every carbon and hydrogen atom would make the structure unnecessarily complicated. Chemists can use them to show carbon chains, rings, branches, and multiple bonds with relatively little visual clutter.
Structural representations can also communicate stereochemistry, which describes the three-dimensional arrangement of atoms. Wedges and dashed bonds, for example, can indicate whether a bond projects out of the plane of the page or behind it. This information matters because molecules with the same connectivity can sometimes have different spatial arrangements and biological effects.
Not every structural formula conveys all these details. When interpreting one, it is important to recognize whether the representation shows only connectivity or also specifies three-dimensional geometry.
How molecular and structural formulas relate to empirical formulas
A molecular formula is not the same as an empirical formula. Although both describe elemental composition, they express that composition at different levels of detail.
An empirical formula gives the simplest whole-number ratio of the elements in a compound. A molecular formula gives the actual number of each type of atom in a molecule.
Glucose, for example, has the molecular formula C₆H₁₂O₆. Dividing all the subscripts by six gives the empirical formula CH₂O. This means that the simplest ratio of carbon to hydrogen to oxygen is 1:2:1.
The empirical formula does not mean that a glucose molecule contains only one carbon atom, two hydrogen atoms, and one oxygen atom. It represents the ratio rather than the complete molecular composition.
Several molecular formulas can share the same empirical formula. Glucose and fructose, for example, both have the molecular formula C₆H₁₂O₆ and the empirical formula CH₂O, yet they have different structural arrangements. Other compounds can also share this empirical formula while having different molecular formulas.
Structural formulas add another layer of information by showing how atoms are connected. Therefore, empirical, molecular, and structural formulas answer three related but distinct questions: What is the simplest elemental ratio? How many atoms of each element are present in a molecule? How are those atoms arranged?
For substances that do not consist of discrete molecules, such as many ionic solids, a formula may instead express the simplest ratio of ions or atoms in the material. In such cases, it is not necessarily a molecular formula in the strict sense.
How structural formulas help explain chemical properties
A structural formula does more than distinguish compounds that share a molecular formula. It also helps explain why a substance has particular physical and chemical properties.
A molecule’s behavior depends partly on the types of atoms it contains, the bonds between those atoms, its three-dimensional shape, and how its electrons are distributed. Structural formulas reveal some of these features directly and provide a foundation for understanding others.
Consider ethane and ethene. Ethane has the molecular formula C₂H₆ and the structural formula CH₃–CH₃. Its two carbon atoms are connected by a single bond. Ethene has the molecular formula C₂H₄ and the structural formula CH₂=CH₂, with a carbon–carbon double bond.
The double bond gives ethene different chemical reactivity from ethane. Ethene can undergo addition reactions in which atoms or groups attach across the double bond. For example, ethene reacts with hydrogen under suitable conditions to form ethane. Ethane, which has no carbon–carbon double bond, does not undergo the same addition reaction in the same way.
Molecular formulas reveal that ethane and ethene have different numbers of hydrogen atoms. Structural formulas show the bonding arrangement responsible for their characteristic differences in reactivity.
Molecular shape also matters. In biological systems, a molecule’s shape can influence whether it binds to a particular protein or enzyme. Structural representations that include stereochemistry can help distinguish molecules that have identical molecular formulas and bonding connectivity but different spatial arrangements.
However, a structural formula alone does not predict every property. Temperature, pressure, solvent, molecular interactions, and reaction conditions can all affect how a substance behaves. Structural information is a crucial part of chemical explanation, not a complete substitute for experimental evidence.
How to choose the right formula for a chemistry problem
The appropriate formula depends on the question being asked.
If you need to determine the number of atoms in a molecule, the molecular formula is usually the most direct choice. For example, C₃H₈O contains three carbon atoms, eight hydrogen atoms, and one oxygen atom.
If you need to identify how atoms are connected, determine which functional groups are present, or distinguish compounds with the same molecular formula, you need structural information. The molecular formula C₃H₈O alone cannot distinguish 1-propanol, 2-propanol, and methoxyethane, which have different structures.
If you are calculating molecular mass, the molecular formula provides the number of each type of atom needed for the calculation. If you are analyzing a reaction mechanism, a structural formula is often more informative because it shows which bonds may break or form.
In practice, chemists frequently combine both representations. A molecular formula summarizes composition, while a structural formula supplies information about atomic connectivity. When necessary, a three-dimensional structural representation adds information about molecular geometry and stereochemistry.
It is also important to recognize that a structural formula may not uniquely specify every aspect of a molecule. A condensed formula can leave some spatial details unstated, while a skeletal formula may omit certain atoms or bonds by convention. The level of detail must match the question being investigated.
The essential distinction
A molecular formula tells you what a molecule contains and how many atoms of each element it has. A structural formula tells you how those atoms are connected and, in more detailed representations, how they are arranged in space.
The distinction matters because chemical identity depends on more than elemental composition. Two substances can contain exactly the same numbers of carbon, hydrogen, oxygen, or other atoms and still differ in their bonding, molecular shape, physical properties, and chemical reactions.
Molecular formulas provide a concise description of composition. Structural formulas reveal the arrangements that help explain chemical behavior. Together, they give a more complete picture of what a chemical substance is and how it behaves.
