In Cartesian coordinates the 3 basis vectors are represented by a  cell tensor :
The volume of the unit cell, , is given by the determinant of the cell tensor:
For the special case of a cubic, tetragonal, or orthorhombic cell, the matrix is diagonal, and we have that: