What is a regular frustum?
A regular frustum (a right regular n-gonal frustum, or truncated regular pyramid) is the solid left when a right regular n-gonal pyramid is cut by a plane parallel to its base and the top is removed. Its bottom face is a regular polygon with n sides of length a, its top face is a smaller regular polygon with n sides of length b, both centred on the same vertical axis, and the distance between them is the height h. The n lateral faces are congruent isosceles trapezoids. With a = b the solid becomes a prism; as b shrinks to 0 it becomes the whole pyramid.
This calculator finds every standard measure of the frustum from the two base edges and one more value: the height, slant height, lateral edge, volume, total surface area or the angle between a lateral face and the bottom.
How to use it
Choose what you know in What do you know?, enter the number of base sides n (3 to 1000) and the known values. The length unit is a label only: lengths are shown in that unit, areas in its square and the volume in its cube. Angles are entered and shown in degrees or radians. The page shows results rounded to at most 6 decimal places, and writes very large and very small values out in full.
Formulas
Inradius (apothem), circumradius and area of each base, a regular n-gon of edge x:
$$r = \frac{x}{2\tan(\pi/n)}, \qquad R = \frac{x}{2\sin(\pi/n)}, \qquad B = \frac{n\,x\,r}{2}$$With r₁, R₁, B₁ for the bottom (x = a) and r₂, R₂, B₂ for the top (x = b), the slant height (the height of a lateral trapezoid) and the lateral edge follow from Pythagoras in the planes through the axis:
$$s = \sqrt{h^2 + (r_1 - r_2)^2}, \qquad e = \sqrt{h^2 + (R_1 - R_2)^2}$$$$L = \frac{n\,(a + b)\,s}{2}, \qquad S = B_1 + B_2 + L, \qquad V = \frac{h}{3}\left(B_1 + B_2 + \sqrt{B_1 B_2}\right)$$The angle between a lateral face and the bottom base is \(\arctan\big(h / (r_1 - r_2)\big)\); the angle between a lateral edge and the bottom base is \(\arctan\big(h / (R_1 - R_2)\big)\). When b is larger than a the frustum stands on its smaller face and these angles are obtuse.
Derivation
Extend the lateral edges until they meet at the apex of the original pyramid. By similar triangles that pyramid has height \(H = h\,a/(a - b)\), and the removed top pyramid has height \(H - h\). The frustum is the difference of the two pyramids:
$$V = \frac{B_1 H}{3} - \frac{B_2 (H - h)}{3}$$Because the bases are similar, \(B_2 / B_1 = (b/a)^2\); substituting H and simplifying gives \(V = \tfrac{h}{3}\big(B_1 + B_2 + \sqrt{B_1 B_2}\big)\), a formula that also holds for a = b, where it becomes the prism volume \(B h\).
Solving from other known values
When the height is not given it is found first: from the slant height \(h = \sqrt{s^2 - (r_1 - r_2)^2}\), from the lateral edge \(h = \sqrt{e^2 - (R_1 - R_2)^2}\), from the volume \(h = 3V / (B_1 + B_2 + \sqrt{B_1 B_2})\), from the total surface area \(s = 2(S - B_1 - B_2) / (n(a + b))\) and then h from s, and from the face angle \(h = (r_1 - r_2)\tan\alpha\). Values that cannot belong to a frustum are refused with the reason.
Worked example
The default is a regular hexagonal frustum with a = 8, b = 5 and h = 7. The base inradii are \(r_1 \approx 6.928203\) and \(r_2 \approx 4.330127\), the base areas \(B_1 \approx 166.276878\) and \(B_2 \approx 64.951905\). The volume is \(V = \tfrac{7}{3}(166.276878 + 64.951905 + 103.923048) \approx 782.02094\). The slant height is \(\sqrt{49 + 2.598076^2} \approx 7.466592\), the lateral area \(6 \cdot 13 \cdot 7.466592 / 2 \approx 291.197098\) and the total surface area about 522.425881.
FAQ
Is a frustum always cut parallel to the base?
Yes, in this calculator. A cut that is not parallel gives a different solid, a truncated pyramid with a tilted top, whose top face is not a regular polygon.
Why does the face angle mode need a larger bottom edge?
The angle fixes the height only through the difference of the apothems, \(h = (r_1 - r_2)\tan\alpha\). With equal edges the faces are vertical whatever the height.
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, each area from 0.000000000001 to 1,000,000,000,000,000,000 and each 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
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018
J. W. Harris and H. Stocker, Handbook of Mathematics and Computational Science, 1998