Every calculation runs transparently using exact math—no hidden rounding tricks or black-box estimates.
Printable Width = Sheet Width − Left Margin − Right Margin
Printable Height = Sheet Height − Top Margin − Bottom Margin
Max Columns = floor((Printable Width + Horizontal Gap) ÷ (Label Width + Horizontal Gap))
Max Rows = floor((Printable Height + Vertical Gap) ÷ (Label Height + Vertical Gap))
Cell Origin (Col c, Row r): X = Left Margin + c × (Label Width + Horizontal Gap), Y = Top Margin + r × (Label Height + Vertical Gap)