Calcium carbonate is a chemical compound, the chemical formula of which is CaCO3. It is a common material found in the form of rock all over the world, and is the main component in the shells of marine organisms, snails and eggshells. Calcium carbonate is the active ingredient in agricultural lime, and it is usually the main cause of hard water.