Pressing the keys
Under each key is a small contact. Pressing it closes a circuit, and the chip notices which row and column of keys was connected, so it knows exactly which button you pressed.
The chip stores each digit as you type.
Thinking in binary
Calculators, like all computers, work in binary, a number system with only two digits, 0 and 1. These are easy to represent electronically as switches that are off or on.
The chip converts each number you enter into binary before doing any maths.
Logic gates
The chip contains huge numbers of tiny switches called transistors, arranged into logic gates. Some combinations of gates can add two binary digits and pass on a ‘carry’, just as you carry tens in column addition.
Subtraction, multiplication and division are built from repeated steps of these simple operations, done incredibly fast.
Showing the answer
The binary result is converted back into ordinary digits. Many calculators show them on a liquid crystal display, where each digit is made of seven little segments that switch on and off to form any number from 0 to 9.
Some calculators are powered by a small solar cell, which needs only a little light.
From abacus to chip
People have used counting tools for thousands of years, from the abacus to mechanical calculating machines with gears, such as the one built by the French mathematician Blaise Pascal in the 1640s.
The word ‘algorithm’, meaning a step-by-step method, comes from the name of the great 9th-century Baghdad mathematician Muhammad ibn Musa al-Khwarizmi, whose methods underpin calculation today.
Pocket power
Electronic calculators became small enough to fit in a pocket in the early 1970s, thanks to microchips. Scientific and graphing calculators can solve far more complex problems.
Calculators are wonderful helpers, but knowing how to estimate and check answers in your head is still a valuable skill.
Why it is a beautiful story
Questions people ask
How does a calculator add numbers?
It converts numbers into binary and adds them using logic gates made of tiny transistors.
Why do calculators use binary?
Binary has only 0 and 1, which electronic switches can show as off and on.
Where does the word algorithm come from?
From the name of the 9th-century Baghdad mathematician al-Khwarizmi.
Sources & further reading
- Encyclopaedia Britannica · Calculator ↗
- Encyclopaedia Britannica · Binary number system ↗
- Encyclopaedia Britannica · al-Khwarizmi ↗
Sources checked 2 December 2026. Company names are used only to describe their work; Canvas of Knowledge is independent and these organisations do not endorse this website. Illustration: original AI-generated illustration (Adobe Firefly), an artist’s impression rather than a photograph.
