Crystal Density Calculator

Compute theoretical density from atoms per unit cell, molar mass and cubic edge length.

Chemistry and LabUpdated 2026-11-192 min read
Crystal Density Calculator
Use 1 for simple cubic, 2 for body centered cubic and 4 for face centered cubic.
Atomic or formula weight in grams per mole.
The lattice parameter in nanometers.
Theoretical density
...
Unit cell volume...
Mass per unit cell...
Atoms per cell used...

What it does

The theoretical density of a crystalline solid follows from its unit cell. Divide the mass of the atoms in one cell by the volume of that cell, and you get a density that can be compared with a measured value.

This tool takes the number of atoms per cubic cell, the molar mass and the lattice parameter. It converts the edge length from nanometers to centimeters, computes the cell volume and mass, and reports the density in grams per cubic centimeter.

The default is aluminium with a face centered cubic cell, four atoms per cell, a molar mass of 26.98 grams per mole and an edge of 0.405 nanometers. The calculated density is about 2.698 grams per cubic centimeter.

A body centered iron cell with two atoms and a 0.2866 nanometer edge gives about 7.878 grams per cubic centimeter. These values agree closely with experiment because the model captures the main contribution.

The calculation assumes a perfect cubic lattice with the stated number of atoms and no porosity or defects. Real samples can differ slightly.

How to use

  1. Enter the number of atoms in one cubic unit cell.
  2. Enter the molar mass of the element or compound.
  3. Enter the lattice parameter in nanometers.
  4. Read the theoretical density as the main result.
  5. Check the cell volume to verify the conversion from nanometers.
  6. Compare with a measured density to test the assumed lattice type.

Formula

Density = (n times M) / (N(A) times a cubed), with a converted to centimeters
n
Number of atoms per unit cell.
M
Molar mass in grams per mole.
N(A)
Avogadro's number, 6.02214076 times ten to the power of 23 per mole.
a
Cubic lattice parameter, converted from nanometers to centimeters.

Mass per cell is n times M divided by Avogadro's number. Volume per cell for a cube is a cubed. Converting nanometers to centimeters uses the factor ten to the power of minus seven, so one nanometer cubed equals ten to the power of minus twenty one cubic centimeters.

Worked example

Example: face centered cubic aluminium

The page opens with n = 4, molar mass 26.98 g/mol and edge 0.405 nm.

  1. Convert the edge to centimeters: 0.405 nm is 4.05 times ten to the power of minus 8 cm.
  2. Cube it to get a cell volume of about 6.643 times ten to the power of minus 23 cubic centimeters.
  3. Mass per cell is 4 times 26.98 divided by 6.02214076 times ten to the power of 23, about 1.7921 times ten to the power of minus 22 grams.
  4. Divide mass by volume to get about 2.6977 grams per cubic centimeter.
  5. The measured density of aluminium is close to 2.70, confirming the face centered model.
  6. The tool reports density 2.6977 g/cm3.

Reference table

Theoretical densities for sample cubic cells
StructureAtoms per cellMolar mass (g/mol)Edge (nm)Density (g/cm3)
Aluminium FCC426.980.4052.6977
Iron BCC255.8450.28667.8783

Limits

  • Assumes a cubic unit cell with a known atom count.
  • Ignores defects, porosity and thermal expansion.
  • Edge length is limited to 100 nm.
  • Uses the CODATA value of Avogadro's number.

Common mistakes

  • Forgetting to convert nanometers to centimeters.
  • Using the wrong atom count for the lattice type.
  • Using the atomic radius instead of the lattice parameter.
  • Forgetting to cube the edge length.
  • Expecting the theoretical density to match a porous sample exactly.

Try it yourself

Quick checks. Answers sit tucked under each question.

Iron BCC with 2 atoms, 55.845 g/mol and 0.2866 nm. Density?

About 7.8783 g/cm3.

How many atoms are in a face centered cubic cell?

Four, counting corner and face contributions.

Why convert nanometers to centimeters?

So the density comes out in the usual grams per cubic centimeter.

Questions

What is theoretical density?

The density predicted from the crystal structure and lattice parameter.

What is Avogadro's number?

6.02214076 times ten to the power of 23 particles per mole.

How many atoms in each cubic lattice?

One for simple cubic, two for body centered and four for face centered.

Can I use this for a non cubic cell?

No. Other crystal systems need their own volume formulas.

Why does density help identify a lattice?

Different structures give different atom counts and therefore different predicted densities.

Does temperature matter?

Yes through thermal expansion of the lattice parameter, which the user supplies.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.