Skip to content
FiftyCalc Free calculators for all 50 states

Pyramid Volume Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Choose the base shape, enter its dimensions and the pyramid height (measured straight up from the base to the apex).

Result

Sample figures

Volume V = ⅓ B h (cubic units)—

Base area B (square units) —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Pyramid Volume Calculator

Base shape: choose Square (x = side), Rectangle (x = length, y = width), Triangle (x = base, y = height of the triangle), Regular polygon (x = side, y = number of sides) or Base area known (x = area). Prefilled example: Square (x = side).

Dimension x (length units, or area for "base area known"): enter 0 or more. Prefilled example: 6.

Dimension y (length units, or number of sides): enter 0 or more. Prefilled example: 4.

Pyramid height h (same length unit): enter 0 or more. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Base shape: choose Square (x = side), Rectangle (x = length, y = width), Triangle (x = base, y = height of the triangle), Regular polygon (x = side, y = number of sides) or Base area known (x = area).
  2. Dimension x (length units, or area for "base area known"): enter 0 or more.
  3. Dimension y (length units, or number of sides): enter 0 or more.
  4. Pyramid height h (same length unit): enter 0 or more.
  5. Read the result: Volume V = ⅓ B h (cubic units); the panel also shows Base area B (square units).

How this calculator works

The volume of any pyramid is one third of the base area times the height: V = ⅓ × B × h (Euclid, Elements, Book XII). The height is the perpendicular distance from the apex to the plane of the base, so the formula also holds for an oblique pyramid.

Base areas: square x², rectangle x × y, triangle ½ × base × height, regular polygon with n sides of length s: n s² ÷ (4 tan(π/n)).

Worked example

Base shapeSquare (x = side)
Dimension x (length units, or area for "base area known")6
Dimension y (length units, or number of sides)4
Pyramid height h (same length unit)4
Base area B (square units)36
Volume V = ⅓ B h (cubic units)48

Frequently asked questions

What is the volume of a square pyramid with a 6 ft base and a 4 ft height?

⅓ × 36 × 4 = 48 cubic feet.

Does the slant height go into the formula?

No. Use the vertical height. If you only know the slant height s of a square pyramid with side a, the height is √(s² − (a/2)²).

Questions answered

Related calculators