How Do Calculators Work - ScienceABC
How Do Calculators Work - ScienceABC
» ScienceABC
Phys
➤
Che
Biolo
➤
Home » Technology
Engi
➤
How Do Calculators Work? Math
Written By Akash Peshin Last Updated On: 19 Oct 2023 Published On: 10 Jan 2016 Soci
Scie
➤
Table of Contents (click to expand)
Vide
Around the time when we began to realize the full extent of electronic
circuits, the terms “computer” and “calculator” were used
interchangeably due to their similar functionality.
https://www.scienceabc.com/innovation/how-do-calculators-work.html 1/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
How Did Computers Go From The Size Of A Room To The Size Of A Fingernail? Vide
Abou
Us
History Of Calculators: Anita Calculator To
Pocket Calculator
ManageEngine
https://www.scienceabc.com/innovation/how-do-calculators-work.html 2/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
calculators, although quicker, were still quite heavy. The world’s first
electronic calculator, ANITA, used small vacuum tubes, but weighed a Che
➤
app on your two hundred-gram iPhone.
Engi
➤
Math
Soci
Scie
➤
Vide
Abou
Us
(Photo Credit : MaltaGC / Wikimedia Commance & ieeecomputersociety)
Finally, the age of digital electronics witnessed the birth of the transistor,
the pinnacle of semiconductor technology, which allowed the extreme
scaling down of size and made calculators cheaper and more
accessible.
The Components
https://www.scienceabc.com/innovation/how-do-calculators-work.html 3/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
Vide
https://www.scienceabc.com/innovation/how-do-calculators-work.html 4/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
Vide
3. Output: The output is displayed on a LCD screen that rearranges
light molecules to create a pattern. Earlier models used LED Abou
screens that consumed more power. The display immediately Us
The Basics
https://www.scienceabc.com/innovation/how-do-calculators-work.html 5/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
The transistors are paired in particular ways to form logic gates, which Phys
➤
provide specific outputs according to the placement of these transistors.
The most basic ones are AND, OR and NOT gates. Our analogy of Che
➤
gates much easier. For a more detailed explanation, click here. Water
that is allowed to flow with an open knob is interpreted as ‘1’ and water
Engi
➤
blocked due to a closed knob is interpreted as ‘0’.
Math
Soci
Scie
➤
Vide
Abou
Us
The processor recognizes the button or an input via the circuit path and
holds its binary value. For instance, 2 is written as 10 in binary.
https://www.scienceabc.com/innovation/how-do-calculators-work.html 6/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
you have entered or the results of an operation. Explaining the
conversion of numbers to different systems is time-consuming and Che
irrelevant right now; all you need to understand is that the processor
Biolo
➤
uses circuits that convert numbers and perform operations on a train of
‘1’s and ‘0’s.
Engi
➤
The AND gate employs transistors in a series configuration and
Math
performs logical conjunction, whereas the OR gate consists of two
transistors in parallel configuration and performs logical disjunction. The Soci
NOT gate simply negates the input, i.e., converts a ‘1’ to a ‘0’ and vice Scie
➤
versa.
Vide
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 7/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Specials on 2024 Ne
Che
Trucks
New Truck Sales Near You. Sav Biolo
➤
Top Brands & Latest Models.
Engi
➤
GoSearches Math
The combination of these gates can be used to form another important Soci
Scie
logic gate: Exclusive-OR gate. This gate gives the impression of adding
➤
its two inputs. The EX-OR operation is simple; it produces a ‘1’ when its
Vide
inputs are different.
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 8/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
ways to perform complex operations on input numbers.
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
Let’s find out how these particularly arranged gates execute complex Vide
The Adder
The adder is a logical circuit that adds two bits – A and B – but how is it
any different from the EX-OR gate?
Looking at the final sequence of inputs for an EX-OR gate, one can see
that although the sum of ‘1’ and ‘1’ is ‘0’, it also generates a carry bit that
is not included in our table.
https://www.scienceabc.com/innovation/how-do-calculators-work.html 9/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
Math
The circuit generates another bit that is “carried over” and stored as an Soci
Scie
extra bit in the memory. The bits are actually separated into two
➤
columns – sum and carry. Looking at the table, one sees that the sum
Vide
can be generated by an EX-OR gate, while the carry over bits represent
an AND gate. The two outputs can be generated simultaneously using a Abou
circuit known as a half adder. Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 10/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
But again, the circuit does not consider any carry over bit forwarded to it Phys
➤
by a previous adder. A three-input adder that considers the carry-overs
from a previous adder is called a full adder. . Che
Two ‘1’s generate a ‘0’ with a ‘1’ carry, and three ‘1’s generate a ‘1’ with Biolo
➤
‘1’ as a carry too. The carry out bit is forwarded to the next adder. The
Engi
full adder can be viewed as a combination of two half adders or a
➤
combination of different logic gates.
Math
Soci
Scie
➤
Vide
Abou
Us
This complex circuit only adds one bit. (Yes, all that hassle for only one!)
https://www.scienceabc.com/innovation/how-do-calculators-work.html 11/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
Vide
Abou
Us
4-bit adders are combined to form 8-bit adders and so on in order to add
larger numbers.
The Multiplier
The process of binary multiplication is similar to decimal multiplication,
although implementing it using gates is difficult.
For instance:
https://www.scienceabc.com/innovation/how-do-calculators-work.html 12/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Also, the number of output bits generated are double the size of the
Phys
➤
seeded input bits. The operation can therefore be implemented by what
is called partial product accumulation. The example shows the Che
➤
that are the products of individual bits.
Engi
The individual products are generated by 4 AND gates. Furthermore,
➤
these sums can be added with the help of half adders to produce the
Math
sums S4-S0, grouped together to form S, the product of A and B.
Soci
Scie
➤
Vide
Abou
Us
The calculator also subtracts and divides numbers using similar logic
gates. It is important to know that we have explained the most basic or
primitive circuits to add and multiply, just to give you just a general idea.
These circuits were long ago replaced by much faster and quicker
circuits. A computer uses the very same logic gates for general purpose
computing, which is brought about by calculating and crunching
numbers at its core. The calculator only calculates; it is not
programmable.
https://www.scienceabc.com/innovation/how-do-calculators-work.html 13/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
of operations for calculators expanded. Today, calculators are far more
advanced and more scientific calculators with more memory and Che
➤
who are therefore able to perform logarithmic calculations and calculus.
And now, this device, like so many others, has been integrated with our
Engi
➤
beloved smartphones.
Math
Soci
Scie
➤
Vide
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 14/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Akash Peshin
Akash Peshin is an Electronic Engineer from the University of Mumbai, India and a science Engi
➤
writer at ScienceABC. Enamored with science ever since discovering a picture book about
Saturn at the age of 7, he believes that what fundamentally fuels this passion is his curiosity and
Math
appetite for wonder.
Soci
Scie
➤
Tags: Addition, Calculator, Computer, Computing
Vide
Related Posts
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 15/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
Semiconductors? We Start Using Math Counting Machines
And How Do They Symbols? Work? Che
Work?
September 4, 2019 January 9, 2016
August 15, 2015 Biolo
➤
Mathematics Technology
Physics
Engi
➤
Math
Related Videos
Soci
Scie
➤
Vide
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 16/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
Phys
➤
Che
Biolo
➤
Engi
➤
How Transistors Human Brain vs Quantum
Work - A Quick and Supercomputer: Computers
Math
Basic Explanation Which One Wins? Explained: How
Quantum Computing
August 28, 2018 May 19, 2022
Works Soci
Scie
➤
October 1, 2024
Vide
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 17/18
2/10/25, 6:44 PM How Do Calculators Work? » ScienceABC
➤
Che
Biolo
➤
Engi
➤
Math
Soci
Scie
➤
Vide
Abou
Us
https://www.scienceabc.com/innovation/how-do-calculators-work.html 18/18