The solar abundance of an element is the number of its atoms relative to those of hydrogen in the Sun, written on a logarithmic scale on which hydrogen is set at :
A difference of one unit in such a logarithm is called a dex: two abundances that differ by dex differ by a factor . For a star, the abundance relative to the Sun is written with brackets, , and likewise for any two elements.