The composition of Mars covers the branch of the geology of Mars that describes the make-up of the planet Mars.

Elemental composition

Mars is differentiated, which—for a terrestrial planet—implies that it has a central core made up of high density matter (mainly metallic iron and nickel) surrounded by a less dense, silicate mantle and crust. Like Earth, Mars appears to have a molten iron core, or at least a molten outer core. However, there does not appear to be convection in the mantle. Presently, Mars shows little geological activity.

The elemental composition of Mars is different from Earth's in several significant ways. First, Martian meteorite analysis suggests that the planet's mantle is about twice as rich in iron as the Earth's mantle.Halliday, A. N. et al. (2001). The Accretion, Composition and Early Differentiation of Mars. In Chronology and Evolution of Mars, Kallenbach, R. et al. Eds., Space Science Reviews, 96: pp. 197–230. The planet's distinctive red color is due to iron oxides on its surface. Second, its core is richer in sulphur. Third, the Martian mantle is richer in potassium and phosphorus than Earth's and fourth, the Martian crust contains a higher percentage of volatile elements such as sulphur and chlorine than the Earth's crust does. Many of these conclusions are supported by in situ analyses of rocks and soils on the Martian surface.See Bruckner, J. et al. (2008) Mars Exploration Rovers: Chemical Composition by the APX, in The Martian Surface: Composition, Mineralogy, and Physical Properties, J.F. Bell III, Ed.; Cambridge University Press: Cambridge, UK, p. 58 for example.

Much of what we know about the elemental composition of Mars comes from orbiting spacecraft and landers. (See Exploration of Mars for list.) Most of these spacecraft carry spectrometers and other instruments to measure the surface composition of Mars by either remote sensing from orbit or in situ analyses on the surface. We also have many actual samples of Mars in the form of meteorites that have made their way to Earth. Martian meteorites (often called SNC's, for Shergottites, Nakhlites, and Chassignites—the groups of meteorites first shown to have a martian origin) provide data on the chemical composition of Mars's crust and interior that would not otherwise be available except through a sample return mission.

Based on these data sources, scientists think that the most abundant chemical elements in the Martian crust are silicon, oxygen, iron, magnesium, aluminium, calcium, and potassium. These elements are major components of the minerals comprising igneous rocks.Press, F.; Siever, R. (1978). Earth, 2nd ed.; W.H. Freeman: San Francisco, p. 343. The elements titanium, chromium, manganese, sulfur, phosphorus, sodium, and chlorine are less abundantFoley, C.N. et al. (2008). Martian Surface Chemistry: APXS Results from the Pathfinder Landing Site, in The Martian Surface: kaala, Mineralogy, and Physical Properties, J.F. Bell III, Ed. Cambridge University Press: Cambridge, UK, pp. 42–43, Table 3.1. but are still important components of many accessory mineralsSee http://www.britannica.com/EBchecked/topic/2917/accessory-mineral for definition. in rocks and of secondary minerals (weathering products) in the dust and soils (the regolith). On September 5, 2017, scientists reported that the Curiosity rover detected boron, an essential ingredient for life on Earth, on the planet Mars. Such a finding, along with previous discoveries that water may have been present on ancient Mars, further supports the possible early habitability of Gale Crater on Mars.

Hydrogen is present as water (H2O) ice and in hydrated minerals. Carbon occurs as carbon dioxide (CO2) in the atmosphere and sometimes as dry ice at the poles. An unknown amount of carbon is also stored in carbonates. Molecular nitrogen (N2) makes up 2.7 percent of the atmosphere. As far as we know, organic compounds are absent except for a trace of methane detected in the atmosphere. On 16 December 2014, NASA reported the Curiosity rover detected a "tenfold spike", likely localized, in the amount of methane in the Martian atmosphere. Sample measurements taken "a dozen times over 20 months" showed increases in late 2013 and early 2014, averaging "7 parts of methane per billion in the atmosphere." Before and after that, readings averaged around one-tenth that level.

On 25 October 2023, scientists, helped by information from the InSight lander, reported that the planet Mars has a radioactive magma ocean under its crust.

Mineralogy and petrology

Mars is fundamentally an igneous planet. Rocks on the surface and in the crust consist predominantly of minerals that crystallize from magma. Most of our current knowledge about the mineral composition of Mars comes from spectroscopic data from orbiting spacecraft, in situ analyses of rocks and soils from six landing sites, and study of the Martian meteorites. Spectrometers currently in orbit include THEMIS (Mars Odyssey), OMEGA (Mars Express), and CRISM (Mars Reconnaissance Orbiter). The two Mars exploration rovers each carry an Alpha Particle X-ray Spectrometer (APXS), a thermal emission spectrometer (Mini-TES), and Mössbauer spectrometer to identify minerals on the surface.

On October 17, 2012, the Curiosity rover on the planet Mars at "Rocknest" performed the first X-ray diffraction analysis of Martian soil. The results from the rover's CheMin analyzer revealed the presence of several minerals, including feldspar, pyroxenes and olivine, and suggested that the Martian soil in the sample was similar to the "weathered basaltic soils" of Hawaiian volcanoes.

Primary rocks and minerals

The dark areas of Mars are characterised by the mafic rock-forming minerals olivine, pyroxene, and plagioclase feldspar. These minerals are the primary constituents of basalt, a dark volcanic rock that also makes up the Earth's oceanic crust and the lunar maria.

The mineral olivine occurs all over the planet, but some of the largest concentrations are in Nili Fossae, an area containing Noachian-aged rocks. Another large olivine-rich outcrop is in Ganges Chasma, an eastern side chasm of Valles Marineris (pictured). Olivine weathers rapidly into clay minerals in the presence of liquid water. Therefore, areas with large outcroppings of olivine-bearing rock indicate that liquid water has not been abundant since the rocks formed.

Pyroxene minerals are also widespread across the surface. Both low-calcium (ortho-) and high-calcium (clino-) pyroxenes are present, with the high-calcium varieties associated with younger volcanic shields and the low-calcium forms (enstatite) more common in the old highland terrain. Because enstatite melts at a higher temperature than its high-calcium cousin, some researchers have argued that its presence in the highlands indicates that older magmas on Mars had higher temperatures than younger ones.

Between 1997 and 2006, the Thermal Emission Spectrometer (TES) on the Mars Global Surveyor (MGS) spacecraft mapped the global mineral composition of the planet. TES identified two global-scale volcanic units on Mars. Surface Type 1 (ST1) characterises the Noachian-aged highlands and consists of unaltered plagioclase- and clinopyroxene-rich basalts. Surface Type 2 (ST2) is common in the younger plains north of the dichotomy boundary and is more silica rich than ST1.

The lavas of ST2 have been interpreted as andesites or basaltic andesites, indicating the lavas in the northern plains originated from more chemically evolved, volatile-rich magmas. (See Igneous differentiation and Fractional crystallization.) However, other researchers have suggested that ST2 represents weathered basalts with thin coatings of silica glass or other secondary minerals that formed through interaction with water- or ice-bearing materials.

True intermediate and felsic rocks are present on Mars, but exposures are uncommon. Both TES and the Thermal Emission Imaging System (THEMIS) on the Mars Odyssey spacecraft have identified high-silica rocks in Syrtis Major and near the southwestern rim of the crater Antoniadi. The rocks have spectra resembling quartz-rich dacites and granitoids, suggesting that at least some parts of the Martian crust may have a diversity of igneous rocks similar to Earth's. Some geophysical evidence suggests that the bulk of the Martian crust may actually consist of basaltic andesite or andesite. The andesitic crust is hidden by overlying basaltic lavas that dominate the surface composition but are volumetrically minor.

Rocks studied by Spirit rover in Gusev crater can be classified in different ways. The amounts and types of minerals make the rocks primitive basalts—also called picritic basalts. The rocks are similar to ancient terrestrial rocks called basaltic komatiites. Rocks of the plains also resemble the basaltic shergottites, meteorites which came from Mars. One classification system compares the amount of alkali elements to the amount of silica on a graph; in this system, Gusev plains rocks lie near the junction of basalt, picrobasalt, and tephrite. The Irvine-Barager classification calls them basalts.McSween, etal. 2004. Basaltic Rocks Analyzed by the Spirit Rover in Gusev Crater. Science: 305. 842–845

On March 18, 2013, NASA reported evidence from instruments on the Curiosity rover of mineral hydration, likely hydrated calcium sulfate, in several rock samples including the broken fragments of "Tintina" rock and "Sutton Inlier" rock as well as in veins and nodules in other rocks like "Knorr" rock and "Wernicke" rock. Analysis using the rover's DAN instrument provided evidence of subsurface water, amounting to as much as 4% water content, down to a depth of , in the rover's traverse from the Bradbury Landing site to the Yellowknife Bay area in the Glenelg terrain.

In the journal Science from September 2013, researchers described a different type of rock called "Jake M" or "Jake Matijevic (rock),” It was the first rock analyzed by the Alpha Particle X-ray Spectrometer instrument on the Curiosity rover, and it was different from other known Martian igneous rocks as it is alkaline (>15% normative nepheline) and relatively fractionated. Jake M is similar to terrestrial mugearites, a rock type typically found at ocean islands and continental rifts. Jake M discovery may mean that alkaline magmas may be more common on Mars than on Earth and that Curiosity could encounter even more fractionated alkaline rocks (for example, phonolites and trachytes).

On December 9, 2013, NASA researchers described, in a series of six articles in the journal Science, many new discoveries from the Curiosity rover. Possible organics were found that could not be explained by contamination. Although the organic carbon was probably from Mars, it can all be explained by dust and meteorites that have landed on the planet. Because much of the carbon was released at a relatively low temperature in Curiositys Sample Analysis at Mars (SAM) instrument package, it probably did not come from carbonates in the sample. The carbon could be from organisms, but this has not been proven. This organic-bearing material was obtained by drilling 5 centimeters deep in a site called Yellowknife Bay into a rock called “Sheepbed mudstone”. The samples were named John Klein and Cumberland. Microbes could be living on Mars by obtaining energy from chemical imbalances between minerals in a process called chemolithotrophy which means “eating rock.” However, in this process only a very tiny amount of carbon is involved — much less than was found at Yellowknife Bay.