Calculators
Pyramid Calculator
Calculate square pyramid volume, surface area, base area, lateral area, and slant height from base length and height locally in your browser.
Enter a square base length and a height from 0 (exclusive) to 1000000000 to see the volume (b²h ÷ 3), surface area, base area (b²), lateral area (2 × b × slant height), and slant height (√((b ÷ 2)² + h²)). The calculation runs locally in your browser; your values are not uploaded or stored.
Find square pyramid measurements without uploading anything.
Enter a square base length and a height from 0 (exclusive) to 1000000000 to see the volume, surface area, base area, lateral area, and slant height. Everything runs locally in your browser, so your values are not uploaded or stored.
Frequently Asked Questions
Everything you need to know about this tool, how it works, and privacy.
What does the pyramid calculator show?
Enter a square base length and a height from 0 (exclusive) to 1000000000. The calculator returns the volume (base length squared times height divided by 3), the surface area (base area plus lateral area), the base area (base length squared), the lateral area (2 times base length times slant height), and the slant height (square root of half the base length squared plus height squared). For example, base length 5 and height 10 give volume about 83.3333333333, surface area about 128.07764064, base area 25, lateral area about 103.07764064, and slant height about 10.307764064.
Which formulas does the pyramid calculator use?
It uses slant height = square root of ((b / 2) squared + h squared), base area = b^2, lateral area = 2 x b x slant height, surface area = base area + lateral area, and volume = (b^2 x h) / 3, where b is the base length and h is the height you enter. This tool covers right square pyramids with a centered apex.
Which inputs are accepted?
Enter a base length and a height greater than zero through 1000000000. Decimal values are accepted. Zero, negative numbers, non-numeric text, and values above the limit show a clear error instead of a result.
Do my numbers stay private?
Yes. The calculation and copy action run locally in your browser. CodeASystem does not upload or store the values you enter.