Order of operations
The calculator follows the standard order of operations, shown here from first to last. Brackets always come first. Then fractions; functions written after the number, such as and factorial; powers and roots; a number times a memory; functions written before the number, such as ; a number times a function; nPr and nCr; then multiplication and division; then addition and subtraction; then the logic operations AND, OR, XOR and XNOR; and finally = and the other keys that end a calculation. That is why, in , the division is done first.