12
Mg
Magnesium
24.305 u
Magnesium
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://chemfyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://chemfyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://chemfyi.com/entity//)
Use the native HTML custom element.
Cite "Magnesium"
Magnesium. (n.d.). In Element. Retrieved from /element/mg/
"Magnesium." Element, /element/mg/.
@misc{magnesium, title={Magnesium}, url={/element/mg/}}
Add one script tag to your page:
<div data-chemfyi="element" data-slug="Mg"></div>
<script src="https://cdn.jsdelivr.net/npm/chemfyi-embed@1/dist/embed.min.js" defer></script>
Embed as an iframe:
<iframe src="https://chemfyi.com/iframe/element/Mg/?style=modern&theme=light" width="420" height="400" frameborder="0" loading="lazy" style="border:0;border-radius:10px;max-width:100%"></iframe>
Paste the URL in WordPress, Medium, or Ghost:
https://chemfyi.com/element/mg/
Shields.io-compatible SVG badge:

Web Component:
<chemfyi-element slug="Mg"></chemfyi-element>
<script src="https://cdn.jsdelivr.net/npm/chemfyi-embed@1/dist/embed.min.js" defer></script>
Period
3
Group
2
Block
s-block
Phase (STP)
Solid
Magnesium is a lightweight alkaline earth metal essential for living cells. It burns with a bright white flame and is used in alloys and fireworks.
Appearance: Shiny grey solid
Compounds Containing Magnesium
More Alkaline Earth Metal
Explore on Science FYI
Frequently Asked Questions
What is Magnesium?
Magnesium (Mg) is a chemical element with atomic number 12. It is a solid at standard temperature and pressure, classified as a alkaline earth metal.
What are the key properties of Magnesium?
Magnesium has an atomic mass of 24.305 u, density of 1.738 g/cm³, melting point of 649.9°C, boiling point of 1089.8°C.
What is the electron configuration of Magnesium?
The electron configuration of Magnesium is [Ne] 3s2. It is in the s-block of the periodic table.
Who discovered Magnesium?
Magnesium was discovered by Joseph Black in 1755.
What is the electronegativity of Magnesium?
Magnesium has an electronegativity of 1.31 on the Pauling scale.