Zircon is common in the crust of Earth. It occurs as a common accessory mineral in igneous rocks (as primary crystallization products), in metamorphic rocks and as detrital grains in sedimentary rocks. Large zircon crystals are rare. Their average size in granite rocks is about 0.1–0.3 mm, but they can also grow to sizes of several centimeters, especially in mafic pegmatites and carbonatites. Zircon is fairly hard (with a Mohs hardness of 7.5) and chemically stable, and so is highly resistant to weathering. It also is resistant to heat, so that detrital zircon grains are sometimes preserved in igneous rocks formed from melted sediments. Its resistance to weathering, together with its relatively high specific gravity (4.68), make it an important component of the heavy mineral fraction of sandstones.