In chemistry, a ternary compound is a compound containing three different elements. An example of this is sodium phosphate, Na3PO4. The sodium ion has a charge of 1+ and the phosphate ion has a charge of 3-. Therefore, three sodium ions are needed to balance the charge of one phosphate ion. Another example of a ternary compound is calcium carbonate. In naming and writing the formulae for ternary compounds, we follow rules that are similar to binary compounds (CaCO3).
According to Rustum Roy and Olaf Müller, "the chemistry of the entire mineral world informs us that chemical complexity can easily be accommodated within structural simplicity." The example of zircon is cited, where various metal atoms are replaced in the same crystal structure. "The structural entity ... remains ternary in character and is able to accommodate an enormous range of chemical elements." The great variety of ternary compounds is therefore reduced to relatively few structures: "By dealing with approximately ten ternary structural groupings we can cover the most important structures of science and technology specific to the non-metallics world. It is a remarkable instance of nature's simplexity."(pages 3,4)
Letting A and B represent cations and X an anion, these ternary groupings are organized by stoichiometric types A2BX4, ABX4, and ABX3. Brackets ([ ]) are used to identify a structure by an enclosed typical ternary compound.
Other ternary compounds are described as crystals of types