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.

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.
What Are the Digital Photo Rules?
The State Department’s Digital Image Requirements list five specifications.
| Rule | Official requirement |
|---|---|
| Dimensions | Square, minimum 600 x 600, maximum 1200 x 1200 pixels |
| Color | Color, 24 bits per pixel, standard camera color space |
| File format | JPG |
| File size | 240 kB or less |
| Compression | Ratio of 20 to 1 or less |
Source: U.S. Department of State, Digital Image Requirements, read December 2, 2026.
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 size | Smallest file | Largest file |
|---|---|---|
| 600 x 600 pixels | 54 kB | 240 kB |
| 800 x 800 pixels | 96 kB | 240 kB |
| 1000 x 1000 pixels | 150 kB | 240 kB |
| 1200 x 1200 pixels | 216 kB | 240 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.
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.

- Choose United States as the country and Visa as the document.
- Add the photo. IDlume finds the top of the head and the chin.
- Check the gold lines and the photo report.
- Enter 54 as the minimum and 240 as the maximum kB.
- Download the digital photo.


| Check | Our result | Rule |
|---|---|---|
| Pixels | 600 x 600 | 600 to 1200, square |
| File size | 93.4 kB | 240 kB or less |
| Compression | About 11.6 to 1 | 20 to 1 or less |
| File type | JPG | JPG |
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.
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?
- 20 kB
- About 54 kB
- 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?
- PNG
- WebP
- 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
1AI & TechWindows Blue Screen Stop Codes: What They Mean8 min read
2Home & KitchenGE Oven F Codes: Meanings and Safe Steps7 min read
3EcommerceeBay Fees Germany 2026: Calculator for Business Sellers7 min read
4Food & LifestyleHow to Cook Pasta: Boil Times by Shape11 min read
5SportsKnicks vs Spurs Christmas: Time, TV, Finals Rematch5 min read
6Visas & PassportsUS Visa Fees 2026: Calculator and Integrity Fee7 min readFound this useful?



