The structural formula of a mineral gives, for a fixed number of oxygen atoms, the number of atoms of each element and the site each occupies, the ions sharing a site written together: olivine , a plagioclase . The Mg number of a mineral or a rock is
the numbers of atoms being counted in moles (or per formula unit).