The First General-Purpose Computer Was Built in 1946
ENIAC (Electronic Numerical Integrator and Computer), completed in February 1946 at the University of Pennsylvania, is widely recognized as the first general-purpose electronic computer. It weighed 30 tons, occupied 1,800 square feet of floor space, and used 18,000 vacuum tubes to perform calculations. ENIAC could add two numbers in 200 microseconds — fast for the time, but slow compared to any pocket calculator today.
Before ENIAC, machines existed that could perform specific tasks: mechanical calculators, punch-card tabulators, and specialized code-breaking devices built during World War II. What made ENIAC different was that it could be reprogrammed to solve different problems without rewiring its circuits. That flexibility is what makes it the ancestor of modern computers.
The machine was built to calculate artillery firing tables for the U.S. Army Ballistic Research Laboratory. Its first major task was computing hydrogen bomb physics for the Los Alamos National Laboratory. ENIAC ran continuously for nearly a decade, though it required constant maintenance because vacuum tubes burned out frequently.
Key Takeaways
- ENIAC, completed in 1946, is recognized as the first general-purpose electronic computer and could be reprogrammed to solve different problems.
- Earlier machines like mechanical calculators and punch-card tabulators could perform specific tasks but were not programmable in the modern sense.
- ENIAC weighed 30 tons, used 18,000 vacuum tubes, and was built to calculate military firing tables during the Cold War.
- The machine demonstrated that electronic computation was practical, which led directly to the computers that followed in the 1950s and beyond.
Earlier Machines That Led to ENIAC
The path to ENIAC began decades earlier. In the 1920s and 1930s, Vannevar Bush at MIT built the Differential Analyzer, an analog computer that used mechanical gears and shafts to solve differential equations. It was powerful for its time but could not be easily reprogrammed and was not electronic.
During World War II, the British built Colossus at Bletchley Park to break German Enigma codes. Colossus used vacuum tubes and was electronic, but it was a single-purpose machine designed only for code-breaking. Once the war ended, it was dismantled and kept secret for decades.
In Germany, Konrad Zuse built the Z3 in 1941, an electromechanical computer that used relays instead of vacuum tubes. The Z3 was programmable and could perform floating-point arithmetic, but it was slower than ENIAC and was destroyed during World War II bombing.
How ENIAC Worked and What It Could Calculate
ENIAC performed calculations by routing electrical pulses through vacuum tubes. Each tube acted as a switch that could be turned on or off, representing the 1s and 0s of binary code. Thousands of tubes working together could add, subtract, multiply, divide, and perform square roots.
Programming ENIAC meant physically rewiring circuits and setting thousands of switches by hand. A single program could take days or weeks to set up. Six women — Betty Jennings, Betty Snyder, Fran Bilas, Ruth Lichterman, Marlyn Meltzer, and Fran Presper — did much of the early programming work, though their contributions were largely uncredited at the time.
The machine consumed 150 kilowatts of electricity and generated enormous heat. It required a dedicated cooling system and a team of technicians to keep it running. Despite these limitations, ENIAC could perform 5,000 additions per second, which was revolutionary for 1946.
The Shift from Vacuum Tubes to Transistors
ENIAC's vacuum tubes were its greatest weakness. They burned out constantly, and replacing them meant shutting down the machine. In 1947, the transistor was invented at Bell Labs, but it took years for transistors to become small and reliable enough to replace tubes in computers.
By the mid-1950s, computers like the IBM 650 and UNIVAC used transistors instead of vacuum tubes. These machines were smaller, more reliable, and consumed far less power than ENIAC. The transistor revolution made computers practical for businesses and universities, not just military laboratories.
The shift from vacuum tubes to transistors, and later to integrated circuits in the 1960s, followed a pattern that continues today: each generation of computers became smaller, faster, and cheaper than the last.
Why ENIAC Matters to Computing History
ENIAC proved that electronic computation was not just theoretically possible but practically useful. Its success convinced governments, universities, and eventually businesses that computers were worth the enormous cost and effort to build and maintain.
The design principles ENIAC used — binary representation, vacuum tube switches, and stored programs — became the foundation for all computers that followed. Modern computers still use binary code and the same basic logic that ENIAC's engineers developed in 1946.
ENIAC also established the pattern of computer development: each new machine was faster and more capable than the last, and each one opened new possibilities for what computers could do. That pattern has continued for over 75 years.
Other Early Computers and Their Contributions
After ENIAC, several other early computers made important contributions. The EDVAC (Electronic Discrete Variable Automatic Computer), also built at the University of Pennsylvania, introduced the idea of storing programs in the computer's memory rather than rewiring circuits. This made reprogramming much faster.
The Manchester Mark 1, built in Britain in 1948, was the first computer to successfully run a stored program. The UNIVAC I, delivered to the U.S. Census Bureau in 1951, was the first computer sold commercially. These machines were smaller and more practical than ENIAC, though still enormous by modern standards.
Each of these early computers taught engineers something new about how to design, build, and program machines. The rapid progress from 1946 to 1960 was driven by competition between universities, governments, and companies to build faster and more capable machines.
Frequently Asked Questions
Was ENIAC really the first computer ever made?
ENIAC is recognized as the first general-purpose electronic computer, meaning it could be reprogrammed to solve different problems. Earlier machines like Colossus and the Z3 existed, but they were either single-purpose or electromechanical rather than fully electronic. The definition of "first" depends on what you mean by computer.
How long did it take to build ENIAC?
ENIAC took about three years to build, from 1943 to 1946. The project was led by John Mauchly and J. Presper Eckert at the University of Pennsylvania. It cost roughly $500,000, which is equivalent to about $8 million in today's money.
Could ENIAC run multiple programs at the same time?
No. ENIAC could only run one program at a time. Switching between programs meant physically rewiring circuits and resetting switches, which took hours or days. Modern computers run thousands of programs simultaneously through a process called multitasking.
How much memory did ENIAC have?
ENIAC had about 5 kilobytes of memory, stored using mercury delay lines. A modern smartphone has roughly 100 million times more memory. Despite this tiny capacity, ENIAC could still perform useful calculations for military and scientific work.
What happened to ENIAC after it stopped being used?
ENIAC ran until 1955, when it was decommissioned. Parts of it were preserved and eventually donated to the Smithsonian Institution. The machine is no longer functional, but its design and engineering principles are documented and studied by computer historians.