← Materials Science & Metallurgy Studio
Crystal structure unit-cell density

Theoretical Density Calculator

Predict the density of a crystalline metal from first principles using its crystal structure, atomic weight, and atomic radius. The calculator builds the unit cell, counts the atoms it contains, computes its volume, and divides the mass by that volume — giving the theoretical (X-ray) density that closely matches measured values.

Inputs
g/mol
nm
Theoretical Density ρ
7.899 g/cm³
= 7,899 kg/m³ · ρ = n·A / (V_c·N_A)
Atoms per Cell n
2
8·⅛ corners + 1 center
Lattice Parameter a
0.2864 nm
a = 4R/√3
Atomic Packing Factor
0.68
fraction of cell filled by atoms

About the Theoretical Density Calculator

The density of a pure crystalline metal is not an arbitrary measured number — it falls directly out of how the atoms are stacked. Given the crystal structure (which fixes how many atoms occupy a unit cell and how the cell edge relates to atomic radius), the atomic weight, and the atomic radius, you can calculate the theoretical density from first principles. This calculator does exactly that, and the result — often called the X-ray density — agrees with experimentally measured densities to within a fraction of a percent for well-ordered metals.

The theoretical density equation

ρ = (n · A) / (V_c · N_A)

Here n is the number of atoms per unit cell, A is the atomic weight in g/mol, V_c is the volume of the unit cell in cm³, and N_A = 6.022 × 10²³ atoms/mol is Avogadro's number. The numerator n·A/N_A is simply the mass of all the atoms inside one unit cell; dividing by the cell volume gives mass per unit volume — the density. Because the unit cell tiles all of space without gaps, this single cell's density is the density of the whole crystal.

Counting atoms per unit cell

Atoms shared between cells are counted fractionally. In body-centered cubic (BCC) there are 8 corner atoms each shared by 8 cells (8 × ⅛ = 1) plus 1 atom fully inside the body center, giving n = 2. In face-centered cubic (FCC) the 8 corners contribute 1 atom, and 6 face atoms each shared by 2 cells contribute 6 × ½ = 3, giving n = 4. That higher atom count is one reason FCC metals tend to be denser than BCC metals of similar atomic weight and radius.

BCC vs FCC geometry: relating a to R

The cell edge a is set by how the hard-sphere atoms touch. In BCC the atoms touch along the body diagonal, whose length is √3·a and which spans four atomic radii (4R), so a = 4R/√3 ≈ 2.309R. In FCC the atoms touch along the face diagonal, length √2·a spanning 4R, so a = 2R√2 ≈ 2.828R. The unit-cell volume is V_c = a³, so even small differences in the a–R relationship change the volume — and hence density — substantially.

Atomic packing factor and why density matches

The atomic packing factor (APF) is the fraction of the cell volume actually occupied by atoms: 0.68 for BCC and 0.74 for FCC (the densest possible packing of equal spheres). Because the unit-cell model captures both the true atom count and the true geometric spacing, the theoretical density it predicts is very close to the bulk density measured by displacement methods. Small discrepancies come from vacancies, dislocations, alloying elements, and thermal expansion not included in the idealized hard-sphere model.

Frequently asked questions

Why is the calculated density called the X-ray density?

Because the lattice parameter and structure used in the calculation are typically determined by X-ray diffraction. Diffraction gives the precise cell edge a and confirms the crystal structure, and the resulting density is therefore called the X-ray or theoretical density. It assumes a perfect, defect-free crystal.

Why does FCC give a higher density than BCC for the same metal?

FCC packs atoms more efficiently (APF 0.74 vs 0.68) and has four atoms per cell instead of two. For a metal with the same atomic radius and weight, the FCC arrangement squeezes more mass into a comparable volume, so its theoretical density is higher. This is why iron becomes denser when it transforms from BCC ferrite to FCC austenite on heating.

What units should I use for the atomic radius?

Enter the atomic radius in nanometers (nm). The calculator converts it internally to centimeters (1 nm = 1 × 10⁻⁷ cm) so that the cell volume comes out in cm³ and the density in g/cm³. Atomic radii of metals are typically 0.12–0.20 nm.

Why is the measured density slightly lower than the theoretical value?

Real metals contain point defects (vacancies), dislocations, grain boundaries, and sometimes porosity, all of which remove atoms or add empty space relative to the perfect crystal. These lower the bulk density slightly below the theoretical value. Impurities and alloying can shift it in either direction.

Can I use this for alloys or compounds?

The model is exact for pure single-element metals with one atom type per site. For alloys and compounds you would use an average atomic weight (and the appropriate structure and lattice parameter), which gives a good estimate but ignores ordering and local distortions. For ionic or covalent compounds, count the formula units per cell instead of atoms.

Related tools & guides

Stress-Strain CalculatorCrystal Structure GuideTheoretical Density & Section ModulusRule of Mixtures CalculatorMaterials Unit ConverterHardness Conversion CalculatorMaterials Exam Prep