Dolomite is a mineral and a sedimentary rock that contains calcium and magnesium carbonate:
Mineral
The mineral dolomite is made up of calcium and magnesium carbonate, with the chemical formula CaMg(CO₃)₂. In ideal dolomite, the proportions of calcium carbonate and magnesium carbonate are equal.