Element identity
Atomic number, symbol, relative atomic mass display and periodic position are established reference data.
Atomic / electronic model
Ground-state electron configuration and atomic reference values are compiled/evaluated data; orbital graphics are teaching probability models, not photographs.
Material / molecular structure
The displayed ordinary structure is based on established material or molecular science; simplified viewers are labelled as teaching schematics where exact crystallographic coordinates are not rendered.
Temperature / phase path
Transition values are reference/evaluated values for the stated teaching path; pressure, purity and allotropy can matter.
Geography
Real pins use reviewed place/dataset context. Conceptual layers are used when country pins would imply false occurrence, unsafe inventory or an incomplete global distribution.
The lens describes evidence status, not confidence theatre. “Unknown” is kept unknown, and teaching schematics are not presented as direct measurements.
Magnesium (Mg)
Explore magnesium as an atom, a periodic-table pattern, a mineral resource and a real-world material—not just a list of numbers.
Magnesium atomic number, mass, protons, electrons and valence electrons
Magnesium: quick answers
How many protons, neutrons and electrons does magnesium have?
Magnesium’s atomic number is 12, so every magnesium atom has 12 protons, and a neutral atom also has 12 electrons. Its most common natural isotope, magnesium-24, has 12 neutrons (other isotopes have different neutron counts).
What is the symbol for magnesium?
The chemical symbol for magnesium is Mg.
Is magnesium a solid, liquid or gas at room temperature?
Magnesium is a solid at room temperature (about 25 °C).
What family (group) is magnesium in?
Magnesium is an alkaline earth metal, in group 2, period 3 of the periodic table.
How many valence electrons does magnesium have?
Magnesium has 2 valence electrons, the electrons in its outer shell, which matches its position in group 2.
What is the electron configuration of magnesium?
The ground-state electron configuration of magnesium is [Ne] 3s².
From atomic number to chemistry
Read these as a chain of causes, not as isolated facts. Each step links to the concept hub if you want the underlying idea explained.
The proton count defines magnesium; a neutral Mg atom also has 12 electrons.
Two outer 3s electrons are the key starting point for ordinary magnesium chemistry.
Its position places magnesium with the alkaline-earth metals and helps predict recurring +2 chemistry.
Losing the two outer electrons gives the familiar magnesium ion found in many compounds.
Magnesium valence, ions and molar context
This block keeps four related ideas separate: valence electrons, ionic charge, oxidation state and school-level valency. It also distinguishes the atomic-weight value on the periodic table from the molar mass of a particular chemical species.
What matters at the outside of the atom?
2 valence electrons (3s²). Losing both gives Mg²⁺, the characteristic magnesium ion.
The Lewis symbol shows the two outer 3s electrons of a neutral Mg atom. Dot placement around the symbol is conventional; the valence-electron count is the key information.
Common charges are not the same as one fixed “valency”
- +2 — characteristic in ordinary compounds
- 0 — elemental magnesium
School-level valency wording: 2 in the usual school-level model.
What does 24.305 mean here?
Periodic-table value: 24.305 is the page’s relative atomic-mass / standard atomic-weight context for Magnesium.
Mole of neutral atoms: using that value, 1 mol of neutral Mg atoms has a mass of about 24.305 g.
Common elemental form: Metallic magnesium, Mg(s); the solid metal is an extended metallic lattice rather than discrete Mg₂ molecules.
Atomic weight is a relative atomic-scale quantity; molar mass applies to a specified amount and species. The numerical values are closely connected, but the concepts are not labels to swap blindly.
Data note: this block uses the source-reviewed atomic-weight value already used by this element guide and separates school-level bonding shortcuts from ion-charge and oxidation-state language. See this page’s scientific sources.
Magnesium group, period and position in the periodic table
Magnesium sits in Period 3 between sodium and aluminium. Its two outer electrons place it in Group 2 with the alkaline-earth metals.
Magnesium Visual Lab
Four ways to understand one element: decode its tile, explore atomic structure, inspect scientifically grounded orbital-shape approximations, then connect the chemistry to the real world.
Every mark points to one exact feature
The numbered markers sit directly beside the feature they identify, so the tile stays clear on desktop and mobile.
Magnesium in one minute
Two outer electrons. That is the key to Group 2 and common Mg2+ chemistry.
Bright white flame. Burning magnesium is memorable because of its intense white light.
Lightweight metal. Its low density is useful in engineering alloys.
At the heart of chlorophyll. Magnesium links inorganic chemistry to photosynthesis.
Abundant but reactive. Nature usually stores magnesium in minerals, seawater and compounds - not as free metal.
2 · 8 · 2 electrons
The two outer 3s electrons can be removed. The resulting Mg2+ ion has 10 electrons and the same electron count as neon.
Magnesium atoms form stacked hexagonal layers in an ABAB pattern. Drag the model to rotate it. The wireframe marks one repeating unit-cell region; the spheres represent Mg atom positions.
1s² 2s² 2p⁶ 3s²
The points illustrate the 3s orbital shape and its two radial nodes. The radial scale uses a magnesium effective-charge estimate; the colors show opposite wavefunction phase, not positive and negative electrical charge.
Where do I meet magnesium?
Clickable learning cards connect the element to materials, biology, minerals and its historical archive.
Why use a magnesium alloy?
Magnesium is much less dense than many structural metals. Alloying can combine low mass with useful engineering properties, so weight-sensitive components are a natural place to encounter magnesium.
Go deeper without turning the page into a wall of numbers
The dense scientific facts are grouped by topic. Students can open only what they need; the downloadable PDF remains a compact revision sheet.
| Atomic number | 12 | Number of protons |
|---|---|---|
| Relative atomic mass | 24.305 | Standard reference value |
| Electron configuration | [Ne] 3s² | Ground-state shorthand |
| Electronegativity | 1.31 | Pauling scale |
| Atomic radius | 173 pm | PubChem periodic-table reference value |
| 1st ionization energy | 7.646 eV | ≈737.7 kJ/mol |
| Appearance | Silvery-white | Metallic solid |
|---|---|---|
| Density | 1.74 g/cm³ | Reference value in PubChem periodic-table data |
| Crystal structure | Hexagonal close-packed | HCP |
| Group / period / block | 2 / 3 / s | Alkaline-earth metal |
| Standard state | Solid | Near ordinary reference conditions |
| Melting point | 923 K | 650 °C |
|---|---|---|
| Boiling point | 1363 K | 1090 °C |
| Temperature tool | Open the interactive phase explorer ↓ | |
| Electrical behaviour | Conductor | Metallic bonding provides mobile charge carriers |
|---|---|---|
| Magnetic behaviour | Paramagnetic | Magnesium is weakly paramagnetic; values depend on measurement conditions |
| Measurement note | Electrical values such as resistivity and conductivity depend on temperature, purity and alloy composition, so measurement conditions should accompany quoted values. | |
| Common oxidation state | +2 | Loss of the two outer 3s electrons |
|---|---|---|
| Element family | Alkaline-earth metal | Group 2 |
| Representative compounds | MgO · MgCl₂ · MgSO₄ · Mg(OH)₂ | Oxide, chloride, sulfate, hydroxide |
| Flame behaviour | Intense white light | Important safety and demonstration context |
| ²⁴Mg | 78.99% | 12 neutrons |
|---|---|---|
| ²⁵Mg | 10.00% | 13 neutrons |
| ²⁶Mg | 11.01% | 14 neutrons |
| Stable natural isotopes | 3 | Natural abundance values cross-checked with NIST |
Where on Earth is magnesium?
“Where is an element found?” can mean several things. Use the modes below to separate natural abundance, seawater, important minerals and modern metal production.
Numbers make more sense when you compare neighbours
Magnesium is not an isolated box. Its properties reflect its position in Period 3 and Group 2.
| Atomic no. | 11 |
|---|---|
| Electronegativity | 0.93 |
| 1st ionization | 495.8 kJ/mol |
| Atomic no. | 12 |
|---|---|
| Electronegativity | 1.31 |
| 1st ionization | 737.7 kJ/mol |
| Atomic no. | 13 |
|---|---|
| Electronegativity | 1.61 |
| 1st ionization | 577.5 kJ/mol |
Magnesium physical and atomic properties
What happens as magnesium gets hotter?
Is magnesium solid, liquid or gas at room temperature?
At ordinary room temperature and approximately normal pressure, elemental magnesium is a solid. It melts at about 923 K (650 °C) and boils at about 1363 K (1090 °C). Use the temperature slider to see the simplified changes in physical state.
Simplified reference view at approximately normal pressure. Real phase behaviour can depend on pressure and experimental conditions.
From “magnesia” to metallic magnesium
Joseph Black
Distinguished magnesia from lime, helping establish it as a chemically distinct substance.
Humphry Davy
Obtained impure magnesium metal using electrochemical methods.
Antoine Bussy
Produced magnesium in a purer metallic form.
Lightweight material
Magnesium is important in alloys, metallurgy, refractory materials and many chemical compounds.
How magnesium is produced
The route depends on the raw material and plant. Two broad families are electrolytic production from magnesium salts and thermal reduction of magnesium-containing minerals.
Start with a source
Dolomite, magnesite, brines or seawater can supply magnesium compounds.
Prepare the feed
The magnesium compound is purified/concentrated into a form suitable for the chosen process.
Release the metal
Plants may use electrolysis of magnesium chloride or thermal-reduction routes such as the Pidgeon process.
Refine + alloy
The metal is refined and often combined with other metals for lightweight engineering applications.
Why magnesium matters
Lightweight alloys
Low density makes magnesium valuable when reducing mass matters in transport and machinery.
Bright light
Burning magnesium produces an intense white light, explaining its historic and modern use in flares and pyrotechnic applications.
Refractory materials
Magnesium oxide is used in heat-resistant materials such as furnace linings.
Metallurgy
Magnesium and its compounds play roles in alloying and metal-processing operations.
Chlorophyll connection
A magnesium ion sits at the centre of chlorophyll, making Mg a useful bridge between chemistry and photosynthesis.
Chemical compounds
MgO, MgCl₂, MgSO₄ and Mg(OH)₂ show how one element participates in very different materials and reactions.
Three naturally occurring stable isotopes
Three-question magnesium check
How many valence electrons does Mg have?
Where is neutral Mg’s outer configuration?
Which is a major natural source of magnesium?
Magnesium questions: quick answers first, then the full explanation
Open any question for a one-line answer followed by the deeper chemistry. The goal is to give a student the fast fact and the kind of explanation a teacher would add in class.
How many protons, neutrons and electrons does magnesium have?
Short answer: Magnesium always has 12 protons. A neutral magnesium atom has 12 electrons. The neutron count depends on the isotope.
The atomic number of magnesium is 12, and atomic number is defined by the number of protons in the nucleus. That is why every magnesium atom has 12 protons: if the nucleus had a different proton count, it would be a different element.
A neutral atom has equal numbers of positive protons and negative electrons, so neutral Mg has 12 electrons. Isotopes keep the same 12 protons but contain different numbers of neutrons. The common stable isotopes are 24Mg with 12 neutrons, 25Mg with 13, and 26Mg with 14.
How many valence electrons does magnesium have, and why does that matter?
Short answer: Magnesium has 2 valence electrons, both in the 3s subshell.
The ground-state electron configuration ends in 3s². Those two outer electrons are the electrons most directly involved when magnesium forms ordinary chemical bonds.
Removing those two electrons produces Mg2+, leaving a 10-electron arrangement equivalent in electron count to neon. This helps explain why the +2 oxidation state is so characteristic of magnesium and why magnesium belongs to Group 2, the alkaline-earth metals.
What is magnesium's electron configuration?
Short answer: 1s² 2s² 2p⁶ 3s², or in shorthand, [Ne] 3s².
The first shell contains 2 electrons, the second contains 8, and the third contains the remaining 2, giving the familiar shell pattern 2-8-2. In orbital notation, the 1s, 2s and 2p subshells are filled before the two outer electrons occupy 3s.
The shorthand [Ne] represents the filled 1s² 2s² 2p⁶ core. Writing [Ne] 3s² makes the chemically important outer electrons easy to see.
Why does magnesium usually form Mg²⁺ instead of Mg⁺?
Short answer: Losing both 3s electrons gives Mg2+ a stable neon-like electron arrangement.
Magnesium starts with two relatively outer 3s electrons. Removing the first electron gives Mg+, but one 3s electron is still left. Removing the second completes the loss of the outer 3s shell and leaves the closed-shell electron configuration [Ne].
Removing a third electron would require taking an electron from that stable inner-shell core and therefore demands much more energy. That sharp change is one reason the +2 state dominates ordinary magnesium chemistry.
Where is magnesium found naturally?
Short answer: Magnesium is abundant in Earth's crust, seawater and many minerals, but it is usually found in compounds rather than as free metal.
Magnesium is reactive enough that native metallic magnesium is not the normal form found in nature. Instead, it occurs in minerals such as dolomite, magnesite, brucite, carnallite and olivine, and large quantities of magnesium ions are dissolved in seawater and natural brines.
This is why commercial magnesium production begins with a magnesium-bearing mineral, salt solution or brine and then uses chemical separation followed by electrolysis or thermal-reduction processes to obtain the metal.
Is magnesium a metal, and where is it on the periodic table?
Short answer: Yes. Magnesium is an alkaline-earth metal in Group 2, Period 3 and the s-block.
Its position is closely connected to its electron structure. Period 3 tells us that occupied electron shells extend through the third principal shell, while Group 2 reflects the two outer 3s electrons.
Magnesium therefore shares important patterns with beryllium above it and calcium below it, while comparisons across Period 3 with sodium and aluminium help students see trends such as atomic radius and ionization energy.
What is magnesium used for?
Short answer: Magnesium is used in lightweight alloys, metallurgy, bright-light applications and many useful compounds.
Metallic magnesium has a low density, so magnesium alloys are useful where reducing mass matters, including selected transport and engineering components. Magnesium also plays roles in metallurgical processing and alloy manufacture.
Its intense white light when burning explains its association with flares and pyrotechnic applications. Magnesium compounds have very different uses: magnesium oxide is important in heat-resistant materials, while other salts and compounds are used across chemical, industrial and laboratory applications.
Why does burning magnesium give such a bright white light?
Short answer: Burning magnesium releases energy very rapidly and produces an intensely luminous hot reaction zone and magnesium oxide particles.
When magnesium burns in oxygen, it forms magnesium oxide in a strongly exothermic reaction. The high temperature excites atoms, ions and particles in the flame, and the hot products emit a broad, intense visible light that appears brilliant white to the eye.
The brightness is precisely why burning magnesium became useful historically in photographic flash powders and remains memorable in chemistry demonstrations. It should be observed only under appropriate laboratory safety controls because burning magnesium is extremely bright and hot.
Scientific sources for Magnesium
Key numerical values, isotope information, occurrence data, history and uses are cross-checked against authoritative scientific and educational references. Source provenance is recorded with the reusable element dataset and will remain part of every published element guide.
- PubChem — Magnesium properties, identifiers, history and provenance
- Royal Society of Chemistry — Magnesium reference data, history and uses
- USGS — Magnesium occurrence, resources and production data
- NIST — isotopic composition and atomic weights
- IUPAC — periodic-table nomenclature and atomic-weight conventions
Questions to ask next about Magnesium
A good element lesson should lead to the next useful question, not end after a list of facts.
Found an error, something unclear, or a missing topic?
Tell us what you noticed. Feedback goes to a private review queue and is never published automatically.
