What 640×640 is for
640 × 640 is the size that defined the square social post. Instagram served images at exactly this resolution for much of its early history, and a great deal of tooling and template design still assumes it.
The platform now prefers 1080 × 1080, but 640 remains a practical size for product grids and anywhere a square needs to be sharp without being heavy.