The representation of a chemical compound in chemistry is called as a chemical formula. Chemical formula gives the number of atoms of an element in a given chemical compound. The calculator tool used to write the chemical formula of a given compound is called as chemical formula calculator.
Example 1: What is the chemical formula for calcium carbonate?
The given chemical compound is calcium carbonate which has a calcium ion and carbonate ion in it.
Calcium is a metallic ion which is written as Ca2+
Carbonate is a non-metallic ion which is written as (CO3)2-
Here calcium ion loses two electrons which are gained by the carbonate ion.
Therefore the chemical formula for calcium carbonate is written as CaCO3.
Example 2: What is the chemical formula for Magnesium Sulfate?
The given chemical compound is Magnesium sulfate which has a Magnesium ion and sulfate ion in it.
Magnesium is a metallic ion which is written as Mg2+
Sulfate is a non-metallic ion which is written as (SO4)2-
Here Magnesium ion loses two electrons which are gained by the sulfate ion.
Therefore, the chemical formula for Magnesium Sulfate is written as Mg(SO4).