This is a big math machine. 

A difference engine is a math machine. 
The machine uses many wheels to count. You turn a handle to make it work. It can add numbers together. 
This helps people make math tables. These tables help with science and travel. It is much faster than people.
One big machine would have many parts. It would weigh as much as four cars.
People still build these machines today. They show how the old plans work. It is a very smart idea!
A difference engine is a mechanical calculator. 

The engine works using many columns. Each column holds one decimal number. To start, you set initial values in the columns. Then, you turn a handle to power the machine. The machine adds values from one column to the next. This set of steps makes the math happen automatically.
Babbage's big design was very complex. One version would have 25,000 parts. It would weigh 4 tons. In the 1880s, people built working models from his plans. One model at the Science Museum has 8,000 parts. It weighs about 5 tons.
A difference engine is an automatic mechanical calculator. 

The machine works by using many different columns. Each column can store one decimal number. To start the work, you must set initial values in the columns. Column 1 shows the value of the calculation as it happens. Column 2 is set using a special value from the math pattern. The machine then adds the value of one column to the next column. This way of working allows the machine to find new numbers automatically. You power the machine by turning a hand crank.
Charles Babbage began designing these machines in the 1820s. He announced his invention in June 1822 to a scientific group in London. The British government wanted to help him because making math tables was very expensive. In 1823, they gave Babbage £1700 to start his work. However, making the metal parts was a very hard job back then. The metalworking tools could not make the tiny parts with enough precision. Because of this, the big project was eventually stopped by the government.
Babbage had many different ideas for his machines. His plan for Difference Engine No. 1 was huge. It would have had 25,000 parts and weighed 4 tons. He also designed an improved version called Difference Engine No. 2. This newer design could work with 31-digit numbers. 
We can see how these machines worked by looking at modern replicas.
A difference engine is an automatic mechanical calculator designed to tabulate polynomial functions. 
The mechanism of the engine relies on a series of vertical columns. 
Different versions of these engines varied significantly in their complexity and capacity. Charles Babbage's original plan for Difference Engine No. 1 was massive. It was designed to use 20-digit numbers and operate by sixth-order differences. This specific design would have required about 25,000 parts and weighed 4 tons. Later, Babbage designed an improved version called Difference Engine No. 2. This improved design could handle 31-digit numbers and seventh-order differences. Other inventors created different types of machines as well. For example, the Scheutzian engine was capable of printing its results. 
The history of the difference engine began with early mechanical ideas. The concept of mechanical calculation traces back to the Antikythera mechanism from the 2nd century BC. In the 17th century, thinkers like Pascal and Leibniz created early modern examples. In 1784, an engineer named J. H. Müller devised an adding machine. He described the principles of a difference machine in a book published in 1786. However, Müller could not find the funding to finish his work. Charles Babbage took up the mantle in the 1820s. He announced his invention to the Royal Astronomical Society on June 14, 1822. This announcement focused on applying machinery to astronomical and mathematical tables.
Babbage's work was marked by both great ambition and significant financial struggle. The British government initially supported him because manual table production was expensive. In 1823, they provided Babbage with £1,700 to start the project. However, the metalworking technology of the 1800s could not produce parts with enough precision. This made the project much more expensive than the government expected. By the time the government abandoned the project in 1842, Babbage had spent over £17,000. Despite this, he had not achieved a fully working large-scale engine. The government focused on the cost of development rather than the potential value of the machine's output.
Notable examples of these machines show how the technology evolved over time. Per Georg Scheutz, a Swedish inventor, was inspired by Babbage in 1834. He built a model that could calculate series using 5-digit numbers. By 1853, he finished a larger machine that used 15-digit numbers. This machine was the first printing calculator ever sold when it went to New York in 1857.
Today, we can study these machines through modern, working replicas. In the 1980s, researchers at the University of Sydney used Babbage's original drawings to build a working section of Difference Engine No. 2. The Science Museum in London also completed a version that weighs about 5 tons and contains 8,000 parts. These replicas even include Babbage's designed printer. The printer was meant to create stereotype plates for mass printing. Babbage wanted to prevent the errors that occurred during manual typesetting. These modern machines connect us to the history of computing and show how mechanical logic paved the way for digital technology.
🖼️ Images & Media (5)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.