What is a Johnson pyramid?
A Johnson pyramid is a pyramid whose base is a regular polygon and whose sides are equilateral triangles, so that all edges have the same length a. Only two such pyramids are Johnson solids: the square pyramid (J1: 4 triangles and 1 square, 5 vertices, 8 edges) and the pentagonal pyramid (J2: 5 triangles and 1 regular pentagon, 6 vertices, 10 edges). The triangular case is the regular tetrahedron, a Platonic solid, and a hexagonal base would make the triangles lie flat.
This calculator finds the volume, the surface area, the edge length and the height of a Johnson pyramid 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.
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 - \frac{1}{4\sin^2(\pi/n)} }$$Volume:
$$V = \frac{1}{3} A_n h, \qquad A_n = \frac{n a^2}{4\tan(\pi/n)}$$Surface area:
$$S = n\frac{\sqrt{3} }{4}a^2 + A_n$$Square pyramid (J1):
$$V = \frac{\sqrt{2} }{6}a^3, \quad S = (1+\sqrt{3})a^2, \quad h = \frac{a}{\sqrt{2} }$$The surface-to-volume ratio is \(S/V\); it shrinks like 1/a as the solid grows.
Derivation of the formulas
The apex lies above the centre of the base. Each lateral edge joins the apex to a base vertex, which lies at the circumradius \(\rho_n = \frac{a}{2\sin(\pi/n)}\) from the centre. Because the lateral edge has length a, Pythagoras gives \(h^2 + \rho_n^2 = a^2\):
$$h = \sqrt{a^2 - \rho_n^2}$$The volume of any pyramid is one third of base area times height, and the surface is the base plus n equilateral triangles of area \(\frac{\sqrt{3} }{4}a^2\). For the square, \(\rho_4 = a/\sqrt{2}\), so \(h = a/\sqrt{2}\) and \(V = \frac{1}{3}a^2\cdot\frac{a}{\sqrt{2} } = \frac{\sqrt{2} }{6}a^3\).
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 pyramid (J1) with edge a = 4. Its volume is about 15.084945 cubic units, its surface area about 43.712813 square units and its height about 2.828427 units.
FAQ
Why is there no triangular or hexagonal Johnson pyramid?
With a triangular base and equilateral sides the pyramid is the regular tetrahedron, which is a Platonic solid and not counted among the Johnson solids. With a hexagonal base the circumradius equals the edge, so the height would be 0 and the pyramid would be flat.
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