The percentage of heavy elements in the sun, defined as those heavier than helium, is approximately 1.6-1.8%, based on various models. This metallicity, noted as 0.0177, indicates that heavy elements constitute a very small fraction of the sun's overall composition. During star formation, the initial gas cloud is assumed to be homogeneous, leading to a consistent distribution of elements. Currently, the sun is on the main sequence and does not create heavy elements internally. Overall, while the percentage is small, it is significantly greater than the mass of Earth.