Photo grid size calculator
Know exactly how big each photo in a grid will be. Pick a canvas such as 1080 × 1350, set the columns, rows, gap and margin, and get the cell size, its shape and every position.
Cell positions
| Cell | X | Y |
|---|
Size a photo grid in three steps.
- Choose the canvas
Pick a preset such as 1:1, 4:5 or 9:16, or type any width and height in pixels.
- Set the grid
Enter the number of columns and rows, the gap between photos and the margin around the edge.
- Read the cells
See the size and shape of each cell, any leftover pixels and, if you need them, the exact position of every cell.
How the cells in a grid are sized.
The calculator starts with the whole canvas, takes away the outer margin on both sides and the gaps between the photos, and shares what is left equally between the cells. There is always one gap fewer than there are columns or rows.
For example, a 1080 × 1080 px square with a 3 × 3 grid and a 6 px gap gives nine cells of exactly 356 × 356 px: the two gaps take 12 px, and the remaining 1,068 px divide evenly by three.
Pixels cannot be split, so when the space does not divide evenly each cell is rounded down and the calculator shows the leftover. With a 10 px gap in the same grid, each cell is 353 px and 1 px is left over. The positions table shares the leftover between the outer margins so the grid stays centred.
The cell ratio tells you how photos will be cropped. If it matches a common photo shape such as 4:5 or 2:3, photos in that shape fit without cropping.
Make the whole collage in SnapLayout.
SnapLayout is a collage and carousel app for iPhone. Pick a layout, add your photos and export at the exact size for Instagram, TikTok or Facebook.
Download on the App Store