Calculator
Keyboard-friendly calculator.
0
How it works
Keyboard: digits, operators, brackets, percent, Enter, Backspace and Esc. After + or −, percent is applied to the running total.
Keyboard and percent behavior
The calculator parses arithmetic and parentheses without dynamic code execution; after plus or minus, percent uses the running total.
Limits and assumptions
- Powers, variables, functions and implicit multiplication are unsupported; division by zero shows an error.
- Use Enter to calculate, Backspace to delete and Escape to clear.
- The percent key is postfix: 10% is 0.1; in 100 + 10%, it adds ten percent of 100.
Common questions
Why does 100 + 10% equal 110?
After addition, 10% is applied to the running value of 100.
Can it calculate sine or powers?
No. It supports numbers, parentheses, four basic operations and percent.