The Sun’s mass is about 330,000 times that of Earth, making up about 99.86% of the total mass of the Solar System. The mass of the Sun’s surface layer, its photosphere, consists mostly of hydrogen (~73%) and helium (~25%), with much smaller quantities of heavier elements, including oxygen, carbon, neon, and iron.