Regular Prism Calculator

Regular Prism Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

B=na24tan⁡(π/n)V=BhS=2B+nahB = \frac{n a^2}{4\tan(\pi/n)} \qquad V = Bh \qquad S = 2B + nah
Usage stats

Advertisement

Results

Volume
619.371864
cubic units
Base edge a6 units
Height h10 units
Base area61.937186 square units
Base perimeter30 units
Lateral surface area300 square units
Surface area423.874373 square units
Base apothem (inradius of the base)4.129146 units
Base circumradius5.103905 units
Circumradius (circumscribed sphere)7.144917 units

Report an error on this page

What a regular prism is

A right regular prism has two congruent regular polygons with \(n\) sides of edge \(a\) as its bases, placed parallel at a distance \(h\) with corresponding vertices directly above each other, and \(n\) rectangles of size \(a \times h\) as its side faces. With \(n = 3\) it is a triangular prism, with \(n = 4\) a square prism, with \(n = 6\) a hexagonal prism. Enter \(n\) from 3 to 100 and any sufficient pair, and the calculator gives the volume, the areas and the radii.

How to use it

  1. Enter the number of sides \(n\) of the base (a whole number from 3 to 100).
  2. Choose what you know: base edge and height, base edge and volume, height and volume, or base edge and total surface area, and enter the values.
  3. Pick a length unit if you want labelled results; it is a label only.

Values of zero or below, a fractional \(n\) and a surface area that does not exceed the two bases are refused. The page rounds results to at most 6 decimal places and writes very large and very small values out in full.

Derivation of the formulas

Splitting the regular \(n\)-gon into \(n\) isosceles triangles from its centre gives the apothem \(r\), the base circumradius \(\rho\) and the base area \(B\):

$$r = \frac{a}{2\tan(\pi/n)} \qquad \rho = \frac{a}{2\sin(\pi/n)} \qquad B = \frac{n a^2}{4\tan(\pi/n)}$$

The prism adds the height (Cavalieri principle for the volume):

$$V = Bh \qquad S_L = nah \qquad S = 2B + nah \qquad R = \sqrt{\rho^2 + \frac{h^2}{4} }$$

where \(R\) is the radius of the sphere through all \(2n\) vertices.

Worked example

A pentagonal prism (\(n = 5\)) with \(a = 6\) and \(h = 10\): \(B = \frac{5 \cdot 36}{4\tan 36^\circ} \approx 61.937186\), \(V = 10B \approx 619.371864\), \(S_L = 5 \cdot 6 \cdot 10 = 300\) and \(S \approx 423.874373\). The volume is 619.371864 cubic units.

Advertisement
Pentagonal prism with base edge 6 and height 10.
The worked example uses a pentagonal prism with base edge 6 and height 10.

Questions

What happens as n grows?

The base approaches a circle of radius \(\rho\) and the prism approaches a cylinder; with \(n = 100\) the base area is within 0.07% of \(\pi\rho^2\).

Does the formula need the base to be regular?

\(V = Bh\) holds for any right prism, but the area and radius formulas above need a regular base.

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.

Advertisement

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; 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

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd ed., CRC Press, 2018 — chapter 4 (regular polygons, prisms).

Last updated:

Most popular in Geometry

View all Geometry calculators