The computer was not invented on a single date. The concept traces to Charles Babbage's Difference Engine design in 1822, the first programmable electronic machine was ENIAC in 1945, and the modern stored-program computer became operational with the Manchester Baby on June 21, 1948. Most historians treat 1948 as the practical birth date.
Each of those dates answers a different question. Babbage proved computation could be mechanized. ENIAC proved it could be electronic and fast. The Manchester Baby proved a machine could hold its own program in rewritable memory, the architecture every computer since has followed.
The mechanism: how the stored-program idea changed everything
Early electronic machines were rewired, not reprogrammed. ENIAC computed by routing signals through panels of cables and switches. Changing a problem meant physically reconfiguring the machine, a job that could take days.
The stored-program concept, credited to John von Neumann's 1945 draft report on EDVAC, put instructions in the same memory as data. A program became a sequence of numbers the machine could read, modify, and act on. This produced three consequences that define computing to this day.
First, the machine became general-purpose. One physical device could run any program its memory could hold. Second, programs could be loaded from tape or disk in minutes rather than rewired over days. Third, instructions could be treated as data, which made compilers and operating systems possible decades later.
The Manchester Baby, built by Frederic Williams and Tom Kilburn, was a 17-instruction test machine. On June 21, 1948, it ran a 52-minute program that found the highest factor of 2^18. That unglamorous calculation was the first execution of a program stored in electronic memory. Every laptop, phone, and server inherits that design.
Quantified context: the numbers behind the milestones
The scale gap between milestones is the clearest measure of progress. Babbage's Analytical Engine, designed from 1837 but never completed, would have held roughly 1,000 50-digit numbers and run on mechanical power alone. Its speed would have been a few operations per second at best.
ENIAC filled a room of about 1,800 square feet, weighed 30 tons, and drew 150 kilowatts. It held 20 accumulators, each storing a 10-digit number, and could perform roughly 5,000 additions per second. That was about 1,000 times faster than any electromechanical calculator of the era.
The Manchester Baby had 32 words of memory, each 32 bits. It ran at roughly 1,000 instructions per second. The machine's memory was a cathode-ray tube that stored bits as charged spots, a fragile trick that lasted only moments before needing refresh.
The Manchester Mark 1, the Baby's successor, reached 4,096 words of memory in 1949. The Ferranti Mark 1, delivered in February 1951, became the first computer sold commercially. By that point the machine could store a real program and run it reliably for hours, which is the practical threshold most historians use for "invented."
Timeline: from design to stored program
| Year | Machine or event | Significance |
|---|---|---|
| 1822 | Babbage's Difference Engine design | First mechanized computation concept |
| 1837 | Babbage's Analytical Engine design | First programmable mechanical computer design, never built |
| 1936 | Turing's theoretical machine | Proved a universal computing machine was possible |
| 1941 | Z3 in Berlin | First working programmable electromechanical computer |
| 1945 | ENIAC operational | First general-purpose electronic computer, rewired not reprogrammed |
| 1945 | Von Neumann's EDVAC draft | Formalized the stored-program architecture |
| 1948 | Manchester Baby | First program stored and executed in electronic memory |
| 1951 | Ferranti Mark 1 | First commercially sold computer |
The timeline shows two distinct inventions braided together: the electronic computer and the stored-program computer. The first is a hardware achievement. The second is an architectural one, and it is the one that mattered.
Edge cases: who else can claim the title
The claim is genuinely contested, and each contender is defending a different definition.
Konrad Zuse's Z3, completed in Berlin in May 1941, was the first working programmable computer. It used electromechanical relays, read programs from punched film, and could run floating-point arithmetic. It was destroyed in 1943 and was not stored-program, so most histories rank it as a precursor rather than the invention.
Atanasoff and Berry's ABC, built at Iowa State between 1939 and 1942, was the first electronic digital computer. It solved linear equations but was not programmable in the general sense, and a 1973 court ruling recognized it as prior art in the ENIAC patent dispute.
Colossus, operational at Bletchley Park in 1943, was electronic and fast but dedicated to codebreaking. It was not general-purpose and was kept secret for decades, which kept it out of the early historical record.
Harvard's Mark I, completed in 1944, was electromechanical and programmed by paper tape. It was reliable and well documented, but it was not electronic and not stored-program.
The professional caveat: "invented" is the wrong verb for a distributed achievement. No single person or machine crossed every threshold at once. Zuse, Atanasoff, Turing, von Neumann, Mauchly, Eckert, and the Manchester team each contributed a necessary piece, and the patent fights over ENIAC's priority showed how little the legal record matched the engineering reality.
Misconceptions: what the popular story gets wrong
The most common error is treating ENIAC as the first computer. It was the first electronic general-purpose computer, but it was programmed by rewiring, and it was not the first programmable machine. The Z3 predates it by four years.
The second error is crediting one person. Babbage designed but never built. Turing theorized but never engineered. Von Neumann wrote the architecture report but did not build the Manchester machine. The stored-program idea emerged from a group, and the 1945 EDVAC draft synthesized work by Eckert and Mauchly as much as von Neumann's own.
Red flags to watch for in other explainers:
A single "invention date" presented without defining which computer. Claims that ENIAC was programmable in the software sense. Credit to one inventor without mentioning the Manchester Baby. Confusion between the Difference Engine (1822) and the Analytical Engine (1837). Dates for Colossus used to argue it was the first computer, ignoring its single purpose. "First computer" claims that quietly exclude non-US or non-electronic machines.
The third misconception is that early machines were useless toys. The Baby's 52-minute factor-finding run was trivial, but the Mark 1 that followed ran real mathematics and was sold to universities and government labs. The architecture was proven within three years, which is fast by any standard.
Comparison: the contenders side by side
| Machine | Year | Electronic? | Stored program? | Claim to fame |
|---|---|---|---|---|
| Babbage Analytical Engine | 1837 design | No | Conceptually yes | First programmable design |
| Z3 | 1941 | No (relays) | No | First working programmable computer |
| ABC | 1942 | Yes | No | First electronic digital computer |
| Colossus | 1943 | Yes | No | First large-scale electronic codebreaker |
| Harvard Mark I | 1944 | No | No | Reliable electromechanical workhorse |
| ENIAC | 1945 | Yes | No | First general-purpose electronic computer |
| Manchester Baby | 1948 | Yes | Yes | First stored-program execution |
The table makes the ranking explicit. Only one row hits all three properties of electronic, general-purpose, and stored-program, and that row is 1948.
Practical actions: how to answer the question for your purpose
The right date depends on what you need it for. Use this decision rule.
If you need a single date for a school report, use 1948 with the Manchester Baby, and note 1822 for Babbage's design. If you are writing about electronic computing, use 1945 and ENIAC. If you are discussing programmable machines before electronics, use 1941 and the Z3. If you are covering the theoretical foundation, use 1936 and Turing's paper.
Concrete steps for a defensible answer:
Define your threshold first: mechanical design, working programmable machine, electronic machine, or stored-program machine. State the machine and date that meets that threshold. Name one predecessor and one successor to show the chain. Avoid claiming any single machine was "the first computer" without the qualifier. Cite a museum or academic history source rather than a general explainer.
For a talk or article, the strongest framing is the two-invention split. The electronic computer arrived between 1941 and 1945. The modern computer, meaning the stored-program machine, arrived in 1948 and was commercialized by 1951. That framing survives scrutiny from every direction.
Limitations: what the record cannot settle
The historical record has real gaps. Colossus was classified until the 1970s, so its absence from early histories distorted the timeline for a generation. Zuse's work was largely unknown outside Germany until after the war. The 1973 Honeywell v. Sperry Rand ruling invalidated the ENIAC patent partly on Atanasoff's prior work, which reshuffled credit decades after the fact.
Definitions also resist precision. "General-purpose" and "programmable" have fuzzy edges. The Baby was a test machine with 32 words of memory, not a useful computer. The Mark 1 was the first practical stored-program machine, but it was not the first demonstration. Which one counts as the invention depends on whether you weight demonstration or utility.
What can be concluded with confidence is the sequence: concept in the 1830s, working programmable machines in the early 1940s, electronic general-purpose machines by 1945, and the stored-program architecture proven in 1948. The exact label of "invented" is a matter of definition, and any source that hides that uncertainty is oversimplifying.