The Analytical Engine
Era 1 · The foundations (1763–1942) › Calculating machines and programmable computing
- Lineage
- Machines and computation
- Kind
- Theory
Who
What happened
Charles Babbage describes the Analytical Engine, successor to the Difference Engine, which had been in the works since around 1833: a machine of gears that follows a program on punched cards.
Why it mattered
The first design for a general-purpose programmable machine, with memory, an arithmetic unit, card input, and conditional branching. It was never built.
The full story
Charles Babbage, an English mathematician, had spent years trying to build a Difference Engine, a machine that could compute numerical tables without the mistakes of human calculators. Around 1833, as that project stalled, Babbage began designing something more ambitious, and in 1837 described it for the first time: the Analytical Engine.
Its organization is that of a modern computer. It has a "store," a memory for a thousand numbers of forty decimal digits, and a "mill," the unit that adds, subtracts, multiplies, divides, and compares. Instructions and data go in on punched cards, the technique that already controlled Jacquard looms, and results come out on a printer, a curve plotter, or a bell. What matters most is that it can repeat instructions and choose its next step according to a result, with loops and conditional branches: with that, in principle and given enough memory, the design could compute anything a present-day computer can.
It was never built. Babbage was still carrying the failure of the Difference Engine: a falling-out with the chief engineer, Joseph Clement, had been followed by the British government withdrawing its funding. In 1878, seven years after Babbage's death, a committee of the British Association called the engine "a marvel of mechanical ingenuity" but advised against building it. Babbage's son Henry assembled part of the mill, which in 1910 computed a list of multiples of pi, with errors.
Babbage explained the machine in public only once, in Turin in 1840. That lecture gave rise to the article by Luigi Menabrea that Ada Lovelace translated and annotated in 1843.
Four boxes: punched cards feeding the mill; the mill connected to the store and to the printer; beneath each box, its modern counterpart.
Leads to
Ada Lovelace's notes (August 1843)
Documented direct influence
The notes comment on and expand the description of the Analytical Engine
El Ajedrecista and the Essays on Automatics (1912)
Documented direct influence
The Essays on Automatics review Babbage's machines and propose doing with relays what Babbage meant to do with gears
Sources
Original source
- Sketch of the Analytical Engine invented by Charles Babbage, by L. F. Menabrea, with notes by the translator, Ada Lovelace (Fourmilab transcription) (opens in a new tab). Luigi Federico Menabrea and Ada Lovelace, 1843. public domain
Further reading
How to cite
“The Analytical Engine.” The History of AI, revised November 13, 2026. https://thehistoryofai.com/en/milestone/babbage-analytical-engine
This entry was last reviewed on November 13, 2026.