A socket wrench is a type of wrench or spanner that has a socket attached at one end, usually used to turn a fastener.
The most prevalent form is the ratcheting socket wrench, often called a ratchet. A ratchet is a hand tool in which a metal handle is attached to a ratcheting mechanism, which attaches to a socket, which in turn fits onto a type of bolt or nut. Pulled or pushed in one direction, the ratchet loosens or tightens the bolt or nut attached to the socket. Turned the other direction, the ratchet does not turn the socket but allows the ratchet handle to be re-positioned for another turn while staying attached to the bolt or nut. This ratcheting action allows the fastener to be rapidly tightened or loosened in small increments without disconnecting the tool from the fastener. A switch is built into the ratchet head that allows the user to apply the ratcheting action in either direction, as needed, to tighten or loosen a fastener. Other common methods of driving socket wrenches include pneumatic impact wrenches, hydraulic torque wrenches, torque multipliers and breaker bars. Some lesser known hybrid drivers include striking wrench tools with square drive, and hydraulic impact wrenches (typically powered by on site hydraulic power such as present with military tanks, and many rail car applications).
Socket wrenches are most commonly hexagonal, or more commonly referred to as "6-point" in lay terms. Sockets are driven by being attached to the driving tool via a male/female square connection fitting (called the square drive). Standard sizes of square drives around the world include 1/4", 3/8", 1/2", 3/4", 1", 1-1/2", 2-1/2" and 3-1/2" square drive sizes (a de facto international standard with no metric equivalents) along with some lesser used drivers such as 5/8" square drive, and both #4 and #5 spline drives specified in ANSI B107 specifications. This wide range of square drive sizes provides for a wide variety of socket types and sizes to suit small to very large nuts and bolts. Some square drivers have a through hole to attach the socket to the driver (using a retaining ring with o-ring and pin type, or single piece molded retaining rings), a locking pin, or friction ball. Some common hand ratchets employ a quick release button on their top for quick socket release of smaller sockets.The tool chosen to drive the socket wrench ultimately supplies the mechanical advantage needed by the user to provide the torque needed to loosen or tighten the fastener as may be required. Larger drivers are typically used with higher torque, while smaller drivers are used for convenience in smaller low torque applications. Given the limits of human strength and fatigue, torque above 600 ft-lbs of torque will generally involve some kind of power assist, instead of the user simply pushing on the handle of a wrench. Very large sockets and drivers are typically powered by hydraulics to achieve torque.