Description. Magnesium carbonate is a magnesium salt with 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, a one-carbon compound and an organic magnesium salt.