Calculator Inputs
Formula Used
Magnesium normally forms a hexagonal close-packed crystal structure. Density equals unit-cell mass divided by unit-cell volume. Correct cell conventions prevent sixfold errors during density calculations.
How to Use This Calculator
Select a calculation mode and enter known measurements. Choose matching units before submitting the form. Review all warnings before using results for engineering decisions.
- Choose lattice, radius, specimen, porosity, or temperature mode.
- Enter values with their matching units and uncertainties.
- Select the correct HCP cell convention when required.
- Choose output precision and the preferred density unit.
- Calculate, compare, copy, print, or export the results.
Worked Magnesium Example
Use the magnesium preset for standard starting values. Replace defaults with laboratory or published measurements. Compare theoretical density with measured density to identify porosity.
| Input | Example value | Purpose |
|---|---|---|
| Lattice parameter a | 3.2094 Å | Basal-plane dimension |
| Lattice parameter c | 5.2108 Å | Hexagonal-axis dimension |
| Molar mass | 24.305 g/mol | Mass per mole of magnesium atoms |
| Cell convention | Crystallographic | Uses two atoms and its matching volume |
| Reference density | 1.738 g/cm³ | Comparison benchmark |
Theoretical and Bulk Density
Theoretical density assumes a perfect and fully dense crystal. Bulk density includes pores, defects, and manufacturing variations. Their difference helps estimate internal voids and material quality.
Common Assumptions
Results depend on accurate dimensions and consistent unit choices. Thermal expansion is modeled as linear over temperature. Real alloys may require composition-specific data and correction factors.
- The selected cell volume matches its atom count.
- The material is chemically uniform and predominantly HCP.
- Linear expansion coefficients remain suitable across the temperature interval.
- Uncertainty terms are independent and sufficiently small.
Density Unit Conversion Table
| Starting value | Equivalent value |
|---|---|
| 1 g/cm³ | 1000 kg/m³ |
| 1 g/cm³ | 0.0361273 lb/in³ |
| 1 g/cm³ | 62.428 lb/ft³ |
| 1 kg/m³ | 0.001 g/cm³ |
| 1 kg/m³ | 0.001 mg/mm³ |
Frequently Asked Questions
What does HCP mean?
Why are two cell conventions available?
Why can atom counts cause large errors?
What is the ideal HCP c/a ratio?
How does porosity change density?
Can this calculator handle magnesium alloys?
How is temperature applied?
How is uncertainty estimated?
Why might my result differ from a handbook?
Disclaimer
This calculator provides educational and preliminary engineering estimates. Verify critical values using traceable laboratory or handbook data. Temperature, purity, alloying, and defects can change actual density.