Hollow Frustum Calculator

Hollow Frustum Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

V=nhd2(a+b−2dtan⁡πn),A=n(a+b−2dtan⁡πn)(s+d)V = \frac{n h d}{2} \left( a + b - 2d \tan\frac{\pi}{n} \right), \quad A = n \left( a + b - 2d \tan\frac{\pi}{n} \right) (s + d)
Show calculation steps (1)
  1. Volume

    V=nhd2(a+b−2dtan⁡πn)V = \frac{n h d}{2} \left( a + b - 2d \tan\frac{\pi}{n} \right)

    Outer frustum minus the hole.

Usage stats

Advertisement

Results

Volume V
290.938299
cubic units
Total surface area A 688.095336 square units
Surface-to-volume ratio A/V 2.36509 per unit
Bottom side of the hole a′ 8.546915 units
Top side of the hole b′ 4.546915 units
Slant height of each side face 8.460361 units
Outer lateral area 338.414441 square units
Inner lateral area (faces of the hole) 276.94632 square units
Bottom ring area 46.367287 square units
Top ring area 26.367287 square units

Report an error on this page

What is a hollow frustum?

A hollow frustum here is a frustum of a right regular pyramid (see the regular frustum calculator): a regular polygon with n sides of length a at the bottom, a parallel, centred regular polygon with sides b at the top, at the height h. A hole of the same shape runs through it so that the wall has the same thickness d everywhere, measured horizontally from each outer face to the inner face behind it. Like a tapered square chimney or a hopper, its inner faces are parallel to the outer ones. The hole has the bottom side a′ = a − 2d·tan(180°/n) and the top side b′ = b − 2d·tan(180°/n).

This calculator finds the volume, the total surface area, the surface-to-volume ratio, the sides of the hole at the bottom and at the top, the slant height of the side faces, the outer and inner lateral areas and the areas of the bottom and top rings.

How to use it

Enter the number of sides n (a whole number from 3 to 1,000), the bottom side a, the top side b, the height h and the wall thickness d. The top may be wider than the bottom, and a equal to b gives a straight hollow prism. The wall must leave a hole at both ends. Each value may have at most 60 significant digits. Every measure is solved from the values you enter. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes values from 10¹² up as a 12-digit number times a power of ten, such as 1.23456789012 × 10¹², and very small values out in full.

Derivation of the formulas

At any height the outer section is a regular n-gon; moving each side inwards by d gives the inner section, whose inradius is d smaller. A regular n-gon with the inradius ρ has the side 2ρ tan(π/n), so every side of the hole is u = 2d·tan(π/n) shorter: a′ = a − u and b′ = b − u. A frustum with the end areas B₁ and B₂ has the volume h(B₁ + B₂ + √(B₁B₂))/3, and an n-gon with the side s has the area n s² / (4 tan(π/n)). Subtracting the hole from the outer frustum, the terms in a², ab and b² cancel and leave

$$V = \frac{n h d}{2} \left( a + b - 2d \tan\frac{\pi}{n} \right)$$

Every side face, outer or inner, is a trapezoid with the slant height s = √(h² + (a − b)² / (4 tan²(π/n))): the inner faces are parallel to the outer ones and just as steep. The outer faces give n(a + b)s/2, the inner ones n(a′ + b′)s/2, and each end ring is the difference of two polygon areas, (n d / 2)(2a − u) at the bottom and (n d / 2)(2b − u) at the top. Added up:

$$A = n \left( a + b - 2d \tan\frac{\pi}{n} \right) (s + d), \qquad \frac{A}{V} = \frac{2 (s + d)}{h d}$$

The page uses these forms because they contain no difference that can lose digits; only the sides of the hole are differences, and the page computes them with as many extra digits as the difference loses.

These formulas were checked when the page was built against the solid built from its corner points: its volume by the divergence theorem and its surface as the sum of its face areas.

Worked example

With the default regular pentagon frustum (bottom side 10, top side 6, height 8) and a wall 1 thick the hole has the sides 8.546915 and 4.546915, the volume is 290.938299 cubic units and the surface area 688.095336 square units; the side faces are 8.460361 high along the slope.

Advertisement
Bottom and top pentagonal rings with opening side lengths 8.546915 and 4.546915 and a perpendicular wall thickness of 1 in both views.
In plan view, the wall thickness of 1 is measured perpendicular to the parallel inner and outer sides. The bottom opening has side length 8.546915 and the top opening has side length 4.546915.
Worked-example dimensions flow to the calculated volume and surface area.
The example gives a volume of 290.938299 cubic units and a surface area of 688.095336 square units.

FAQ

Which inputs are refused?

A wall so thick that a side of the hole, a − 2d·tan(180°/n) or b − 2d·tan(180°/n), would be 0 or less; a number of sides that is not a whole number from 3 to 1,000; a length that is 0 or negative; a value with more than 60 significant digits; text that is not a number and values outside the range.

Why does the page limit the number of digits?

Whether the wall leaves a hole is decided by comparing a typed number with 2d·tan(180°/n), which for most n is irrational. With at most 60 significant digits per value the page can always compute tan(180°/n) to enough digits to decide this and to give the sides of the hole correctly.

Why is the surface-to-volume ratio so simple?

Both the volume and the surface are proportional to a + b − 2d·tan(180°/n), so that factor cancels and only the slant height, the height and the wall thickness are left.

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?

Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits (π to 90 digits, the tangent of 180°/n as a quotient of series, square roots to that precision); the sides of the hole are computed with as many extra digits as the difference a − 2d·tan(180°/n) loses, and every row is exact for a square section. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational (for 3, 4 or 6 sides, a slant height that terminates) is decided exactly if 320 digits still cannot tell its side. A value typed with hundreds of digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.

Advertisement

Accuracy and input range

Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits (π to 90 digits, the tangent of 180°/n as a quotient of series, square roots to that precision); the sides of the hole are computed with as many extra digits as the difference a − 2d·tan(180°/n) loses, and every row is exact for a square section. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational (for 3, 4 or 6 sides, a slant height that terminates) is decided exactly if 320 digits still cannot tell its side. A value typed with hundreds of digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.

Enter each length from 0.000001 to 1,000,000,000 and the number of sides n as a whole number from 3 to 1,000. Anything outside is refused with a message naming the range.

References

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018, ch. 4 (polyhedra, prisms, pyramids and frusta)

Last updated:

Most popular in Geometry

View all Geometry calculators