It is an alkaline earth metal and the eighth most abundant element in the Earth 's crust , where it constitutes about 2 % by mass , and ninth in the known Universe as a whole .
It is an alkaline earth metal and the seventh most abundant element in the Earth 's crust , where it constitutes about 2 % by mass , and ninth in the known Universe as a whole .