What is a cupola?
A cupola is a solid with a regular n-gon on top and a regular 2n-gon as base, joined by a ring of alternating squares and equilateral triangles, all edges of the same length a. Three cupolae are Johnson solids: the triangular cupola (J3: 4 triangles, 3 squares, 1 hexagon; 9 vertices, 15 edges), the square cupola (J4: 4 triangles, 5 squares, 1 octagon; 12 vertices, 20 edges) and the pentagonal cupola (J5: 5 triangles, 5 squares, 1 pentagon, 1 decagon; 15 vertices, 25 edges).
This calculator finds the volume, the surface area, the edge length and the height of a cupola from any one of them, together with the surface-to-volume ratio.
How to use it
Choose the solid in Solid. 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 or the height h. The value you enter is shown back unchanged and every other measure is solved from it. 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.
Derivation of the formulas
For edge length a (n is the number of sides of the regular polygon the solid is built on):
Height:
$$h = a\sqrt{1 - (r_{2n} - r_n)^2}, \qquad r_k = \frac{1}{2\tan(\pi/k)}$$Volume (prismatoid rule):
$$V = \frac{h}{6}\left(2A_n + 2A_{2n} + n a^2 (r_n + \rho_n)\right), \qquad \rho_n = \frac{1}{2\sin(\pi/n)}$$Surface area:
$$S = n\frac{\sqrt{3} }{4}a^2 + n a^2 + A_n + A_{2n}$$Closed forms:
$$V_{J3} = \frac{5\sqrt{2} }{6}a^3, \quad V_{J4} = \left(1 + \frac{2\sqrt{2} }{3}\right)a^3, \quad V_{J5} = \frac{5 + 4\sqrt{5} }{6}a^3$$The surface-to-volume ratio is \(S/V\); it shrinks like 1/a as the solid grows.
Each square joins an edge of the top n-gon to a parallel edge of the base 2n-gon. Seen from above, the two edges are at the inradii \(a r_n\) and \(a r_{2n}\) of their polygons, so the square rises by h over a horizontal run \(a(r_{2n} - r_n)\) and Pythagoras gives the height above.
All vertices lie in two parallel planes, so the cupola is a prismatoid and its volume is \(V = \frac{h}{6}(A_1 + 4M + A_2)\), where M is the area of the section half-way up. That section is the average (Minkowski sum halved) of the two end polygons, so \(4M = A_n + A_{2n} + 2W\), where W is their mixed area: half the sum, over the edges of the 2n-gon, of edge length times the distance of the n-gon's supporting line in the same direction. Half of the base edges are parallel to top edges (distance \(a r_n\)) and half point at top vertices (distance \(a\rho_n\)), so \(2W = n a^2 (r_n + \rho_n)\), which gives the volume formula.
Every face is a regular polygon with side a; a regular k-gon has area \(A_k = \frac{k a^2}{4\tan(\pi/k)}\), and the surface area is the sum over the faces.
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\). 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, \(a = \sqrt{S / k_S}\) from the surface area or \(a = h / k_h\) from the height, and the other measures follow from a.
Worked example
The default is a square cupola (J4) with edge a = 4. Its volume is about 124.339779 cubic units, its surface area about 184.967647 square units and its height about 2.828427 units.
FAQ
Is there a hexagonal cupola?
No. With n = 6 the base would be a regular 12-gon and the squares and triangles would lie flat in its plane, so the height would be 0.
What is a Johnson solid?
A Johnson solid is a convex polyhedron whose faces are all regular polygons but which is not a Platonic solid, an Archimedean solid, a prism or an antiprism. Norman Johnson listed 92 of them in 1966 and Victor Zalgaller proved in 1969 that the list is complete.
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
N. W. Johnson, Convex Polyhedra with Regular Faces, Canadian Journal of Mathematics 18, 1966
P. R. Cromwell, Polyhedra, Cambridge University Press, 1997