Square Pyramid Volume Calculator

The classic pyramid: a square base rising to an apex. Enter the base side and the perpendicular height, and get the volume in every common unit along with the base area and slant height.

Formula: V = s²h ÷ 3

s = 6, h = 10 cms = 20, h = 25 cmGreat Pyramid s = 230 m, h = 146 m

The s²h ÷ 3 formula

A square pyramid has a square base of side s and four triangular faces meeting at an apex. Its volume follows the universal pyramid rule with a square base area: V = s²h ÷ 3. Square the side to get the base area, multiply by the perpendicular height, then divide by three - one third of the enclosing box.

A worked example: a pyramid with a 6 cm base and a 10 cm height has a base area of 36 cm², so V = 36 × 10 ÷ 3 = 120 cm³. Scale up to the Great Pyramid of Giza, originally about 230.4 m per side and 146.5 m tall: 230.4² × 146.5 ÷ 3 ≈ 2.59 million m³ - around 2.6 million tonnes of limestone at typical masonry density, a figure historians quote to this day.

The perpendicular height h runs straight up from the base centre to the apex. The distance along a triangular face from base edge to apex is the slant height, and the corner edge length is longer still. All three are linked by Pythagoras: l = √(h² + (s ÷ 2)²) for the slant, and e = √(h² + s² ÷ 2) for the corner edge. Only h belongs in the volume formula - but the slant height appears in every surface-area calculation, which is why the calculator reports it alongside the volume.

How to use this calculator

  1. Measure the base side. One side of the square base - all four are equal in a true square pyramid.
  2. Measure the perpendicular height. Straight up from the base plane to the apex, not along a sloped face.
  3. Enter both with units. mm, cm, m, in and ft convert automatically per field.
  4. Read the results. Volume headlines in litres; the secondary line gives base area and slant height, and the table adds cm³, m³, ft³ and gallons.

Slant heights, surface area and frustums

Surface area from the slant height

Each triangular face has area ½ × s × l, so the four faces contribute 2sl and the base adds s²: total A = s² + 2sl. A pyramid with s = 6 cm and h = 10 cm has l = √(100 + 9) ≈ 10.44 cm, giving about 36 + 125.3 = 161.3 cm² of surface. Roofers and sheet-metal workers use exactly this when estimating cladding for pyramid hips and spires.

Frustums: pyramid with the top cut off

Truncating a square pyramid parallel to the base produces a frustum - the shape of lampshade frames, planter pots and hopper bottoms. Its volume is h(S + s + √(S×s)) ÷ 3 using the areas of the two parallel squares. The truncated-pyramid calculator works this two-level case in detail.

Finding the height from volume or slant

From a volume target, h = 3V ÷ s². From a slant height, h = √(l² − (s ÷ 2)²). Both reverse problems appear in practice: a spec may give a capacity and a footprint, or a roof may quote a slant pitch that must be converted to a true rise before any volume estimate.

Oblique square pyramids

If the apex is not over the base centre, the four faces are no longer congruent and the slant-height shortcut varies per face - but the volume is untouched. Keep h as the perpendicular drop from apex to base plane and s²h ÷ 3 remains exact.

Square pyramid volume quick reference

Base sideBase areaVolume at h = 10 cmVolume at h = 25 cm
2 cm4 cm²13.3 cm³33.3 cm³
5 cm25 cm²83.3 cm³208.3 cm³
10 cm100 cm²333.3 cm³833.3 cm³
20 cm400 cm²1,333.3 cm³3,333.3 cm³
50 cm2,500 cm²8,333.3 cm³20,833.3 cm³
1 m1 m²3.33 L (h = 10 cm)8.33 L (h = 25 cm)

The volume is a third of the base-times-height box, so a 1 m square pyramid just 30 cm tall already holds 100 litres. Doubling the side quadruples the base area and the volume at any fixed height.

Square pyramids in the real world

Monuments and memorials

From Giza to the Louvre’s glass pyramid (about 35.4 m per side, 21.6 m tall, ≈ 9,000 m³ of air), pyramid monuments are sized with this formula. Masons historically converted it into block counts by dividing the volume by individual stone volume plus joints.

Square hoppers and bins

Grain bins and small silos end in square-pyramid tapers. A hopper bottom 1.2 m square with a 0.8 m taper retains 1.2² × 0.8 ÷ 3 ≈ 0.38 m³ of product - a number discharge auger sizing and cleanout procedures depend on.

Roof spires and caps

Church spires and fence-post caps are square pyramids. A decorative post cap 10 cm square and 12 cm tall contains 400 cm³ of wood or concrete; a 6 m spire on a 4 m tower holds 32 m³ - small volumes, but they set cladding area and wind load.

Common mistakes & pro tips

  • Forgetting the ÷ 3. s²h is the enclosing box, triple the true volume. Always finish the division.
  • Slant height used as height. The face measurement is longer than the perpendicular height and inflates the volume. Convert with h = √(l² − (s ÷ 2)²) if you measured the face.
  • Halving the base area. The ½ belongs to triangular bases only. A square base area is the plain s².
  • Measuring the corner edge instead of the slant. The corner edge is even longer than the slant; for surface work use the slant, for volume use the perpendicular height.
  • Unequal bases. If the base is not a true square, use the rectangular pyramid formula l × w × h ÷ 3 instead.

Frequently asked questions

What is the formula for the volume of a square pyramid?
V = s²h ÷ 3 - the square base area times the perpendicular height, divided by three. A 6 cm base with a 10 cm height holds 120 cm³.
How do I find the slant height?
Use l = √(h² + (s ÷ 2)²) - the height and half the base side form a right triangle to the face midpoint. The calculator reports the slant height alongside the volume.
Why divide by three?
Three identical pyramids can be rearranged to fill the box that encloses one of them, so each holds a third of the box. The same 1:3 ratio links cones and cylinders.
How big was the Great Pyramid’s volume?
About 230.4 m sides and 146.5 m height give 230.4² × 146.5 ÷ 3 ≈ 2.59 million m³ - roughly 2.6 million tonnes of limestone masonry.
How do I find the height from a volume?
Rearrange to h = 3V ÷ s². Keep V and s in compatible units - V in cm³ with s in cm gives h in cm.
What if the top is cut off?
That is a square frustum. Use h(S + s + √(S×s)) ÷ 3 with the areas of the two parallel square faces, or the dedicated truncated-pyramid calculator.
Does a leaning apex change the volume?
No. Volume depends only on the base area and the perpendicular drop to the apex, so an oblique square pyramid holds the same as an upright one of equal base and height.

Related calculators

Educational use only. Results are provided for planning and study purposes. Storm Lane is not liable for decisions made solely on these figures - double-check critical measurements with a qualified professional.