Unit Cell Density Calculator

Find the theoretical density of a crystal from the number of atoms per unit cell, molar mass, and edge length.

⚖️ Unit Cell Density Calculator
g/mol
pm
Theoretical density (ρ)
Unit cell volume
Step-by-step working

⚖️ What is Unit Cell Density?

Unit cell density, also called theoretical or crystallographic density, is the mass per unit volume of a crystal calculated purely from its atomic-scale unit cell, the number of atoms it contains, their molar mass, and the unit cell's geometric volume. The governing relationship is rho = nM/(Vc x NA), where n is the number of atoms per unit cell, M is the molar mass, Vc is the unit cell volume, and NA is Avogadro's number.

Materials scientists and solid-state chemists use this calculation to verify a proposed crystal structure: if the calculated theoretical density closely matches the experimentally measured bulk density of a sample, the assumed lattice type (simple cubic, BCC, FCC) and unit cell dimensions are almost certainly correct. It is also used to estimate the density of newly discovered or hypothetical crystal structures before a bulk sample is even available, and as a standard exercise in introductory materials science and crystallography courses.

A common point of confusion is the value of n, the number of atoms per unit cell. It is not simply the number of atoms drawn at the corners, faces, and center of a unit cell diagram, corner atoms are shared among 8 neighboring cells (contributing 1/8 each), face atoms are shared between 2 cells (contributing 1/2 each), and only a body-centered atom contributes fully. This calculator lets you enter n directly so any lattice type, or a compound with multiple formula units per cell, can be handled the same way.

This calculator computes rho = nM/(VcNA) for any cubic unit cell, taking the edge length in picometers and returning theoretical density in g/cm³, with full step-by-step working and a labeled unit cell diagram.

📐 Formula

ρ = nM / (Vc × NA)
ρ = theoretical crystal density (g/cm³)
n = number of atoms per unit cell (1 for simple cubic, 2 for BCC, 4 for FCC)
M = molar mass (g/mol)
Vc = unit cell volume = a³ for a cubic cell, where a is the edge length (cm)
NA = Avogadro's number = 6.022×10²³ mol⁻&sup9;¹
Example: Copper (FCC): n = 4, M = 63.55 g/mol, a = 361.5 pm → ρ ≈ 8.9351 g/cm³, matching the accepted value of about 8.96 g/cm³.

📖 How to Use This Calculator

Steps

1
Enter atoms per unit cell. Type n, the number of atoms per unit cell (1 for simple cubic, 2 for BCC, 4 for FCC).
2
Enter the molar mass. Type M, the molar mass of the element or compound, in grams per mole.
3
Enter the edge length. Type a, the cubic unit cell edge length, in picometers, then read the theoretical density.

💡 Example Calculations

Example 1 — Copper (FCC)

Copper: n = 4, M = 63.55 g/mol, a = 361.5 pm

1
Vc = a³ = (361.5 pm)³ = 4.7242×10⁻²³ cm³
2
ρ = nM / (Vc × NA) = (4 × 63.55) / (4.7242×10⁻²³ × 6.022×10²³)
3
ρ = 8.9351 g/cm³ (matches copper's accepted density of 8.96 g/cm³)
ρ = 8.9351 g/cm³
Try this example →

Example 2 — Iron (BCC)

Alpha-iron: n = 2, M = 55.85 g/mol, a = 286.65 pm

1
Vc = a³ = (286.65 pm)³ = 2.3554×10⁻²³ cm³
2
ρ = nM / (Vc × NA) = (2 × 55.85) / (2.3554×10⁻²³ × 6.022×10²³)
3
ρ = 7.8749 g/cm³ (matches iron's accepted density of about 7.87 g/cm³)
ρ = 7.8749 g/cm³
Try this example →

Example 3 — Polonium (Simple Cubic)

Polonium: n = 1, M = 209 g/mol, a = 336 pm

1
Vc = a³ = (336 pm)³ = 3.7933×10⁻²³ cm³
2
ρ = nM / (Vc × NA) = (1 × 209) / (3.7933×10⁻²³ × 6.022×10²³)
3
ρ = 9.1491 g/cm³ (matches polonium's accepted density of about 9.20 g/cm³)
ρ = 9.1491 g/cm³
Try this example →

❓ Frequently Asked Questions

What is the formula for unit cell density?+
rho = nM / (Vc x NA), where n is the number of atoms per unit cell, M is the molar mass, Vc is the unit cell volume, and NA is Avogadro's number (6.022x10^23 per mole).
How many atoms are in a face-centered cubic (FCC) unit cell?+
An FCC unit cell has n = 4 atoms per unit cell: 8 corner atoms each contributing 1/8 (total 1), plus 6 face-centered atoms each contributing 1/2 (total 3), giving 1 + 3 = 4.
How many atoms are in a body-centered cubic (BCC) unit cell?+
A BCC unit cell has n = 2 atoms per unit cell: 8 corner atoms each contributing 1/8 (total 1), plus 1 body-centered atom contributing fully (total 1), giving 1 + 1 = 2.
How many atoms are in a simple cubic unit cell?+
A simple cubic unit cell has n = 1 atom per unit cell: 8 corner atoms each contributing 1/8, giving 8 x 1/8 = 1.
Why does this calculator use picometers for the edge length?+
Crystallographic edge lengths are typically reported in picometers (pm) or angstroms (Å) because atomic-scale distances are far smaller than a nanometer. The calculator converts picometers to centimeters internally so the density comes out directly in g/cm^3.
How accurate is theoretical density compared to measured density?+
Theoretical density from rho = nM/(VcNA) assumes a perfect, defect-free crystal lattice. Real measured densities are usually very close but slightly lower, since real crystals contain vacancies, dislocations, and impurities that reduce the actual mass per unit volume.
Can this calculator be used for non-cubic crystal systems?+
This calculator assumes Vc = a^3, which only applies to cubic unit cells. For tetragonal, orthorhombic, hexagonal, or triclinic systems, first compute Vc with the Unit Cell Volume Calculator using the general edge-length and angle formula, then divide nM by (Vc x NA) using that value.
Why is this calculation used to verify crystal structures?+
If a proposed crystal structure and lattice type are correct, the theoretical density calculated from rho = nM/(VcNA) should closely match the experimentally measured density of the material. A large mismatch signals that the assumed n value, lattice type, or edge length is wrong.
What is Avogadro's number and why does it appear in this formula?+
Avogadro's number, NA = 6.022x10^23 per mole, is the number of atoms in one mole of a substance. It converts the mass per unit cell (n atoms, each a fraction of a mole) into a mass per unit volume, linking the atomic-scale unit cell to a bulk, measurable density.
Does this calculator account for multiple atom types in a compound crystal?+
For a compound (like NaCl), use the formula mass of the full formula unit as M and the number of formula units per unit cell as n (n=4 for the NaCl rock-salt structure), the same rho = nM/(VcNA) formula still applies.

What is the formula for unit cell density?

rho = nM / (Vc x NA), where n is the number of atoms per unit cell, M is the molar mass, Vc is the unit cell volume, and NA is Avogadro's number (6.022x10^23 per mole).

How many atoms are in a face-centered cubic (FCC) unit cell?

An FCC unit cell has n = 4 atoms per unit cell: 8 corner atoms each contributing 1/8 (total 1), plus 6 face-centered atoms each contributing 1/2 (total 3), giving 1 + 3 = 4.

How many atoms are in a body-centered cubic (BCC) unit cell?

A BCC unit cell has n = 2 atoms per unit cell: 8 corner atoms each contributing 1/8 (total 1), plus 1 body-centered atom contributing fully (total 1), giving 1 + 1 = 2.

How many atoms are in a simple cubic unit cell?

A simple cubic unit cell has n = 1 atom per unit cell: 8 corner atoms each contributing 1/8, giving 8 x 1/8 = 1.

Why does this calculator use picometers for the edge length?

Crystallographic edge lengths are typically reported in picometers (pm) or angstroms (Å) because atomic-scale distances are far smaller than a nanometer. The calculator converts picometers to centimeters internally so the density comes out directly in g/cm^3.

How accurate is theoretical density compared to measured density?

Theoretical density from rho = nM/(VcNA) assumes a perfect, defect-free crystal lattice. Real measured densities are usually very close but slightly lower, since real crystals contain vacancies, dislocations, and impurities that reduce the actual mass per unit volume.

Can this calculator be used for non-cubic crystal systems?

This calculator assumes Vc = a^3, which only applies to cubic unit cells. For tetragonal, orthorhombic, hexagonal, or triclinic systems, first compute Vc with the Unit Cell Volume Calculator using the general edge-length and angle formula, then divide nM by (Vc x NA) using that value.

Why is this calculation used to verify crystal structures?

If a proposed crystal structure and lattice type are correct, the theoretical density calculated from rho = nM/(VcNA) should closely match the experimentally measured density of the material. A large mismatch signals that the assumed n value, lattice type, or edge length is wrong.

What is Avogadro's number and why does it appear in this formula?

Avogadro's number, NA = 6.022x10^23 per mole, is the number of atoms in one mole of a substance. It converts the mass per unit cell (n atoms, each a fraction of a mole) into a mass per unit volume, linking the atomic-scale unit cell to a bulk, measurable density.

Does this calculator account for multiple atom types in a compound crystal?

For a compound (like NaCl), use the formula mass of the full formula unit as M and the number of formula units per unit cell as n (n=4 for the NaCl rock-salt structure), the same rho = nM/(VcNA) formula still applies.