Numberphile shrinks a scientific calculator to two buttons
James Grime's minimalist maths demonstration passes half a million views, alongside a visit from Terence Tao.
Why this story? The channel's weekly summary: what went up this week, what is drawing views now, and where the channel stands among similar channels.
A Two-Button Calculator That Does Everything - Numberphile
Next story: Starship's catch gets a close-up follow-up from Elon Musk
Things we can learn from the video
Press to jump
- 3:00Four buttons, one, subtraction, exponential and natural logarithm, can reconstruct ordinary arithmetic, powers and roots.
- 8:00Complex numbers and Euler's formula extend the same toolkit to trigonometric functions.
- 12:00The combined operation eml takes exp(x) minus ln(y), reducing the calculator to two buttons.
- 13:40Grime reconstructs exponentials, logarithms and subtraction using the combined operation.
- 15:54Even one plus one requires a long expression; calculating pi produces a much larger formula.
Brady Haran has a fair description of James Grime's invention: "That is the simplest, most complicated calculator I've ever heard of."
In Numberphile's most-watched new upload, Grime strips a scientific calculator down to the number one and a single operation called "eml". It takes the exponential of one input and subtracts the natural logarithm of another. The interface is tiny; the expressions it needs are anything but.
Grime builds towards that unlikely arrangement carefully. First come four buttons, enough to reconstruct addition, multiplication, powers and roots. Complex numbers then bring trigonometry into reach, before the final reduction leaves just two buttons. By the time he displays the expression for one plus one, mathematical elegance has become gloriously inconvenient.
The video has reached roughly 550,000 views and is comfortably the channel's busiest upload right now. Viewers are comparing their first guesses, including binary encoding and a calculator that laboriously asks yes-or-no questions. Others want Matt Parker to give the minimalist machine an unboxing and review.
Numberphile's other new upload, "Terence Tao's Math(s) Essentials - Numberphile", turns to Tao's popular mathematics book and a little Australian nostalgia. The Fields Medal-winning mathematician also supplies the channel's strongest-moving older upload, October's "Blind Ranking Numbers (Terence Tao)". Between a book conversation, a playful ranking and Grime's impractical little calculator, the week's mathematics has several different ways in.
Published on Trari
Where next?
A professional in this field? Want to write about Science & learning on Trari? Tell us ›
What viewers say
Two buttons: one to cycle through all the buttons and the other to confirm
@nicomalSee it on YouTubeIf you're taking an exam and your calculator keys stop working one after another, I recommend just waiting until you wake up.
@RubricketySee it on YouTubeNow I want to see Matt Parker unbox and review a four button scientific calculator.
@kellymiller7986See it on YouTube
7 more comments
The very first thing I thought was a binary encoding of all symbols, but this is more mathy.
@tannerroberts4140See it on YouTubefor some reason my first thought was a calculator having 2 buttons that say "yes" and "no" and it'd try to painstakingly guess what you'd type step by step
@ThatCA7GuySee it on YouTubeMy favorite part about the two button calculator is that you can draw the expressions as a binary tree and because you know that every branching node must be eml and every leaf node must be a 1, you don't actually have to label any of the nodes. This way, you can draw any calculable expression as a very simple repeating unique shape.
@catostreSee it on YouTube"Figure out how to use this two button calculator to calculate pi" has major Taskmaster energy.
@brianlane723See it on YouTubeYou can construct all Boolean logic operations with just NANDs
@S1nwarSee it on YouTubeFrom the comments, it looks like a follow-up episode on Reverse Polish Notation is warranted.
@BigandrewmSee it on YouTubeThis is essentially an esoteric programming language.
@6c3333See it on YouTube
Public comments from the video's page on YouTube
Want to know when somebody answers you?
The videos drawing views on Numberphile right now
- Channel
- Numberphile
- Subscribers
- 4,790,000
- Videos published this week
- 2
- Video published
- November 12, 2026
- Video views so far
- 550,427
The numbers
Here is Numberphile's week in views, subscribers and new uploads.
💡 Test your knowledge
Which prestigious mathematics award has Terence Tao won?
Tao received the Fields Medal in 2006.



