What is a truncated cube?
A truncated cube is an Archimedean solid: a convex polyhedron whose faces are regular polygons of more than one kind, with every vertex surrounded in the same way. It has 8 equilateral triangles and 6 regular octagons, 24 vertices and 36 edges, all of the same length a, and one triangle and two octagons meet at every vertex. It is obtained by cutting every corner off a cube so that each square face becomes a regular octagon (each cut removes \(a/\sqrt{2}\) from both ends of a cube edge).
This calculator finds the volume, the surface area, the edge length, the circumradius, the midradius and the dihedral angles of a truncated cube from any one of the first five.
How to use it
Choose what you know in What do you know? and enter that one value: the edge length a, the volume V, the surface area S, the circumradius R (centre to a vertex) or the midradius m (centre to the middle of an edge). The value you enter is shown back unchanged and every other measure is solved from it. An Archimedean solid has no sphere touching all of its faces, because faces of different kinds lie at different distances from the centre, so there is no inradius box. The length unit is a label only: lengths are shown in that unit, areas in its square and the volume in its cube. The page shows results rounded to at most 6 decimal places and writes very large and very small values out in full.
Formulas
For edge length a:
Volume:
$$V = \frac{21 + 14\sqrt{2} }{3}\,a^3$$Surface area:
$$S = 2\left(6 + 6\sqrt{2} + \sqrt{3}\right)a^2$$Circumradius and midradius:
$$R = \frac{\sqrt{7 + 4\sqrt{2} } }{2}\,a, \qquad m = \frac{2 + \sqrt{2} }{2}\,a$$Each dihedral angle, between a face with p sides and a face with q sides that share an edge, follows from the distances \(d_p, d_q\) of the two face planes from the centre and the inradii \(r_n = \frac{a}{2\tan(\pi/n)}\) of the faces:
$$\theta_{p,q} = 180^\circ - \arctan\frac{r_p}{d_p} - \arctan\frac{r_q}{d_q}, \qquad d_n = \sqrt{R^2 - \frac{a^2}{4\sin^2(\pi/n)} }$$For this solid: the angle between a triangle and an octagon about 125.26439°; the angle between two octagons about 90°.
The surface-to-volume ratio is \(S/V\); it shrinks like 1/a as the solid grows.
Derivation of the formulas
The vertices can be placed at all permutations of \((\pm(\sqrt{2} - 1), \pm1, \pm1)\); there the edge is \(2(\sqrt{2} - 1)\). Scaling by the ratio of a to that edge gives the circumradius R above, and the midpoint of an edge gives the midradius, \(m = \sqrt{R^2 - a^2/4}\), because the edge is a chord of the circumsphere.
All vertices lie on the circumsphere, so each face is cut from a plane at distance \(d_n\) from the centre, where \(\rho_n = \frac{a}{2\sin(\pi/n)}\) is the circumradius of the n-gon face:
$$d_n = \sqrt{R^2 - \rho_n^2}$$Joining the centre to every face splits the solid into pyramids, one per face, with the face as base and \(d_n\) as height. With \(N_n\) faces of n sides and face area \(A_n = \frac{n a^2}{4\tan(\pi/n)}\):
$$V = \frac{1}{3}\sum_n N_n A_n d_n, \qquad S = \sum_n N_n A_n$$Carrying out the sum with the R above and simplifying the radicals gives the closed volume and surface formulas.
For the dihedral angle, look along a shared edge: the centre, the edge midpoint and the two face centres lie in one plane. The face of n sides is seen from the centre at the angle \(\arctan(r_n/d_n)\) away from the edge midpoint, and the two faces close the remaining angle, which gives the dihedral formula above.
Solving from other known values
Every measure is a fixed multiple of a power of the edge: lengths grow like a, areas like \(a^2\) and the volume like \(a^3\), while the angles do not change. So the edge follows from any one value by dividing by its constant and taking the matching root, for example \(a = \sqrt[3]{V / k_V}\) from the volume or \(a = \sqrt{S / k_S}\) from the surface area, and the other measures follow from a.
Worked example
The default is a truncated cube with edge a = 4. Its volume is about 870.378451 cubic units, its surface area about 518.95463 square units, its circumradius about 7.115295 units and its midradius about 6.828427 units.
FAQ
How large is the cube it is cut from?
Its edge is \((1 + \sqrt{2})\,a\): each octagon side a is flanked by two cut-off pieces of length \(a/\sqrt{2}\).
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Accuracy and input range
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Enter each length from 0.000001 to 1,000,000,000, an area from 0.000000000001 to 1,000,000,000,000,000,000 and a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range.
References
P. R. Cromwell, Polyhedra, Cambridge University Press, 1997
H. S. M. Coxeter, Regular Polytopes, 3rd ed., Dover, 1973
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018