How to Convert Between Molecular, Structural, and Condensed Formulas

Molecular, structural, and condensed formulas describe the same chemical substance in different ways. A molecular formula identifies the types and numbers of atoms in a molecule, a structural formula shows how those atoms are connected, and a condensed formula represents those connections in a compact written form. Learning to convert between these formats makes it easier to interpret chemical information, identify different compounds, and understand how molecular structure influences chemical properties.

The key to converting between them is to distinguish two questions: Which atoms are present, and how are those atoms connected? Molecular formulas answer the first question, while structural and condensed formulas provide information about the second.

Understanding the three types of chemical formulas

A chemical formula is a symbolic representation of a substance’s composition or structure. The three common forms—molecular, structural, and condensed—emphasize different aspects of the same molecule.

A molecular formula uses element symbols and numerical subscripts to show the number of atoms of each element in one molecule. For example, ethanol has the molecular formula C₂H₆O, meaning that each ethanol molecule contains two carbon atoms, six hydrogen atoms, and one oxygen atom. The formula does not specify how these atoms are arranged or bonded.

A structural formula shows the connections between atoms. Lines typically represent covalent bonds, which form when atoms share electrons. A complete structural drawing can show individual bonds between carbon, hydrogen, and oxygen atoms, making the molecule’s arrangement easier to understand. Structural formulas are especially useful when different compounds contain the same numbers of atoms but have different arrangements.

A condensed structural formula, often called a condensed formula, expresses the molecular structure using grouped atoms rather than drawing every bond. Ethanol, for example, can be written as CH₃CH₂OH. This notation indicates a carbon group containing three hydrogen atoms, followed by a carbon group containing two hydrogen atoms, followed by an oxygen bonded to hydrogen.

Although condensed formulas are shorter than fully drawn structural formulas, they preserve important information about how atoms are connected. However, some condensed formulas can be ambiguous if the grouping or bonding is not clear.

How to convert a molecular formula into a structural formula

Converting a molecular formula into a structural formula requires determining how the atoms are connected. The molecular formula alone does not usually provide enough information to determine a unique structure, so you must use chemical bonding rules and any additional information about the compound.

Begin by counting the atoms of each element. Next, identify the typical bonding patterns of those elements. Carbon generally forms four covalent bonds, oxygen generally forms two, hydrogen forms one, and nitrogen commonly forms three in neutral organic molecules. These are useful introductory guidelines, although exceptions exist.

For example, consider ethanol, C₂H₆O. The molecule contains two carbon atoms and one oxygen atom. One valid arrangement places the carbon atoms in a chain and connects the oxygen to the second carbon, with the oxygen also bonded to hydrogen. The resulting structure is CH₃–CH₂–OH.

The structural formula confirms that the first carbon is bonded to three hydrogen atoms and the second carbon, while the second carbon is bonded to two hydrogen atoms, the first carbon, and the oxygen. The oxygen is bonded to the second carbon and one hydrogen atom.

However, the molecular formula C₂H₆O can also represent dimethyl ether, CH₃–O–CH₃. This molecule has the same numbers of carbon, hydrogen, and oxygen atoms as ethanol, but the atoms are connected differently. Ethanol contains an –OH group, whereas dimethyl ether has an oxygen between two carbon groups.

This example illustrates an essential limitation: a molecular formula specifies composition, not a unique molecular structure. When converting a molecular formula into a structural formula, additional information may be needed to identify the intended compound.

How to convert a structural formula into a condensed formula

Converting a structural formula into a condensed formula is often more straightforward because the bonds and atom arrangement are already shown. The goal is to preserve the connectivity while replacing most individual bond drawings with groups of atoms.

Start by identifying the main chain of carbon atoms, if the molecule has one. Then count the hydrogen atoms attached to each carbon and write each carbon group together with its attached hydrogens. Finally, include other atoms and functional groups in their correct positions.

A functional group is a specific arrangement of atoms that gives an organic molecule characteristic chemical properties. Examples include the hydroxyl group (–OH), the carbonyl group (C=O), and the carboxyl group (–COOH).

Consider propane, whose structural formula can be represented as CH₃–CH₂–CH₃. The first carbon is attached to three hydrogens, the middle carbon to two, and the last carbon to three. Removing the bond lines while retaining the groups gives the condensed formula CH₃CH₂CH₃.

For ethanol, the structural formula CH₃–CH₂–OH becomes CH₃CH₂OH. The oxygen and hydrogen remain grouped as –OH because they form a distinct part of the molecule. Writing CH₃CH₂OH also makes clear that the hydroxyl group is attached to the second carbon.

Parentheses can simplify more complicated formulas when a group is repeated or attached to a central atom. For example, 2-methylpropane can be written as CH₃CH(CH₃)CH₃. The parentheses indicate that a CH₃ group is attached to the middle carbon. Without the parentheses, the branching pattern would be less clear.

When condensing a structural formula, never remove information that distinguishes one atom arrangement from another. Grouping atoms is a change in notation, not a change in molecular structure.

How to convert a condensed formula into a structural formula

To expand a condensed formula into a structural formula, reverse the process. Separate the written groups, identify their order, and draw the bonds implied by the notation.

Consider CH₃CH₂CH₃. The three carbon groups form a continuous chain. Connect the carbon atoms with single bonds, then attach the indicated hydrogen atoms to each carbon. The result is the structural formula for propane, with three carbon atoms connected in a row.

Now consider CH₃CH(CH₃)CH₃. The middle carbon is written as CH, meaning that it has one hydrogen. The parentheses indicate an additional CH₃ group attached to that carbon. Drawing the structure reveals a central carbon bonded to three methyl groups and one hydrogen. This is 2-methylpropane, also known as isobutane.

Pay particular attention to parentheses, double bonds, triple bonds, and functional groups. These features affect connectivity and cannot be treated as decorative notation.

For example, CH₃CHO represents ethanal, an aldehyde. Its terminal carbon is bonded to hydrogen and double-bonded to oxygen. A structural formula makes the carbonyl bond explicit: CH₃–C(=O)–H. By contrast, CH₃COOH represents ethanoic acid, whose carbonyl carbon is also bonded to a hydroxyl group. The two condensed formulas may look similar, but they describe different functional groups and different compounds.

When expanding a condensed formula, check that each atom has a chemically reasonable number of bonds. This provides a useful way to detect mistakes in the drawing.

How to convert a structural formula into a molecular formula

To obtain a molecular formula from a structural formula, count every atom of each element. Ignore the arrangement of the atoms when calculating the totals, but make sure you count atoms in branches and functional groups.

For example, ethanol has the condensed formula CH₃CH₂OH. The first carbon group contributes one carbon and three hydrogens. The second contributes one carbon and two hydrogens, while the hydroxyl group contributes one oxygen and one hydrogen. Adding the atoms gives two carbons, six hydrogens, and one oxygen, so the molecular formula is C₂H₆O.

For propanone, commonly called acetone, the condensed formula is CH₃COCH₃. The two terminal methyl groups contribute two carbon atoms and six hydrogen atoms. The central carbonyl group contributes one additional carbon and one oxygen. The molecular formula is therefore C₃H₆O.

The order of elements in a molecular formula follows conventional chemical notation. For many organic compounds, carbon is written first, hydrogen second, and the remaining elements afterward. Compounds without carbon are generally written according to other chemical conventions. Regardless of the order, the subscripts must accurately reflect the total number of atoms.

Do not confuse a molecular formula with an empirical formula. An empirical formula gives the simplest whole-number ratio of atoms rather than the actual number of atoms in a molecule. For example, glucose has the molecular formula C₆H₁₂O₆, while its empirical formula is CH₂O. The empirical formula alone cannot tell you that a glucose molecule contains six carbon atoms.

Recognizing isomers when formulas look alike

Isomers are compounds that share the same molecular formula but differ in how their atoms are arranged or connected. They are particularly important when converting molecular formulas into structural or condensed formulas because they demonstrate why atom counts alone cannot determine a complete structure.

Consider butane and 2-methylpropane. Both have the molecular formula C₄H₁₀, but butane has a continuous chain of four carbon atoms, while 2-methylpropane has a branched arrangement with a central carbon connected to three methyl groups.

Their condensed formulas make the difference clear:

  • Butane: CH₃CH₂CH₂CH₃
  • 2-methylpropane: CH₃CH(CH₃)CH₃

Both formulas contain four carbon atoms and ten hydrogen atoms. However, their different structures influence properties such as boiling point and the way molecules interact with one another.

Isomerism extends beyond branching. Ethanol and dimethyl ether both have the molecular formula C₂H₆O, but one contains a hydroxyl group and the other an ether linkage. These are constitutional isomers because their atoms are connected differently.

Some compounds also have the same connectivity but differ in their three-dimensional arrangements. Such stereoisomers cannot always be distinguished using a basic condensed formula. Wedge-and-dash drawings, stereochemical labels, or other specialized notation may be necessary to represent these differences.

Consequently, converting a molecular formula into a structural representation may produce several valid answers. A chemical name, experimental information, or additional structural notation may be needed to determine which compound is intended.

Using valence and the degree of unsaturation to check formulas

Chemical valence provides a practical check when converting between formula types. Valence describes an atom’s usual bonding capacity in a particular chemical environment. In many introductory organic structures, carbon forms four bonds, oxygen forms two, and hydrogen forms one. Nitrogen commonly forms three bonds in neutral structures.

If a carbon atom appears to have five ordinary covalent bonds in a proposed structure, the drawing is likely incorrect. Likewise, a neutral oxygen atom in a typical organic molecule generally should not have three ordinary bonds without the appropriate charges or special bonding circumstances.

Another useful check is the degree of unsaturation, which estimates the number of rings and additional bonds in a molecule relative to a saturated, acyclic structure. For many neutral organic compounds containing carbon, hydrogen, nitrogen, and halogens, the degree of unsaturation can be calculated using:

Degree of unsaturation = (2C + 2 + N − H − X) ÷ 2

Here, C, H, and N represent the numbers of carbon, hydrogen, and nitrogen atoms, respectively, and X is the total number of halogen atoms, such as fluorine, chlorine, bromine, and iodine. Oxygen and sulfur do not appear in this formula under the usual assumptions.

Each ring or double bond contributes one degree of unsaturation, while each triple bond contributes two. For example, ethane (C₂H₆) has a degree of unsaturation of zero, whereas ethene (C₂H₄) has a degree of unsaturation of one because it contains a carbon–carbon double bond.

This calculation is a consistency check, not a method for determining a unique structure. A degree of unsaturation of one could indicate a double bond or a ring, and additional information is needed to distinguish between them. The formula also requires care when applied to ions, unusual bonding arrangements, or compounds outside its standard assumptions.

Common mistakes when converting chemical formulas

One frequent mistake is assuming that a molecular formula uniquely identifies a compound. As the examples of ethanol and dimethyl ether demonstrate, the same atom counts can correspond to different structures. Always consider whether the question supplies a compound name or other information that identifies the intended arrangement.

Another mistake is misreading parentheses in condensed formulas. In CH₃CH(CH₃)CH₃, the parenthetical CH₃ group is attached to the middle carbon. It is not an independent fragment or a continuation of the main chain. When in doubt, draw the carbon skeleton first and add the remaining atoms afterward.

Students may also lose track of hydrogen atoms when expanding a formula. Remember that hydrogen generally forms one covalent bond, so each hydrogen must be attached to an atom with an available bonding position. Count the hydrogens attached to each carbon individually rather than guessing the total from the number of carbon atoms.

A further error is treating condensed formulas as though they were merely shortened molecular formulas. CH₃CH₂OH and C₂H₆O contain the same numbers of atoms, but only the condensed formula indicates that the oxygen is attached to a carbon and a hydrogen. Removing the group arrangement can erase information essential to identifying the compound.

Finally, do not assume that every structural difference requires a different molecular formula. Branching, functional-group placement, and certain types of bonding can change the structure without changing the total number of atoms.

A reliable method for converting between all three formats

The most dependable approach is to treat each conversion as a separate task while checking that all representations describe the same substance.

When starting with a molecular formula, count the atoms and determine whether enough information is available to identify a particular structure. If it is, draw the bonds and arrange the atoms according to their usual valences. If the structure is already known, write a condensed formula by grouping each atom with its attached hydrogens and preserving branches and functional groups.

When starting with a condensed formula, identify the main chain, interpret parentheses, and expand the implied connections into a structural formula. Then count the atoms to obtain the molecular formula. If you start with a structural formula, count the atoms directly for the molecular formula or group the connected atoms to produce a condensed representation.

At every stage, verify three things: the total number of atoms is unchanged, the bonds and branches are represented correctly, and the resulting structure is chemically reasonable. If the compound is known by name, confirm that the structure matches that compound rather than merely matching its molecular formula.

These checks help distinguish errors in counting from errors in connectivity. They also reinforce the central principle of chemical notation: molecular formulas describe how much of each element is present, while structural and condensed formulas reveal how those atoms are organized. Understanding the difference makes chemical formulas easier to read, convert, and use to reason about molecular behavior.

Looking For Something Else?