The formula used to calculate surface area for the classic square pyramid is: SA = [2 * b * h] + b^2. 1  SA and l represent the same values as before. 2  The abbreviation b represents the base length of the pyramid. 3  Note that [2 * b * h] is used to calculate the lateral area of the square pyramid.