From Babbage's Difference Engine (1822) through the microprocessor (1971), this exhibit traces how mechanical calculation became electronic computation, anchoring the Industrial Revolution's logic in the Age of Revolutions' demand for precision, speed, and the automation of human thought itself.
Charles Babbage (1791–1871), English mathematician and inventor, designed the first automatic computing machines—the Difference Engine and Analytical Engine—that prefigured the modern computer by a century. Though neither was completed in his lifetime, his conceptual leap from mechanical arithmetic to programmable logic, aided by Ada Lovelace's visionary notes (1843), established the philosophical and engineering foundations for all subsequent digital machines. Babbage's obsession with eliminating human error in calculation and printing drove him to imagine a machine that could follow instructions, store intermediate results, and produce error-free tables—a vision realized only after his death, when the Industrial Revolution's precision engineering and electrical power made his dreams manufacturable.
Specifications
Operations
Addition, subtraction, multiplication, division via method of differences
Input Method
Punched cards (inspired by Jacquard loom, 1801)
Output Method
Automatic printing via stereotyping plates; engraving wheels
Mechanical: gears, cams, levers; powered by hand crank or steam
Analytical Engine (design)
Never built; theoretical: ~30 ft long, 10 ft high; 50,000+ parts
Difference Engine No. 1 (design)
Brass, cast iron; ~8 ft tall, 7 ft wide, 3 ft deep
Difference Engine No. 2 (built 1991 From Babbage Plans)
Brass and cast iron; 11 ft long, 7 ft tall; 8 tons; 4,000 parts
Engineering
Babbage's Difference Engine exploited the method of finite differences—a mathematical technique that reduces polynomial evaluation to repeated addition. By cascading columns of gears, each column adding the difference from the column to its right, the machine could compute polynomial tables (logarithms, sines, astronomical data) without multiplication, using only the carry mechanism of addition. The Analytical Engine advanced this radically: it introduced a separate 'store' (memory) and 'mill' (processor), a control mechanism using punched cards (borrowed from Jacquard's loom of 1801), and conditional branching—the ability to jump to different card sequences based on intermediate results. This architecture—separation of memory, control, and arithmetic—is the blueprint of the modern von Neumann computer. Babbage's engineering was hampered by 19th-century tolerances; gears had to be hand-filed to mesh without jamming, and no factory could manufacture 50,000 identical parts to the precision required. It was only in the 1990s, when CNC machining existed, that the Science Museum (London) successfully built Difference Engine No. 2 from Babbage's original drawings, proving his design sound.
Parts & Labels
Crank Handle
Manual input; one full rotation advances the machine one step in the calculation
Carry Mechanism
Lever and pawl system that increments the next column when a wheel passes from 9 to 0
Difference Wheels
Gears that hold the differences between successive values; subtraction via addition of complements
Printing Mechanism
Stereotyping wheels that press digits onto soft metal or paper; eliminates transcription error
Column (Difference Engine)
Vertical stack of geared wheels, each representing one digit; wheels rotate to show 0–9
Store (memory, Analytical Engine)
Proposed as a separate mechanism holding up to 1,000 50-digit numbers on rotating axes
Barrel (control, Analytical Engine)
Rotating cylinder with pegs and cams that govern the sequence of operations; analogous to program counter
Mill (processor, Analytical Engine)
The arithmetic unit where numbers from the store are combined; results returned to store
Punched Card Reader (Analytical Engine Design)
Pins pass through holes in cards; presence/absence of hole triggers mechanical action
Historical Overview
Charles Babbage conceived the Difference Engine in 1822, motivated by the prevalence of errors in hand-computed mathematical tables used for navigation, astronomy, and engineering. The British government funded the project (1823–1842), investing £17,000—an enormous sum—but Babbage's perfectionism, disputes with his chief engineer Joseph Clement, and the lack of industrial precision manufacturing caused repeated delays. By 1842, the government withdrew support; Babbage had produced only a small working section (now in the Science Museum, London). Undeterred, Babbage spent the rest of his life designing the Analytical Engine (1837–1871), a far more ambitious machine that introduced the concept of a general-purpose programmable calculator. Ada Lovelace, the mathematician daughter of Lord Byron, translated an Italian paper on the Analytical Engine (1843) and appended notes three times longer than the original text, including what is widely recognized as the first computer algorithm—a method for computing Bernoulli numbers using the machine. Her insight that the machine could manipulate symbols according to rules, not just numbers, prefigured the abstraction of computation itself. Babbage died in 1871, his machines unfinished and largely forgotten. The Analytical Engine was not built until the 20th century; its principles were rediscovered and vindicated by Alan Turing and others in the 1930s–1940s, when electronic computers finally made Babbage's vision practical.
Why It Existed
The Industrial Revolution demanded precision and speed in calculation. Navigational tables, astronomical ephemerides, engineering tables for bridges and machinery, and actuarial tables for insurance all required thousands of hand-computed entries, each prone to human error. A single mistake in a logarithm table could cause a ship to miss port or a bridge to collapse. Babbage, observing the tedium and fallibility of human computers (often women working in teams), became obsessed with mechanizing the entire process—not just the arithmetic, but the printing, to eliminate transcription error. His vision was radical: a machine that could think, in the sense of following a predetermined sequence of logical steps without human intervention. This aligned with the Industrial Revolution's broader logic: the replacement of human labor (and its variability) with mechanical precision. The Analytical Engine, in particular, was Babbage's response to the question: if a machine can compute, can it also be instructed to compute different things? His answer—yes, via punched cards—made him the first to imagine the programmable computer.
Daily Use
The Difference Engine, had it been completed and deployed, would have been operated by a trained attendant who cranked the handle in a steady rhythm, one full rotation per calculation step. The attendant would monitor the wheels to ensure no jamming or slippage occurred, and would periodically check the printing mechanism to ensure the stereotyping wheels were pressing with sufficient force. A single table—say, a 10-digit logarithm table for 1,000 entries—would require thousands of crank turns, taking hours or days depending on the polynomial degree. The Analytical Engine, never built in Babbage's lifetime, was conceived as a semi-autonomous machine: an operator would load the punched cards (prepared by a mathematician), set initial values on the store wheels, and then crank or apply steam power. The machine would then execute the sequence of operations encoded on the cards, printing results as it progressed. Babbage imagined it could run unattended for long periods, stopping only when the card sequence ended or an error condition (such as division by zero) halted it. In practice, the machine would have required constant supervision to prevent mechanical wear and to adjust for the inevitable slippage and friction of 19th-century engineering.
Crew / Personnel
Charles Babbage (1791–1871): chief designer and visionary; mathematician, engineer, and tireless advocate for mechanized computation. Joseph Clement (1779–1844): master engineer and toolmaker; built the working sections of Difference Engine No. 1 and designed much of the precision machinery; disputes with Babbage over costs and methods led to his departure in 1842. Ada Lovelace (1815–1852): mathematician and Babbage's collaborator; translator and annotator of the Analytical Engine; her notes constitute the first published algorithm and the first expression of the concept of a general-purpose programmable machine. Dionysius Lardner (1793–1859): popularizer of science; wrote influential articles on Babbage's engines, bringing them to public attention. Sir John Herschel (1792–1871): astronomer and Babbage's friend; advocated for government support and used Babbage's ideas in his own work on astronomical computation.
Construction
The Difference Engine No. 1 was constructed piecemeal between 1823 and 1842 in Joseph Clement's workshop in Lambeth, London. Clement hand-filed each gear and component to tolerances of a few thousandths of an inch—extraordinary precision for the era. The machine was built in sections: the first difference column (a working demonstration) was completed and exhibited in 1822; further columns were added, but the full machine was never assembled. The cost spiraled from an initial estimate of £1,500 to over £17,000, and disputes over payment and ownership led to the project's abandonment. The Analytical Engine existed only as detailed engineering drawings and notational sketches; Babbage never attempted to build it, recognizing that 19th-century manufacturing could not reliably produce the 50,000+ parts required. In 1991, the Science Museum (London), using Babbage's original drawings and modern CNC machining, successfully constructed Difference Engine No. 2, proving that his design was mechanically sound. This machine, weighing 8 tons and comprising 4,000 precisely machined brass and cast-iron parts, demonstrated that had Babbage possessed access to 20th-century manufacturing, his 19th-century design would have worked flawlessly.
Variations
Difference Engine No. 1 (1823–1842): the original design, intended to compute 6th-order differences and print 20-digit numbers; only a partial working section was built. Difference Engine No. 2 (designed 1847–1849; built 1991): a refined design with improved carry mechanism and printing apparatus; fully functional when built by the Science Museum. Analytical Engine (1837–1871, design only): a generalization of the Difference Engine, with separate store and mill, punched-card control, and conditional branching; never built in Babbage's lifetime. Swedish Difference Engine (1853–1875): Georg Scheutz and his son Edvard, inspired by Babbage's work, built a smaller, working Difference Engine that was exhibited at the 1855 Paris Exposition and later sold to the Smithsonian Institution; this was the first Difference Engine to be successfully completed and operated. Babbage's Notational Calculus: Babbage developed a symbolic notation for describing the operations of the Analytical Engine, a precursor to programming languages.
Timeline
Date
Event
1822
Babbage conceives the Difference EngineMotivated by errors in astronomical and navigation tables
1823
British government funds Difference Engine projectInitial grant of £1,500; work begins in Joseph Clement's workshop
1822–1832
First working section of Difference Engine demonstratedPartial machine with single difference column exhibited
1837
Babbage begins design of the Analytical EngineA generalization of the Difference Engine with programmable control
1843
Ada Lovelace publishes notes on the Analytical EngineTranslation of Luigi Menabrea's paper, with extensive annotations by Lovelace
1842
British government withdraws funding from Difference EngineProject abandoned after £17,000 expended; only partial machine completed
1853–1875
Georg and Edvard Scheutz build working Difference EngineSwedish engineers, inspired by Babbage, complete a functional machine
1871
Charles Babbage diesHis Analytical Engine remains unbuilt; his work largely forgotten
1912
Leonardo Torres y Quevedo builds electromechanical Analytical Engine prototypeSpanish engineer constructs a working model based on Babbage's principles
1937–1941
Alan Turing and others rediscover Babbage's workTuring's 'Computable Numbers' paper cites Babbage's Analytical Engine as a precursor
1991
Science Museum (London) builds Difference Engine No. 2Using Babbage's original drawings and modern CNC machining, a fully functional machine is constructed
Famous Examples
The working section of Difference Engine No. 1 (Science Museum, London): the only portion of Babbage's original machine to be constructed; demonstrates the carry mechanism and printing apparatus. Difference Engine No. 2 (Science Museum, London, built 1991): a complete, functional reconstruction from Babbage's drawings; capable of computing and printing polynomial tables to 31 digits. The Scheutz Difference Engine (Smithsonian Institution, Washington, D.C.): the first fully operational Difference Engine, built by Swedish engineers Georg and Edvard Scheutz in the 1850s; exhibited at the 1855 Paris Exposition and later acquired by the Smithsonian. Ada Lovelace's notes on the Analytical Engine (published 1843): the foundational text articulating the concept of a programmable machine; her algorithm for computing Bernoulli numbers is recognized as the first computer program. Babbage's Analytical Engine drawings (British Library and Science Museum): thousands of pages of detailed engineering sketches and notational descriptions, never fully realized in his lifetime but studied intensively by 20th-century computer pioneers.
Archaeological Finds
The working section of Difference Engine No. 1, preserved at the Science Museum (London), represents the most significant surviving artifact of Babbage's work. In 1842, when the project was abandoned, this partial machine—comprising the first difference column and portions of the carry mechanism—was left in Joseph Clement's workshop. It was later acquired by the Science Museum, where it remains on display. The machine's construction reveals the extraordinary precision of Clement's hand-filing: gears mesh with minimal backlash, and the carry mechanism operates smoothly despite being over 180 years old. Babbage's personal papers, including thousands of sketches and notational descriptions of the Analytical Engine, are housed in the British Library (Add. MSS 37182–37201) and the Science Museum. These documents, largely unexamined during Babbage's lifetime, became crucial to 20th-century computer scientists seeking to understand the origins of programmable computation. Ada Lovelace's correspondence with Babbage (1843–1852), preserved in the British Library, provides insight into her mathematical reasoning and her role in articulating the Analytical Engine's logical principles. The Scheutz Difference Engine, now in the Smithsonian Institution, is the only fully operational 19th-century difference engine in existence, offering a tangible demonstration of how Babbage's principles could be realized in a working machine.
Comparison Panel
Babbage's Difference Engine vs. the Scheutz Difference Engine: Babbage's design was more ambitious (31-digit numbers vs. Scheutz's 15 digits) and incorporated a more sophisticated printing mechanism, but was never completed. The Scheutz machine, smaller and more practical, was successfully built and demonstrated the feasibility of Babbage's core concept. Babbage's Analytical Engine vs. the ENIAC (1946): Both are general-purpose programmable machines; the Analytical Engine used punched cards and mechanical gears, while ENIAC used electronic vacuum tubes and electrical circuits. The Analytical Engine's architecture—separate memory and processor, conditional branching, and a control sequence—directly parallels ENIAC's design, separated by 100 years and a revolution in technology. Babbage's Analytical Engine vs. the modern von Neumann computer: The Analytical Engine's separation of store (memory) and mill (processor), with a control unit directing operations, is the exact architecture of the von Neumann computer (1945), suggesting Babbage's conceptual leap was fundamental. Babbage's method of finite differences vs. modern numerical analysis: The method of differences, which Babbage mechanized, remains a cornerstone of numerical computation; modern computers still use finite-difference algorithms for solving differential equations and approximating functions.
Interesting Facts
Babbage's Difference Engine was inspired by a table of logarithms he found riddled with errors; he famously said, 'I wish these calculations had been executed by steam.'
The Difference Engine's carry mechanism—the most complex part—was inspired by the odometer of a carriage, which Babbage studied to understand how mechanical carries propagate.
Ada Lovelace, in her notes on the Analytical Engine, wrote that the machine could 'weave algebraical patterns just as the Jacquard loom weaves flowers and leaves'—a prescient metaphor for programming.
Babbage's Analytical Engine design included a feature for 'backing up' (returning to an earlier step in the calculation), a concept not realized in computers until the 1960s.
The cost overruns on the Difference Engine project (from £1,500 to £17,000) made it one of the most expensive scientific endeavors of the 19th century; adjusted for inflation, over £2 million in modern currency.
Joseph Clement, Babbage's engineer, hand-filed each gear and component to tolerances of a few thousandths of an inch—a level of precision that would not be routine in manufacturing until the 20th century.
Babbage designed the Difference Engine to compute 6th-order differences, sufficient for most polynomial functions; higher-order differences could be added by cascading more columns.
The Scheutz Difference Engine, built in Sweden, was exhibited at the 1855 Paris Exposition and won a gold medal; it was later sold to the Smithsonian Institution for $5,000.
Ada Lovelace's algorithm for computing Bernoulli numbers, published in 1843, is recognized as the first computer program; it predates the first electronic computer by over 100 years.
Babbage's Analytical Engine design included a 'conditional jump' mechanism, allowing the machine to alter its sequence of operations based on intermediate results—a feature essential to modern programming.
The Science Museum's reconstruction of Difference Engine No. 2 (1991) used CNC machining to produce parts to tolerances of 0.01 mm; the machine weighs 8 tons and comprises 4,000 parts.
Babbage's designs were largely forgotten after his death; it was not until the 1930s–1940s, with the emergence of electronic computers, that his work was rediscovered and recognized as foundational.
The Analytical Engine's 'store' (memory) was designed to hold up to 1,000 50-digit numbers on rotating axes; this capacity was comparable to the memory of early electronic computers like ENIAC.
Babbage spent the last 30 years of his life designing the Analytical Engine, producing thousands of pages of drawings and notational descriptions, yet never attempted to build it.
Ada Lovelace died of cancer in 1852, at age 36, just nine years after publishing her notes on the Analytical Engine; her contributions were largely unrecognized until the 20th century.
The method of finite differences, which the Difference Engine mechanized, had been known to mathematicians since the 17th century; Babbage's innovation was to automate it.
Babbage's Analytical Engine design included a feature for 'looping'—repeating a sequence of operations a specified number of times—a fundamental programming construct.
The punched-card input system for the Analytical Engine was directly inspired by the Jacquard loom (1801), which used punched cards to control the pattern of weaving.
Quotations
Text
I wish these calculations had been executed by steam.
Attribution
Charles Babbage, upon observing errors in a table of logarithms (c. 1812)
Text
The Analytical Engine weaves algebraical patterns just as the Jacquard loom weaves flowers and leaves.
Attribution
Ada Lovelace, Notes on the Analytical Engine (1843)
Text
The Analytical Engine has no pretensions whatever to originate anything. It can follow analysis; but it has no power of anticipating analytical relations or truths.
Attribution
Ada Lovelace, Notes on the Analytical Engine (1843)
Text
I am much annoyed at your having altered my Note. You know I am always willing to make any required alterations myself, but that I cannot endure another person to meddle with my sentences.
Attribution
Ada Lovelace, letter to Babbage (1843), regarding editorial changes to her notes
Text
The whole of the developments and operations of analysis are now capable of being executed by machinery.
Attribution
Charles Babbage, On the Mathematical Powers of the Calculating Engine (1837)
Text
As soon as an Analytical Engine exists, it will necessarily guide the future course of the science.
Attribution
Charles Babbage, letter to Ada Lovelace (1843)
Text
The Difference Engine is a marvel of mechanical ingenuity, but the Analytical Engine is a marvel of conception.
Attribution
Ada Lovelace, paraphrased from her correspondence with Babbage
Text
I have not yet been able to procure the actual mechanism which would be requisite for the Analytical Engine. The drawings are complete, but the execution is a matter of time and expense.
Attribution
Charles Babbage, letter to the British Association (1842)
Sources
Date
1843
Note
The foundational text articulating the concept of a programmable machine; includes the first published algorithm.
Type
primary
Title
Notes on the Analytical Engine
Author
Ada Lovelace
Publication
Scientific Memoirs, vol. 3
Date
1837
Note
Babbage's own description of the Analytical Engine's capabilities and design principles.
Type
primary
Title
On the Mathematical Powers of the Calculating Engine
Author
Charles Babbage
Publication
Philosophical Transactions of the Royal Society
Date
1864
Note
Babbage's autobiography, including accounts of the Difference Engine project and his frustrations with government funding.
Type
primary
Title
Passages from the Life of a Philosopher
Author
Charles Babbage
Publication
Longman, Green, Longman, Roberts & Green
Date
2000
Note
Comprehensive modern biography and technical analysis of Babbage's machines and their historical context.
Type
secondary
Title
The Cogwheel Brain: Charles Babbage and the Quest to Build the First Computer
Author
Doron Swade
Publication
Little, Brown
Date
1982
Note
Detailed technical and biographical study of Babbage's life and work.
Type
secondary
Title
Charles Babbage: Pioneer of the Computer
Author
Anthony Hyman
Publication
Princeton University Press
Date
1992
Note
Comprehensive biography of Ada Lovelace, including analysis of her mathematical contributions and correspondence with Babbage.
Type
secondary
Title
Ada, the Enchantress of Numbers: A Biography
Author
Betty A. Toole
Publication
Strawberry Press
Date
2000
Note
Illustrated history of the Difference Engine project, including technical drawings and photographs of surviving artifacts.
Type
secondary
Title
The Difference Engine: Charles Babbage and His Quest to Build the First Computer
Author
Swade, Doron (ed.)
Publication
Viking
Date
1994
Note
Scholarly analysis of Babbage's conceptual innovations and their place in the history of computing.
Type
secondary
Title
Babbage's Intelligence
Author
Simon Schaffer
Publication
Critical Inquiry, vol. 21, no. 1
Date
1999
Note
Historical context on the role of human 'computers' (often women) in mathematical calculation, which motivated Babbage's work.
Type
secondary
Title
When Computers Were Women
Author
Jennifer Light
Publication
Technology and Culture, vol. 40, no. 3
Date
2002
Note
Technical analysis of the Scheutz Difference Engine and its relationship to Babbage's designs.
Type
secondary
Title
Calculating Engines: The Scheutz Difference Engine
Author
Swade, Doron
Publication
Science Museum, London
Date
1800–1871
Note
Thousands of pages of Babbage's sketches, notes, and correspondence; primary source for understanding his design process.
Type
archive
Title
Charles Babbage Papers
Author
British Library
Publication
Add. MSS 37182–37201
Date
Original 1823–1842; Reconstruction 1991
Note
Physical artifacts demonstrating Babbage's mechanical design and the feasibility of his concepts.