ForHosting KIT · Images

Passport photo sheet layout calculator

A 2 × 2 inch passport photo fits 20 times on an 8.5 × 11 inch sheet: 4 columns by 5 rows, with 0.5 inch and 1 inch to spare. Enter the photo size, the printable area and one unit. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Photo width
2 in
Photo height
2
Sheet width
8.5
Sheet height
11
You get
Columns
4 in
Rows
5
Photos per sheet
20
Used width
8

This passport photo sheet layout calculator turns the required width and height of one photo into a practical print grid. Enter the photo dimensions, the printable sheet dimensions, and one shared measurement unit. The result shows the number of columns, rows, and complete photos that fit without scaling or cropping, together with the used and remaining width and height. It is useful before arranging images in design software, ordering prints, or preparing a repeatable photo-production workflow.

Start with the exact required photo and printable sheet dimensions

Use the official finished width and height for the passport or identity-photo format you need. The calculator does not convert a mixture of units, add printer margins, or assume that every nominal sheet can be printed edge to edge. If your printer leaves an unprintable border, subtract that border first and supply the resulting printable area.

The calculation preserves the orientation you enter, so a photo described as width by height is not automatically rotated to chase a larger count. This is intentional because portrait orientation, cutting direction, and document rules may matter. The dimensions must be finite positive numbers.

Understand the grid and leftover-space calculation

The calculator divides the sheet width by the photo width and keeps only the whole-number part to obtain columns. It applies the same rule to sheet height and photo height to obtain rows. Partial photos never count.

A small numerical tolerance protects exact decimal fits from ordinary floating-point representation effects, while returned dimensions are rounded consistently for stable results. No bleed, gutter, crop mark, border, or cutting allowance is included. If you need gaps, reduce the printable dimensions or enlarge the effective photo cell before calling the calculator.

That keeps the arithmetic explicit and prevents a hidden production assumption from changing the answer.

Turn the result into a reliable print layout

Use columns and rows to create a regular grid in your preferred page-layout, image-editing, or print-imposition tool. Set each cell to the required photo dimensions, place one correctly prepared image in every cell, and verify that the application is printing at actual size rather than fitting the page automatically. The calculator answers the packing question only: it does not inspect face position, background, resolution, head size, expression, lighting, or any other passport authority requirement.

It also does not create an image sheet. For production work, keep a record of the input dimensions and returned grid beside the document specification so another operator can reproduce the arrangement. Before printing a large batch, measure a physical test print with a ruler.

Printer drivers can introduce scaling even when the mathematical layout is correct, and a valid grid cannot compensate for device-level resizing.

Prepare a home photo print

Check how many regulation-size portraits fit on the printable area of a common photo-paper sheet before opening layout software.

Choose a lab sheet size

Compare candidate sheet dimensions and select one that yields enough complete photos without scaling the required finished size.

Does the calculator rotate the passport photo automatically?

No. It preserves the width and height orientation you provide, so the result matches that specific layout direction.

Are printer margins included?

No. Enter the printable sheet area after subtracting any unprintable margins imposed by your printer.

Does the result include gaps, bleed, or crop marks?

No. The grid places photo cells directly beside one another. Account for production spacing by adjusting the effective dimensions before calculating.

Can I mix inches and millimetres?

No. Every dimension in one request must use the single unit selected in the unit field.

How do I check that my printer keeps the photos at the right size?

Print one test sheet and measure it with a ruler. A printer driver can rescale the page even when the layout is correct, so choose actual size in the print settings instead of fit to page.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/image/passport-photo-layout

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/image/passport-photo-layout \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_width":2,"photo_height":2,"sheet_width":8.5,"sheet_height":11}'
{
  "photo_width": 2,
  "photo_height": 2,
  "sheet_width": 8.5,
  "sheet_height": 11
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "image.passport_photo_layout",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_mb15
max_megapixels12
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Start with the exact required photo and printable sheet dimensions

Enter those values as photo_width and photo_height, then enter the actual printable sheet dimensions as sheet_width and sheet_height. All four numbers must use the same selected unit: inches, centimetres, or millimetres. If either photo dimension exceeds the corresponding sheet dimension, the request stops with a clear input error instead of returning a misleading grid with zero rows or columns.

Understand the grid and leftover-space calculation

Multiplying columns by rows gives photos_per_sheet, the number of complete, unscaled photos that fit in the rectangular grid. The response also reports used_width and used_height, followed by remaining_width and remaining_height. These remaining dimensions describe the unused strip after the grid is aligned to one edge; they are not spacing inserted between individual photos.

Turn the result into a reliable print layout

The browser version is convenient for a one-off check, while API requests cost $0.002 and suit automated order intake or template selection.

Automate template selection

Use the deterministic API result to select a grid template for each photo specification and print-sheet combination in an order workflow.

What happens if the photo is larger than the sheet?

The request returns an invalid_input error because a complete photo cannot fit in the supplied orientation.

What does the API request cost?

Each API request costs $0.002. The browser calculator can run the same deterministic calculation locally.

Read the full KIT documentation →