In geometry, a cube is a three-dimensional solid object bounded by six square faces, facets or sides, with three meeting at each vertex. The cube can also be called a regular hexahedron and is one of the five Platonic solids. It is a special kind of square prism, of rectangular parallelepiped and of trigonal trapezohedron. The cube is dual to the octahedron. It has cubical symmetry (also called octahedral symmetry).
It has 11 nets. If one were to colour the cube so that no two adjacent faces had the same colour, one would need 3 colours.
For a cube centered at the origin, with edges parallel to the axes and with an edge length of 2, the Cartesian coordinates of the vertices are
For a cube of edge length a,
As the volume of a cube is the third power of its sides a×a×a, third powers are called cubes, by analogy with squares and second powers.
The cube has 3 uniform colorings, named by the colors of the square faces around each vertex: 111, 112, 123.
The cube is unique among the Platonic solids for being able to tile Euclidean space regularly. It is also unique among the Platonic solids in having faces with an even number of sides and, consequently, it is the only member of that group that is a zonohedron (every face has point symmetry).
The analogue of a cube in four-dimensional Euclidean space has a special name—a tesseract or (rarely) hypercube.
There are analogues of the cube in lower dimensions too: a point in dimension 0, a segment in one dimension and a square in two dimensions.
The vertices of a cube can be grouped into two groups of four, each forming a regular tetrahedron. These two together form a regular compound, the stella octangula. The intersection of the two forms a regular octahedron. The symmetries of a regular tetrahedron correspond to those of a cube which map each tetrahedron to itself; the other symmetries of the cube map the two to each other.
The rectified cube is the cuboctahedron. If smaller corners are cut off we get a polyhedron with 6 octagonal faces and 8 triangular ones. In particular we can get regular octagons (truncated cube). The rhombicuboctahedron is obtained by cutting off both corners and edges to the correct amount.
If two opposite corners of a cube are truncated at the depth of the 3 vertices directly connected to them, an irregular octahedron is obtained. Eight of these irregular octahedra can be attached to the triangular faces of a regular octahedron to obtain the cuboctahedron.
All but the last of the figures shown have the same symmetries as the cube (see octahedral symmetry).
A different kind of cube is the cube graph, which is the graph of vertices and edges of the geometrical cube. It is a special case of the hypercube graph.