✦ScienexySCIENCE KNOWLEDGE LIBRARY
concept · SCI-CHE-013-007

Writing Chemical Formulas from Compound Names

Writing chemical formulas from compound names involves identifying the constituent elements or ions, determining their charges or combining proportions, and arranging them according to accepted chemical notation rules.

For a simple ionic compound containing ions Xᵃ⁺ and Yᵇ⁻, the simplest neutral ratio is XᵦYₐ, reduced to the lowest whole-number ratio where possible.

Explanation

Chemical formulas can be constructed from compound names by identifying the substances represented by the name and applying the relevant chemical rules. For ionic compounds, the charges of the ions are used to determine the simplest whole-number ratio that produces an electrically neutral formula unit. For example, magnesium forms Mg₂⁺ and chloride forms Cl⁻, so two chloride ions are required for every magnesium ion, giving MgCl₂. For compounds containing polyatomic ions, the entire ion must be treated as a unit. Calcium hydroxide contains Ca₂⁺ and OH⁻, so its formula is Ca(OH)₂. When a transition metal can form ions with different charges, a Roman numeral in the compound name indicates the metal's oxidation state. For example, iron(III) chloride is FeCl₃. Molecular compounds are commonly named using prefixes such as mono-, di-, tri-, and tetra-, which indicate the numbers of atoms. For example, dinitrogen monoxide is N₂O. Some common compounds also have accepted traditional or common names. Accurate formula writing requires knowing whether a compound is ionic, molecular, or an acid and applying the corresponding naming and formula conventions.

Variables

SymbolMeaning

X

Cation or positively charged ion.

Y

Anion or negatively charged ion.

a

Magnitude of the positive charge on X.

b

Magnitude of the negative charge on Y.

Numerical prefixes

Name components such as di-, tri-, and tetra- that indicate atom counts in molecular compounds.

Example or application

  • Sodium chloride: Na⁺ and Cl⁻ combine in a 1:1 ratio, giving NaCl.

  • Magnesium chloride: Mg₂⁺ and Cl⁻ combine in a 1:2 ratio, giving MgCl₂.

  • Calcium hydroxide: Ca₂⁺ and OH⁻ combine in a 1:2 ratio, giving Ca(OH)₂.

  • Iron(III) oxide: Fe₃⁺ and O₂⁻ combine in a 2:3 ratio, giving Fe₂O₃.

  • Carbon dioxide: the prefix di- indicates two oxygen atoms, giving CO₂.

  • Dinitrogen monoxide: di- indicates two nitrogen atoms and mono- indicates one oxygen atom, giving N₂O.

Definition

Writing chemical formulas from compound names is the process of converting a systematic or accepted chemical name into its correct symbolic formula using element symbols, ion charges, numerical prefixes, and chemical naming rules.

Purpose

To convert chemical names into accurate chemical formulas by applying ionic charge balance, molecular naming prefixes, and accepted chemical conventions.

Importance

Correct formula writing is necessary for identifying compounds, communicating chemical information, preparing substances, and constructing chemical equations. It also prevents errors in calculations involving molar mass and reaction quantities.

Learning Objectives

  • Convert simple ionic compound names into formulas.

  • Use ion charges to determine neutral ionic formulas.

  • Write formulas containing polyatomic ions.

  • Interpret Roman numerals in transition-metal compound names.

  • Use numerical prefixes to write molecular formulas.

Key Concepts

  • Cations and anions

  • Electrical neutrality

  • Ion charges

  • Polyatomic ions

  • Roman numerals

  • Molecular prefixes

Working Principle

The method depends on the type of compound. Ionic formulas are constructed by balancing total positive and negative charges using the simplest whole-number ratio. Molecular formulas are constructed by interpreting the numerical prefixes in the compound name.

Process

  • Identify whether the compound is ionic or molecular.

  • Identify the elements or ions named in the compound.

  • For ionic compounds, determine the charges of the cation and anion.

  • Choose the simplest whole-number ratio that gives an electrically neutral formula.

  • Use parentheses when more than one polyatomic ion is required.

  • For molecular compounds, interpret the numerical prefixes.

  • Check the final formula for correct symbols, subscripts, and notation.

Applications

  • Writing formulas for inorganic salts.

  • Representing molecular compounds.

  • Identifying transition-metal compounds.

  • Preparing chemical equations from reaction descriptions.

  • Calculating molar masses and elemental composition.

Worked Example

Write the formula for aluminum sulfate. Aluminum forms Al₃⁺, while sulfate is SO₄²⁻. The smallest total positive and negative charge balance requires two aluminum ions (+6) and three sulfate ions (−6). Therefore, the formula is Al₂(SO₄)₃.

Common Misconceptions

  • Ionic formulas must have an overall electrical charge of zero.

  • Subscripts should be reduced to the simplest whole-number ratio when possible.

  • Parentheses are required when a polyatomic ion appears more than once.

  • Roman numerals in compound names indicate the oxidation state of the named metal, not the number of atoms.

  • Molecular prefixes should not be replaced by ionic charge-balancing rules.

Practice Questions

  • Write the formula for calcium chloride.

  • What is the formula of aluminum oxide?

  • Write the formula for iron(II) oxide.

  • What formula is represented by dinitrogen pentoxide?

  • Why are parentheses used in calcium nitrate, Ca(NO₃)₂?

Key Takeaway

To write a correct chemical formula, first identify the compound type, then apply charge balance for ionic compounds or numerical prefixes for molecular compounds.

Prerequisites

  • Chemical Symbols

  • Periodic Table

  • Common Ion Charges

  • Polyatomic Ions

  • Chemical Formula Notation

Reference

  • IUPAC — Nomenclature of Inorganic Chemistry

  • OpenStax Chemistry 2e — Ionic and Molecular Compounds

  • Chemistry: The Central Science — Naming and Writing Formulas

Related Topics

  • Chemical Formula Notation

  • Reading and Interpreting Chemical Formulas

  • Chemical Formulas and Chemical Composition

  • Common Chemical Formula Notation Errors

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.

Suggest a correction or source · More in Chemical Formulas & Equations