Metallic or native iron is rarely found on the surface of the Earth because it tends to oxidize, but its oxides are pervasive and represent the primary ores. While it makes up about 5% of the Earth's crust, both the Earth's inner and outer core are believed to consist largely of an iron-nickel alloy constituting 35% of the mass of the Earth as a whole.
Iron is consequently the most abundant element on Earth, but only the fourth most abundant element in the Earth's crust, after oxygen, silicon, and aluminium. Most of the iron in the crust is found combined with oxygen as iron oxide minerals such as hematite (Fe2O3), magnetite (Fe3O4), and siderite (FeCO3). Many igneous rocks also contain the sulfide minerals pyrrhotite and pentlandite.