Writing chemical equations involves translating a chemical reaction into symbols and formulas that show which substances react, which substances form, and how atoms are rearranged. To write an accurate equation, identify the reactants and products, write their correct chemical formulas, represent the reaction with an arrow, and balance the equation so that each element has the same number of atoms on both sides. The specific approach depends on the type of reaction, such as synthesis, decomposition, single replacement, double replacement, or combustion.
Chemical equations provide a concise way to describe chemical changes. They help scientists understand how substances interact, predict reaction products, and determine the relative amounts of materials consumed or produced. Learning to recognize common reaction patterns makes writing equations more systematic and less dependent on memorization.
Understand the basic structure of a chemical equation
A chemical equation contains reactants, products, and a symbol showing the direction of the reaction. Reactants are the starting substances, written on the left side. Products are the substances formed, written on the right side. An arrow separates the two sides and is read as “yields” or “produces.”
For example, hydrogen reacts with oxygen to form water:
2H₂ + O₂ → 2H₂O
Hydrogen and oxygen are the reactants, while water is the product. The equation shows that two molecules of hydrogen react with one molecule of oxygen to produce two molecules of water.
The numbers placed before chemical formulas are called coefficients. They indicate the relative amounts of each substance participating in the reaction. A small number written within a chemical formula, such as the ₂ in H₂O, is a subscript. Subscripts indicate the number of atoms of an element in a molecule or formula unit.
These numbers serve different purposes. Coefficients can be changed to balance an equation, but subscripts must remain unchanged because altering a subscript changes the identity of the substance. For instance, H₂O is water, whereas H₂O₂ is hydrogen peroxide.
Chemical equations may also include physical states: (s) for solid, (l) for liquid, (g) for gas, and (aq) for a substance dissolved in water. These labels provide useful information about the conditions and nature of a reaction.
Follow the basic steps for writing a chemical equation
The same general process applies to most chemical reactions, regardless of their type.
First, identify the reactants and products from the reaction description. A statement such as “magnesium reacts with oxygen to form magnesium oxide” identifies magnesium and oxygen as reactants and magnesium oxide as the product.
Next, write the correct chemical formula for each substance. Magnesium is Mg, oxygen gas is O₂, and magnesium oxide is MgO. Correct formulas are essential because an equation cannot be made scientifically accurate simply by balancing the wrong formulas.
Write the unbalanced equation, sometimes called a skeletal equation:
Mg + O₂ → MgO
Count the atoms of each element on both sides. The left side contains one magnesium atom and two oxygen atoms. The right side contains one magnesium atom and one oxygen atom.
Adjust the coefficients to make the atom counts equal:
2Mg + O₂ → 2MgO
The equation now contains two magnesium atoms and two oxygen atoms on each side. It is balanced and follows the law of conservation of mass, which states that ordinary chemical reactions rearrange atoms rather than create or destroy them.
Finally, check that the coefficients are in the smallest whole-number ratio and that the formulas remain correct. Include physical states when they are known or relevant.
Write synthesis reactions
A synthesis reaction, also called a combination reaction, occurs when two or more reactants combine to form a single product. These reactions often involve elements combining to form compounds, although other combinations are possible.
The general pattern is:
A + B → AB
Here, A and B represent reactants, and AB represents the product. The letters are placeholders rather than actual chemical formulas.
For example, sodium reacts with chlorine gas to form sodium chloride:
2Na + Cl₂ → 2NaCl
Sodium and chlorine combine to produce one compound, sodium chloride. Because chlorine naturally occurs as diatomic molecules, its elemental formula is Cl₂ rather than Cl. The coefficient of 2 before sodium chloride ensures that both chlorine atoms and both sodium atoms are accounted for.
Another example is the reaction between calcium oxide and water:
CaO + H₂O → Ca(OH)₂
Calcium oxide combines with water to produce calcium hydroxide. The equation is already balanced, with one calcium atom, two hydrogen atoms, and two oxygen atoms on each side.
To write a synthesis equation, identify the substances that combine, determine the formula of the resulting compound, and balance the equation. When a compound contains ions, use their charges to establish the correct formula rather than guessing the subscripts from the reaction pattern alone.
Write decomposition reactions
A decomposition reaction occurs when one compound breaks down into two or more simpler substances. Decomposition may be caused by heating, electricity, or light, depending on the compound.
The general pattern is:
AB → A + B
For example, hydrogen peroxide decomposes into water and oxygen:
2H₂O₂ → 2H₂O + O₂
The equation shows that hydrogen peroxide produces water and oxygen gas. Two hydrogen peroxide molecules contain four hydrogen atoms and four oxygen atoms. The products contain four hydrogen atoms and four oxygen atoms in total, so the equation is balanced.
Another common example is the thermal decomposition of calcium carbonate:
CaCO₃ → CaO + CO₂
When heated sufficiently, calcium carbonate breaks down into calcium oxide and carbon dioxide. One calcium atom, one carbon atom, and three oxygen atoms appear on each side.
To write a decomposition equation, begin with the compound that breaks apart, determine the likely products from the reaction conditions and the substance’s chemistry, and then balance the result. Do not assume that every compound decomposes into its constituent elements. Many compounds instead produce simpler compounds or a combination of compounds and elements.
Write single-replacement reactions
A single-replacement reaction occurs when one element replaces another element in a compound. Whether the reaction takes place depends on the chemical properties of the substances involved.
A common general pattern is:
A + BC → AC + B
In this example, A replaces B in the compound BC. The pattern is only a guide; the formulas and products must reflect the actual chemistry.
For example, zinc reacts with hydrochloric acid to produce zinc chloride and hydrogen gas:
Zn + 2HCl → ZnCl₂ + H₂
Zinc replaces hydrogen in hydrochloric acid. The zinc combines with chloride ions to form zinc chloride, while hydrogen ions form hydrogen gas. Two hydrochloric acid units are required to supply the two chloride ions needed for ZnCl₂ and the two hydrogen atoms needed for H₂.
Another example is the reaction between iron and copper(II) sulfate:
Fe + CuSO₄ → FeSO₄ + Cu
Iron replaces copper in the compound, producing iron(II) sulfate and copper metal. This reaction is possible because iron is more reactive than copper under the relevant conditions.
The activity series, a ranking of elements by their tendency to participate in replacement reactions, can help predict whether a reaction will occur. A more reactive metal can often displace a less reactive metal from its compound. Similarly, certain reactive metals can replace hydrogen in acids, producing hydrogen gas. However, reaction conditions and the specific chemical species involved can affect the outcome.
When writing a single-replacement equation, identify the element being displaced, determine whether the replacement is chemically feasible, write the correct formulas for the products, and balance the equation.
Write double-replacement reactions
A double-replacement reaction occurs when two ionic compounds exchange ions to form two new combinations. These reactions commonly occur in aqueous solutions, where dissolved ions can move freely through water.
The general pattern is:
AB + CD → AD + CB
The symbols represent ions that exchange partners. The actual formulas depend on the charges of the ions, and the reaction proceeds as written only when the chemistry favors product formation.
For example, aqueous silver nitrate reacts with aqueous sodium chloride to form solid silver chloride and aqueous sodium nitrate:
AgNO₃(aq) + NaCl(aq) → AgCl(s) + NaNO₃(aq)
Silver ions combine with chloride ions to form silver chloride, an insoluble solid called a precipitate. Sodium and nitrate ions remain dissolved in the water. Because each substance contains the same number of each relevant ion before and after the reaction, the equation is balanced.
Acid-base neutralization is another important example of a double-replacement reaction. Hydrochloric acid reacts with sodium hydroxide to form sodium chloride and water:
HCl(aq) + NaOH(aq) → NaCl(aq) + H₂O(l)
The hydrogen ions from the acid combine with hydroxide ions from the base to form water. The remaining ions form sodium chloride, which stays dissolved under these conditions.
Not every mixture of two ionic compounds produces a chemical reaction. If all possible products remain dissolved as ions and no other process drives a net chemical change, the mixture may have no net ionic reaction. Precipitate formation, gas production, or water formation often provides a driving force for these reactions.
To write a double-replacement equation, identify the ions in each reactant, exchange their partners, write electrically neutral product formulas, and check whether a reaction actually occurs. Then balance the equation.
Write combustion reactions
Combustion is a reaction in which a substance reacts with an oxidizing agent, commonly oxygen, and releases energy. Many familiar combustion reactions involve fuels containing carbon and hydrogen, such as methane, propane, and other hydrocarbons.
Complete combustion of a hydrocarbon in sufficient oxygen typically produces carbon dioxide and water.
For example, methane burns in oxygen according to this equation:
CH₄ + 2O₂ → CO₂ + 2H₂O
To balance this equation, begin with carbon. One carbon atom in methane produces one carbon atom in carbon dioxide, so carbon is already balanced. Four hydrogen atoms in methane require two water molecules. The products now contain four oxygen atoms in total: two in carbon dioxide and two in the water molecules. Therefore, two oxygen molecules are required on the reactant side.
Another example is propane combustion:
C₃H₈ + 5O₂ → 3CO₂ + 4H₂O
Three carbon atoms require three carbon dioxide molecules, while eight hydrogen atoms require four water molecules. These products contain ten oxygen atoms, so five O₂ molecules are needed.
When oxygen is limited, combustion may be incomplete. Depending on the conditions, products can include carbon monoxide or solid carbon, along with water and possibly carbon dioxide. For example, one possible incomplete-combustion equation for methane is:
2CH₄ + 3O₂ → 2CO + 4H₂O
Carbon monoxide is poisonous, which makes incomplete combustion an important safety concern in homes and workplaces.
To write a combustion equation, identify the fuel and oxygen as reactants, determine the expected products based on the fuel and combustion conditions, and balance the atoms. For hydrocarbons undergoing complete combustion, balancing carbon first, hydrogen second, and oxygen last is usually the most efficient method.
Recognize acid-base and gas-forming reactions
Some reactions are easier to identify by their products than by the number of reactants or the way atoms exchange partners. Acid-base reactions and gas-forming reactions are important examples.
An acid reacting with a base often produces a salt and water. The hydrochloric acid and sodium hydroxide reaction is a familiar example:
HCl + NaOH → NaCl + H₂O
The essential chemical change is the combination of hydrogen ions and hydroxide ions to form water. This process explains why acid-base neutralization is often described in terms of proton transfer.
Some acids also react with carbonates to release carbon dioxide gas. For example, hydrochloric acid reacts with calcium carbonate according to the equation:
CaCO₃ + 2HCl → CaCl₂ + H₂O + CO₂
The carbonate reacts with the acid, producing calcium chloride, water, and carbon dioxide. The balanced equation contains one calcium atom, one carbon atom, two hydrogen atoms, two chlorine atoms, and three oxygen atoms on each side.
Gas formation can also occur when certain ionic compounds react in water. For instance, an acid reacting with a sulfite can produce sulfur dioxide, while an acid reacting with certain sulfides can release hydrogen sulfide.
When predicting these reactions, look for familiar chemical patterns and consider whether a gas, water, or an insoluble product forms. These clues help determine whether a reaction occurs and which products should appear in the equation.
Balance chemical equations correctly
Balancing is essential because chemical reactions conserve atoms of each element. A correct equation must have the same number of atoms of every element on the reactant and product sides.
The most straightforward method is inspection, sometimes called trial-and-error balancing. Begin by counting each element, then adjust coefficients to equalize the counts. It is generally helpful to balance elements that appear in only one reactant and one product first, leaving hydrogen and oxygen until later when possible.
Consider the reaction between aluminum and oxygen:
Al + O₂ → Al₂O₃
The unbalanced equation has two oxygen atoms on the left and three on the right. The least common multiple of 2 and 3 is 6, so place a coefficient of 3 before O₂ and a coefficient of 2 before Al₂O₃:
Al + 3O₂ → 2Al₂O₃
The product side now contains four aluminum atoms, so place a coefficient of 4 before Al:
4Al + 3O₂ → 2Al₂O₃
Both sides now contain four aluminum atoms and six oxygen atoms.
A few principles make balancing easier. Change coefficients rather than subscripts. Treat an unchanged polyatomic ion, such as sulfate (SO₄²⁻), as a unit when it appears intact on both sides. Reduce the coefficients to the smallest whole-number ratio at the end. Finally, recount every element to confirm the result.
Some equations are easier to balance by using algebra. Assign a variable to each coefficient, write equations that express the conservation of each element, and solve for the smallest whole-number solution. This method is especially useful for reactions with many reactants and products.
Use ionic charges to write correct chemical formulas
Balancing cannot correct an incorrect chemical formula, so formulas must be established before coefficients are adjusted. This is particularly important for ionic compounds, which contain positively charged ions called cations and negatively charged ions called anions.
An ionic compound must have an overall electrical charge of zero. For example, magnesium forms Mg²⁺ ions, while chloride forms Cl⁻ ions. Two chloride ions are therefore needed for every magnesium ion, giving the formula MgCl₂.
The same principle applies when predicting products in replacement and double-replacement reactions. Aluminum forms Al³⁺ ions, and sulfate is SO₄²⁻. To produce an electrically neutral compound, two aluminum ions combine with three sulfate ions:
Al₂(SO₄)₃
Parentheses indicate that the subscript outside them applies to the entire polyatomic ion. The formula contains two aluminum ions and three sulfate ions, for a total of six sulfur atoms and twelve oxygen atoms.
For molecular compounds, use the established molecular formulas rather than applying ionic charge rules indiscriminately. Water is H₂O, carbon dioxide is CO₂, and ammonia is NH₃. Understanding the distinction between ionic and molecular substances helps prevent errors in both product prediction and balancing.
Understand the meaning of reaction conditions and symbols
Chemical equations can communicate more than the identities and amounts of reactants and products. Additional symbols and conditions help explain how a reaction occurs.
Physical-state symbols identify whether substances are solid, liquid, gaseous, or dissolved in water. For example:
2H₂(g) + O₂(g) → 2H₂O(l)
The labels indicate that hydrogen and oxygen are gases and that the water product is liquid under the stated conditions.
A triangle placed above an arrow is commonly used to indicate heating. Other notations may identify light, an electrical current, or a catalyst. A catalyst is a substance that increases the rate of a reaction without being consumed overall in the reaction.
Reaction conditions can determine whether a process occurs, how quickly it proceeds, and which products form. For example, the same starting materials can sometimes yield different products under different temperature or oxygen conditions. Consequently, a reaction equation should reflect the conditions when they are important for identifying the chemistry.
A reversible arrow (⇌) indicates that a reaction can proceed in both directions under the stated conditions. In a reversible reaction, the products can react to regenerate the reactants. This differs from a simple forward arrow, which represents the reaction in the direction being described.
Distinguish molecular, complete ionic, and net ionic equations
Some reactions in aqueous solution can be represented at different levels of detail. A molecular equation writes compounds as complete formulas, while a complete ionic equation separates strong electrolytes into their dissolved ions. A net ionic equation retains only the species directly involved in the chemical change.
Consider the precipitation reaction between silver nitrate and sodium chloride:
AgNO₃(aq) + NaCl(aq) → AgCl(s) + NaNO₃(aq)
In the complete ionic equation, the soluble ionic compounds are represented as ions:
Ag⁺(aq) + NO₃⁻(aq) + Na⁺(aq) + Cl⁻(aq) → AgCl(s) + Na⁺(aq) + NO₃⁻(aq)
Sodium and nitrate ions appear unchanged on both sides. These are called spectator ions because they do not participate directly in forming the precipitate. Removing them produces the net ionic equation:
Ag⁺(aq) + Cl⁻(aq) → AgCl(s)
This form highlights the essential chemical event: dissolved silver ions and chloride ions combine to form solid silver chloride.
Net ionic equations are particularly useful for precipitation, acid-base, and other reactions in aqueous solutions. However, they require correct knowledge of which substances dissociate into ions and which remain as molecules or solids. Weak acids, weak bases, gases, liquids, and precipitates are generally represented in their undissociated or appropriate molecular forms.
Avoid common mistakes when writing equations
One of the most frequent mistakes is writing incorrect product formulas. For example, sodium oxide is Na₂O, not NaO, because the ionic charges must balance. Always establish the correct formulas before attempting to balance the equation.
Another common error is changing subscripts to make atom counts match. If an equation contains H₂ + O₂ → H₂O, changing H₂O to H₂O₂ would change water into hydrogen peroxide rather than balance the original reaction. The correct balanced equation is 2H₂ + O₂ → 2H₂O.
A third mistake is assuming that every predicted reaction occurs. In double-replacement reactions, two soluble ionic compounds may remain dissolved after their ions mix, producing no net chemical change. In single-replacement reactions, an element may be unable to displace another element because it is less reactive under the relevant conditions.
Writers also sometimes forget that elemental substances can exist as molecules. Hydrogen, nitrogen, oxygen, fluorine, chlorine, bromine, and iodine commonly occur as diatomic molecules in their elemental forms: H₂, N₂, O₂, F₂, Cl₂, Br₂, and I₂. Using the wrong elemental formula can make an otherwise plausible equation incorrect.
Finally, do not confuse a balanced equation with a complete description of reaction behavior. A balanced equation establishes the conservation of atoms and, when applicable, charge. It does not by itself establish the reaction rate, the amount of energy released, the reaction mechanism, or whether the reaction proceeds readily under ordinary conditions.
Apply a systematic method to unfamiliar reactions
When encountering an unfamiliar reaction, begin by identifying the chemical substances and the conditions under which they react. Determine whether the reaction follows a recognizable pattern, such as synthesis, decomposition, single replacement, double replacement, or combustion. Use established chemical principles to predict products rather than relying on the pattern alone.
Write the correct formulas for the reactants and products, then balance the equation with coefficients. If the reaction occurs in aqueous solution, consider whether ionic notation would better explain the chemical change. Include physical states and reaction conditions when they provide meaningful information.
For example, when aluminum reacts with hydrochloric acid, aluminum can displace hydrogen from the acid, producing aluminum chloride and hydrogen gas. The correct unbalanced equation is:
Al + HCl → AlCl₃ + H₂
Aluminum chloride contains one aluminum atom and three chlorine atoms per formula unit, while hydrogen gas contains two hydrogen atoms per molecule. Balancing these requirements gives:
2Al + 6HCl → 2AlCl₃ + 3H₂
The final equation conserves aluminum, hydrogen, and chlorine atoms. It also reflects the chemical identities of the products and the fact that hydrogen is released as a diatomic gas.
The most reliable way to write chemical equations is to combine pattern recognition with careful formula writing, chemical reasoning, and atom counting. Reaction types offer useful starting points, but accurate equations ultimately depend on understanding the substances involved and applying the laws that govern chemical change.
