Right Square Pyramid Calculator
Enter any two dimensions of a right square pyramid and this calculator instantly finds the volume, total surface area, lateral area, base area, slant height, and lateral edge. Choose your input pair from the drop-down, pick your preferred length unit, and all results update in real time with a full show-your-work breakdown.
What is a right square pyramid?
A right square pyramid is a three-dimensional solid with a square base and four congruent isosceles triangles meeting at a single apex directly above the centre of the base. The word "right" means the apex is vertically above the centroid of the base, so all four triangular faces are identical and all lateral edges are the same length. It is one of the most common pyramid shapes, appearing in ancient monuments, architecture, packaging, and mathematical problems.
The five key dimensions
Every right square pyramid has five inter-related linear dimensions. The base edge (a) is the side length of the square base. The vertical height (H) is the perpendicular distance from the centre of the base to the apex. The slant height (s) is the distance measured along the centre-line of a triangular face from the midpoint of a base edge to the apex; it satisfies s^2 = H^2 + (a/2)^2 by Pythagoras. The lateral edge (d) is the straight-line distance from any base corner to the apex; d^2 = H^2 + a^2/2. The base diagonal is simply a x sqrt(2). Knowing any two of {a, H, s, d, V, A} is enough to determine everything else.
How the surface area is calculated
The total surface area (A) is the sum of the base area and the lateral area. The base area is a^2 because the base is a square. Each triangular face has base a and height s (the slant height), so one face area is (a x s) / 2. With four identical faces, the total lateral area is A_l = 2 x a x s. Adding the base gives A = a^2 + 2as. You can also write this as A = a(a + 2s) to factor out the base edge. Surface area determines how much material is needed to cover the outside of the pyramid.
Volume and the one-third rule
The volume formula V = (1/3) x a^2 x H follows from Cavalieri's principle: any pyramid has volume equal to one-third of the volume of a prism with the same base and height. For a square base that prism has volume a^2 x H, so the pyramid holds exactly one-third of it. A useful check is that if H = a, the volume is a^3/3. The one-third factor is sometimes surprising but is a fundamental result of integral calculus, provable by slicing the pyramid into infinitely thin square cross-sections.
Key formulas for a right square pyramid
| Quantity | Symbol | Formula |
|---|---|---|
| Slant height | s | s = sqrt(H^2 + (a/2)^2) |
| Lateral edge | d | d = sqrt(H^2 + a^2/2) |
| Base area | A_b | A_b = a^2 |
| One face area | A_f | A_f = (a x s) / 2 |
| Total lateral area | A_l | A_l = 2 x a x s |
| Total surface area | A | A = A_l + A_b = a(a + 2s) |
| Volume | V | V = (1/3) x a^2 x H |
| Face angle | theta | theta = arctan(H / (a/2)) |
All formulas use: a = base edge, H = vertical height, s = slant height, d = lateral edge.
Frequently asked questions
What is the slant height of a right square pyramid and how is it different from the lateral edge?
The slant height (s) is the distance from the midpoint of a base edge straight up to the apex, measured along the surface of a triangular face. The lateral edge (d) is the distance from a base corner to the apex. Because a corner is farther from the centre than an edge midpoint, the lateral edge is always longer than the slant height. Numerically, s = sqrt(H^2 + (a/2)^2) while d = sqrt(H^2 + a^2/2).
Why does the volume formula have a 1/3 in it?
Any pyramid (regardless of the base shape) holds exactly one-third of the volume of the prism with the same base and height. This is a consequence of Cavalieri's principle: at every height the cross-sectional area of the pyramid is one-third that of the surrounding prism at the same level, integrated over the full height. The result can be proved rigorously with calculus by integrating the area of square cross-sections from base to apex.
How do I find the total surface area if I only know the base edge and height?
First calculate the slant height: s = sqrt(H^2 + (a/2)^2). Then the total surface area is A = a^2 + 2as. For example, with a = 6 m and H = 4 m, the slant height is sqrt(16 + 9) = 5 m, and A = 36 + 60 = 96 m^2. This calculator does all these steps for you and shows each one in the "show your work" panel.
Can I calculate the base edge if I only know the volume and height?
Yes. Rearranging V = (1/3) x a^2 x H gives a = sqrt(3V/H). For instance, V = 48 m^3 and H = 4 m yields a = sqrt(144/4) = sqrt(36) = 6 m. Select "Height + Volume" from the Known inputs drop-down above and the calculator solves this for you automatically.
What is the face angle of a right square pyramid?
The face angle (theta) is the dihedral angle between a triangular lateral face and the base, measured at the midpoint of a base edge. It equals arctan(H / (a/2)). A taller, narrower pyramid has a larger face angle approaching 90 degrees, while a flat pyramid approaches 0 degrees. The face angle determines how steeply the sides of the pyramid rise from the base.
What units does this calculator support?
You can choose metres, centimetres, millimetres, kilometres, inches, feet, or yards from the length unit drop-down. All length outputs use your chosen unit, area outputs use its square, and the volume output uses its cube. The conversion is handled internally so you never need to convert manually.