# Stepped reckoner

The **step reckoner** (or **stepped reckoner**) was a digital mechanical calculator invented by the German mathematician Gottfried Wilhelm Leibniz around 1672 and completed in 1694.^{[1]} The name comes from the translation of the German term for its operating mechanism, *Staffelwalze*, meaning 'stepped drum'. It was the first calculator that could perform all four arithmetic operations.^{[2]}

Its intricate precision gearwork, however, was somewhat beyond the fabrication technology of the time; mechanical problems, in addition to a design flaw in the carry mechanism, prevented the machines from working reliably.^{[3]}^{[4]}

Two prototypes were built; today only one survives in the National Library of Lower Saxony (Niedersächsische Landesbibliothek) in Hanover, Germany. Several later replicas are on display, such as the one at the Deutsches Museum, Munich.^{[5]} Despite the mechanical flaws of the stepped reckoner, it suggested possibilities to future calculator builders. The operating mechanism, invented by Leibniz, called the *stepped cylinder* or *Leibniz wheel*, was used in many calculating machines for 200 years, and into the 1970s with the Curta hand calculator.

## Description[edit]

The stepped reckoner was based on a gear mechanism that Leibniz invented and that is now called a Leibniz wheel. It is unclear how many different variants of the calculator were made. Some sources, such as the drawing to the right, show a 12 digit version.^{[4]} This section describes the surviving 16 digit prototype in Hanover.

The machine is about 67 cm (26 inches) long, made of polished brass and steel, mounted in an oak case.^{[1]} It consists of two attached parallel parts; an accumulator section to the rear, which can hold 16 decimal digits, and an 8 digit input section to the front. The input section has 8 dials with knobs to set the operand number, a telephone-like dial to the right to set the multiplier digit, and a crank on the front to perform the calculation. The result appears in the 16 windows on the rear accumulator section. The input section is mounted on rails and can be moved along the accumulator section with a crank on the left end that turns a worm gear, to change the alignment of operand digits with accumulator digits. There is also a tens-carry indicator and a control to set the machine to zero. The machine can:

- add or subtract an 8-digit number to / from a 16-digit number
- multiply two 8-digit numbers to get a 16-digit result
- divide a 16-digit number by an 8-digit divisor

Addition or subtraction is performed in a single step, with a turn of the crank. Multiplication and division are performed digit by digit on the multiplier or divisor digits, in a procedure equivalent to the familiar long multiplication and long division procedures taught in school. Sequences of these operations can be performed on the number in the accumulator; for example it can calculate roots by a series of divisions and additions.

## History[edit]

Leibniz got the idea for a calculating machine in 1672 in Paris, from a pedometer. Later he learned about Blaise Pascal's machine when he read Pascal's *Pensees*. He concentrated on expanding Pascal's mechanism so it could multiply and divide. He presented a wooden model to the Royal Society of London on 1 February 1673 and received much encouragement. In a letter of 26 March 1673 to Johann Friedrich, where he mentioned the presentation in London, Leibniz described the purpose of the "arithmetic machine" as making calculations "*leicht, geschwind, gewiß*" [*sic*], i.e. easy, fast, and exact. Leibniz also added that theoretically the numbers calculated might be as large as desired, if the size of the machine was adjusted; quote: "*eine zahl von einer ganzen Reihe Ziphern, sie sey so lang sie wolle (nach proportion der größe der Machine)*" [*sic*]. In English: "a number consisting of a series of figures, as long as it may be (in proportion to the size of the machine)". His first preliminary brass machine was built between 1674 and 1685. His so-called older machine was built between 1686 and 1694. The 'younger machine', the surviving machine, was built from 1690 to 1720.^{[6]}

In 1775 the 'younger machine' was sent to the University of Göttingen for repair, and was forgotten. In 1876 a crew of workmen found it in an attic room of a university building in Göttingen. It was returned to Hanover in 1880. From 1894 to 1896 Artur Burkhardt, founder of a major German calculator company restored it, and it has been kept at the Niedersächsische Landesbibliothek ever since.

## Operation[edit]

The machine performs multiplication by repeated addition, and division by repeated subtraction. The basic operation performed is to add (or subtract) the operand number to the accumulator register, as many times as desired (to subtract, the operating crank is turned in the opposite direction). The number of additions (or subtractions) is controlled by the multiplier dial. It operates like a telephone dial, with ten holes in its circumference numbered 0–9. To multiply by a single digit, 0–9, a knob-shaped stylus is inserted in the appropriate hole in the dial, and the crank is turned. The multiplier dial turns clockwise, the machine performing one addition for each hole, until the stylus strikes a stop at the top of the dial. The result appears in the accumulator windows. Repeated subtractions are done similarly except the multiplier dial turns in the opposite direction, so a second set of digits, in red, are used. To perform a single addition or subtraction, the multiplier is simply set at one.

To multiply by numbers over 9:

- The multiplicand is set into the operand dials.
- The first (least significant) digit of the multiplier is set into the multiplier dial as above, and the crank is turned, multiplying the operand by that digit and putting the result in the accumulator.
- The input section is shifted one digit to the left with the end crank.
- The next digit of the multiplier is set into the multiplier dial, and the crank is turned again, multiplying the operand by that digit and adding the result to the accumulator.
- The above 2 steps are repeated for each multiplier digit. At the end, the result appears in the accumulator windows.

In this way, the operand can be multiplied by as large a number as desired, although the result is limited by the capacity of the accumulator.

To divide by a multidigit divisor, this process is used:

- The dividend is set into the accumulator, and the divisor is set into the operand dials.
- The input section is moved with the end crank until the lefthand digits of the two numbers line up.
- The operation crank is turned and the divisor is subtracted from the accumulator repeatedly until the left hand (most significant) digit of the result is 0
^{[citation needed]}. The number showing on the multiplier dial is then the first digit of the quotient. - The input section is shifted right one digit.
- The above two steps are repeated to get each digit of the quotient, until the input carriage reaches the right end of the accumulator.

It can be seen that these procedures are just mechanized versions of long division and multiplication.

## References[edit]

- ^
^{a}^{b}^{c}Kidwell, Peggy Aldritch; Williams, Michael R. (1992).*The Calculating Machines: Their history and development*(PDF). US: Massachusetts Institute of Technology and Tomash Publishers., pp. 38–42, translated and edited from Martin, Ernst (1925).*Die Rechenmaschinen und ihre Entwicklungsgeschichte*. Germany: Pappenheim. **^**Beeson, Michael J. (2004). "The Mechanization of Mathematics". In Teucher, Christof.*Alan Turing: Life and Legacy of a Great Thinker*. Springer. p. 82. ISBN 3-540-20020-7.**^**Dunne, Paul E. "Mechanical Calculators prior to the 19th Century (Lecture 3)".*Course Notes 2PP52:History of Computation*. Computer Science Dept., Univ. of Liverpool. Retrieved 2008-01-21.- ^
^{a}^{b}Noll, P. (2002-01-27). "Gottfried Wilhelm Leibniz". Verband der Elektrotechnik Electronik Informationstechnic e.V. (Association for Electrical, Electronic and Information Technologies. Archived from the original (PDF) on January 8, 2008. Retrieved 2008-01-21. External link in`|publisher=`

(help) **^**Vegter, Wobbe (2005). "Gottfried Wilhelm von Leibniz".*Cyber heroes of the past*. hivemind.org. Retrieved 2008-01-21.**^**Liebezeit, Jan-Willem (July 2004). "Leibniz Rechenmaschinen". Friedrich Schiller Univ. of Jena. External link in`|publisher=`

(help)

## External links[edit]

Wikimedia Commons has media related to .Leibniz calculator |

- Redshaw, Kerry. "Picture Gallery: Gottfried Wilhelm Leibniz".
*Pioneers of computing*. KerryR personal website. Retrieved 2008-07-06. Pictures of machine and diagrams of mechanism - "'The Great Humming God'".
*ChessBase News*. Chessbase GmbH, Germany. 2003-04-28. Retrieved 2008-07-06. News article in chess magazine showing closeup pictures of Hanover machine.