The 5×5 cm (50×50 mm) photo is a square format used for Schengen visas and various EU documents.
At 300 dpi, a 5×5 cm photo is 591×591 pixels.