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.
This tool solves any regular pyramid (base is a regular n-gon). Enter the base edge a and choose n. From there, give either the height h, the slant height ℓ, the total surface S, or the volume V. The calculator infers the rest, checks consistency within a small tolerance, and labels units for you.
p = n·ar = a / (2·tan(π/n))B = n·a² / (4·tan(π/n))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)Units: a, h, and ℓ use a length unit (e.g., cm); S uses the squared unit (e.g., cm²); V uses the cubed unit (e.g., cm³).
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.
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.