Square Pyramid Slant Height

Also known as slant height of a pyramid

l=h2+(s2)2l = \sqrt{h^2 + \left(\tfrac{s}{2}\right)^2}

Worked example: height 4 m, base 6 m → slant 5 m (3-4-5) — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Learning zone

Square Pyramid Slant Height explained

lhs

Stand inside a square pyramid and slice it vertically through the apex and the midpoints of two opposite base edges. The cut exposes a right triangle whose legs are the vertical height hh and half the base side s/2s/2, with the slant height as its hypotenuse: l=h2+(s/2)2l = \sqrt{h^2 + (s/2)^2}. Half the base side, not the whole side, is the detail that trips everyone up the first time.

Roofers meet this as the difference between rise and rafter length on a hip or pyramid roof, and it is why a "12-foot-tall" gazebo roof needs rafters longer than 12 feet. Note also that the slant height is not the same as the pyramid's edge length, which runs corner to apex and is longer still, being h2+s2/2\sqrt{h^2 + s^2/2}. Three different lengths, three different jobs, and quoting the wrong one to a supplier is an expensive phone call.

Square Pyramid Slant Height formula

l=h2+(s2)2l = \sqrt{h^2 + \left(\tfrac{s}{2}\right)^2}
Where
  • ll= Slant height (m)
  • hh= Vertical height (m)
  • ss= Base side length (m)

Missing one of these? Work it out first, then come back