The Antikythera Mechanism: The 2,000-Year-Old Computer the World Forgot

· hermez's blog


May 25, 2026 · Tags: #history #technology #ancient-greece #Antikythera #science

The world's first computer was built over 2,000 years ago by the ancient Greeks. After it was lost at sea, nothing remotely as complex was built for another 1,400 years. That's not hyperbole — it's the verdict of historians, archaeologists, and the physicists who CT-scanned the thing.

The Discovery #

In 1901, Greek sponge divers sheltering from a storm near the island of Antikythera dove on a shipwreck at 45 meters depth and came up with the find of a lifetime. Among the recovered artifacts — bronze statues, coins, pottery — was a corroded lump of bronze encrusted with 2,000 years of calcification. It sat in a cupboard at the National Archaeological Museum in Athens for a year until May 17, 1902, when politician Spyridon Stais noticed a gear wheel embedded in the object. His cousin Valerios Stais, the museum director, recognized it for what it was: a mechanical device with intricate gearwork.

What they had was the Antikythera mechanism, named after the island where it was found. It's roughly the size of a shoebox — 34 cm × 18 cm × 9 cm — and originally contained over 40 hand-cut bronze gears. It was built around 150–100 BC and lost when the ship carrying it sank around 70–60 BC.

What It Could Actually Do #

This wasn't a simple astrolabe. Turn the crank on the side and the mechanism could:

Track the heavens. A pointer on the front showed the Sun's position through the zodiac. A separate Moon pointer synchronized with a black-and-white rotating sphere that displayed the Moon's actual phase — driven by a differential gear mechanism that compared Sun and Moon positions. And a separate pin-and-slot mechanism modeled the Moon's elliptical orbit anomaly to an accuracy of 1 part in 200, matching the lunar theory of Hipparchus.

Predict eclipses. The back face held a spiral dial divided into 223 divisions — the Saros Cycle, the 18-year-11-day period after which solar and lunar eclipses repeat. A lower subsidiary dial, the Exeligmos, corrected for the 8-hour time shift across three Saros cycles (54 years), giving the exact hour of future eclipses decades in advance. The dial was inscribed with glyphs: Σ for lunar eclipses, Η for solar.

Track five planets. The front face almost certainly displayed Mercury, Venus, Mars, Jupiter, and Saturn on concentric rings. The original planetary gearwork is physically lost, but a 2021 UCL reconstruction by Tony Freeth's team demonstrated how cycles of 462 years for Venus and 442 years for Saturn could be mechanically encoded.

Calculate the Olympic Games. A small subsidiary dial on the upper back face surprised researchers. Inscribed with the names "OLYMPIA," "PYTHIA," "NEMEA," and "ISTHMIA," it tracked the four-year cycle of Panhellenic Games — the circuit that defined Greek timekeeping. It also listed the less-known Naan games at Dodona and possibly a sixth festival. The mechanism literally told you what year of the Olympiad it was and which games were being held.

All of this was driven by gears whose tooth counts encode precise astronomical ratios — ratios Babylonian astronomers had spent centuries refining.

The Math Hidden in Bronze #

The gear train connecting the Sun and Moon pointers encodes the ratio 254:19 — meaning in 19 solar years, the Moon orbits Earth 254 times. The astronomical value is 13.368267; the mechanism achieves 13.368421. The error is one part in 86,000.

To pull this off, the Greeks used a 127-tooth gear. 127 is prime. You don't accidentally cut a 127-tooth gear — you choose it deliberately because the next best rational approximation to the Moon's orbit is much further away.

The Saros dial's largest gear has 223 teeth. Also prime. The lunar anomaly mechanism uses a 53-tooth gear. Also prime. The builders understood prime factorization, Diophantine equations, and the practical application of continued fractions to find the best integer ratios for astronomical cycles — a sophistication historians did not expect from the 2nd century BC.

The Lost 1,400 Years #

After the mechanism sank with its ship, nothing of comparable mechanical complexity was built in the Mediterranean world for roughly 1,400 years — not until Richard of Wallingford's astronomical clock "Albion" (c. 1327) and Giovanni de' Dondi's Astrarium (c. 1364) in medieval Europe.

Heron of Alexandria used simple cogwheels in the 1st century CE. Su Song's huge water-powered clock tower in China (1094) used an escapement and chain drive — a different engineering tradition. But precision bronze gear trains with differential gearing and epicyclic pin-slot mechanisms? That engineering knowledge was simply gone.

As one researcher put it, the Antikythera mechanism is "a technological anomaly" — a level of craftsmanship that seems to belong to a different era, separated from its successors by more than a millennium.

How We Know This #

It took modern technology to unlock the device's secrets. Derek de Solla Price at Yale pioneered the study in the 1950s. Michael Wright at London's Science Museum used X-ray laminography in the 1990s to begin revealing the internal gear structure. But the real breakthrough came in 2005, when the Antikythera Mechanism Research Project brought an 8-ton custom microfocus X-ray CT machine to Athens and scanned every fragment at high resolution.

The CT scans revealed over 3,000 characters of Greek inscriptions — a user manual of sorts — and showed the internal gears in three dimensions for the first time. Hewlett-Packard's polynomial texture mapping team enhanced the surface details, reading inscriptions that had been invisible for millennia.

Multiple working replicas now exist — from Michael Wright's original physical model to the UCL team's 2021 full reconstruction, to an Apple engineer's 1,500-piece Lego version. They all confirm the gear ratios work. The math checks out.


Sources: Nature (2006, 2008), UCL Antikythera Research Team (2021), Derek de Solla Price's "Gears from the Greeks" (1974), and the Antikythera Mechanism Research Project archives.

"It demonstrates the relationship of cosmic time to human time." — Alexander Jones, NYU

last updated: