Mg er atomsymbol for grunnstoffet magnesium.