Crystal Lattice Structure Finder

Explore common metallic, ionic, covalent, and ceramic crystal structures with an interactive 3D viewer, packing factor, coordination number, and theoretical density calculator.

Corner atoms Face atoms Interior atoms
FCC -

Density

Material
Cu

Material note

Lattice

Crystal properties

Atoms per cell -
Coordination -
Packing factor -

Physical metrics

Cell volume -
Cell mass -
Atomic radius -
Zoom 100%
Utilities Studio

Want this utility on your website?

Customize colors and dark mode for WordPress, Notion or your own site.

Frequently Asked Questions

What is a unit cell in a crystal lattice?

A unit cell is the smallest repeating three-dimensional box that can tile space to build the crystal. Its atoms may be shared with neighboring cells, so the net atoms per cell can be smaller than the number of spheres drawn on the boundaries.

Why do FCC and HCP have the same packing factor?

FCC and ideal HCP are both close-packed arrangements of equal spheres. They stack dense triangular layers in different sequences, ABCABC for FCC and ABAB for HCP, but both fill about 74 percent of space with atoms.

How is theoretical density calculated?

The calculator divides the mass inside one unit cell by the unit cell volume. Cell mass comes from atoms or formula units per cell multiplied by molar mass and divided by Avogadro constant.

Why can measured density differ from the theoretical result?

Real samples can contain vacancies, impurities, pores, grain boundaries, isotopic mixtures, temperature expansion, or multiple phases. The theoretical value assumes a perfect crystal with the selected lattice constant.

Is halite really an FCC metal lattice?

No. Halite is ionic rock salt, not a metal. The preset uses its conventional FCC-derived cell because NaCl has four formula units per cubic cell, which makes it useful for density calculation practice.

# Crystal lattice structure finder for unit cells, packing factor, and density

This crystal lattice structure finder helps connect the picture of a unit cell with the calculations that students and materials scientists usually need next. You can inspect metallic, ionic, covalent, and ceramic structures, then calculate atomic packing factor, coordination number, atoms per cell, atomic radius from lattice parameter, cell volume, cell mass, and theoretical density from real material presets or custom inputs.The interactive viewer is designed for the common difficulty in crystallography: boundary atoms are visible, but only a fraction of each boundary atom belongs to the selected cell. Rotating the model makes the difference between corner sites, face sites, and interior sites easier to see before you use the numerical formula.

# Simple cubic, FCC, and HCP compared

Structure Net atoms per cell Coordination number Atomic packing factor Typical examples
Simple cubic1652.36%Alpha polonium is the classic elemental example.
Face-centered cubic41274.05%Copper, aluminum, nickel, silver, gold, and many ductile metals.
Hexagonal close-packed61274.05%Magnesium, alpha titanium, zinc, cobalt, and beryllium.
Simple cubic packing is easy to visualize because atoms touch along the cube edge and each corner atom contributes one eighth to the cell. FCC adds atoms to the center of each face, so the atoms touch along face diagonals and the net count becomes four atoms per conventional cubic cell. HCP uses hexagonal layers instead of a cubic box, but ideal HCP reaches the same close-packed limit as FCC.

# Atomic packing factor formula

Atomic packing factor is the fraction of unit cell volume occupied by hard-sphere atoms. It is calculated as APF = volume of atoms in the cell / unit cell volume. For simple cubic this becomes pi / 6 because one atom of radius a/2 fits into the cubic cell. FCC and ideal HCP both reach about 0.7405, which is the maximum packing fraction for equal spheres.Packing factor is not the same as density. APF describes how efficiently identical spheres fill space, while density also depends on molar mass and lattice dimensions. A light HCP metal and a heavy FCC metal can have similar packing factors but very different densities.

# Theoretical density formula used by the calculator

The calculator uses rho = nM / (NA Vcell). In this equation, n is the number of atoms or formula units per cell, M is molar mass in grams per mole, NA is Avogadro constant, and Vcell is the unit cell volume in cubic centimeters. Cubic cells use a^3. Hexagonal cells use (3 sqrt(3) / 2) a^2 c, with c supplied through the c/a ratio.Because lattice constants are usually tabulated in angstroms, the calculator converts angstroms to centimeters before computing density. A small change in lattice constant can noticeably affect density because volume scales with the third power for cubic cells.

# How to use lattice presets for metals and minerals

  • Copper and aluminum: compare two FCC metals with the same net atoms per cell but different molar masses and lattice constants.
  • Magnesium and alpha titanium: inspect HCP packing and see how c/a ratio changes the hexagonal cell volume.
  • Alpha polonium: study the rare simple cubic structure and its lower packing efficiency.
  • Halite: practice formula-unit density with a mineral-style NaCl conventional cell instead of a single-element metal.

# Limitations of a hard-sphere unit cell model

This tool uses idealized geometric models. Real crystals have electron density rather than hard boundaries, and lattice constants change with temperature, pressure, composition, and defects. Ionic, covalent, and ceramic crystals can also require basis atoms, partial occupancies, and symmetry operations beyond a compact unit-cell teaching model.Use the results for education, quick estimates, and comparison of common lattice families. For publication-quality crystallography, verify lattice parameters, phase, stoichiometry, and site occupancy from primary diffraction data or a curated crystallographic database.

Bibliographic References