Direct answer: A pinwheel calculator adds with toothed wheels. Each digit wheel carries nine retractable pins; you set a number by extending that many pins, and one full revolution of the wheel pushes the result dial forward by exactly that count. A small sensing mechanism hands a carry to the next wheel whenever a dial passes from 9 back to 0.

A story titled How did pinwheel calculators work? trended on Hacker News in late November 2026, and the mechanism deserves the attention. These machines computed with pure brass and springs, no electricity, and they are the clearest example ever built of arithmetic made physical.

Pins versus drums

Mechanical calculators solved one problem: how to make a wheel contribute a chosen amount to a total. Two mechanisms dominated. Leibniz's stepped drum, designed in the 1670s, used a cylinder with nine teeth of increasing length; a sliding gear meshed with however many teeth the setting required. Every revolution of the drum then transferred that many units to the result register.

The pinwheel approach, patented by Willgodt Odhner in the 1870s, moved the choice onto the wheel itself. Each digit wheel has nine slots, and setting a lever extends that number of pins from the rim.

Rotate the wheel once and the extended pins push the result dial forward by the selected count; retracted pins slide past without touching anything. The Odhner design proved compact and reliable, and it spread through machines like the Brunsviga that filled offices worldwide.

digit wheel: 4 pins out, 5 inresult dial: 0 0 0 0advances 4 per revolutionextended pins push the dial

Carries, subtraction and the crank

Single digits are easy; columns are the hard part. When a result wheel passes from 9 to 0, a carry tooth engages the next wheel's mechanism and nudges it forward by one, replicating by hand what school arithmetic does with column notation.

The chain can cascade, as it does when 999 plus 1 rolls three dials over. Designers spent enormous care on timing so that a carry finishing its travel never collides with the next revolution, which is why quality machines feel smooth and cheap ones jam.

Subtraction reused the same parts in reverse. Running the crank backward rotates the wheels the other way, so the extended pins take units away instead of adding them. Multiplication became repeated addition of the same setting with shifted registers, and division became repeated subtraction with the operator counting the turns. One mechanism, four operations, all human-legible: you could watch every intermediate state in the dials, an auditability that digital displays never quite recreate.

AspectStepped drum (Leibniz)Pinwheel (Odhner)
Setting deviceSliding gear on a toothed cylinderLever extending pins on the wheel
FootprintDeep, cylinder-shaped worksFlatter, wheel-shaped works
FeelHeavy, deliberateCompact, widely licensed
LegacyEarly concept machinesOffice standard for decades
missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

Why gears ruled offices for a century

From the late 1800s to the 1970s, mechanical calculators ran payroll, invoicing, engineering estimates and statistics. They needed no power beyond an arm, lasted decades of daily cranking, and failed loudly rather than silently wrong. A trained operator could add a column of figures faster than early electronic rivals, and the machines were serviceable with a screwdriver by local repairmen, a supply chain that software never inherited.

The pocket-sized Curta, a pinwheel machine small enough to hold, even became a cult object among calculators for its engineering density. What finally retired the category was not a better mechanism but a cheaper technology: electronic calculators in the 1970s collapsed the price of computation by orders of magnitude. The pinwheel's lesson survives anyway. It shows arithmetic as mechanism, carry propagation as moving parts, and precision as a property of manufacture rather than of code.

0001carry ripples: 999 plus 1new digit

Key takeaways

  • Retractable pins make a wheel contribute any count from 0 to 9 per revolution.
  • Stepped drums put the choice on a cylinder; pinwheels put it on the wheel itself.
  • Carry propagation is mechanical: a tooth nudges the next wheel whenever 9 rolls to 0.
  • The machines lasted a century on simplicity, repairability, and visible intermediate state.

Quick answers

What is a pinwheel calculator?
A mechanical calculator whose digit wheels carry retractable pins, adding the pinned count once per revolution.

Who invented it?
Willgodt Odhner patented the pinwheel design in the 1870s; Leibniz's stepped drum predates it by two centuries.

How did subtraction work?
By running the crank backward, so extended pins removed units instead of adding them.

Why did they disappear?
Electronic calculators of the 1970s made computation far cheaper than any gear mechanism could.

One thing to do tonight

Find a video of a Brunsviga or Curta in operation and watch the carry happen when a dial passes 9. Once you have seen a mechanical carry ripple, schoolbook column addition will look like what it always was: an algorithm waiting for hardware.