Magnesium Carbonate is a magnesium salt with the formula CMgO3. Its hydrated forms, particularly the di-, tri-, and tetrahydrates occur as minerals. It has a role as an antacid and a fertilizer. It is a magnesium salt, a carbonate salt, and a one-carbon compound.