Wrench (tool)

A wrench is a fastening tool used to manipulate threaded fasteners such as nuts and bolts. The wrench is sized and shaped to put pressure and leverage on flat faces of the fastener, and then is moved in the direction of rotation needed to loosen or tighten the fastening assembly.

The most common hand wrenches either are open-ended, such that they have sides parallel to two or more facets of the nut, or variously called box or socket, which surround all sides of the nut. A box wrench is a hand tool that can drop over the nut no matter how much of the screw or bolt protrudes, while a socket wrench has a maximum depth of shaft that it can accept. The advantage of sockets is that they can be attached to a wide range of drivers, for mechanical power advantage and sometimes simply to reach the nut through a flexible driveshaft.

Socket wrench
Sockets proper are single pieces of cast or machined metal, with one end shaped to slip over the fastener to be manipulated, and the other to receive a driveshaft to turn it. The shaft end may actually have a depression, or even a spring-loaded bearing, to help lock the shaft into place. In combination, the driveshaft and socket are extremely strong in rotation, but should separate easily with linear traction.

The most basic driver is a shaft with a handle, much like a screwdriver, but with a socket-mating connector rather than a screwdriver bit. Another very common variant, called an extension, has a male connector that mates with the socket at one end, and a female connector that accepts another socket tool at the other. Multiple extensions can be snapped together for extra length.

Most often, however, at the end of the extension away from the socket, a tool to improve the leverage of driving is attached. One such tool is a ratchet, which, at first, looks like an open-ended or box wrench. The male connector, however, is attached to a disk and mechanical components inside the ratchet head. There is a small control that selects the direction (i.e., loosening or tightening) in which the socket is to be moved. Once that control is set, the ratchet moves freely in the other direction, so it can be repositioned easily; it is not necessary to have 360 degree access above the fastener -- just enough working space to move the ratchet handle.