A calculator helps with math. 
A calculator is a tool for math. 


A calculator is a tool used to do math. 

Most calculators have a keypad and a screen. You press buttons to enter numbers. This sends a signal to a tiny chip. This chip is called a microprocessor. It acts like a brain for the tool. 
Calculators need power to work. They can use batteries or solar cells. Solar cells use light from the sun to make power. 
A calculator is a portable electronic device used for math. 

How does a calculator work when you press a button? 
Humans have used many tools to help with math for a long time. 
Calculators come in many different styles and sizes. 

Many parts of a calculator are things you might already know. 
A calculator is a portable electronic device designed to perform mathematical calculations. These tools range from simple devices for basic arithmetic to complex machines for advanced mathematics. 

To understand how a calculator works, we must look at its internal components. The process begins with a scanning unit, which is a part of the software that constantly polls the keypad. When you press a button, the scanning unit detects an electrical signal. This signal is then encoded into binary-coded decimal (BCD) format. This specific way of representing numbers makes it much easier for the hardware to display digits on a screen. 
Once a number is entered, it is sent to the X register, which is a type of temporary memory. If you enter a second number, the first number is pushed into the Y register. At the same time, the math command, such as multiplication, is stored in a flag register. This flag tells the processor which operation to perform. The Arithmetic Logic Unit (ALU) then takes the numbers from the X and Y registers. The ALU executes the instructions using programs stored in the permanent, non-volatile memory, known as ROM. 
Calculators are categorized by their complexity and intended use. Basic calculators are often inexpensive and may only store one number at a time. More advanced models use variables to store many different numbers in the user memory, or RAM. These variables are often named "ans" or "ans(0)". Some high-end models allow for extended memory through an array index. 

The history of calculating tools spans thousands of years. Humans once used bones, pebbles, and the abacus to assist with counting. In the 17th century, mechanical calculators were invented by Wilhelm Schickard and Blaise Pascal. Pascal developed his machine to help with the heavy math required for tax supervision. The electronic era began in the early 1960s with the first solid-state calculators. A major turning point occurred in the 1970s with the development of the Intel 4004. This was the first microprocessor, created for the Japanese company Busicom. 
Technological shifts have changed how much of the world's computing power calculators represent. In 1986, calculators accounted for an estimated 41% of the world's general-purpose hardware computing capacity. By 2007, this share had dropped significantly to less than 0.05%. This decline happened as computing power moved into more versatile devices. 
Modern calculators use various methods to power their circuits and show information. Most pocket models use batteries or solar cells for energy. 

🖼️ Images & Media (19)
+ 7 more
More to explore
✨ What else?
Related topics you might enjoy
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.