The unit cell is the basic building block of a crystal lattice (whether an atomic crystal or a nanoscale superlattice). Crystalline materials have a periodic structure, with the unit cell being the minimal volume necessary to fully describe the repeating structure. There are a finite number of possible symmetries for the repeating unit cell.
A unit cell can be defined by three vectors that lie along the edges of the enclosing parallelepped. We denote the vectors as
,
, and
; alternately the unit cell can be described by the lengths of these vectors (
,
,
), and the angles between them:
, the angle between
and 
, the angle between
and 
, the angle between
and 
Mathematical description
Vectors

Relations



Volume

If a, b, and c are the parallelepiped edge lengths, and α, β, and γ are the internal angles between the edges, the volume is

The volume of a unit cell with all edge-length equal to unity is:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle v =\sqrt{1-\cos^2(\alpha)-\cos^2(\beta)-\cos^2(\gamma)+2\cos(\alpha)\cos(\beta)\cos(\gamma)}}
Angles
is the angle between
and 
is the angle between
and 
is the angle between
and 
Reciprocal Vectors

Vector components
Generally:

With components:

Examples
Cubic
Since
,
, and:

And in reciprocal-space:

So:

Hexagonal
Since
and
,
, and:

And in reciprocal-space:

So:
