Square Pyramid Calculator

Calculate volume, surface area, slant height, lateral area, dihedral angle, and lateral edge of a square pyramid from base side and height.

Input

Results

Enter positive base side and height to see results.

Reference Table

BaseHeightVolumeSASlant HtLat. Edge
110.333.241.121.22
222.6712.942.242.45
3412.0034.634.274.53
4316.0044.843.614.12
5541.6780.905.596.12
6448.0096.005.005.83
86128.00179.387.218.25
108266.67288.689.4310.68
1015500.00416.2315.8116.58
1210480.00423.8911.6613.11
1512900.00649.5314.1516.02
20152,000.001,121.1118.0320.62
Planning notes, formulas, and examples

About the Square Pyramid Calculator

<p>The <strong>Square Pyramid Calculator</strong> is a comprehensive tool for analyzing every measurable property of a square-based pyramid. A square pyramid has a square base and four triangular faces that converge at an apex directly above the center of the base. This shape is one of the most iconic geometric solids, appearing in architecture (the Great Pyramid of Giza), packaging design, and many engineering applications.</p>

<p>Given just the <strong>base side length</strong> and the <strong>height</strong> (perpendicular distance from base to apex), this calculator derives the <em>volume</em>, <em>total surface area</em>, <em>lateral surface area</em>, <em>base area</em>, <em>slant height</em> (apothem of a lateral face), <em>lateral edge length</em>, and the <em>base-to-face dihedral angle</em>. These quantities cover virtually everything a student, engineer, or designer needs.</p>

<p>Volume is calculated as one-third the base area times the height (<strong>V = ⅓ a² h</strong>). The slant height ℓ uses the Pythagorean theorem from the half-base to the apex: <strong>ℓ = √(h² + (a/2)²)</strong>. The lateral edge goes from a base corner to the apex: <strong>e = √(h² + a²/2)</strong>. The dihedral angle between the base and a triangular face is <strong>θ = arctan(2h / a)</strong>. Explore presets, a reference table, and surface-area breakdown bars below.</p>

When This Page Helps

A square pyramid involves several related measurements that are easy to mix up: vertical height, slant height, lateral edge, lateral area, total surface area, and volume. This calculator is useful because it derives all of them from the two dimensions you typically know first, the base side and the height. That makes it valuable for geometry classes, packaging and display design, estimating material for pyramid covers, and checking 3D model dimensions without working through multiple right-triangle steps by hand.

How to Use the Inputs

  1. Enter the base side length of the square pyramid.
  2. Enter the perpendicular height from the base to the apex.
  3. Optionally choose a unit label (cm, m, in, ft, etc.).
  4. Read all computed properties in the results section.
  5. Use preset buttons to quickly load common pyramid dimensions.
  6. Refer to the surface-area breakdown bars to see how base and lateral areas compare.
Formula used
<p><strong>Volume:</strong> V = ⅓ a² h</p> <p><strong>Slant height:</strong> ℓ = √(h² + (a/2)²)</p> <p><strong>Lateral edge:</strong> e = √(h² + a²/2)</p> <p><strong>Base area:</strong> A<sub>b</sub> = a²</p> <p><strong>Lateral area:</strong> A<sub>L</sub> = 2aℓ</p> <p><strong>Total surface area:</strong> SA = A<sub>b</sub> + A<sub>L</sub></p> <p><strong>Dihedral angle:</strong> θ = arctan(2h / a)</p>

Example Calculation

Result: A square pyramid with base side 6 m and height 4 m has volume 48 m³ and total surface area 96 m².

With baseSide = 6 and height = 4, the base area is 36 and the volume is (36 × 4) / 3 = 48 m³. The slant height is √(4² + 3²) = 5 m, the lateral edge is √(4² + 6²/2) ≈ 5.831 m, the lateral area is 2 × 6 × 5 = 60 m², and the total surface area is 36 + 60 = 96 m².

Tips & Best Practices

  • Slant height is NOT the lateral edge — slant height goes to the midpoint of a base side.
  • The dihedral angle increases as the pyramid gets taller relative to its base.
  • For a regular tetrahedron-like shape, set height to a × √2 / 2.
  • Volume is always exactly one-third of the enclosing rectangular prism with the same base and height.
  • Check that height is positive and less than practical limits to avoid degenerate shapes.

Understanding the Main Square Pyramid Measurements

A square pyramid starts with two core dimensions: the base side a and the vertical height h. From those, you can derive the rest of the geometry. The base area is a², the volume is one third of base area times height, and the slant height comes from the right triangle formed by h and half the base side. The lateral edge is different from the slant height because it reaches a corner instead of the midpoint of a side. Keeping those distances separate is the key to avoiding the most common pyramid mistakes.

Surface Area and Volume in One Example

Take a square pyramid with base side 6 and height 4. The base area is 36, so the volume is (36 × 4) / 3 = 48. The slant height is √(4² + 3²) = 5, which makes the lateral area 2 × 6 × 5 = 60. Add the base area and the total surface area becomes 96. This is why square pyramids are convenient teaching examples: one set of inputs leads to several related results that reinforce how area, volume, and right-triangle geometry fit together.

Where Square Pyramid Calculations Matter

Square pyramids appear in architecture, monument design, skylights, packaging, display stands, and decorative roof structures. If you are covering the outside faces, lateral area is often the quantity that matters most. If you are filling or modeling the solid, volume is the critical value. If you are checking steepness for appearance or fabrication, the dihedral angle and slant height give a better sense of the shape than base and height alone. Having all of these measures together makes it easier to move from a sketch or concept model to a buildable design.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A square pyramid is a 3D solid with a square base and four triangular lateral faces meeting at a single apex point above the base center.