Basic calculator

A simple calculator with a tape of your last results.

How the keys work

Type a sum with the keypad or your keyboard and the answer updates as you go, with multiplication and division worked out before addition and subtraction.

Keys

%
Divides the last number by 100, so 50 % becomes 0.5.
±
Switches the sign of the last number.
⌫
Deletes the last digit. After =, it clears the answer.
C
Clears everything.
=
Adds the line to the tape above the display.

Example

In 12 + 7 × 3, the calculator works out 7 × 3 = 21 first, then adds 12, giving 33.

Questions

Can I type on a keyboard?

Yes. Digits, + − * / and the decimal point work as you would expect. Enter or = gives the answer, Backspace deletes, and Escape clears.

How do I work out a percentage?

Multiply by the percent. To find 15% of 84, type 84 × 15 % and press =, which gives 12.6.

Why does 0.1 + 0.2 show 0.3?

Computers store some decimals inexactly, which can produce answers like 0.30000000000000004. The calculator rounds to 12 significant digits and shows 0.3.

What happens if I divide by zero?

The display shows “Can’t divide by 0” and nothing goes on the tape.

Updated