Chemistry Chemistry Tools Blog

How to view unit cells along crystallographic axes

By Aniket Bhardwaj · 8 November 2026 · Chemistry Tools

A 3D unit cell looks different from every direction. This post shows you how to choose the direction in Crystal Lab.

You will learn the Look along controls, two step-by-step routines, and the mistakes to avoid.

In short: Open a structure in Crystal Lab, find the Look along row in the View panel, and press a, b or c to look down that axis. Press diagonal → viewer or diagonal vertical for a body diagonal. Drag to tilt slightly, and press Reset to return to the start.

Why the viewing direction matters

A unit cell is the smallest repeating box of a crystal. Its three edges define the axes a, b and c. Looking along an axis means your eye sits on that axis, so the axis points straight at you.

Seen this way, the cell flattens into a pattern. Atoms that lie one behind another on the same line overlap. The 3D cell then reads like a 2D drawing.

This helps you in three ways:

A freely tilted view hides all this. So fix the direction first, and rotate only afterwards.

Where the controls are

Open Crystal Lab. Choose a structure with Select structure, or press Random. You can also type a name, formula or element in Search structures.

The View panel holds the controls you need:

ControlWhat it does for you
Look along: a, b, cTurns the cell so you look down that axis.
Look along: diagonal → viewerTurns the cell so a diagonal points toward you.
Look along: diagonal verticalStands a diagonal upright on the screen.
RotateRotates the cell.
ResetReturns the cell to the starting view.

You can also drag the cell with the mouse to rotate it by hand. Use the Look along buttons first, because they give an exact direction. Your hand cannot.

Step by step: view a cell along an axis

Take face-centred cubic (fcc) copper as the example. You will find it under Elements and packing.

  1. Pick the structure from Select structure, or search for it.
  2. Press Reset so you start from a clean view.
  3. Switch Cell on, so the box edges are drawn. Without the edges you cannot tell where the axes are.
  4. Under Look along, press c. The c axis now points at you.
  5. Note the pattern. In a cubic cell the three axes are equal, so a, b and c give the same picture.
  6. Press a and then b. Check that the pattern repeats.
  7. Press Reset before you move to another structure.

Now try a structure that is not cubic, such as hexagonal close-packed magnesium. Its c axis is different from a and b. Looking along c gives a different picture from looking along a. That is the point of the exercise: the direction changes what you see.

Step by step: view along a diagonal

A body diagonal joins one corner of the cell to the opposite corner and passes through the centre. In fcc and hcp, the close-packed layers are closely linked to the diagonal direction in the cubic case, so it is a useful view when you study close packing.

Crystal Lab gives two diagonal options:

Follow this routine:

  1. Load fcc copper and press Reset.
  2. Switch Cell on.
  3. Press diagonal → viewer. The cell now shows a very different outline from the axis views.
  4. Under Colour, choose Layer. Atoms are now coloured by layer.
  5. Look at how the colours repeat. Then press diagonal vertical to see the layers stacked up the screen.
  6. Switch on Build layers and watch the layers appear one by one.

The first view shows the pattern when you look down onto the layers. The second shows how the layers sit above each other. Use both when you study close packing.

Worked example. Task: show a friend how the layers stack in an fcc cell.

Method: Load fcc copper, press Reset and switch Cell on. Choose Layer under Colour. Press diagonal vertical to see the layers stacked up the screen. Press diagonal → viewer to look down on one layer. Then count the atoms with the rule on the page: 8 corner atoms at ⅛ each and 6 face atoms at ½ each give 1 + 3 = 4 atoms in the cell.

Make the view easier to read

Other controls in the View panel help once the direction is set.

Change one control at a time. If you change everything together, you will not know what caused the change.

Common mistakes

Key takeaways

  • Looking along an axis flattens the 3D cell into a pattern you can read.
  • Use the Look along buttons a, b, c, diagonal → viewer and diagonal vertical for exact directions.
  • Switch Cell on and press Reset before each new structure.
  • In cubic cells a, b and c look alike. In other systems they usually do not.
  • Use 2×2×2, Opacity and Layer colouring to read the pattern more easily.

Frequently asked questions

What does Look along mean in Crystal Lab?

It turns the cell so that the chosen axis or diagonal points toward you. You then see the cell as it appears down that direction.

Can I still rotate after choosing an axis?

Yes. Drag the cell to rotate it, or use the Rotate control. Press Reset to come back to the starting view.

Why do a, b and c look the same for some structures?

In a cubic cell the three axes are equal, so the cell looks the same from each. In lower-symmetry systems the axes differ, so the views differ.

Which structures can I try this on?

Crystal Lab lists simple cubic, body-centred cubic, face-centred cubic, hexagonal close-packed, rock salt, caesium chloride, fluorite, rutile and perovskite, among others. Try the same routine on each and compare.

How do I keep the view for my notes?

Use the PNG button to save the current view as an image.

What to do next. Try it yourself on the page below.

Chemistry — PYQs, Periodic Table, Calculator & Notes →