Rotation can occur in two possible directions. A clockwise (typically abbreviated as CW) motion is one that proceeds in the same direction as a clock's hands: from the top to the right, then down and then to the left, and back up to the top. The opposite sense of rotation or revolution is (in Commonwealth English) anticlockwise (ACW), or (in North American English) counterclockwise (CCW). In a mathematical sense, a circle defined parametrically in a positive Cartesian plane by the equations x = cos t and y = sin t is traced anticlockwise as t increases in value.
Before clocks were commonplace, the terms "sunwise" and "deasil", "deiseil" and even "deocil" from the Scottish Gaelic language and from the same root as the Latin "dexter" ("right") were used for clockwise. "Widdershins" or "withershins" (from Middle Low German "weddersinnes", "opposite course") was used for anticlockwise.
The terms clockwise and anticlockwise can only be applied to a rotational motion once a side of the rotational plane is specified, from which the rotation is observed. For example, the daily rotation of the Earth is clockwise when viewed from above the South Pole, and anticlockwise when viewed from above the North Pole.
Clocks traditionally follow this sense of rotation because of the clock's predecessor: the sundial. Clocks with hands were first built in the Northern Hemisphere (see main article), and they were made to work like sundials. In order for a horizontal sundial to work (in the Northern Hemisphere), it must be placed looking northward. Then, when the Sun moves in the sky (east to south to west), the shadow cast on the opposite side of the sundial moves with the same sense of rotation (west to north to east). This is why hours were drawn in sundials in that manner, and why modern clocks have their numbers set in the same way. Note, however, that on a vertical sundial (such as those placed on the walls of buildings), the shadow moves in the opposite direction, and some clocks were constructed to mimic this. The best-known surviving example is the astronomical clock in the Münster Cathedral, whose hands move anticlockwise.