Math · Every step shown

Pyramid Calculator

Find the volume and surface area of a square-based pyramid from its base side and height.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: 3D geometry
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Assumes a square base with the apex centered above it. Volume = (1/3) × s² × h. Slant height = √((s/2)² + h²). Surface area = s² + 4 triangular faces.

Example: base side 6, height 4 gives a volume of 48, a slant height of 5, and a surface area of 96.

Does this work for a pyramid with a non-square base?
No — this calculator assumes a square base with the apex centered directly above its middle, like the Great Pyramid of Giza.

What's the volume formula?
Volume = (1/3) × base area × height, the same idea as a cone but with a square base instead of a circle.

What's slant height here?
The distance from the apex straight down the middle of one triangular face to the midpoint of that face's base edge.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.