Square pyramids is a geometric shape having square base. The appex is perpendicularly at the center of the square. If all the edges are equal it is equilateral square pyramid.
Rectangular pyramids have four sided base and four triangle sides that are coming together to the appex. Each base and appex form a triange called lateral face. The triangular faces are non rectangular base. Pyramid with n side have n + 1 vertices and 2n edges.