Calcium carbonate is a chemical compound with the chemical formula CaCO₃. It is a common substance found in rocks as the minerals calcite and aragonite, most notably in chalk and limestone, eggshells, gastropod shells, shellfish skeletons and pearls.