Free tools & games for everyone
Free · No sign-up · No accounts
Build crystal structures in 3D (cubic, body- and face-centred, hcp, diamond, rock salt) and work out atoms per cell, packing and density.
| Tab | Move between menus, the model and the calculator |
|---|---|
| Arrow keys on the model | Turn it left, right, up and down |
| Drag on the model | Turn it with a finger, pen or mouse |
| Enter in the calculator | Work out the density |
Density = (formula units per cell × molar mass) ÷ (Avogadro's number × cell volume), with NA = 6.02214076 × 1023 mol−1 (exact, SI 2019). Packing fractions: simple cubic π/6, body-centred π√3/8, face-centred and hexagonal close-packed π/(3√2), diamond π√3/16. Hexagonal close-packed is drawn and counted with the ideal ratio c/a = √(8/3) unless you give c. The example lattice constants and densities are common room-temperature textbook values, rounded. The tests check every count, neighbour number and packing fraction against separate Python geometry, and every calculated example density against its measured value. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product