go to the AUS-e-TUTE homepage

Writing the Formula of Inorganic Salts (binary ionic compounds) Chemistry Tutorial

Key Concepts

Please do not block ads on this website.
No ads = no money for us = no free stuff for you!

Steps for Writing the Formula of a Inorganic Salt Given Its Name

The name of a salt tells us:

If a monoatomic cation is present, the name of the cation also includes its charge number in parentheses after the name of the metal, unless it is one of the following cations:

So, we can use the information given in the name of a salt in order to write the formula for the salt.

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
    Names: cation   anion

  2. Use the cation's name to determine the formula for the cation
    M+ : Group 1 metal, hydrogen, silver, ammonium
    M2+ : Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
    Names: cation   anion
    Formulae: Mx+    

  3. Use the anion's name to determine the formula for the anion
    X- : Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate
    X2- : Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
    Names: cation   anion
    Formulae: Mx+   Xy-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
    Names: cation   anion
    Formulae: Mx+   Xy-
    Ratio of ions: y : x

    Note that (y × x+) + (x × y-) = 0

    or, (y × x+) = -(x × y-)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
    Names: cation   anion
    Formulae: Mx+   Xy-
    Ratio of ions: y : x
    Lowest whole number ratio : a : b

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
    Names: cation   anion
    Formulae: Mx+   Xy-
    Ratio of ions: y : x
    Lowest whole number ratio : a : b
    Ions as represented in salt formula : M   X

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
    Names: cation   anion
    Formulae: Mx+   Xy-
    Ratio of ions: y : x
    Lowest whole number ratio : a : b
    Ions as represented in salt formula : M   X
    Provisional salt formula: Ma   Xb

  8. Write the formula for the salt: MaXb

Do you know this?

Join AUS-e-TUTE!

Play the game now!

Worked Examples of Writing the Formula for an Inorganic Salt: Monoatomic Ions

Question 1: Write the formula for sodium chloride

Solution:

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: sodium   chloride

  2. Use the cation's name to determine the formula for the cation
    M+ : sodium(1+), Na+, is a Group 1 metal, hydrogen, silver, ammonium
    M2+ : Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+    

  3. Use the anion's name to determine the formula for the anion
    X- : chloride, Cl-, is a Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate
    X2- : Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+   Cl-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+   Cl-
    Ratio of ions: 1 : 1

    Note that (1 × +) + (1 × -) = 0

    or, (1 × +) = -(1 × -)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+   Cl-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+   Cl-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1
    Ions as represented in salt formula : Na   Cl

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
      cation   anion
    Names: sodium   chloride
    Formulae: Na+   Cl-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1
    Ions as represented in salt formula : Na   Cl
    Provisional salt formula: Na   Cl

  8. Write the formula for the salt:

    The formula for sodium chloride is NaCl

Question 2: Write the formula for magnesium bromide.

Solution :

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: magnesium   bromide

  2. Use the cation's name to determine the formula for the cation
    M+ : Group 1 metal, hydrogen, silver, ammonium
    M2+ : magnesium, Mg2+, is a Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+    

  3. Use the anion's name to determine the formula for the anion
    X- : bromide, Br-, is a Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate
    X2- : Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+   Br-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+   Br-
    Ratio of ions: 1 : 2

    Note that (1 × 2+) + (2 × 1-) = 0

    or, (1 × 2+) = -(2 × 1-)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx, that is, 12 then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is 1:2

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+   Br-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+   Br-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Mg   Br

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
      cation   anion
    Names: magnesium   bromide
    Formulae: Mg2+   Br-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Mg   Br
    Provisional salt formula: Mg   Br2

  8. Write the formula for the salt:

    magnesium bromide has the formula MgBr2

Question 3: Write the formula for lead(4+) oxide (also known as lead(IV) oxide)

Solution:

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: lead(4+)   oxide

  2. Use the cation's name to determine the formula for the cation
    M+ : Group 1 metal, hydrogen, silver, ammonium
    M2+ : Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name: charge on lead(4+) is 4+, cation formula is Pb4+

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+    

  3. Use the anion's name to determine the formula for the anion
    X- : Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate
    X2- : oxide, O2-, is a Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+   O2-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+   O2-
    Ratio of ions: 2 : 4

    Note that (2 × 4+) + (4 × 2-) = 0

    or, (2 × 4+) = -(4 × 2-)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1 (4/2 = 2 which is a whole number greater than 1)
    then divide both x and y by the smallest number (that is, divide throughout by 2)

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+   O2-
    Ratio of ions: 2 : 4
    Lowest whole number ratio : 2 ÷ 2 = 1 : 4 ÷ 2 = 2

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+   O2-
    Ratio of ions: 2 : 4
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Pb   O

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
      cation   anion
    Names: lead(4+)   oxide
    Formulae: Pb4+   O2-
    Ratio of ions: 2 : 4
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Pb   O
    Provisional salt formula: Pb   O2

  8. Write the formula for the salt:

    The formula for lead(4+) oxide is PbO2

Do you understand this?

Join AUS-e-TUTE!

Take the test now!

Worked Examples of Writing the Formula for an Inorganic Salt: Polyatomic Ions

Question 1: Write the formula for the inorganic salt sodium hydrogencarbonate.

Solution:

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: sodium   hydrogencarbonate

  2. Use the cation's name to determine the formula for the cation
    M+ : sodium(1+), Na+, is a Group 1 metal, hydrogen, silver, ammonium
    M2+ : Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+    

  3. Use the anion's name to determine the formula for the anion
    X- : Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate, HCO3-
    X2- : Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+   HCO3-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+   HCO3-
    Ratio of ions: 1 : 1

    Note that (1 × +) + (1 × -) = 0

    or, (1 × +) = -(1 × -)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+   HCO3-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+   HCO3-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1
    Ions as represented in salt formula : Na   HCO3

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
    Names: sodium   hydrogencarbonate
    Formulae: Na+   HCO3-
    Ratio of ions: 1 : 1
    Lowest whole number ratio : 1 : 1
    Ions as represented in salt formula : Na   HCO3
    Provisional salt formula: Na   HCO3

  8. Write the formula for the salt:

    sodium hydrogencarbonate has the formula NaHCO3

Question 2: Write the formula for the inorganic salt calcium nitrate.

Solution:

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: calcium   nitrate

  2. Use the cation's name to determine the formula for the cation
    M+ : Group 1 metal, hydrogen, silver, ammonium
    M2+ : calcium(2+), Ca2+ is a Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+    

  3. Use the anion's name to determine the formula for the anion
    X- : Group 17 non-metal, hydroxide, nitrate, NO3-, nitrite, hydrogencarbonate
    X2- : Group 16 non-metal, carbonate, sulfate, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+   NO3-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+   NO3-
    Ratio of ions: 1 : 2

    Note that (1 × 2+) + (2 × -) = 0

    or, (1 × 2+) = -(2 × -)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+   NO3-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+   NO3-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Ca   NO3

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
    Names: calcium   nitrate
    Formulae: Ca2+   NO3-
    Ratio of ions: 1 : 2
    Lowest whole number ratio : 1 : 2
    Ions as represented in salt formula : Ca   NO3
    Provisional salt formula: Ca   (NO3)2

  8. Write the formula for the salt:

    calcium nitrate has the formula Ca(NO3)2

Question 3: Write the formula for the inorganic salt ammonium sulfate.

Solution:

  1. Break the name of the salt up into the name of the cation, and, the name of the anion:

      Salt
      cation   anion
    Names: ammonium   sulfate

  2. Use the cation's name to determine the formula for the cation
    M+ : Group 1 metal, hydrogen, silver, ammonium, NH4+
    M2+ : Group 2 metal, zinc
    M3+ : aluminium
    Otherwise charge on ion is given in parentheses after name

      Salt
    Names: ammonium   sulfate
    Formulae: NH4+    

  3. Use the anion's name to determine the formula for the anion
    X- : Group 17 non-metal, hydroxide, nitrate, nitrite, hydrogencarbonate
    X2- : Group 16 non-metal, carbonate, sulfate, SO42-, sulfite
    X3- : Group 15 non-metal, phosphate

      Salt
    Names: cation   anion
    Names: ammonium   sulfate
    Formulae: NH4+   SO42-

  4. Determine the ratio of cations to anions in the formula of the salt:

      Salt
    Names: cation   anion
    Names: ammonium   sulfate
    Formulae: NH4+   SO42-
    Ratio of ions: 2 : 1

    Note that (2 × +) + (1 × 2-) = 0

    or, (2 × +) = -(1 × 2-)

  5. Determine the lowest whole number ratio of cations to anions:

    (i) If y = x then the lowest whole number ratio of cations to anions is 1:1

    (ii) If yx then

    (a) If y = 1 and/or x = 1 you already have the lowest whole number ratio of cations to anions, M:X is y:x

    (b) Otherwise divide y by x AND divide x by y

    (I) If (y ÷ x) and (x ÷ y) are both fractions, then the lowest whole number ratio of M:X is y:x

    (II) If (y ÷ x) = whole number greater than 1 OR (x ÷ y) = a whole number greater than 1
    then divide both x and y by the smallest number (which is either x or y)

      Salt
    Names: cation   anion
    Names: ammonium   sulfate
    Formulae: NH4+   SO42-
    Ratio of ions: 2 : 1
    Lowest whole number ratio : 2 : 1

  6. Remove the charges from the ions to give the formula for the ions as they will be represented in the formula of the salt:

      Salt
    Names: cation   anion
    Names: ammonium   sulfate
    Formulae: NH4+   SO42-
    Ratio of ions: 2 : 1
    Lowest whole number ratio : 2 : 1
    Ions as represented in salt formula : NH4   SO4

  7. Construct a formula for the salt:

    (i) If a = b, ratio of M to X is 1:1 and the salt's general formula is MX

    (ii) If ab, ratio of M to X is a:b and the salt's general formula is MaXb

    (a) If a = 1, general salt formula is MXb
    (b) If b = 1, general salt formula is MaX
    (c) If more than one of a specific polyatomc ion is present in the salt's formula, then the formula of that polyatomic ion is enclosed in parentheses and the number of polyatomic ions written as a subscript to the right of the parentheses.

      Salt
    Names: cation   anion
    Names: ammonium   sulfate
    Formulae: NH4+   SO42-
    Ratio of ions: 2 : 1
    Lowest whole number ratio : 2 : 1
    Ions as represented in salt formula : NH4   SO4
    Provisional salt formula: (NH4)2   SO4

  8. Write the formula for the salt:

    ammonium sulfate has the formula (NH4)2SO4

Can you apply this?

Join AUS-e-TUTE!

Take the exam now!


Footnotes: reference "Nomenclature of Inorganic Chemistry: IUPAC Recommendations 2005" (Red Book)

(1) "bi" means "two"; biannual is an event that happens twice a year, biennial is an event that occurs every two years, bicentennial is an event occuring every two hundred years, bicycle has two wheels, biathlon is an athletic competition involving two events (skiing ang shooting), biceps is a muscle with two heads or attachments, bilingual refers to a person who is fluent in two languages, etc

(2) monoatomic or monotomic or monatomic? The IUPAC document cited above uses monoatomic so we will too!

(3) The formula of a salt is the same as its empirical formula.

Also refer to the practical investigation Determination of Empirical Formula: magnesium oxide.

(4) This location around the symbol of an element is actually referred to as the "right lower index".

left upper index symbol right upper index
left lower index right lower index

(5) The name of the element with the symbol Cs is caesium, but IUPAC also accepts the alternative spelling of cesium.

(6) The systematic IUPAC name for ammonium is azanium. Most people still use the name ammonium for the cation NH4+ and it is an acceptable IUPAC name.

(7) To be consistent with the rules for the construction of a formula (order of increasing electronegativity, that is symbol for least electronegative atom written first, symbol for most electronegative element written last), hydroxide should be given the formula HO- NOT OH-. However, the formula OH- for hydroxide is well established and accepted.
Systematic IUPAC names for hydroxide are:

  • oxidanide (substitutive name : water, H2O, named as oxidane, negative ion produced by dehydronation (deprotonation) is HO- hence named as oxidanide)
  • hydridooxygenate(1-) (additive name)