Volume plays thirds
Any pyramid’s volume is ⅓ of a prism with the same base and height: V = (1/3)·B·h. Cones obey the same one‑third rule.
Tip: Provide a and n, plus at least one of h, ℓ, S, or V. The calculator fills in the rest and flags inconsistencies.
v1.1 (May 19, 2026)
The volume of a pyramid is V = (1/3)Bh, where B is the base area and h is the vertical height.
The total surface area is the base area plus the lateral surface area. For a regular pyramid, S = B + 1/2 · p · ℓ.
For a square pyramid with side length a and height h, the volume is V = a²h/3 and the slant height is ℓ = √(h² + (a/2)²).
For a regular triangular pyramid, the base is an equilateral triangle. The calculator uses the regular-polygon base area formula.
The slant height is found using ℓ² = h² + r², where r is the inradius of the base.
| Quantity | Formula |
|---|---|
| Volume | V = (1/3)Bh |
| Total surface area | S = B + 1/2 · p · ℓ |
| Lateral surface area | L = 1/2 · p · ℓ |
| Base area, regular n-gon | B = n · a² / (4 · tan(π/n)) |
| Slant height | ℓ = √(h² + r²) |
| Base inradius | r = a / (2 · tan(π/n)) |
Side length = 6 cm, height = 10 cm. The square base area is 6² = 36 cm², so Volume = 1/3 × 36 × 10 = 120 cm³.
Side length = 8 cm, slant height = 5 cm. The surface area is 8² + 2 × 8 × 5 = 144 cm².
For a regular triangular base with side 6 cm and height 9 cm, the base area is 6²√3/4 ≈ 15.59 cm². The volume is 1/3 × 15.59 × 9 ≈ 46.77 cm³.
For a square pyramid with side length 8 cm and height 3 cm, the base inradius is r = 8/2 = 4 cm. The slant height is ℓ = √(3² + 4²) = 5 cm.
Given a square pyramid with side length 5 cm and volume 100 cm³, the base area is B = 25 cm². Solve backward with h = 3V/B = 300/25 = 12 cm.
This pyramid calculator helps you find missing dimensions for a regular pyramid—a pyramid whose base is a regular polygon (triangle, square, pentagon, and so on). If you know the base edge length and how many sides the base has, the calculator can work out the height, slant height, surface area, and volume using standard geometry formulas. It is a fast way to solve homework problems, check designs, or plan materials without digging through a textbook.
A pyramid has a flat base and triangular faces that meet at the top. The height is the straight vertical distance from the base to the tip. The slant height runs along a triangular face. The surface area adds up the base area and the areas of the triangular faces. The volume measures how much space the pyramid encloses. These pieces are connected, so if you provide a few of them, the rest can be calculated.
a and select the number of sides n for the base.h, slant height ℓ, total surface area S, or volume V.p = n·ar = a / (2·tan(π/n))B = n·a² / (4·tan(π/n))L = ½·p·ℓS = B + ½·p·ℓV = (1/3)·B·hℓ² = h² + r²ℓ = 2(S - B)/p (requires a and n)h = 3V/B (requires a and n)Regular pyramids show up in architecture, packaging, art, and 3D modeling. A square pyramid is common in roof designs, while triangular pyramids (tetrahedrons) appear in structural frames and engineering models. If you are building a scale model, designing a decorative pyramid, or estimating material for a project, the surface area and volume outputs provide practical guidance.
Units: a, h, and ℓ use a length unit (for example, cm); S uses
the squared unit (such as cm²); and V uses the cubed unit (such as cm³).
The calculator runs locally in your browser, so your inputs remain private.
Any pyramid’s volume is ⅓ of a prism with the same base and height: V = (1/3)·B·h. Cones obey the same one‑third rule.
Slant height ℓ and vertical height h meet via ℓ² = h² + r², where r is the inradius of the base polygon—Pythagoras hiding in the side face.
For a square pyramid, each face is an isosceles triangle. Its altitude is √(ℓ² − (a/2)²), so total area splits neatly into four equal faces plus the base.
The Great Pyramid’s original slope was close to a 14:11 rise-run (~51.8°). Its height-to-base ratio almost matches a circle’s radius to half-circumference.
Change the base: triangle, pentagon, decagon—regular polygons all work. As n grows large, a regular pyramid approaches a cone.
Multiply the base area by the height, then divide by 3: V = (1/3)Bh.
Use S = a² + 2aℓ, where a is the base side length and ℓ is the slant height.
Height is the vertical distance from the base to the apex. Slant height is measured along a triangular face.
Yes. If the base edge and volume are known, the calculator uses h = 3V/B.
Yes. For a regular pyramid, ℓ = 2(S - B)/p.
Provide a and n plus one of h, ℓ, S, or V. Two or more values are fine; the tool checks consistency.
B = n·a²/(4·tan(π/n)), S = B + ½·n·a·ℓ, V = (1/3)·B·h, and ℓ² = h² + r² with r = a/(2·tan(π/n)).
Yes. Computation is entirely client-side; nothing is uploaded.
Yes. Choose a length unit for a, h, and ℓ. Surface area uses the squared unit; volume uses the cubed unit.