Square Pyramid Block Calculator
Count identical blocks in a square stepped pyramid with layers from 1 by 1 to n by n.
Formula
total = n(n + 1)(2n + 1)/6; bottom layer = n²
Total blocks ≈ (3)×((3)+1)×(2×(3)+1)÷6 · Bottom-layer blocks ≈ (3)^2
How to use
- Enter the number of square layers.
- Use one block at the top and increase each side by one block per layer.
- Read total blocks and bottom-layer blocks.
Examples
- Three layers contain 1 + 4 + 9 = 14 blocks.
Frequently asked questions
What arrangement is assumed?
Solid square layers of 1², 2², up to n² identical blocks.
Can the pyramid be hollow?
No. Hollow walls and gaps require a different model.
Does this estimate historical pyramid masonry?
No. Irregular stones and sloped cut blocks are outside this discrete model.
Sources
Updated: