This enzyme participates in both the breakdown and synthesis of glucose. alpha-D-glucose 1-phosphate = alpha-D-glucose 6-phosphate Binds 1 Mg(2+) ion per subunit. Belongs to the phosphohexose mutase family.