text: For a face-centered cubic unit cell, the number of atoms is four.  A line can be drawn from the top corner of a cube diagonally to the bottom corner on the same side of the cube, which is equal to 4r. Using geometry, and the side length, a can be related to r as:
  Knowing this and the formula for the volume of a sphere, it becomes possible to calculate the APF as follows: