While serving in the French army, he built his first arithmometer, which could perform basic addition, subtraction, multiplication, and division. The first mechanical calculator to gain widespread use, it became a commercial success and was still being used up to World War I.