Toolvito

Works on this device

Image Contact Margin Calculator

A contact sheet is one sheet with many small images side by side. This tool finds how many images of one size fit on a sheet and how wide the margins are, how large each image can be in a grid of columns and rows, and how wide the borders are round a single image on a sheet or in a mat.

Enter your values

Find how many images of one size fit on a contact sheet with gaps between them, and how wide the margins are when the block of images sits in the middle.

Your values

You can type a fraction such as 8 1/2.

You can type a fraction such as 8 1/2.

Many printers cannot print to the edge of the paper. Use the margin of your own printer, or 0 for a print without borders.

Leave room here for a file name or a number under each image.

Type it to get the number of sheets.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out. Images on a sheet, and the margins left over is the first choice.
  2. Choose the sheet from the list, or choose Another size and type its two sides. Choose if it lies upright or on its side.
  3. Type the width and height of one image, or choose a size from Common image sizes.
  4. Type the smallest margin your printer needs on every edge, and the gaps between the images.
  5. Choose Calculate. The result shows the number of images, the layout, and the margins when the block of images sits in the middle of the sheet.
  6. Copy the result, print it, or download it as a CSV file.

The formulas

  • Images across = the largest whole number n with n × image width + (n − 1) × gap ≤ sheet width − 2 × smallest margin. Images down are found the same way.
  • Margin left over = (sheet − block of images) ÷ 2, across and down.
  • Layouts tried. All images the same way up, all images turned a quarter turn, and one mixed layout in which a straight cut divides the sheet into two parts. Turned layouts are used only when you allow them.
  • Grid. Width of one place = (sheet width − 2 × margin − (columns − 1) × gap) ÷ columns. The image keeps its shape and is as large as fits in its place.
  • Borders round one image. Left and right = (sheet width − image width) ÷ 2. Top = (sheet height − image height − extra at the bottom) ÷ 2.
  • Pixels = inches × pixels per inch, rounded to the nearest whole pixel. One inch is 25.4 mm.

Worked example

Images on a sheet. An A4 sheet is 210 × 297 mm. With a margin of 10 mm the room is 190 × 277 mm. Images of 60 × 40 mm with gaps of 4 mm fit 3 across and 6 down: 18 images. The block is 188 × 260 mm, so the margins are 11 mm at the sides and 18.5 mm at the top and bottom. For 100 images you need 6 sheets, and the last sheet holds 10.

A grid. For 4 columns and 5 rows on the same sheet, one place is (210 − 20 − 12) ÷ 4 = 44.5 mm wide and (297 − 20 − 16) ÷ 5 = 52.2 mm high. An image of 3 : 2 is then 44.5 × 29.67 mm, which is 526 × 350 pixels at 300 pixels per inch.

Borders. An image of 150 × 200 mm in the middle of an A4 sheet has borders of 30 mm at the sides and 48.5 mm at the top and bottom.

Largest image. With a border of at least 20 mm and 10 mm more at the bottom, an image of 3 : 2 on an upright A4 sheet can be 170 × 113.33 mm. The top border is 86.83 mm and the bottom border 96.83 mm.

Limits you should know

  • The tool gives numbers. It does not open pictures and does not make the contact sheet file.
  • Only three kinds of layout are tried. A layout with three or more blocks can sometimes hold more images.
  • All images on a sheet have the same size. A sheet with images of several sizes is not worked out.
  • The margin a printer cannot print on differs from printer to printer. Type your own, or 0 for a print without borders.
  • Whole pixels are rounded, so a picture of that pixel size can differ from the exact size by part of a pixel.
  • For the place of every piece on a sheet, use the Print Page Layout Calculator.

Related tools