🔺
Pyramid Block Calculator
Enter the base size (in blocks) and block height to calculate the total blocks needed for a square stepped pyramid and its resulting height.
blocks
ft
What this calculator does
A square stepped pyramid is built from stacked square layers that shrink by one block per side as you go up: an n×n base, then (n-1)×(n-1), and so on up to a single block on top. This calculator finds the total block count and height.
How the calculation works
Layer k (counting from the top) uses k² blocks, so the total for a pyramid with an n-block base is the sum of squares from 1 to n, which has the closed-form formula Total = n(n+1)(2n+1) ÷ 6. Height is simply the number of layers multiplied by the height of one block.
This calculator assumes a simple stepped-square pyramid shape with each layer stacked directly on the next.
Last reviewed August 2026