DS-160 Photo Size: The Rule Most Guides Miss

DS-160 photo size: square 600x600 to 1200x1200 px, JPG, max 240 KB, plus the 20:1 compression rule most guides miss. Check your photo with our free tool.

Share this post
7 min read

Last updated December 2, 2026

The online visa form DS-160 asks for a digital photo. Most guides give you three numbers: square, 600 to 1200 pixels, and 240 kB or less. That is right, but it is not the whole rule.

The U.S. Department of State also sets a limit on compression. Squeeze a photo too hard and it can break the rules, even under 240 kB. This guide explains all four digital rules and shows a real test with our free photo tool.

Key Takeaways

  • The photo must be square, from 600 x 600 to 1200 x 1200 pixels, in color, as a JPG.
  • The file must be 240 kB or smaller.
  • The compression ratio should be 20 to 1 or less, which sets a minimum file size.
  • At 600 x 600 pixels that minimum is about 54 kB. At 1200 x 1200 it is about 216 kB.
  • Eyeglasses are no longer allowed in new visa photos, except rare medical cases.
The rule most answers skip. Search answers we checked list pixels and 240 kB but not the 20 to 1 compression rule. A tiny, heavily squeezed file may meet 240 kB and still fail the official requirements.

What Are the Digital Photo Rules?

The State Department’s Digital Image Requirements list five specifications.

RuleOfficial requirement
DimensionsSquare, minimum 600 x 600, maximum 1200 x 1200 pixels
ColorColor, 24 bits per pixel, standard camera color space
File formatJPG
File size240 kB or less
CompressionRatio of 20 to 1 or less

Source: U.S. Department of State, Digital Image Requirements, read December 2, 2026.

54 kBThe smallest a 600 x 600 photo can be under the 20 to 1 compression rule. Digieh calculation from the State Department rules.

Check Your Photo File

Enter your photo’s details below. The checker tests the size, type, file size and compression rules together.

Visa photo file checker

Enter your photo’s width, height and file size. The checker tests the four digital rules, including the compression rule. It runs in your browser only.

Digieh tool. Rules from the U.S. Department of State Digital Image Requirements, read December 2, 2026. 1 kB is counted as 1,000 bytes.

What Is the Compression Rule?

A color photo stores 3 bytes for every pixel before compression. So a 600 x 600 photo starts at 1,080,000 bytes, about 1,080 kB.

The rule says the compression ratio should be 20 to 1 or less. Divide 1,080 kB by 20 and you get 54 kB. That is the smallest a 600 x 600 file should be.

Photo sizeSmallest fileLargest file
600 x 600 pixels54 kB240 kB
800 x 800 pixels96 kB240 kB
1000 x 1000 pixels150 kB240 kB
1200 x 1200 pixels216 kB240 kB

Source: Digieh calculation from the 24-bit color, 240 kB and 20 to 1 rules on the State Department page. 1 kB = 1,000 bytes.

Look at the last row. A 1200 x 1200 photo has only a narrow window, from 216 to 240 kB. That is why 600 x 600 is the easiest size to get right.

Mind the kB. Windows File Explorer counts 1 KB as 1,024 bytes, so it shows slightly smaller numbers. Stay a little below 240 to be safe.

How Did We Test It With IDlume?

We tested Digieh’s free IDlume passport and visa photo maker with a phone-style photo. The person in it is computer-generated, not a real applicant.

Sample phone photo of a computer-generated test person before cropping
Before: a 675 x 900 phone-style photo in front of a white wall.
  1. Choose United States as the country and Visa as the document.
  2. Add the photo. IDlume finds the top of the head and the chin.
  3. Check the gold lines and the photo report.
  4. Enter 54 as the minimum and 240 as the maximum kB.
  5. Download the digital photo.
IDlume screen with head lines and a passed photo check for a United States visa photo
IDlume placed the head lines and every measured check passed.
Square 600 by 600 pixel visa photo made by IDlume from the sample
After: 600 x 600 pixels, 93,431 bytes, head 30.0 mm.
CheckOur resultRule
Pixels600 x 600600 to 1200, square
File size93.4 kB240 kB or less
CompressionAbout 11.6 to 120 to 1 or less
File typeJPGJPG

Source: Digieh test of IDlume, December 2, 2026. Tested on Chrome for Windows. Rules from the State Department.

IDlume does not edit faces or backgrounds for the United States, because edited photos are not accepted. It only measures, crops and sizes the photo.

The whole test took about a minute. The photo is checked and sized on your own device, so it is not uploaded to Digieh.

Free updates

Join the Digieh list

Be the first to know when our weekly brief launches.

No spam. Unsubscribe anytime. Read our Privacy Policy.

What Must the Photo Itself Show?

The file rules are only half of it. The State Department’s Photo Requirements also set rules for the picture.

  • Taken within the last 6 months.
  • Plain white or off-white background.
  • Full face, looking straight at the camera.
  • Neutral expression with both eyes open.
  • Everyday clothing. No uniforms, except religious clothing worn daily.
  • No hat or head covering unless worn daily for religion, and it must not shadow the face.
  • No headphones or hands-free devices. Hearing devices you normally wear are fine.

Eyeglasses are no longer allowed in new visa photos. The only exception is a rare medical case with a signed statement from a medical professional.

Which visa photo rule surprised you most?

  • The 20 to 1 compression rule
  • No eyeglasses
  • The square size
  • The 240 kB limit
  • Not sure

How Big Should the Head Be?

The State Department asks for a head that fills 50 to 69 percent of the photo height. Measure from the chin to the top of the head.

Its page also gives inches and millimeters, but the two do not match exactly. It says 1 inch to 1 3/8 inches, then writes 22 mm to 35 mm. One inch is 25.4 mm, so the inch figure is the safer guide.

On a 600 pixel photo, 50 to 69 percent means a head about 300 to 414 pixels tall. IDlume measured our test head at 30.0 mm on a 2 inch photo, inside the range.

What Causes a Photo Upload Failure?

  • The image is not square.
  • It is smaller than 600 pixels or larger than 1200 pixels.
  • It is over 240 kB.
  • It is saved as a PNG, WebP or iPhone photo format file instead of a JPG.
  • It was compressed so hard that quality dropped too far.

Photos copied or scanned from a driver’s license or another official document are not acceptable either. The final decision rests with the embassy or consulate.

Fill in the form itself on the official consular electronic application site. For visa costs, see our US visa fees guide.

What If You Want a Printed Photo Too?

Some interviews also ask for a printed photo. The size is 2 x 2 inches, or 51 x 51 mm.

If you scan an existing photo, the State Department says to scan it at 300 pixels per inch. A 2 inch photo at 300 pixels per inch gives 600 x 600 pixels.

For a passport photo taken at home, read our passport photo at home guide. To shrink other photos to a set size, see how to reduce photo size in KB.

Try this today. Put your photo’s numbers into the checker above before you open the form. It takes ten seconds.

Need a signature for an exam or job form too? See our signature resize guide for 10 to 20 KB.

Test Yourself

What is the smallest file size for a 600 x 600 visa photo?

  1. 20 kB
  2. About 54 kB
  3. 240 kB

600 x 600 x 3 bytes is 1,080 kB. Divided by 20, the limit is 54 kB.

Which file type does the State Department require?

  1. PNG
  2. WebP
  3. JPG

The digital image rules require the JPG format.

Frequently Asked Questions

Is 600 x 600 pixels enough?

Yes. It is the minimum size the State Department accepts, and it is the easiest size to keep under 240 kB.

Can my photo be 1200 x 1200 pixels?

Yes. But the file must then be between about 216 and 240 kB. That meets both the size and compression rules.

Can I wear glasses in my visa photo?

No, except in rare medical cases with a signed statement from a medical professional.

Can I take the photo with my phone?

Yes, as long as it meets the rules. The State Department recommends a professional visa photo service to be sure.

Is a visa photo the same as a passport photo?

Both are 2 x 2 inches when printed. This guide covers the visa form. Passport renewals have their own rules.

Conclusion

A valid visa photo file is square, 600 to 1200 pixels, a JPG and no larger than 240 kB. It must also stay within 20 to 1 compression. So a 600 x 600 file should be at least 54 kB. Check your numbers, then upload.

Editor’s Note

This guide is accurate as of December 2, 2026. We checked the State Department photo pages and tested IDlume on that date.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Keep exploring

Your next read is waiting

Found this useful?

Share this post
Avatar photo

Syed Wasif Raza

Syed Wasif Raza is the founder and editor of Digieh. He writes about health, food, lifestyle, news and sports in plain, easy English. Every guide he publishes is checked against official sources such as government and health agency pages. Connect with him on LinkedIn.

Articles: 909

Leave a Reply

Your email address will not be published. Required fields are marked *