Online Calculators

Square Pyramid Calculator

Pyramid Calculator
h =
slant height
s =
side length
a =
perimeter of base
P =
lateral edge length
e =
1/2 side length
r =
V =
lateral surface area
L =
base surface area
B =
total surface area
A =
Share this Calculator & Page

Square Pyramid Shape

Pyramid Diagram with h = height, l = length and w = width and s = slant height

h = height
s = slant height
a = side length
P = perimeter of base
e = lateral edge length
r = a/2
V = volume
L = lateral surface area
B = base surface area
A = total surface area

Calculator Use

This online calculator will calculate the various properties of a square pyramid given 2 known variables. The square pyramid is a special case of a pyramid where the base is square. It is a regular pyramid with a square base.

Units: Note that units are shown for convenience but do not affect the calculations. The units are in place to give an indication of the order of the results such as ft, ft2 or ft3. For example, if you are starting with mm and you know r and h in mm, your calculations will result with s in mm, V in mm3, L in mm2, B in mm2 and A in mm2.

NAN: means not a number. This will show as a result if you are using values that just do not make sense as reasonable values for a pyramid.

Below are the standard formulas for a pyramid. Calculations are based on algebraic manipulation of these standard formulas.

Square Pyramid Formulas derived in terms of side length a and height h:

  • Volume of a square pyramid:
    • V = (1/3)a2h
  • Slant Height of a square pyramid:
    • By the pythagorean theorem we know that
    • s2 = r2 + h2
    • since r = a/2
    • s2 = (1/4)a2 + h2, and
    • s = √(h2 + (1/4)a2)
    • This is also the height of a triangle side
  • Lateral Surface Area of a square pyramid (4 isosceles triangles):
    • For the isosceles triangle Area = (1/2)Base x Height. Our base is side length a and for this calculation our height for the triangle is slant height s. With 4 sides we need to multiply by 4.
    • L = 4 x (1/2)as = 2as = 2a√(h2 + (1/4)a2)
    • Squaring the 2 to get it back inside the radical,
    • L = a√(a2 + 4h2)
  • Base Surface Area of a square pyramid (square):
    • B = a2
  • Total Surface Area of a square pyramid:
    • A = L + B = a2 + a√(a2 + 4h2))
    • A = a(a + √(a2 + 4h2))

Square Pyramid Calculations:

Other formulas for calculations are derived from the formulas above.


Weisstein, Eric W. "Square Pyramid." From MathWorld--A Wolfram Web Resource. Square Pyramid.


Cite this content, page or calculator as:

Furey, Edward "Square Pyramid Calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/pyramid.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators

Follow CalculatorSoup: