Crystal Density

Crystal Density Calculator

Compute theoretical density from lattice parameters, formula, and Z.

M = 233.194 g/mol
ρ = 6.0053 g/cm³
Cell volume: 64.481 ų
Molar mass: 233.194 g/mol

ρ = Z·M / (N_A·V) = 1 × 233.194 / (6.022e23 × 64.481 ų)

O3
Ba1
Ti1

Learn more

What it does

Use this calculator to estimate the theoretical (X-ray) density of a crystalline solid from its unit cell. You enter the cell parameters a, b, c and the angles alpha, beta, gamma (or pick a crystal system), the chemical formula, and the number of formula units per cell Z. It is aimed at materials scientists, chemists, and students who need a quick check on reported densities, powder diffraction work, or ceramic and battery-electrode formulations.

How it works

Theoretical density is rho = Z x M / (N_A x V), where Z is the number of formula units per unit cell, M the molar mass in g/mol, N_A = 6.022 x 10^23 mol^-1 is Avogadro's number, and V the unit-cell volume in cm3. The volume is computed from the lattice vectors: V = a b c x sqrt(1 - cos^2 alpha - cos^2 beta - cos^2 gamma + 2 cos alpha cos beta cos gamma), in Angstrom^3, then converted by 1 A3 = 1 x 10^-24 cm3. Output unit is g/cm3.

Worked example

Take sodium chloride, rock-salt structure, with lattice constant a = 5.64 A, angles 90 degrees, and Z = 4 formula units of NaCl per cell. The molar mass of NaCl is 58.44 g/mol. The cubic cell volume is 5.64^3 = 179.4 A3 = 1.794 x 10^-22 cm3. Density = 4 x 58.44 / (6.022 x 10^23 x 1.794 x 10^-22) = 2.16 g/cm3, matching the accepted experimental value of about 2.17 g/cm3.

When to use it

Use this tool to sanity-check a synthesis (does the measured pellet density match the theoretical value?), to estimate packing in ceramics, or to compare polymorphs. Watch the common pitfalls: theoretical density assumes a perfect, pore-free crystal, so real pellets are 80-99% of this value; Z must be the count of formula units, not atoms; and the formula must resolve to a valid molar mass. For non-cubic cells, enter the three angles explicitly or pick the correct system.

FAQ

What does Z mean in the density formula?
Z is the number of formula units in one unit cell, not the number of atoms. For NaCl it is 4, for fluorite CaF2 it is 4, and for a simple cubic cell with one atom it is 1. Getting Z wrong by a factor of two is the most common source of a doubled or halved density. Count Z from the actual atom positions in the crystal structure, not from the chemical formula alone.
Why is my measured density lower than the calculated one?
Theoretical density assumes a defect-free, fully dense crystal. Real samples contain pores, grain boundaries, and sometimes second phases, so a pressed pellet or sintered ceramic typically reaches 80-99% of the theoretical value. Porosity of even 5% already lowers the apparent density noticeably. Use the gap between measured and theoretical density to estimate relative density and judge how well a sample was densified.
Which units do the cell parameters use?
Cell edges a, b, c are entered in Angstrom (A); angles alpha, beta, gamma in degrees. The calculator converts the volume to cm3 internally using 1 A3 = 1 x 10^-24 cm3, so the final density comes out in g/cm3. You can switch between cubic, tetragonal, hexagonal and other systems; for non-90-degree angles the full triclinic volume formula is applied.
Can I use this for non-crystalline or hydrated materials?
Only if you know the unit cell. The formula rho = Z x M / (NA x V) assumes a periodic crystal, so it does not apply to glasses, amorphous powders or polymers. Hydrates work fine as long as you include the water in the formula and in Z: gypsum CaSO4.2H2O with Z = 4 gives about 2.32 g/cm3. If the water content is variable, the calculated density is only valid for that exact hydration state.