Part 01 / 06 c. 100 BC → 1670s

Gears That Count

Long before electricity, the story of computing started with gears, beads and wheels that could carry a number.

4 sections 2 interactives
§ 1.1

Antikythera: The World’s First Known Computer

Long before electricity, keyboards, or screens, the story of computing started with gears. In 1901, divers exploring a shipwreck off the Greek island of Antikythera found a rusted, coral-encrusted lump of bronze. When scientists eventually looked inside using modern X-rays, they were stunned. They had discovered a clockwork mechanism built over 2,000 years ago, unlike anything else known from the ancient world!

Scientists believe it was used to predict astronomical events such as the movements of the Sun, Moon, and planets, as well as eclipses. Although it was entirely mechanical, the device could perform complex calculations, leading many historians to describe it as the world’s first known .

§ 1.2 · interactive

Try it: turn the Antikythera handle

What did all those gears actually do? On the front of the mechanism was a large dial. Pointers showed where the Sun and the Moon stood among the constellations of the zodiac, and a small ball, half light and half dark, turned to show the phase of the Moon. A handle on the side drove the main gear wheel round once a year. From there, trains of interlocking gears turned the Moon pointer faster, by exactly the right amount: 254 times round the sky for every 19 times the Sun went round.

Try it

Turn the Antikythera handle

Drag the handle round, use the buttons, or select the handle and press the arrow keys. Watch the Moon pointer pull ahead of the Sun pointer, and the little ball change phase.

ARITAUGEMCANLEOVIRLIBSCOSAGCAPAQUPISHANDLE
Year 1, day 1 New moon
Sun in
Aries
Moon in
Aries
Moon lit
0%
Sun pointer
0.00 turns
Moon pointer
0.00 turns
Full moons
0

New moon: the Sun and the Moon point the same way. Turn the handle and watch the Moon pointer pull ahead.

A simplified model of the front dial. The real mechanism probably showed the planets too, and its calendar ring counted the 365 days of the Egyptian year.

The back of the mechanism had more dials. One counted the months of the 19-year cycle. Another, a spiral of 223 months, marked the months when an eclipse could happen.

§ 1.3 · interactive

The Abacus: Beaded Brilliance

Long before electronic computers existed, people needed a way to perform calculations quickly and accurately. One of the earliest and most successful tools was the abacus, a simple counting device made of beads that slide along rods or wires.

For centuries, it remained one of humanity’s most important mathematical tools, proving that even the earliest computers began with the simple idea of helping people calculate.

Try it

Count on an abacus

Each rod has one bead worth five above the bar and four beads worth one below it, like the Japanese soroban. A bead counts when it touches the bar. Tap the beads, or select a rod and use the arrow keys. Then press Add 1 a few times and see what happens when a rod runs out of beads.

10,0001,000100101
The abacus shows 0
Challenge 1 of 4

Show 7, the days in a week.

Tap a bead to push it against the bar. Try the challenge, or press Add 1 a few times.

When a rod passes 9, you clear it and push one bead up on the next rod. That step is called a carry, and on an abacus the person has to remember to do it. The next machine did it by itself.

§ 1.4

Pascal’s Wheel: When Gears Started Calculating

In 1642, a young French mathematician named Blaise Pascal, still a teenager, began building a machine that could perform arithmetic using a series of interlocking gears and wheels. Known as the Pascaline, or the Arithmetic Machine, it was designed to help his father, a tax official, with the endless calculations his job required.

By turning numbered wheels, users could add and subtract numbers automatically. When one wheel completed a full rotation, it carried a value to the next wheel, much like how modern calculators handle place values.

01234567890123456789TENSUNITS07

The machine shows 07. Press Add 1 until the units wheel passes 9.

The carry. Press Add 1 and the units wheel turns one step; as it passes 9 it nudges the tens wheel on by one, and 09 becomes 10.

Although the machine was expensive and difficult to build, it demonstrated that calculations could be performed mechanically rather than by hand. Pascal’s invention marked an important step toward the development of modern computers, showing that machines could be designed to process numbers automatically.

Leibniz Takes It Further

A few decades after Pascal’s invention, German mathematician Gottfried Wilhelm Leibniz designed a machine capable of not only addition and subtraction, but also multiplication and division. His “Stepped Reckoner” demonstrated that increasingly complex calculations could be automated, bringing the dream of mechanical computing one step closer to reality.

Gears could now add, subtract, multiply and divide, but a person still had to turn them for every single step. The next dream was a machine that would follow a whole list of instructions by itself.

Sources for this part

The Antikythera Mechanism

The abacus

Pascal and Leibniz

Series The Machine That Changed Everything
Menu

Gears & Signals · Static site · No trackers