A square nut has four flats instead of six, giving a larger bearing surface for the same thread and a shape that resists turning in a slot or recess. It is common on older equipment, timber structures and decorative or heritage work, and is often paired with a square-head bolt.
Because fewer wrench positions are available, square nuts suit low-clearance or hand-tooled assembly better than high-volume power driving. Confirm the standard, the class and the finish the customer expects, since square nuts are often specified for appearance as much as function. Check that the line has a matching wrench or socket.