PEMDAS Touch PEMDAS Widget PEMDAS App News About Contact

2. Entering Equations

To input equations into PEMDAS, you need to use the Equation Entry Field, and you can either type on your keyboard or click the buttons on the Keypad to type an equation. When you want to calculate the equation, either hit the enter/return key on your keyboard, or click the equals button on the keypad.

Order of Operations

PEMDAS follows the order of operations and calculates equations left to right in the following order:

  1. Parenthesis
  2. Exponents *
  3. Multiplication or Division
  4. Addition or Subtraction

*Exponents are a special case and are evaluated right to left. For example, if you wrote out 2^3^2, you are raising 2 to the (3^2) power—by doing this, you are calculating from right to left. This direction varies between different math/spreadsheet programs and handheld calculators, so use caution when typing the same equation in other calculators.

Typing Binary, Octal, and Hexadecimal Numbers

PEMDAS inputs numbers in base 10. However, you can also enter binary, octal, and hexadecimal numbers by using the following prefixes, which are case insensitive:

After you input a number, you can also format the outputted number. For more information on how to do this, see the Number Formatting section.

Following are examples:

Binary numbers (note the results are shown in base 10):

0b0101

= 5

0b1111

= 15

Octal numbers (note the results are shown in base 10):

0o77

= 63

0o100

= 64

Hexadecimal numbers (note the answers are shown in base 10, and also note that the hexadecimal number itself is case insensitive):

0xFF

= 255

0x1a

= 26

Hexadecimal numbers (note the answers are shown in base 10, and also note that the hexadecimal number itself is case insensitive):

0xFF-0b10100110

= 89

0o27*0x1B+0b10

= 623

Multiplication Symbol

PEMDAS lets you work using an asterisk or dot for the multiplication symbol. The preference can be set on the back of the widget.

Use % as Modulus

By default, the % symbol works as a percent (in other words, it divides the previous number by 100). However, it can instead be used as a modulus, by checking the Use % as Modulus preference on the back of the widget.

Clearing the Display

There are several ways to clear the display:

Clearing the Session

To clear the session, which will delete all equations and variables, you can use the same shortcuts as clearing the display, except you need to press them twice:

Previous:
Overview
IndexNext:
Supported Functions