Calculation

Subtract both margins from the paper dimensions. For each orientation, divide the usable dimension plus one gap by the photo dimension plus one gap, then round down. A cutting gap is needed only between adjacent photos. The table compares uniform grids, not every possible mixed arrangement. Use the layout tool to place the actual copies. Keep the selected physical dimensions when rotating a photo.

Worked example

PaperA4 / 210 × 297 mm
Set the size127 × 177.8 mm
Margin10 mm
Gap5 mm
Available area190 × 277 mm
Portrait grid1
Rotated grid2
Regular grid estimate2

Before printing

Choose Actual size or 100% in your PDF viewer. Match the PDF paper size and measure the 20 mm square after printing.

Open the tool

Fit two 100 mm squares across Letter

Letter is 215.9 mm wide. With 5 mm margins, 205.9 mm remains. Two 100 mm squares and one 5 mm cutting gap use 205 mm, so two squares fit across. There is no cutting gap after the last square.

For a mix of squares and rectangles, use the mixed-size photo layout to check where each print goes.