
h = height
s = slant height
a = side length
e = lateral edge length
r = a/2
V = volume
L = lateral surface area
B = base surface area
A = total surface area
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.
Other formulas for calculations are derived from the formulas above.
Weisstein, Eric W. "Square Pyramid." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/SquarePyramid.html