How Do Calculators Calculate?

Electric currents, transistors and logic gates work together to put two and two together inside a calculator. Credit: sxc.hu
Electric currents, transistors and logic gates work together to "put two and two together" inside a calculator.
(Image credit: sxc.hu)

When you and I calculate two plus two, we imagine a number line, start at two and hop over a couple of spots to get to four (or at least we did until we memorized the answer). Simple — so simple, in fact, that "putting two and two together" is an analogy for deducing something obvious.

But what if you can't imagine a number line? What if you're a little, gray, button-covered box full of electrons? How, then, do you calculate that two plus two equals four?

Latest Videos From
Natalie Wolchover

Natalie Wolchover was a staff writer for Live Science from 2010 to 2012 and is currently a senior physics writer and editor for Quanta Magazine. She holds a bachelor's degree in physics from Tufts University and has studied physics at the University of California, Berkeley. Along with the staff of Quanta, Wolchover won the 2022 Pulitzer Prize for explanatory writing for her work on the building of the James Webb Space Telescope. Her work has also appeared in the The Best American Science and Nature Writing and The Best Writing on Mathematics, Nature, The New Yorker and Popular Science. She was the 2016 winner of the  Evert Clark/Seth Payne Award, an annual prize for young science journalists, as well as the winner of the 2017 Science Communication Award for the American Institute of Physics.