Square Pyramidal Number - Figurate Number
A number which represents number of stacked spheres with square base, this online calculator is a great tool to calculate number of squares in nxn grid.
Know more..
Square Pyramidal Calculations
Formula Used:
Square Pyramidal Number (Pn) = ( n × (n+1) × (2n+1) ) / 6
Where,
n - Non-Negative Number
Calculation of square pyramidal number is made easier here.