How the grid is calculated
Each circle takes up its diameter plus one gap of spacing along a row or column, except the very last one in a line (which needs no trailing gap). This calculator accounts for that by computing columns = floor((width + spacing) / (diameter + spacing)), and the same for rows, then multiplies the two for the total count.
This is useful for laying out dot grids, bubble charts, packaging templates, or any evenly spaced circular pattern.
Last reviewed August 2026