---
title: Crystal lattices and the unit cell
heading: How atoms stack in a crystal, and what that fixes
eyebrow: B12 · Lesson 1 · Crystal lattices and the unit cell
xp: 40
---

::: hook
A silicon wafer is a single crystal: about 10²⁴ atoms, every one in its predicted place, repeated across 300 mm without a break. That regularity is what makes semiconductors behave so predictably: the same lattice everywhere means the same band structure, the same effective masses and the same mobility everywhere. This course is about the physics that follows from periodic order, and it starts with the order itself. A crystal is a **lattice**, a repeating set of points, with a **basis**, the group of atoms attached to each point. A handful of structures (face-centered cubic, body-centered cubic, diamond, zincblende) cover almost every material in electronics.
:::

::: play
- The curves give the number of atoms per cm³ for a cubic crystal against its lattice constant a, for the three structures with 2, 4 and 8 atoms in each cubic cell.
- Silicon (diamond structure, 8 atoms per cell) has a = 0.5431 nm: about 5 × 10²² atoms per cm³. Copper (fcc, 4 per cell) has a = 0.3615 nm and nearly twice the density.
- The readout converts to mass density with the molar mass you set: the check that the structure is right is that it matches the density you can weigh.
:::
:::

```sim plot
view: graph
x: a = 0.25..0.7 nm
y: n = 0..20e22
slider: A = 0.25..0.7 step 0.0005 = 0.5431 nm
slider: M = 1..210 step 0.1 = 28.1 g/mol
plot: 8/(a*1e-7)^3 | label: 8 per cell (diamond, zincblende)
plot: 4/(a*1e-7)^3 | label: 4 per cell (fcc)
plot: 2/(a*1e-7)^3 | label: 2 per cell (bcc)
marker: a = A | label: this crystal
readout: atoms per cm³ at 8 per cell = 8/(A*1e-7)^3
readout: mass density at 8 per cell, g/cm³ = 8/(A*1e-7)^3*M/6.02214076e23
```

::: predict
## Silicon has the diamond structure with a = 0.5431 nm. How many atoms are in each cubic unit cell?

- [ ] 1
- [ ] 4
- [x] 8
- [ ] 14

::: reveal
Eight. The diamond structure is an fcc lattice (4 lattice points per cubic cell: corners count ⅛ each, face centers ½) with a two-atom basis, so 4 × 2 = 8. That gives $\frac{8}{(0.5431\text{ nm})^3}$ = 5.0 × 10²² atoms per cm³ and a density of 2.33 g/cm³, exactly what a balance measures.
:::
:::

::: nameit
## Lattice and basis

A **Bravais lattice** is a set of points $\mathbf R = n_1\mathbf a_1 + n_2\mathbf a_2 + n_3\mathbf a_3$ (integer $n_i$) that looks the same from every point. There are 14 kinds in three dimensions. A crystal is a lattice with an identical group of atoms, the **basis**, at each point. The smallest repeating volume is the primitive cell; the cubic **conventional cell**, of side a (the lattice constant), is usually easier to picture.

## Cubic structures

| structure | lattice points per cubic cell | atoms per cell | nearest-neighbor distance | neighbors | packing fraction |
|---|---|---|---|---|---|
| simple cubic | 1 | 1 | a | 6 | 0.52 |
| body-centered cubic (Fe, W, Na) | 2 | 2 | $a\sqrt3/2$ | 8 | 0.68 |
| face-centered cubic (Cu, Al, Au) | 4 | 4 | $a/\sqrt2$ | 12 | 0.74 |
| diamond (Si, Ge, C) | 4 | 8 | $a\sqrt3/4$ | 4 | 0.34 |

**Zincblende** (GaAs, InP, GaN's cubic form) is diamond with the two basis atoms different: one sublattice Ga, the other As. **Wurtzite** (GaN, ZnO) is its hexagonal cousin. Diamond's low packing fraction comes from its four tetrahedral covalent bonds, which leave the structure open.

## Counting

The atom density is $n = \frac{N_{cell}}{a^3}$ and the mass density $\rho = \frac{nM}{N_A}$. Silicon: 4.99 × 10²² cm⁻³ and 2.33 g/cm³. GaAs (a = 0.5653 nm): 4.43 × 10²² atoms per cm³ and 5.32 g/cm³. Copper: 8.47 × 10²² atoms per cm³, the electron density used for its Fermi energy in B10 and B11, since each atom gives one conduction electron.
:::

::: example
## Find copper's density from its fcc structure and a = 0.3615 nm.

::: solution
1. **Atoms per volume.** An fcc cell holds 4 atoms:
   $$\begin{aligned} n &= \frac{4}{(0.3615 \times 10^{-7}\ \text{cm})^3} \\ &= 8.47 \times 10^{22}\ \text{cm}^{-3} \end{aligned}$$
2. **Density.** Multiply by the molar mass and divide by Avogadro's number:
   $$\begin{aligned} \rho &= \frac{8.47 \times 10^{22} \times 63.55}{6.022 \times 10^{23}} \\ &= 8.94\ \text{g/cm}^3 \end{aligned}$$
3. **Compare with measurement.** The measured density is 8.96 g/cm³.
4. **How Avogadro's number was found.** The same arithmetic, run with a measured lattice constant and a weighed, measured sphere of isotopically pure silicon, is how Avogadro's number was determined to about one part in 10⁸ before its value was fixed by definition in 2019.

**Answer:** copper's density comes out to 8.94 g/cm³, against a measured 8.96 g/cm³.
:::
:::

::: example
## How far apart are nearest neighbors in silicon?

::: solution
1. **Where the neighbor sits.** In the diamond structure each atom sits a quarter of the way along a cube diagonal from its neighbor.
2. **Distance.**
   $$\begin{aligned} d &= \frac{a\sqrt3}{4} \\ &= \frac{0.5431 \times 1.732}{4} \\ &= 0.235\ \text{nm} \end{aligned}$$
   This is the Si–Si bond length.
3. **How many neighbors.** Each atom has four such neighbors at the corners of a tetrahedron, with 109.5° between bonds.

**Answer:** nearest neighbors in silicon are 0.235 nm apart, four around each atom.
:::
:::

::: example
## If atoms were hard spheres just touching their nearest neighbors, what fraction of space would they fill in fcc, bcc and diamond structures?

::: solution
1. **Packing in fcc.** The atoms touch along a face diagonal, so $r = \frac{\sqrt2a}{4}$, and 4 atoms per cell fill
   $$\begin{aligned} f &= \frac{4 \cdot \frac43\pi r^3}{a^3} \\ &= \frac{\pi\sqrt2}{6} \\ &= 0.740 \end{aligned}$$
2. **Packing in bcc.** The atoms touch along the body diagonal, $r = \frac{\sqrt3a}{4}$, and 2 atoms fill
   $$\frac{\pi\sqrt3}{8} = 0.680$$
3. **Packing in diamond.** The bonds run a quarter of the way along a body diagonal, $r = \frac{\sqrt3a}{8}$, and 8 atoms fill only
   $$\frac{\pi\sqrt3}{16} = 0.340$$
4. **What the open network means.** Silicon's covalent bonds hold its atoms in an open, tetrahedral network, which is why it's less dense than aluminum despite heavier atoms, and why dopants and interstitials fit into it.

**Answer:** the spheres fill 0.740 of space in fcc, 0.680 in bcc and only 0.340 in diamond.
:::
:::

::: check
given: a = 0.5431 | 0.5658 | 0.3615 | 0.4049; N = 8 | 4
answer: N/(a*1e-7)^3
unit: cm^-3
tolerance: 0.5%

## A cubic crystal with lattice constant {a} nm has {N} atoms per conventional cell. What's its atom density?

::: right
Right. $N/a^3$ = {answer} cm⁻³.
:::

::: misses
- [N/a^3] Convert nm to cm: 1 nm = 10⁻⁷ cm.
- [any] Not yet. Atoms per cell divided by cell volume.
:::
:::

::: check
given: n = 4.994 | 4.428 | 8.467; M = 28.09 | 72.32 | 63.55
answer: n*1e22*M/6.02214076e23
unit: g/cm^3
tolerance: 0.5%

## A crystal has {n} × 10²² atoms per cm³ with average molar mass {M} g/mol. What's its density?

::: right
Right. $\rho = nM/N_A$ = {answer} g/cm³.
:::

::: misses
- [n*1e22/M/6.02214076e23] Multiply by the molar mass.
- [any] Not yet. N_A = 6.022 × 10²³ per mol.
:::
:::

::: check
given: a = 0.3 | 0.5 | 0.6
answer: a*sqrt(3)/4
unit: nm
tolerance: 0.5%

## A diamond-structure crystal has a = {a} nm. What's its nearest-neighbor distance?

::: right
Right. $a\sqrt3/4$ = {answer} nm.
:::

::: misses
- [a/sqrt(2)] That's fcc's nearest-neighbor distance; in diamond the neighbor sits a quarter of the way along the cube diagonal.
- [a*sqrt(3)/2] That's bcc's.
- [any] Not yet. A quarter of the cube diagonal $a\sqrt3$.
:::
:::

::: check
given: r = 2.33 | 5.32 | 8.96; M = 28.09 | 72.32 | 63.55; N = 8 | 4
answer: (N*M/(r*6.02214076e23))^(1/3)*1e7
unit: nm
tolerance: 0.5%

## A cubic crystal with {N} atoms per cell, average molar mass {M} g/mol, has density {r} g/cm³. What's its lattice constant?

::: right
Right. $a = \left(\frac{NM}{\rho N_A}\right)^{1/3}$ = {answer} nm.
:::

::: misses
- [(N*M/(r*6.02214076e23))*1e7] Take the cube root of the cell volume.
- [any] Not yet. Solve $\rho = NM/(N_Aa^3)$.
:::
:::

::: check
given: d = 150 | 200 | 300; t = 675 | 775
answer: pi*(d/20)^2*t*1e-4*4.994e22
tolerance: 0.5%

## How many silicon atoms are in a {d} mm wafer {t} µm thick?

::: right
Right. Volume × 4.99 × 10²² cm⁻³ = {answer}.
:::

::: misses
- [pi*(d/10)^2*t*1e-4*4.994e22] Use the radius, d/2.
- [any] Not yet. Convert to cm: radius in cm, thickness in cm.
:::
:::

::: check
kind: choice

## Why does silicon pack its atoms so loosely (34% of space) compared with copper (74%)?

- [ ] Silicon atoms are smaller
- [x] Silicon's four directional covalent bonds fix a tetrahedral, open arrangement
- [ ] Silicon is amorphous
- [ ] Copper is under pressure

::: misses
- [1] Packing fraction doesn't depend on size, only on arrangement.
- [3] Crystalline silicon is perfectly ordered.
- [4] Both are at ordinary pressure.
:::
:::

::: check
kind: parts
given: a = 0.2866 | 0.3165 | 0.33

## A bcc metal has lattice constant {a} nm.

::: part
answer: sqrt(3)*a/2
unit: nm
tolerance: 0.5%

### How far apart are nearest neighbors?

::: misses
- [a/sqrt(2)] That's fcc; in bcc the neighbors lie along the body diagonal.
- [any] Half the body diagonal, $\frac{\sqrt3a}{2}$.
:::
:::

::: part
answer: 2/(a*1e-7)^3/1e22
tolerance: 0.5%

### How many atoms per cm³, in units of 10²²?

::: misses
- [4/(a*1e-7)^3/1e22] A bcc cell holds 2 atoms.
- [any] $\frac{2}{a^3}$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.2..0.7

## An fcc crystal with lattice constant a (nm), atoms as touching hard spheres.

::: step
answer: a/sqrt(2)

### What's the nearest-neighbor distance?
:::

::: step
answer: sqrt(2)*a/4

### What's the sphere radius?
:::

::: step
answer: pi*sqrt(2)/6

### What fraction of space do the 4 spheres per cell fill?
:::

::: right
Right. 0.740, the densest packing of equal spheres, independent of a.
:::
:::

::: explain
## Why is it enough to describe a crystal by a lattice and a basis?

::: model
A perfect crystal repeats the same local arrangement of atoms over and over in three directions. The lattice records how it repeats: the set of translations that carry the crystal onto itself. The basis records what is repeated: the positions and types of the atoms attached to each lattice point. Every atom in the crystal is then a lattice vector plus a basis position, so these two pieces of information fix the whole structure. Separating them is also what makes the physics manageable: the lattice alone determines which waves can propagate (Bloch's theorem, lesson 15), while the basis shapes the details, like the optical phonons of lesson 8.
:::
:::

::: practice

::: check
given: a = 0.4 | 0.65; N = 2 | 8
answer: N/(a*1e-7)^3
unit: cm^-3
tolerance: 0.5%

## Atom density: a = {a} nm, {N} per cell?

::: misses
- [any] $N/a^3$.
:::
:::

::: check
given: a = 0.3567 | 0.5431 | 0.5658 | 0.6489 | 0.35 | 0.62
answer: a*sqrt(3)/4
unit: nm
tolerance: 0.5%

## Diamond nearest-neighbor distance for a = {a} nm?

::: misses
- [any] $a\sqrt3/4$.
:::
:::

::: check
given: r = 2 | 10; M = 20 | 100; N = 4 | 8
answer: (N*M/(r*6.02214076e23))^(1/3)*1e7
unit: nm
tolerance: 0.5%

## Lattice constant: ρ = {r}, M = {M}, {N} per cell?

::: misses
- [any] $(NM/\rho N_A)^{1/3}$.
:::
:::
:::
