Having a mean density of 3,346.4 kg/m, the Moon is a differentiated body, being composed of a geochemically distinct crust, mantle, and planetary core. This structure is believed to have resulted from the fractional crystallization of a magma ocean shortly after its formation about 4.5 billion years ago. The energy required to melt the outer portion of the Moon is commonly attributed to a giant impact event that is postulated to have formed the Earth-Moon system, and the subsequent reaccretion of material in Earth orbit. Crystallization of this magma ocean would have given rise to a mafic mantle and a plagioclase-rich crust.
Geochemical mapping from orbit implies that the crust of the Moon is largely anorthositic in composition, consistent with the magma ocean hypothesis. In terms of elements, the lunar crust is composed primarily of oxygen, silicon, magnesium, iron, calcium, and aluminium, but important minor and trace elements such as titanium, uranium, thorium, potassium, sulphur, manganese, chromium, and hydrogen are present as well. Based on geophysical techniques, the crust is estimated to be on average about 50 km thick.