What is a elongated pyramid?
An elongated pyramid is a pyramid with equilateral triangles for sides set on a prism whose sides are squares, so that every edge has the same length a. Three are Johnson solids: the elongated triangular pyramid (J7: 4 triangles, 3 squares; 7 vertices, 12 edges), the elongated square pyramid (J8: 4 triangles, 5 squares; 9 vertices, 16 edges) and the elongated pentagonal pyramid (J9: 5 triangles, 5 squares, 1 pentagon; 11 vertices, 20 edges).
This calculator finds the volume, the surface area, the edge length and the height of a elongated 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 + h_p, \qquad h_p = a\sqrt{1 - \frac{1}{4\sin^2(\pi/n)} }$$Volume:
$$V = A_n\left(a + \frac{h_p}{3}\right), \qquad A_n = \frac{n a^2}{4\tan(\pi/n)}$$Surface area:
$$S = n\frac{\sqrt{3} }{4}a^2 + n a^2 + A_n$$The surface-to-volume ratio is \(S/V\); it shrinks like 1/a as the solid grows.
Derivation of the formulas
The solid is a prism of height a (its sides are squares) with a pyramid on top. The pyramid's apex lies above the centre of its base; a lateral edge of length a joins it to a base vertex at the circumradius \(\rho_n = \frac{a}{2\sin(\pi/n)}\), so Pythagoras gives \(h_p = \sqrt{a^2 - \rho_n^2}\):
$$h_p = a\sqrt{1 - \frac{1}{4\sin^2(\pi/n)} }$$The prism holds \(A_n a\) and the pyramid \(\frac{1}{3}A_n h_p\). The faces are the base, n squares and n triangles; the face where prism and pyramid meet is inside.
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 elongated square pyramid (J8) with edge a = 4. Its volume is about 79.084945 cubic units, its surface area about 107.712813 square units and its height about 6.828427 units.
FAQ
Why does the triangular one count, when the triangular pyramid alone does not?
The triangular pyramid alone is the regular tetrahedron, a Platonic solid. Set on a triangular prism it gives a new solid with two kinds of face that is not uniform, so it is a Johnson solid (J7).
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