### Formula

S

surface area of square pyramid

a

length of base edge

l

slant height

S

surface area of square pyramid

a

length of base edge

l

slant height

In geometry, a square pyramid is a pyramid having a square base.

a

l

S

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP