Atomic mass alone cannot be converted to density: density also depends on how much space the atoms or material occupy and on its structure and conditions. This calculator estimates the density of a pure element in its solid crystal form from its atomic mass, crystal structure, and unit-cell edge length; enter those values to get density in g/cm³ and kg/m³.
Formula
For a crystal with a cubic unit cell, density is the mass of the atoms in one unit cell divided by the unit-cell volume:
ρ = ZM / (NAa³)
- ρ is density in g/cm³ when the conversions below are applied.
- Z is the number of atoms in one unit cell.
- M is atomic mass, numerically equal to the element’s molar mass in g/mol.
- NA is Avogadro’s constant, exactly 6.02214076 × 1023 atoms/mol.
- a is the cubic unit-cell edge length in picometres (pm). The calculator converts it using 1 pm = 10−10 cm.
The calculator’s expression is ρ = ZM ÷ [NA(a × 10−10)³]. It treats the unit cell as cubic and assumes the listed atomic mass applies to the material. To convert g/cm³ to kg/m³, multiply by 1000; 1 g/cm³ = 1000 kg/m³.
Worked Example
Using the default entries—atomic mass 12.011 g/mol, four atoms per unit cell, and a cell edge of 361.5 pm—the formula gives an estimate for a face-centred cubic carbon crystal with that edge length. This is a mathematical example, not a claim that ordinary diamond has these particular inputs.
- Convert the edge length to centimetres: 361.5 pm × 10−10 cm/pm = 3.615 × 10−8 cm.
- Calculate the cell volume: (3.615 × 10−8 cm)³ = 4.7246 × 10−23 cm³ (rounded).
- Calculate the mass per cell: (4 × 12.011 g/mol) ÷ (6.02214076 × 1023 atoms/mol) = 7.9793 × 10−23 g (rounded).
- Divide mass by volume: 7.9793 × 10−23 g ÷ 4.7246 × 10−23 cm³ ≈ 1.689 g/cm³.
The calculator reports 1.689 g/cm³, or 1689 kg/m³ after rounding its second output to a whole number.
Assumptions
- The material is a pure element with a repeating cubic crystal structure and a known unit-cell edge.
- The supplied atom count is the number of atoms assigned to one complete unit cell, not simply the number drawn inside a diagram.
- Atomic mass is used as the element’s molar mass in g/mol; natural isotope abundances are represented by the standard atomic weight where applicable.
- The calculation gives ideal crystal density from unit-cell dimensions. It does not account for pores, cracks, impurities, defects, or temperature-related expansion.
Why Atomic Mass Is Not Enough
Atomic mass tells you the mass of an atom relative to the unified atomic mass unit; molar mass expresses the corresponding mass per mole. Density is mass divided by volume. Knowing an atom’s mass does not tell you how tightly atoms are packed, the distance between them, or whether the sample contains empty spaces.
Even the same element can have different densities in different forms. Carbon, for example, can form diamond and graphite, whose distinct crystal arrangements and interatomic spacings give different densities. A gas’s density also depends strongly on pressure and temperature, so a solid-crystal calculation cannot be applied to a gas just by entering its atomic mass.
How to Choose the Inputs
Use a consistent set of crystallographic values for the specific material and conditions being considered:
- Atomic mass: use the element’s standard atomic weight in g/mol, or an isotope-specific molar mass if the sample is isotopically enriched. For a compound, this simple one-element calculator is not sufficient; the mass per unit cell must include every atom in its formula units.
- Atoms per cell: use the crystallographic count, including fractions of atoms shared with neighbouring cells. Common cubic structures have Z = 1 for simple cubic, Z = 2 for body-centred cubic, and Z = 4 for face-centred cubic. These counts do not identify a structure by themselves.
- Cell edge: use a measured or reliable reference value for the relevant crystal and temperature. Convert ångströms if needed: 1 Å = 100 pm. For a non-cubic cell, the volume generally requires all three edge lengths and the angles, so this calculator’s cubic formula does not apply.
For instance, using iron’s atomic mass with a face-centred-cubic atom count and an unrelated cell size would produce a numerical answer, but not a meaningful density for a particular iron phase. Inputs must describe the same substance and crystal structure.
Common Conversion Mistakes and Limits
The most frequent error is mixing units. A cell edge entered in ångströms as though it were picometres is wrong by a factor of 100; because length is cubed, the resulting density error is enormous. Likewise, do not use a cell edge in nanometres without converting it to pm. The formula’s conversion factor is 1 pm = 10−10 cm.
Another common error is confusing atomic mass with density or using the number of visible atoms in a unit-cell drawing as Z. Boundary atoms are shared among adjacent cells, which is why crystallographic atom counts can be fractional when contributions are tallied before summing. Use the established count for the complete unit cell.
Crystal density is not always the same as the density measured for a bulk specimen. A porous or imperfect sample has void space, and its measured bulk density can be lower. Temperature can change lattice dimensions, while pressure can compress a material. For a non-cubic crystal, the unit-cell volume is not simply a³; the lengths and angles must be included. Use a formula designed for that cell geometry, or use a measured density when the sample’s actual bulk properties are needed.
Frequently Asked Questions
Can you calculate density from atomic mass alone?
No. You also need volume information. For a crystal, that usually means its unit-cell dimensions and the number of atoms per unit cell.
What is the formula for density from atomic mass?
For a cubic crystal, ρ = ZM/(NAa³), with consistent units. M is molar mass, Z is atoms per cell, NA is Avogadro’s constant, and a is the cell edge.
Is atomic mass the same as molar mass?
They are related but have different units. Atomic mass is expressed in u (or Da) per atom; molar mass is expressed in g/mol. Their numerical values are approximately the same for an element.
Can I use this formula for a gas or liquid?
No. It is a cubic-crystal calculation. Gas density requires pressure, temperature, and a gas model; liquids require density data or a suitable equation of state.
Why does calculated density differ from a measured value?
Possible causes include incorrect structure or cell dimensions, temperature differences, impurities, defects, and pores in the specimen. The calculation describes an ideal crystal, not necessarily a real sample’s bulk density.
Related
Formula used
in aw | Atomic mass | g/mol | 12.011 | 0 in z | Atoms per unit cell | atoms | 4 | 1 | 1000 in a | Unit-cell edge length | pm | 361.5 | 0.000001 out d | Density | g/cm^3 | z * aw / (6.02214076e23 * (a * 1e-10)^3) | 3 out dk | Density | kg/m^3 | d * 1000 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Skip Calculator for Soil: What It Can and Can’t Do7.500 m³
- USD to KPW Calculator: Convert Dollars to North Korean Won90,000.00 KPW
- OK Calculator on TV on the Radio? Meaning Explained
- Pension Calculator KP: Estimate Your Pension Benefits
- Neonatal Kp Calculator: What It Means80.0000 mmol/mmol
- Newton to kp Converter Calculator and Formula1.0000 kp