Last updated:

Volume calculator

Pyramid Volume Calculator

Enter the base length, base width, and vertical height to calculate pyramid volume. The calculator works for rectangular, square, and triangular pyramids, the formula always divides base area times height by 3. Vertical height is the straight distance from the base center to the apex, not the slant distance along a triangular face.

V = (base area × height) / 3

Pyramid

Enter pyramid dimensions

Formula: V = (length × width × height) / 3

3D visual

Pyramid preview

Loading visual

On This Page

How to Use the Pyramid Volume Calculator

Enter base length, base width, and vertical height, the straight perpendicular distance from base to apex, not a slant edge. For a square pyramid, just use the same value for both base dimensions. The calculator returns volume, both slant heights, surface area, and liquid conversions.

The two slant heights this calculator shows are useful for material estimates: they tell you the dimensions of each triangular face for surface covering, paint, or template cutting.

Quick tip: Use vertical height, not slant height. Vertical height is the straight distance from the base to the apex.

Pyramid Volume Formula

Definition: Pyramid volume is the space inside a 3D shape with a polygon base and sides that meet at one apex.

The standard formula for calculating pyramid volume is:

V = (base area × h) / 3
Square pyramid volume diagram with base side a and vertical height h labeled, showing V = (1/3)a²h
Square pyramid with base side a and vertical height h labeled showing the formula V = (1/3)a²h

A pyramid has one-third the volume of a prism with the same base area and vertical height. That is why every pyramid volume formula includes division by 3. The same quadratic cross-section shrinkage that produces this factor for a cone is explained in Why a Cone Is Exactly One-Third of a Cylinder, which covers pyramids as well.

How to Calculate the Volume of a Pyramid

To calculate pyramid volume by hand, find the base area first. Then multiply by the vertical height and divide by 3.

Step 1: Find the Base Area

The base area depends on the shape of the base. A rectangular base uses length × width. A square base uses side². A triangular base uses triangle base × triangle height ÷ 2.

Step 2: Find the Vertical Height

Vertical height is perpendicular to the base. It is not the slanted edge or the slant height drawn on a triangular face.

Step 3: Multiply and Divide by 3

Multiply base area by vertical height, then divide by 3. Write the final answer in cubic units.

  1. Find the base area
  2. Find the vertical height
  3. Multiply base area by height
  4. Divide by 3
  5. Write the answer in cubic units, such as cm³, m³, or in³
Check your work: Enter base length, base width, and vertical height above. For a square pyramid, make length and width equal.

Square Pyramid, Rectangular Pyramid, and Triangular Pyramid Volume

Pyramid volume questions involve different base shapes, but the same one-third rule always applies. The only part that changes is how you calculate the base area.

How to Calculate Volume of a Square Pyramid

V = (s² × h) / 3

Square the base side length, multiply by vertical height, then divide by 3. For a square pyramid with base 12 cm and height 9 cm: V = (144 × 9) / 3 = 432 cm³. In the calculator above, enter the same value for base length and base width.

How to Calculate Volume of a Rectangular Pyramid

V = (l × w × h) / 3

Multiply base length by base width to get base area, then multiply by height and divide by 3. The calculator above is built for rectangular and square pyramid bases.

Triangular Pyramid Volume

V = ((b × t) / 2 × h) / 3

Here b and t are the base and height of the triangular face, while h is the pyramid's vertical height. Calculate the triangular base area first (b × t ÷ 2), then multiply by vertical height and divide by 3.

Reverse Pyramid Volume Calculations

Sometimes you know the volume and need a missing height or base area. Rearranging the formula helps you solve those problems.

Find Height From Volume and Base Area

h = 3V ÷ base area

Find Base Area From Volume and Height

base area = 3V ÷ h

Worked Pyramid Volume Examples

The key habit for pyramid problems is simple: find the base area first, then use vertical height and divide by 3.

Example 1: Rectangular Pyramid Volume

Problem: A display stand is shaped like a rectangular pyramid. Its base is 18 inches long and 10 inches wide. The vertical height is 15 inches. Find the volume of the stand.

  1. Base area = 18 × 10 = 180 in²
  2. Use V = base area × h ÷ 3
  3. V = 180 × 15 ÷ 3
  4. V = 900 in³

Answer: The rectangular pyramid volume is 900 cubic inches.

Example 2: Square Pyramid Volume

Problem: A square-based pyramid has a base side length of 12 cm and a vertical height of 9 cm. Find its volume.

  1. Base area = 12² = 144 cm²
  2. V = 144 × 9 ÷ 3
  3. V = 432 cm³

Answer: The square pyramid volume is 432 cm³.

Example 3: Triangular Pyramid Volume

Problem: A triangular pyramid has a triangular base with base 8 m and triangle height 5 m. The pyramid's vertical height is 6 m. Find the volume.

  1. Triangular base area = 8 × 5 ÷ 2 = 20 m²
  2. V = 20 × 6 ÷ 3
  3. V = 40 m³

Answer: The triangular pyramid volume is 40 m³.

Example 4: Find Missing Pyramid Height

Problem: A pyramid has a volume of 240 cm³ and a rectangular base area of 60 cm². Find the vertical height.

  1. Use h = 3V ÷ base area
  2. h = 3 × 240 ÷ 60
  3. h = 720 ÷ 60 = 12 cm

Answer: The pyramid height is 12 cm.

Example 5: Pyramid Capacity in Liters

Problem: A decorative container is shaped like a square pyramid with inside base side 0.9 m and vertical height 1.2 m. Estimate its volume in liters.

  1. Base area = 0.9² = 0.81 m²
  2. Volume = 0.81 × 1.2 ÷ 3 = 0.324 m³
  3. Convert to liters: 0.324 × 1,000 = 324 L

Answer: The container holds about 324 liters if filled to the apex.

Practice check: For rectangular and square pyramid examples, enter the dimensions above. For triangular pyramids, calculate the triangular base area first.

More Homework-Style Pyramid Examples

When a problem says square pyramid or rectangular pyramid, focus on the base first. Find base area, multiply by vertical height, then divide by 3.

Square Pyramid With Base Length 4 cm and Height 9 cm

Problem: What is the volume of a square pyramid with a base length of 4 cm and a height of 9 cm?

  1. Square base area = 4² = 16 cm²
  2. Volume = 16 × 9 ÷ 3
  3. Volume = 144 ÷ 3 = 48 cm³

Answer: The volume is 48 cm³.

Rectangular Pyramid With 9 in, 8 in, and 6 in

Problem: Find the volume of a rectangular pyramid with base length 9 inches, base width 8 inches, and vertical height 6 inches.

  1. Base area = 9 × 8 = 72 in²
  2. Volume = 72 × 6 ÷ 3
  3. Volume = 144 in³

Answer: The rectangular pyramid volume is 144 cubic inches.

Pyramid Volume Units

Pyramid volume is written in cubic units because it measures three-dimensional space. If the dimensions are in centimeters, the answer is cm³. If the dimensions are in feet, the answer is ft³.

Volume unit conversion table showing cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Common volume unit conversions: cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Input Unit Volume Unit Useful Conversion
Centimeters cm³ 1,000 cm³ = 1 liter
Meters 1 m³ = 1,000 liters
Inches in³ 231 in³ = 1 US gallon
Feet ft³ 1 ft³ ≈ 7.48052 US gallons

References

Pyramid Volume Mistakes to Avoid

Frequently Asked Questions

How do you calculate the volume of a pyramid?

Use V = base area × height ÷ 3. Find the base area first (length × width for a rectangular base, s² for a square base), multiply by vertical height, then divide by 3.

How do you calculate the volume of a square pyramid?

Square the base side length, multiply by vertical height, then divide by 3: V = s²h ÷ 3. For a square pyramid with base 12 cm and height 9 cm: V = 144 × 9 ÷ 3 = 432 cm³. Enter the same value for base length and base width in the calculator above.

Is pyramid height the same as slant height?

No. Vertical height is the straight perpendicular distance from the center of the base to the apex, that is what the volume formula requires. Slant height is the longer diagonal distance along a triangular face, and it appears in surface area calculations, not volume.

Why does the pyramid volume formula always divide by 3?

A pyramid is one-third of a prism with the same base and height, the same relationship as a cone to a cylinder. This holds regardless of base shape: rectangular, square, or triangular. The factor of 1/3 is always there. For a pyramid with its top cut off horizontally, the resulting shape is a frustum — a separate calculator handles that case.

Do real pyramids like the Great Pyramid of Giza use this formula?

Yes. The Great Pyramid of Giza is a square pyramid. With a base of about 230.4 m and a current height of around 138.8 m, its volume is approximately 2.47 million cubic meters using V = s²h ÷ 3.

Method

Formula, Accuracy, and Review

Written by Calculators Labs Editorial Team
Reviewed by Calculators Labs
Last updated

This tool applies V = (1/3)lwh to reach its result. Inputs (Length, Width, Height) are read, the formula runs, and the answer is rounded for readability.

Where units are involved, everything is normalized to a single system before the final calculation runs. The full working is shown on this page so anyone, from students to professionals, can verify the result by hand.