Charles Babbage: the Difference Engine

About this lesson: Charles Babbage: the Difference Engine

Black-and-white photograph of Charles Babbage in a dark coat, 1860

Photograph, 1860, photographer unknown (public domain), via Wikimedia Commons.

What is Charles Babbage famous for?

Babbage designed the Difference Engine to print error-free tables, and later the Analytical Engine, a general-purpose computer. Neither was finished in his lifetime, but a Difference Engine built from his plans in 1991 works perfectly.

Charles Babbage at a glance

Born
26 December 1791 (London, England)
Died
18 October 1871 (London, aged 79)
Professor
Lucasian, Cambridge (1828–1839, Newton's old post)
Famous for
Difference Engine (first designed in 1822)
Built at last
1991 (Science Museum, London)
Its size
8,000 parts (about 5 tonnes)

What Babbage gave the world

  • 1822: The Difference Engine. A machine to calculate number tables automatically by adding differences.
  • 1834: The Analytical Engine. A design with a memory ('store'), a processor ('mill') and punched-card programs.
  • 1832: Economy of Machinery. A book about how factories and machines work best.
  • 1991: Proof it works. The engine built from his plans calculates correctly.

What you'll explore

Meet the scientist: The man who hated mistakes
Charles Babbage was born in 1791 in London. He was a mathematician who was furious about errors in printed number tables.
The problem: Tables full of mistakes
Sailors, engineers and bankers used books of number tables worked out by people called 'computers'. People get tired and make slips.
1822 · The Difference Engine: A machine that only adds
Babbage's trick: the differences between square numbers go up by 2 each time. So squares can be made by adding alone.
More columns, harder sums: Cubes need three differences
For cube numbers (1, 8, 27…) the third differences are always 6. With one more column, the same adding machine makes cubes. His Difference Engine No.
Check yourself: How does the engine work?
The Difference Engine works out a table such as 1, 4, 9, 16, 25… with brass wheels.

Also in this lesson

  • Babbage, year by year
  • Stories about Babbage

Key words

Difference
What you get by subtracting one number in a list from the next.
Method of differences
Making a table by repeatedly adding differences.
Difference Engine
Babbage's machine for calculating and printing tables.
Analytical Engine
His later design for a programmable, general-purpose computer.
Human computer
Before machines, a person whose job was to do calculations.
Crank
A handle you turn to drive a machine.

Sources

  • Charles Babbage, Wikipedia: https://en.wikipedia.org/wiki/Charles_Babbage
  • Difference engine, Wikipedia: https://en.wikipedia.org/wiki/Difference_engine
  • Difference Engine No. 2, Science Museum Group collection: https://collection.sciencemuseumgroup.org.uk/objects/co526657/difference-engine-no-2
  • The Babbage Engine: A Modern Sequel, Computer History Museum: https://www.computerhistory.org/babbage/modernsequel/
  • Photograph (1860), Wikimedia Commons, public domain.

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 5-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 11 November 2026.

← Michael Faraday: motors, generators and cages · Mary Anning: sea dragons in the cliffs →

All lessons in Enlightenment and the Industrial Revolution · Great Scientists