Free online formula calculators

Pyramid Volume Calculator

Enter the base dimensions and vertical height of a right rectangular (or square) pyramid to find its volume and surface area.

Pyramid Volume Calculator
Result
Volume400 cubic units
Base area100 sq units
Lateral surface area260 sq units
Total surface area360 sq units
Slant height(s)13

Link to this calculation

Formula

V = ⅓ × l × w × h
Lateral area = l√(h2 + (w/2)2) + w√(h2 + (l/2)2)
SymbolMeaning
l, wLength and width of the rectangular base
hVertical height from the base to the apex

How to Use This Calculator

  1. Enter the Base length (l).
  2. Enter the Base width (w). Use the same value as the length for a square pyramid.
  3. Enter the Height (h).
  4. Press Calculate. Results also update automatically as you type.

Worked Example

Using the values pre-filled in the calculator above:

Inputs
Base length (l)10
Base width (w)10
Height (h)12
Results
Volume400 cubic units
Base area100 sq units
Lateral surface area260 sq units
Total surface area360 sq units
Slant height(s)13

About This Calculation

A pyramid has a polygon base and triangular faces that meet at a single point, the apex. Whatever the base shape, its volume is one-third of the base area times the perpendicular height — exactly a third of the prism that would enclose it. This calculator handles the most common case, a right pyramid with a rectangular or square base, where the apex sits directly above the center of the base.

As with cones, keep the two kinds of height apart. The vertical height h, used for volume, is measured straight down from the apex to the base. The slant height, used for the area of each triangular face, runs up the middle of that face and is longer. A rectangular pyramid has two different slant heights — one for the faces on the long sides and one for the faces on the short sides — so both are listed. If you only know the length of the sloping edges, convert to vertical height first using the Pythagorean theorem.

The Great Pyramid of Giza, originally about 146.6 m tall on a 230.3 m square base, had a volume of roughly 2.6 million cubic meters. More everyday uses include hip roofs, the tops of posts and monuments, pyramidal hoppers and tents, and packaging. See also the cone volume calculator for circular bases and the rectangular prism calculator for boxes.

Frequently Asked Questions

Why is a pyramid one-third of a prism?
Three pyramids of equal volume can be fitted together to form a prism with the same base and height. Calculus confirms the result for any base shape: integrating the shrinking cross-section gives exactly one-third.
How do I handle a triangular or hexagonal base?
Find the base area separately — for example with the regular polygon calculator — then multiply by the height and divide by 3.

Category: Geometry. Found a problem with this calculator? Let us know.