Usually, metallicity is expressed in terms of the relative amounts of [[iron]] and hydrogen present in a star, since iron is among the easiest elements to measure with spectral data in the visible spectrum. This is determined by analyzing absorption lines in a stellar spectrum using a spectrometer, compared to the star's solar value. The ratio of the amount of iron to the amount of hydrogen in the object is divided by the ratio of the amount of iron to the amount of hydrogen in the Sun (which has a metallicity of 1.6 percent by mass). This value, expressed as [Fe/H], is calculated using the following logarithmic formula.<ref name="metal"/> | Usually, metallicity is expressed in terms of the relative amounts of [[iron]] and hydrogen present in a star, since iron is among the easiest elements to measure with spectral data in the visible spectrum. This is determined by analyzing absorption lines in a stellar spectrum using a spectrometer, compared to the star's solar value. The ratio of the amount of iron to the amount of hydrogen in the object is divided by the ratio of the amount of iron to the amount of hydrogen in the Sun (which has a metallicity of 1.6 percent by mass). This value, expressed as [Fe/H], is calculated using the following logarithmic formula.<ref name="metal"/> |