Blaise Pascal invented the first mechanical calculator, known as the Pascaline, in the 17th century. This device was designed to assist with arithmetic calculations, specifically addition and subtraction. Pascal's invention laid the groundwork for future developments in computing technology.