AI Tools Free

Pyramid Volume Calculator

The Pyramid Volume Calculator is a solid-geometry solver that acts as a volume of a pyramid calculator and volume calculator for a pyramid with any polygonal base using V = (1/3) × A × h. Enter a positive Base area (#area) and Perpendicular height (#h) between 1e-09 and 1,000,000,000 to compute exact cubic volume to 12 significant digits.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate result.

Your result
Enter your details

Result will appear here

How to Calculate the Volume of a Pyramid (V = ⅓Ah)

Learning how to calculate the volume of a pyramid relies on the universal one-third scaling law proved by Eudoxus and Archimedes and generalized by Cavalieri's principle. Every horizontal cross-section of a pyramid at distance z below the apex is a scaled copy of the base with linear scale factor z / h and area A(z) = A × (z / h)². Integrating those thin slices from z = 0 at the apex to z = h at the floor gives:

V = (A × h) / 3

When you submit the workspace form, batch10-tools.js reads #area (Base area) and #h (Perpendicular height), verifies both are positive numbers between 1e-09 and 1,000,000,000, and executes show(n('area')*n('h')/3). That means any pyramid encloses one-third the volume of a prism sharing the same base and height (compare with our Rectangular Prism Volume Calculator and Cube Volume Calculator), and matches the circular-base formula in our Cone Volume Calculator.

Geometric comparison showing three congruent square pyramids of base area s² and height s combining to fill one cube of volume s³, proving V = (1/3) × A × h.
Geometric comparison showing three congruent square pyramids of base area s² and height s combining to fill one cube of volume s³, proving V = (1/3) × A × h.

Volume Calculator for a Pyramid Reference Table (V = A × h / 3)

Compare 10 verified square, rectangular, and triangular pyramid configurations to see how this volume calculator for a pyramid converts Base area and Perpendicular height into exact #result-main outputs:

Base Shape & DimensionsBase Area (#area)Perpendicular Height (#h)Equivalent Prism (A × h)Exact Pyramid Volume (#result-main)Practical Geometry or Engineering Benchmark
4 × 3 rectangle (preloaded)1244816Preloaded default workspace test case
3 × 3 square base93279One-third of a 3 × 3 × 3 cube (V = 27 ÷ 3)
4 × 4 square base1669632Classroom square pyramid (s = 4, h = 6)
5 × 5 square base25922575Acoustic foam pyramid studio diffuser cell
Triangle (b = 8, h_b = 6)241024080Triangular pyramid / tetrahedron benchmark
6 × 6 square base36828896Square-base hopper section (s = 6, h = 8)
8 × 8 ft square base64159603208' × 8' agricultural grain bin bottom (320 ft³)
10 × 10 ft square base10012120040010' × 10' pavilion pyramid hip roof attic (400 ft³)
35 × 35 m square base122521.6264608820Louvre Glass Pyramid in Paris (8,820 m³)
230 × 230 m square base5290014777763002592100Great Pyramid of Giza original envelope (2.59M m³)

How to Calculate Volume of a Pyramid Step by Step

Follow these three steps to compute pyramid volume in the workspace above.

Enter the Base Area (#area)

Type the 2D footprint area of your pyramid's base into Base area (#area, preloaded with 12), using s² for a square, l × w for a rectangle, or (1/2)bh_b for a triangle.

Input and settings
Base area (#area = 12) and Perpendicular height (#h = 4) input fields in the Pyramid Volume Calculator workspace.
Base area (#area = 12) and Perpendicular height (#h = 4) input fields in the Pyramid Volume Calculator workspace.

Enter Perpendicular Height (#h)

Enter the vertical altitude from the flat base plane straight up to the apex into Perpendicular height (#h, preloaded with 4), making sure its length unit matches the square unit of Base area.

Tool result
Diagram distinguishing vertical Perpendicular height (#h) at 90 degrees to the base from slant height along the sloped face.
Diagram distinguishing vertical Perpendicular height (#h) at 90 degrees to the base from slant height along the sloped face.

Click Calculate Result and Export

Select Calculate result to compute (1/3)Ah in #result-main, then select Copy or Download (result.txt) to save your figure.

Review the details
Result panel displaying 16 cubic units for Base area = 12 and Perpendicular height = 4 with Copy and Download controls.
Result panel displaying 16 cubic units for Base area = 12 and Perpendicular height = 4 with Copy and Download controls.

Worked Examples: Square Pyramid Volume Calculator & Hoppers

These three practical examples show how to use the solver as a square pyramid volume calculator, a rectangular hopper calculator, and an architectural envelope estimator.

Preloaded Rectangular Pyramid (A = 12, h = 4)

With Base area = 12 (such as a 4 × 3 rectangle) and Perpendicular height = 4, the calculator evaluates (12 × 4) ÷ 3 to output 16 cubic units.

Pyramid with Base area A = 12 and Perpendicular height h = 4 producing V = 16 cubic units.
Pyramid with Base area A = 12 and Perpendicular height h = 4 producing V = 16 cubic units.

Agricultural Grain Bin Hopper (8 ft × 8 ft, h = 15 ft)

An engineer sizing a tapered square grain hopper with 8 ft sides squares the edge to get Base area = 64 (ft²) and enters Perpendicular height = 15 (ft), yielding 320 ft³ (257.1 US bushels).

8 ft × 8 ft square grain hopper (A = 64 sq ft) with 15 ft vertical drop yielding 320 cubic feet.
8 ft × 8 ft square grain hopper (A = 64 sq ft) with 15 ft vertical drop yielding 320 cubic feet.

Louvre Glass Pyramid Envelope (35 m × 35 m, h = 21.6 m)

The iconic glass structure in Paris stands 21.6 m tall over a 35 m by 35 m courtyard (1225 m²), enclosing an interior air volume of 8820 cubic meters.

Louvre Glass Pyramid with 35 m × 35 m square footprint (1,225 m²) and 21.6 m altitude enclosing 8,820 cubic meters.
Louvre Glass Pyramid with 35 m × 35 m square footprint (1,225 m²) and 21.6 m altitude enclosing 8,820 cubic meters.

Volume of a Triangular Pyramid Calculator & Base Area Formulas

Because the workspace accepts Base area (#area) directly rather than locking you to a single base polygon, it works as a square, rectangular, pentagonal, hexagonal, and volume of a triangular pyramid calculator. Compute your 2D base footprint A first using the matching formula below, then enter A into #area:

Square & Rectangular Footprints: When all four base edges have equal length s, square that side (A = s², e.g., 6 × 6 = 36) before running V = (1/3)s²h. For unequal rectangular sides, multiply length l by width w (A = l × w, e.g., 8 × 5 = 40) to obtain the floor area for V = (1/3)lwh.

Triangular Pyramid / Tetrahedron (A = (1/2)bh_base): Multiply the triangle's base edge b by its 2D base altitude h_base and divide by 2 (or use our Triangle Area Calculator), then enter that area into #area so V = (1/6)bh_base h.

Formula reference card showing how Square (A = s²), Rectangular (A = lw), and Triangular (A = ½bh_b) footprints feed into Base area (#area).
Formula reference card showing how Square (A = s²), Rectangular (A = lw), and Triangular (A = ½bh_b) footprints feed into Base area (#area).

Pyramid Volume Slant Height Checks & Related 3D Tools

Before relying on #result-main for construction, fabrication, or homework checks, verify three geometric rules:

Never enter slant height into #h: the slant height l_slant measured up the outside triangular face is always longer than the vertical altitude h. For a square pyramid of base side s, convert slant height to perpendicular height using the Pythagorean Theorem Calculator: h = √(l_slant² - (s/2)²). Also make sure you square linear side lengths before entering Base area (#area), and keep Area and Height in matching units (such as ft² and ft).

To chain related 2D and 3D calculations, pair this solver with our Cone Volume Calculator for circular-base cones ((1/3)πr²h), the Rectangular Prism Volume Calculator for full-height boxes (lwh), the Cube Volume Calculator for cubes (s³), or the Triangle Area Calculator for triangular bases and sloped lateral faces.

Right-triangle cross-section inside a square pyramid showing h² + (s/2)² = l_slant².
Right-triangle cross-section inside a square pyramid showing h² + (s/2)² = l_slant².

Frequently Asked Questions About the Pyramid Volume Calculator

Answers about using Pyramid Volume Calculator and understanding its results.

How do you calculate the volume of a pyramid?

Multiply the 2D area of the base (A) by the perpendicular height (h) from the base to the apex, then divide the product by 3: V = (A × h) / 3. A solid whose floor covers 15 cm² and whose apex sits 6 cm above the base encloses (15 × 6) ÷ 3 = 30 cm³.

What is the formula for a triangular pyramid or tetrahedron?

First compute the 2D area of the triangular base as A = (1/2) × b × h_base (or use our Triangle Area Calculator), then multiply by the pyramid's vertical altitude h and divide by 3: V = (1/6) × b × h_base × h. If the triangular floor has b = 8 and h_base = 6 (#area = 24) and rises to h = 10, the enclosed space is 80 cubic units.

How can I find the volume of a square-based pyramid from side length?

Square one base edge (A = s²) to get the floor area for #area, then multiply by #h and divide by 3 (V = (1/3)s²h). A square monument measuring 6 m on each side occupies 36 m² at the ground; rising 8 m vertically gives (36 × 8) ÷ 3 = 96 m³.

How does a rectangular pyramid differ from a square pyramid?

A rectangular pyramid has unequal base length l and width w, so its footprint area is A = l × w rather than s², giving V = (1/3)lwh. Entering 60 into #area for a 10 in by 6 in base and 9 into #h outputs 180 in³.

How do I convert slant height into perpendicular height?

Apply the Pythagorean theorem to the interior right triangle formed by the vertical altitude h, the base apothem (s/2), and the exterior slant height l_slant: h = √(l_slant² - (s/2)²). When half the base is 3 and the sloped face measures 5, taking √(25 - 9) yields a true vertical height of 4.

Why is pyramid volume always one-third of a prism?

A cube of side s and volume s³ dissects cleanly into three congruent square pyramids of base s² and height s. In calculus, integrating horizontal cross-sections A(z/h)² from apex (z = 0) to floor (z = h) yields ∫(z/h)² dz = (1/3)h, which holds for any base polygon.

Calculate result with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate result