A square pyramid has one square base and four identical isosceles triangles rising to a single apex.
What is a square pyramid calculator?
A square pyramid calculator finds volume and surface area of a pyramid with a square base. Enter base side length and perpendicular height from base to apex. It returns volume (1/3) × base² × height, slant height along a triangular face, lateral area, and total surface including the base. The shape models tents, roof peaks, and NCERT pyramid problems.
How to use the Square Pyramid Calculator
- Enter the length of one base edge.
- Enter height from base centre to apex.
- Read slant height on the results.
- Check lateral area for four triangular faces.
- Add base area for total surface.
About this calculator
A square pyramid has one square base and four identical isosceles triangles rising to a single apex. Volume equals one-third of the box that shares the same base and height — exactly the same ⅓ rule that applies to cones and all pyramids with flat bases.
Slant height runs from the midpoint of a base edge up the triangular face to the apex. Lateral surface area is four triangles each with area ½ × b × l, which simplifies to 2bl. Add the base b² for total outer area.
Real pyramids, tent peaks, and certain roof caps follow this model when the footprint is square. Compare with [[cone]] for circular bases, [[volume]] for mixed solids, and [[surface-area]] when you only need the wrap area. For ancient-scale examples, plug base 230 m and height 146 m to approximate the Great Pyramid order of magnitude.
Formula for square pyramid volume
V = (1/3) × base² × h
ℓ = √((base/2)² + h²)
Lateral = 2 × base × ℓ- base is the square edge length
- h is the perpendicular height to the apex
- ℓ is slant height along one triangular face
Square pyramid example: base 6 and height 8
A pyramid has square base side 6 units and height h = 8 units.
Base area is 6² = 36 square units. Volume is (1/3) × 36 × 8 = 96 cubic units. Slant height is √((3)² + 8²) = √73 ≈ 8.5440 units.
Lateral area is 2 × 6 × 8.5440 ≈ 102.5280 square units. Total surface is base plus lateral ≈ 138.5280 square units. Enter base 6 and height 8 to match volume 96.0000 on the calculator.
The apex must sit above the centre of the square base for these formulas. Slant height runs along a triangular face, not the vertical height h. Tent fabric estimates sometimes use lateral area only when the base sits on the ground uncovered.
Common uses
- Geometry homework — volume from base 6 and height 8
- Roof cap or tent peak material estimates
- Compare pyramid vs rectangular prism volume at equal base
- Surface area for four triangular panels plus square floor
- Scale models and 3D print fill-volume checks
Frequently asked questions
What is the volume when base = 6 and height = 8?
V = ⅓ × 36 × 8 = 96 cubic units. Slant height l = √(3² + 8²) = √73 ≈ 8.54 units.
Why is there a 1/3 in the volume formula?
A pyramid fills exactly one-third of the prism that shares its base and height. Integrating triangular cross-sections from base to apex produces the same factor as for cones.
Is slant height the same as vertical height?
No. Vertical height h is perpendicular to the base. Slant height l runs along the tilted triangular face and is always longer unless the apex sits directly over the base center with zero tilt.
Does this work for rectangular (non-square) bases?
This calculator assumes a square base. For a rectangle b × c, volume = ⅓ × b × c × h and each triangular face may differ.
Related calculators
- Triangle Calculator
- Area Calculator
- Volume Calculator
- Circle Calculator
- Square Footage Calculator
- Density Calculator
- Cone Volume & Surface Area Calculator
- Cylinder Volume & Surface Area Calculator
Maintained by J Jaya Prakash · Last updated: October 2026