The adding machine was invented by French mathematician, physicist and philosopher Blaise Pascal. Pascal developed his mechanical device, which he named the Pascaline, in 1642. The apparatus, whose predecessor was the abacus, is regarded as the original digital calculator in that it operated by counting integers.
In 1671, the German mathematician and philosopher Gottfried Wilhem von Leibniz expanded on its design, resulting in the Step Reckoner, a calculating machine first built in 1673. The Step Reckoner could multiply as well as add by using repeated addition and shifting.
The first modern computer, the Analytical Engine, was not conceived until several years later in 1834 by English mathematician and mechanical engineer Charles Babbage.