How this instrument works
A rectangular pyramid rises from a base l units by w units to a single apex, and its volume is V = ⅓lwh — one third of the base area times the height. Slice the solid with a plane parallel to the base at some height above it: the cross-section is itself a smaller rectangle, scaled down by the same fraction in both directions, so its area shrinks with the square of that fraction rather than in a straight line. Adding that quadratic taper from the footprint up to the vanishing point at the apex collects exactly a third of what a matching rectangular prism would hold if every layer stayed full size.
The base does not need to be square: l and w can differ freely, which is what separates this shape from the square pyramid, where one side length stands in for both directions. Set l equal to w and the formula collapses to the square pyramid's V = ⅓s²h; leave them unequal and the identity still holds exactly, since nothing in the reasoning above required the two base edges to match. A grain hopper's tapered floor, a rectangular skylight capping a flat roof, or a tent pitched over a long, narrow footprint all rely on this general form rather than the square special case.
Push any one input to zero and the volume vanishes with it: a base length, width, or height of 0 flattens the solid into a shape with no interior space left to enclose, and V = ⅓lwh returns exactly 0. Away from that edge, the three inputs behave quite differently in combination — doubling any single one of length, width, or height exactly doubles the volume, since each enters the product to the first power alone, but doubling all three at once multiplies the volume by eight, not by two, because three independent factors are each pulling their own weight.
- Enter the base's two edges into Base length and Base width — any consistent unit works, since the formula is a pure product.
- Enter the perpendicular distance from the base up to the apex into Height, not the slanted edge running down a triangular face.
- Read Volume for the result of V = ⅓lwh, reported in your input unit cubed.
- To check the figure by hand, multiply Base length by Base width for that area, multiply by Height, then divide by three — it should match Volume exactly.
- Change any one of Base length, Base width, or Height and Volume updates immediately, useful for comparing a few candidate footprints side by side.
Worked example — a 6 by 4 base, height 5
A rectangular pyramid rises from a base measuring 6 units by 4 units to an apex sitting 5 units straight above that plane: Base length = 6, Base width = 4, Height = 5. The base area is l × w = 6 × 4 = 24 square units, and one third of that times the height gives Volume = ⅓ × 24 × 5 = 40 — the exact figure this sheet returns, with no rounding anywhere in the chain because every input is a whole number.
The enclosing box makes the ratio concrete: a rectangular prism built from that same 6-by-4 footprint and the same 5-unit height holds l × w × h = 24 × 5 = 120 cubic units, precisely three times the pyramid's 40. That 3:1 relationship isn't particular to this example; any pyramid, rectangular or otherwise, always occupies exactly a third of the prism that would fully contain it at matching base and height, which is why the formula carries that ⅓ no matter how the base rectangle is shaped.
Questions
What is the formula for the volume of a rectangular pyramid?
V = ⅓lwh — multiply the base length, the base width, and the perpendicular height together, then divide by three. With l = 6, w = 4, and h = 5, the base area l × w is 24, and one third of 24 × 5 gives Volume = 40, exactly what this sheet returns for those inputs.
Why does the volume formula include a factor of one third?
Because the pyramid tapers to a single point at the apex, so a horizontal cross-section shrinks with the square of its distance from that apex rather than staying constant. Summing that quadratic taper across the full height, instead of a stack of full-size slices that would just be a prism, collects exactly a third of what the surrounding rectangular prism holds. The same one-third shows up in every pyramid and cone, whatever shape the base takes.
How is this different from finding the volume of a square pyramid?
A square pyramid is the special case where the base's two edges are forced equal, so its formula collapses to V = ⅓s²h with a single side length. This calculator keeps Base length and Base width independent, covering any rectangular footprint — a long, narrow hopper as easily as a square-based one — and returns the square pyramid's answer automatically whenever the two happen to match, as with l = w = 6, which gives Volume = 60 at height 5.
What's the difference between this pyramid's volume and a matching cuboid's volume?
A cuboid with the same base and height simply multiplies l × w × h straight through, with no ⅓ factor, because every horizontal layer stays the full base size all the way up. A rectangular pyramid narrows to a point, so it only ever holds a third of that figure — a base 6 by 4 with height 5 gives a cuboid of 120 cubic units but a pyramid of just 40.
What's a common mistake when computing this volume?
Leaving out the ⅓ factor and reporting l × w × h outright, which is the volume of the surrounding box, three times too large. A second frequent slip is entering the slant height, the length running down a triangular face, in place of Height, which must be the perpendicular distance straight down from the apex to the base plane.
Does it matter which base edge I call length versus width?
No — l and w are just two labels multiplied together, and l × w gives the same base area regardless of which physical edge takes which name. Swapping the figures entered into Base length and Base width leaves Volume completely unchanged, since ordinary multiplication doesn't care about the order of its factors.