ID Photo

3x4 photo size: cm, mm, inches and pixels, and how to make one

One table for cm, mm, inches and pixels, a to-scale comparison with 2x3 and 4x6, cropping a 3:4 photo in the browser, and print counts for 4R and A4.

Updated ยท 9 min read

Screenshot of the ID photo tool tool on Dokurapi
Screenshot of the related Dokurapi tool. All processing runs in the browser.

The 3x4 photo size is 3 cm wide by 4 cm tall, which is 30 x 40 mm or about 1.18 x 1.57 inches, with a 3:4 aspect ratio. To print it sharply at 300 dpi you need 354 x 472 pixels. For an upload, what matters is keeping the 3:4 shape, for example 600 x 800 pixels as produced by Dokurapi's ID photo tool. The 3x4 cm format is widely used for application forms in Indonesia and several other countries, but the size and background colour that count are always the ones stated by the institution you are applying to.

This guide gives the 3x4 size in every unit, compares it with the 2x3 and 4x6 formats, shows how to crop a photo to 3:4 without installing an app, explains how many photos fit on a print sheet, and covers safe file sizes for uploads. For background colour rules, see our guides to red background ID photos and blue background ID photos.

3x4 photo size in cm, mm, inches and pixels

"3x4" always means width first, then height, in centimetres. A 3x4 photo is portrait: 3 cm wide and 4 cm tall. In millimetres that is 30 x 40 mm. In inches it is about 1.18 x 1.57, because one inch is exactly 25.4 mm.

UnitWidthHeight
Centimetres3 cm4 cm
Millimetres30 mm40 mm
Inches1.18 in1.57 in
Pixels at 300 dpi354 px472 px
Pixels at 200 dpi236 px315 px
Dokurapi tool output (3:4)600 px800 px

Pixels have no physical size of their own. A print size only appears when you divide pixels by a print density, measured in dots per inch (dpi). The formula is: pixels equal millimetres divided by 25.4, times dpi. A 30 mm width at 300 dpi gives 30 / 25.4 x 300 = 354.3, rounded to 354 pixels. The 40 mm height gives 472.4, rounded to 472 pixels.

So a 600 x 800 pixel photo is not "too big" for a 3x4 print. Printed at 3 x 4 cm it works out to roughly 508 dpi, well above what normal photo printing needs. For uploads, extra pixels are fine as long as the file stays under the portal's size limit.

Ready to try it? The tool is free and runs in your browser.

Open the ID photo tool

2x3 vs 3x4 vs 4x6: shape matters, not just size

These three formats are the ones most often requested, and they are easy to mix up. The difference is not only how big they are but also their shape.

Three photo frames drawn at the same scale: 2x3 cm at 20 x 30 mm with ratio 2:3, 3x4 cm at 30 x 40 mm with ratio 3:4, and 4x6 cm at 40 x 60 mm with ratio 2:3, each containing a head and shoulders silhouette
2x3 and 4x6 share the same 2:3 shape and differ only in size. 3x4 is wider for its height, so it needs its own crop.
  • 2x3 cm (20 x 30 mm, ratio 2:3). The smallest of the three, used on cards and small photo boxes on forms.
  • 3x4 cm (30 x 40 mm, ratio 3:4). The common middle size on application and administrative forms.
  • 4x6 cm (40 x 60 mm, ratio 2:3). A larger format for documents that want a clearer face. For example, the LPDP scholarship policy summarised in our LPDP upload requirements asks for a formal 4x6 photo.

The practical consequence: a 4x6 photo can be scaled down to 2x3 without recropping because the shape is the same, but a 4x6 photo cannot become 3x4 without trimming a little from the top or bottom. If a form asks for 3x4, crop straight to 3:4 so the face is never squashed or stretched.

Pixel sizes for upload and print

Many portals never mention centimetres. They ask for an aspect ratio, a minimum pixel size or a maximum file size. This table translates the common print sizes into pixels.

Pixel table: 2x3 cm 236 x 354 px at 300 dpi, 157 x 236 at 200 dpi, 118 x 177 at 150 dpi; 3x4 cm 354 x 472, 236 x 315, 177 x 236; 4x6 cm 472 x 709, 315 x 472, 236 x 354
Calculated with pixels = mm / 25.4 x dpi, rounded to the nearest pixel. 300 dpi is the usual reference for photo printing.
  • For print, use 300 dpi as the reference. A 3x4 photo needs at least about 354 x 472 pixels.
  • For upload, follow the dimensions the portal asks for. If it asks for, say, 480 x 640 pixels, that is also 3:4, so a 600 x 800 result only needs scaling down if larger dimensions are rejected.
  • If the portal only says "3x4 photo", any 3:4 image of a few hundred pixels wide is enough. File size is the more common problem, not dimensions.

One more point: the dpi value written in a file's metadata is almost never checked by portals. They read the pixel count and the file size. Do not worry if the same photo shows 72 dpi in one app and 300 dpi in another.

Taking your own photo for a 3x4 print

A 3x4 photo does not have to come from a studio. A phone photo works as long as the basics are right, because the crop and background can be handled afterwards.

  1. Stand in front of a plain, light wall, about a metre away from it so no shadow falls behind your head.
  2. Face the light, for example a window in daytime. Avoid overhead lamps that cast shadows under the eyes.
  3. Ask someone else to take the photo at eye level from about 1.5 metres, zooming in slightly. Close-up selfies make the nose look larger.
  4. Leave room above the head and below the shoulders so the photo can be cropped to 3:4 without cutting the chin or hair.

A neutral expression with the mouth closed and eyes open is the safest choice for most institutions. If the rules ask for visible ears or a collared shirt, get that right when shooting, because no tool can fix it later.

How to make a 3x4 photo in your browser

Dokurapi's ID photo tool crops a photo to 3:4 and replaces the background with red or blue, all inside your browser tab with nothing uploaded.

  1. Start with a front-facing photo on a plain background in even light. Keep the face centred, because the tool crops from the middle of the image.
  2. Open the tool for your background: red background or blue background. The colour can also be changed in the Background menu.
  3. Choose the 3:4 (600 x 800 px) crop. For a 4x6 photo, choose 4:6 (600 x 900 px).
  4. Press Create ID photo. The first run downloads the background detector once, about 13 MB.
  5. Check the preview, especially the edges of hair, headscarf and shoulders, then download the JPG. The file name looks like dokurapi-pasfoto-red-3x4.jpg.
Dokurapi ID photo tool with Background set to Red, Crop 3:4 (600 x 800 px), status Done. The background was replaced, and a 3:4 preview with a red background showing a vector illustration of a head and shoulders
A 3:4 crop with a red background. The face in this example is our own vector illustration, not a photo of a person. Screenshot of the Dokurapi tool, 26 October 2026.

The output is a 600 x 800 pixel JPG. The tool is an editing aid, not a guarantee of acceptance, so check the institution's rules on clothing, expression and visible ears as well.

Printing 3x4 photos on 4R and A4 paper

If an office wants printed photos, putting several on one sheet is far cheaper than printing one per sheet. The count is simply the paper size divided by the photo size.

Two sheets. 4R paper of 102 x 152 mm holding 3 columns by 3 rows of 3x4 cm photos, 9 in total. A4 paper with a 5 mm margin holding 6 columns by 7 rows, 42 in total, with no gaps between photos
One 4R sheet holds 9 photos at 3x4 cm; one A4 sheet with a 5 mm margin holds 42. With 2 mm cutting gaps, A4 drops to 36.
PaperSize3x4 photos4x6 photos
4R102 x 152 mm9 (3 x 3)4 (2 x 2)
A4, 5 mm margin210 x 297 mm42 (6 x 7)20 (5 x 4)
A4, 5 mm margin, 2 mm gaps210 x 297 mm36 (6 x 6)16 (4 x 4)

When printing, set the printer to 100% scale or "actual size", not "fit to page". Fit to page can enlarge or shrink the photos so they are no longer 3 x 4 cm. Print one test sheet, measure it with a ruler, then print the rest.

File size for uploading a 3x4 photo

A 600 x 800 JPG usually weighs from a few dozen to a few hundred KB, depending on detail. In our test with a simple vector illustration it came out at about 17 KB. A real photo with hair, fabric and shadows will be larger.

Compress after cropping and replacing the background, not before. Compressing first and editing afterwards compresses the image twice and loses facial detail. Our guides to compressing a photo to 100KB and to 200KB explain the common limits.

Common mistakes with 3x4 photos

Most rejected photos are not the wrong size. They fail on small details that are easy to miss.

  • Stretched instead of cropped. A landscape photo forced into a 3:4 frame squashes the face. Always crop to the right ratio.
  • Face off-centre. The tool crops from the middle, so a face near the edge gets cut.
  • Head too small or too large. Aim for head and shoulders filling most of the frame, without cutting off the top of the head.
  • Wrong background colour. Follow the colour in the latest announcement, not last year's habit.
  • Printing with automatic scaling. The result is no longer 3 x 4 cm. Use 100% scale.

If a photo is rejected, read the message carefully. "Invalid dimensions" points to the ratio or pixel size, while "file too large" points to KB. Each needs a different fix.

Before uploading a full set of documents, run through the file size checklist before uploading. Real portal photo rules are covered in our guides to SSCASN upload requirements and SNBP upload requirements.

Frequently asked questions

What is the 3x4 photo size in cm and mm?
A 3x4 photo is 3 cm wide and 4 cm tall, or 30 x 40 mm, with a 3:4 aspect ratio. The first number is always the width.
What is the 3x4 photo size in inches?
About 1.18 x 1.57 inches, since one inch is 25.4 mm.
How many pixels is a 3x4 photo?
For printing at 300 dpi, 354 x 472 pixels. At 200 dpi, 236 x 315 pixels. For uploads, any 3:4 image such as 600 x 800 pixels works as long as the file is under the portal limit.
What is the difference between 3x4 and 4x6 photos?
A 3x4 photo is 30 x 40 mm with a 3:4 ratio. A 4x6 photo is 40 x 60 mm with a 2:3 ratio, so it is narrower in shape and cannot become 3x4 without cropping.
How do I make a 3x4 photo without an app?
Open the Dokurapi ID photo tool in your browser, choose a photo, pick a red or blue background, select the 3:4 (600 x 800 px) crop, press Create ID photo, check the preview and download the JPG.
How many 3x4 photos fit on 4R paper?
Nine. A 4R sheet of 102 x 152 mm holds 3 columns by 3 rows of 3x4 cm photos with no gaps.
How many 3x4 photos fit on an A4 sheet?
With a 5 mm margin, 42 photos (6 x 7). With 2 mm cutting gaps, 36 photos (6 x 6).
Is my photo uploaded when I use the Dokurapi tool?
No. Cropping and background replacement run in your browser tab. The first use only downloads the background detector, about 13 MB, to your browser.

Sources

  1. Dots per inch, Wikipedia
  2. Inch (1 inch = 25.4 mm), Wikipedia
  3. Photo print sizes (4R 102 x 152 mm), Wikipedia
  4. Paper size (A4 210 x 297 mm), Wikipedia

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Related articles

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.