Saved calculators
Math

Pyramid volume calculator

Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.

Use as default values for the embed calculator what is currently in input fields of the calculator on the page.
Input border focus color, switchbox checked color, select item hover color etc.

Please agree to the Terms of Use.
Preview

Save calculator

What is a pyramid?

A pyramid is a three-dimensional geometric shape with a polygonal base and triangular faces that converge at a single point called the apex. Pyramids are classified based on the shape of their base:

  • Triangular pyramid: Base is a triangle (tetrahedron).
  • Quadrangular pyramid: Base is a four-sided polygon (e.g., square, rectangle).
  • Polygonal pyramid: Base is a regular polygon (e.g., pentagon, hexagon).
  • Truncated pyramid (frustum): A pyramid with its apex cut off by a plane parallel to the base.

The volume of a pyramid quantifies the space it occupies and is a fundamental concept in geometry, architecture, and engineering.

Formula

General formula for pyramid volume

The volume VV of any pyramid is calculated as:

V=13×Base Area×HeightV = \frac{1}{3} \times \text{Base Area} \times \text{Height}

Here, height is the perpendicular distance from the base to the apex.

Specialized formulas:

  1. Triangular pyramid: V=13×(12×Base Length×Base Height)×Pyramid HeightV = \frac{1}{3} \times \left( \frac{1}{2} \times \text{Base Length} \times \text{Base Height} \right) \times \text{Pyramid Height}
  2. Square pyramid: V=13×Base Side2×HeightV = \frac{1}{3} \times \text{Base Side}^2 \times \text{Height}
  3. Rectangular pyramid: V=13×Length×Width×HeightV = \frac{1}{3} \times \text{Length} \times \text{Width} \times \text{Height}
  4. Regular polygonal pyramid: V=13×(12×Perimeter×Apothem)×HeightV = \frac{1}{3} \times \left( \frac{1}{2} \times \text{Perimeter} \times \text{Apothem} \right) \times \text{Height} The apothem is the distance from the center to the midpoint of a side.
  5. Truncated pyramid: V=13×h×(A1+A2+A1×A2)V = \frac{1}{3} \times h \times \left( A_1 + A_2 + \sqrt{A_1 \times A_2} \right) Here, A1A_1 and A2A_2 are the areas of the two parallel bases, and hh is the height between them.

Examples

Example 1: Square pyramid

A square pyramid has a base side of 4m4 \, \text{m} and a height of 9m9 \, \text{m}. Calculate its volume.

  1. Base area: 42=16m24^2 = 16 \, \text{m}^2.
  2. Volume: 13×16×9=48m3\frac{1}{3} \times 16 \times 9 = 48 \, \text{m}^3.

Example 2: Truncated square pyramid

A truncated pyramid has a base area A1=36m2A_1 = 36 \, \text{m}^2, top area A2=9m2A_2 = 9 \, \text{m}^2, and height h=3mh = 3 \, \text{m}.

  1. Substitute into the formula:
V=13×3×(36+9+36×9)=1×(45+18)=63m3V = \frac{1}{3} \times 3 \times \left( 36 + 9 + \sqrt{36 \times 9} \right) = 1 \times (45 + 18) = 63 \, \text{m}^3

Example 3: Triangular pyramid

A triangular pyramid has a base with length 5cm5 \, \text{cm} and height 6cm6 \, \text{cm}. The pyramid’s height is 10cm10 \, \text{cm}.

  1. Base area: 12×5×6=15cm2\frac{1}{2} \times 5 \times 6 = 15 \, \text{cm}^2.
  2. Volume: 13×15×10=50cm3\frac{1}{3} \times 15 \times 10 = 50 \, \text{cm}^3.

Historical context

The earliest known formula for pyramid volume dates back to ancient Egypt (c. 1850 BCE), documented in the Moscow Mathematical Papyrus. The papyrus includes a problem calculating the volume of a truncated pyramid, demonstrating advanced geometric understanding long before Greek mathematicians like Euclid formalized geometry.

Applications

  1. Architecture: Pyramids are used in roof designs and monumental structures.
  2. Packaging: Tetrahedral shapes (triangular pyramids) optimize space in packaging.
  3. Geology: Calculating the volume of natural pyramidal landforms.

Frequently Asked Questions

How to calculate the volume of a pyramid if the height and base area are known?

If the height (hh) and base area (AA) are known, use the formula:

V=13×A×hV = \frac{1}{3} \times A \times h

Can the formula be used for irregular pyramids?

Yes, provided the base area is accurately calculated, and the height is perpendicular to the base.

What is the difference between a pyramid and a prism?

A prism has two identical parallel bases connected by rectangles, while a pyramid has one base and triangular faces converging at an apex.

How to convert the volume from cubic meters to liters?

Multiply by 10001000: 1m3=1000L1 \, \text{m}^3 = 1000 \, \text{L}.

Why is the factor 13\frac{1}{3} used in the volume formula?

The factor arises from calculus (integration) or geometric decomposition: a pyramid is exactly 13\frac{1}{3} the volume of a prism with the same base and height.

The volume of a pyramid is 12, the height is 4, the base is a square. Find the area of the base.

V=13×A×hV = \frac{1}{3} \times A \times h A=3Vh=3×124=9A = \frac{3V}{h} = \frac{3 \times 12}{4} = 9