A crankshaft—related to crank—is a mechanical part able to perform a conversion between reciprocating motion and rotational motion. In a reciprocating engine, it translates reciprocating motion of the piston into rotational motion; whereas in a reciprocating compressor, it converts the rotational motion into reciprocating motion. In order to do the conversion between two motions, the crankshaft has "crank throws" or "crankpins", additional bearing surfaces whose axis is offset from that of the crank, to which the "big ends" of the connecting rods from each cylinder attach.
It is typically connected to a flywheel to reduce the pulsation characteristic of the four-stroke cycle, and sometimes a torsional or vibrational damper at the opposite end, to reduce the torsional vibrations often caused along the length of the crankshaft by the cylinders farthest from the output end acting on the torsional elasticity of the metal.
A Roman iron crank of yet unknown purpose dating to the 2nd century AD was excavated in Augusta Raurica, Switzerland. The 82.5 cm long piece has fitted to one end a 15 cm long bronze handle, the other handle being lost.
The earliest evidence, anywhere in the world, for a crank and connecting rod in a machine appears in the late Roman Hierapolis sawmill from the 3rd century AD and two Roman stone sawmills at Gerasa, Roman Syria, and Ephesus, Asia Minor (both 6th century AD). On the pediment of the Hierapolis mill, a waterwheel fed by a mill race is shown transmitting power through a gear train to two frame saws, which cut rectangular blocks by way of some kind of connecting rods and, through mechanical necessity, cranks. The accompanying inscription is in Greek.