Volume of Square Pyramid Calculator

Enter a square pyramid's base edge and its height or slant height to find its volume and surface area.

Updated

I know the
Enter to calculate Esc to clear

Volume of Square Pyramid Calculator

Our Volume of Square Pyramid Calculator finds how much space a pyramid with a square base holds, from its base edge and its height (or slant height). It shows the working, the exact answer, the slant height, the lateral edge, the base and surface area, the volume in other units and a drawing to scale.

Quick answer

The volume of a square pyramid is 1/3 × base edge² × height: V = 1/3 × 10² × 12 = 400 cm³.

  • One third of a box: a pyramid holds exactly a third of the box with the same base and height
  • From the slant height: find h = √(s² − (a/2)²) first, so a = 10 and s = 13 give h = 12
  • Base area: V = B × h ÷ 3, where B = a² is the area of the square base
  • Units: the volume is in cubic units, so lengths in cm give cm³ (1,000 cm³ = 1 litre)

What Is the Volume of a Square Pyramid?

A square pyramid is a 3D shape with a square base and four triangular faces that meet at a single point, the apex. Its base edge a is the side of the square, its height h goes straight up from the centre of the base to the apex, and its slant height s runs down the middle of a triangular face. The volume V is the space inside, measured in cubic units. The Great Pyramid of Giza is the best known example.

A square pyramid with the apex at the top, the base edge a, the height h from the centre of the base straight up to the apex and the slant height s down the middle of the right-hand triangular face apex h s a a base: a square of side a
Base edge a, height h (at a right angle to the base) and slant height s down the middle of a face.

Square Pyramid Volume Formulas

Use the formula that matches what you know.

You knowFormula
Edge, heightV = 1/3 a²h
Edge, slantV = 1/3 a²√(s² − a²/4)
Base area B, heightV = B × h ÷ 3

The formula also holds for an oblique (leaning) pyramid, as long as h is the perpendicular height from the base to the apex and not the length of a face or an edge.

Why a Pyramid Is One Third of a Box

A box (square prism) with the same base and height holds a²h. A pyramid with that base and height holds exactly one third of it, 1/3 a²h. You can see it in a cube: six equal pyramids with their apexes at the centre fill the cube exactly, and each one has height a/2, so 6 × 1/3 × a² × a/2 = a³.

A square pyramid inside a box with the same square base and the same height; the pyramid holds one third of the box h box: a²h pyramid: 1/3 × a²h
With a = 3 and h = 3: the box holds 27 and the pyramid 9, exactly one third.

Using the Slant Height

Half the base edge, the height and the slant height form a right triangle, so s² = (a/2)² + h². If you only know the slant height, find the height first with h = √(s² − (a/2)²), then use the volume formula. The calculator does this for you when you choose Slant height.

A right triangle with legs a/2 = 5 and h = 12 and hypotenuse s = 13, the slant height h = 12 a/2 = 5 s = 13 s² = (a/2)² + h² 13² = 5² + 12² 169 = 25 + 144
Cut the pyramid through the apex, parallel to a side: half the base edge, the height and the slant height make a right triangle.
a = 10 cm, s = 13 cm
h = √(13² - 5²) = 12 cm
V = 1/3 × 10² × 12
V = 400 cm³

Square Pyramid Volume Examples

KnownVolume
a = 1, h = 1 m1/3 ≈ 0.33 m³
a = 3, h = 4 cm12 cm³
a = 6, h = 9 cm108 cm³
a = 7, h = 10 in490/3 ≈ 163.33 in³
a = 10, s = 13 cm400 cm³

Without π, a pyramid with whole-number sides has a rational volume. It is a whole number whenever a²h is divisible by 3, otherwise it ends in a repeating decimal such as 163.333...

Pyramid Volume in Real Life

  • Great Pyramid of Giza: a 230.33 m base and an original height of 146.6 m give about 2.59 million m³.
  • Louvre Pyramid: a 35.42 m base and a 21.64 m height give about 9,050 m³.
  • Pyramid tent: 2 m square and 1.5 m tall encloses 2 m³ of air.
  • Hip roof: an 8 m square roof rising 3 m holds 64 m³ of loft space.
  • Paperweight: 6 cm square and 4 cm tall is 48 cm³ of glass.

Common Mistakes

  • Slant height as h: a = 10 with s = 13 used as the height gives 433.33 instead of 400.
  • Forgetting the 1/3: a²h is the box (1,200), three times the pyramid.
  • Not squaring the edge: the base area is a², so a = 10 gives 100, not 10.
  • Square units: volume is in cubic units (cm³, m³), not cm².
  • Mixed units: convert the base edge and height to the same unit before you multiply.

Key Terms

Volume
The space inside the pyramid, V.
Base edge
A side of the square base, a.
Height
Straight up from the base centre to the apex, h.
Slant height
Down the middle of a face, from the apex to a base edge, s.
Lateral edge
From a base corner to the apex, √(h² + a²/2).
Apex
The point at the top of the pyramid.

How to Use the Volume of Square Pyramid Calculator

  1. Choose what you know. Pick Height or Slant height.
  2. Enter the base edge and the height. Type the side of the square base and the height (or slant height), such as 10 and 12, and pick a unit if you want one (mm, cm, m, km, in, ft, yd or mi). Decimals and fractions such as 3/4 work.
  3. Read and copy the result. The volume appears as you type, with the working, the exact answer, the slant height or height, the lateral edge, the base and surface area and the volume in other units. Press Copy to copy it, or Clear or Esc to start again.

Example: a pyramid tent is 2 m square and 1.5 m tall. Enter 2 and 1.5 and pick m. The volume is 2 m³, or 2,000 litres of air.

Who Can Use This Calculator?

Students and TeachersSolid geometry and homework checks
Engineers and ArchitectsRoofs, spires, skylights and monuments
Builders and MakersConcrete forms, moulds and models
Everyday UsersTents, packaging, candles and crafts

Frequently Asked Questions (FAQs)

What is the formula for the volume of a square pyramid?

V = 1/3 a²h, where a is the side of the square base and h is the height. A base edge of 10 cm and a height of 12 cm give 400 cm³.

How do you find the volume of a square pyramid from the slant height?

Find the height first with h = √(s² − (a/2)²), then use 1/3 a²h. With a = 10 and s = 13, h = √(169 − 25) = 12 and the volume is 400.

Why is the volume of a pyramid one third of a prism?

A pyramid fills exactly one third of the prism with the same base and height. Six equal square pyramids with their apexes at the centre of a cube fill the cube, which proves the 1/3 for that case.

How do you find the height of a square pyramid from its volume?

Rearrange the formula: h = 3V ÷ a². A pyramid of 400 cm³ with a 10 cm base edge is 3 × 400 ÷ 100 = 12 cm tall.

What unit is the volume of a square pyramid in?

Cubic units of the length you used: a base edge and height in cm give cm³, in metres give m³. 1,000 cm³ is 1 litre.

What happens to the volume if the base edge doubles?

It becomes 4 times bigger, because the base edge is squared: 2² = 4. Doubling the height only doubles the volume.

What is the volume of the Great Pyramid of Giza?

With a base edge of about 230.33 m and an original height of about 146.6 m, V = 1/3 × 230.33² × 146.6 ≈ 2.59 million m³.

Is the Volume of Square Pyramid Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Volume of Square Pyramid Calculator to get a square pyramid's volume from its base edge and height or slant height.