The exact measurements
A 2×2 photo is 2 inches by 2 inches, which equals 51×51 mm. At the standard print resolution of 300 DPI, that is 600×600 pixels. Your head (from the top of the hair to the chin) should measure between 1 and 1.4 inches (25–35 mm).
Other rules that matter
The background must be white or off-white, your face must be centred, and the photo must be recent. SnapPass applies all of these automatically when you select the US passport or US visa option.
Printing your 2×2 photo
SnapPass produces a 4×6 inch print sheet with two identical 2×2 photos and cut lines, so you can print at any photo kiosk and cut them out precisely.