How this instrument works
A square pyramid stands on a square base of side s and rises to an apex; its volume is V = ⅓s²h, where h is measured straight down — perpendicular from the apex to the plane of the base, not along a slanted edge. Rearranging for h gives the identity this sheet runs: h = 3V ⁄ s². It answers a question that comes up constantly in the field, where volume and footprint are easy to know from a spec sheet or a tape measure, but the vertical height, buried inside the shape, resists a direct ruler.
The one-third factor is not an approximation — it is a theorem. Euclid's Elements, Book XII, Proposition 7, shows that a triangular prism can be dissected into three pyramids of equal volume, so each pyramid is exactly a third of the prism sharing its base and height. Because any polygon splits into triangles, the result extends to a square base, and — a fact many people find genuinely surprising — it holds even if the apex leans off to one side, as long as h is still the perpendicular distance to the base plane.
The relationship is not symmetric in its two inputs: height depends on volume linearly but on the base side quadratically, in the denominator. Hold the volume fixed and double the base side, and the required height falls to a quarter, not a half — a narrow-footprint pyramid must shoot up steeply to enclose the same space that a wide, squat one reaches with far less height. Push s toward zero and h grows without bound; push it very large and the pyramid flattens toward a thin sheet.
- Enter the pyramid's cubic capacity into the Volume field — the units are up to you, as long as they match the base side's unit cubed.
- Enter the length of one edge of the square base into the Base side length field, in the same linear unit.
- Read Height: the sheet computes h = 3V ⁄ s² instantly and updates it as either input changes.
- Check your own arithmetic against the display by multiplying ⅓ × s² × Height — it should return your original Volume.
Worked example — volume 100, base side 6
A precast-concrete square pyramid — a garden folly's roof cap, say — is specified with a volume of 100 cubic metres and a base side of 6 metres. Feed those figures in: h = 3 × 100 ⁄ 6² = 300 ⁄ 36 = 8.333333 m. The apex sits about 8.33 metres above the base plane, a dimension the fabrication drawing left blank because it depends on exactly this calculation.
Running the volume formula forward checks the answer: ⅓ × 6² × 8.333333 = ⅓ × 36 × 8.333333 = 12 × 8.333333 = 99.999996, which closes to 100 once the height is carried past six decimals — the same round-trip integrity that makes h = 3V ⁄ s² trustworthy for a shape whose interior volume is far easier to specify on paper than to measure once it is built.
Questions
What is the formula for the height of a square pyramid?
h = 3V ⁄ s², found by taking the volume formula for a square pyramid, V = ⅓s²h, and solving for h. Multiply the volume by 3, then divide by the base side squared — the same s² that gives the square base its area. With V = 100 and s = 6 that returns h = 300 ⁄ 36 ≈ 8.333 m.
Why does a pyramid's volume formula include a factor of one third?
Because Euclid proved it. Elements Book XII, Proposition 7 dissects a triangular prism into three pyramids of equal volume, so each is a third of the prism sharing its base and height; splitting any polygon into triangles extends the result to a square base. One-third recurs in every pyramid and cone volume formula for exactly this reason — it is a genuine theorem, not a rounding convenience.
Does the apex have to sit directly above the center of the square base?
No. The formula V = ⅓s²h — and so h = 3V ⁄ s² — holds for a right pyramid and for an oblique one leaning to either side, as long as h is measured as the perpendicular distance from the apex down to the base plane, not along a slanted edge. Tilting the apex sideways changes the slant faces but leaves the volume, and therefore the required height, unchanged.
How does this differ from finding the height of a cone or a cylinder?
All three rearrange a volume formula for height, but the base and the leading fraction differ. A square pyramid uses base area s² with a ⅓ factor; a cone uses a circular base πr² with that same ⅓; a cylinder uses πr² with no ⅓ at all, since a cylinder is a stack of identical cross-sections rather than a shape that tapers to a point.
What happens to the height if I double the base side but keep the volume the same?
It drops to a quarter of its original value, not to half. Base side s enters the formula as s² in the denominator, so doubling s multiplies the denominator by four. A pyramid with volume 100 and side 6 needs a height near 8.33; keep the volume at 100 and widen the side to 12, and the required height falls to just over 2.08.
What units should I use for Volume and Base side length?
Any consistent set: enter Volume in cubic units and Base side length in the matching linear unit — cubic metres with metres, cubic feet with feet — and Height returns in that same linear unit. Mixing units, say cubic metres with a base side given in centimetres, produces a height figure with no physical meaning.