# Advanced Online Calculator: Operator Precedence

### Operator Precedence

The Alcula' Advanced Online Calculator performs the calculation after the full expression has been typed. The expression display shows the expression as it is being typed. After pressing the '=' key the calculator executes the calculation. It is therefore important to be aware of the order in which the calculations will be made to insure correct results. Parenthesis can be used to alter the preset order of operations.

### Left to right

When operators have the same precedence, evaluation is made starting from the left side of the expression. For example, given an expression '5+6-4=': the calculator will first calculate '5+6=11', than '11-4=7'.

### First: Unary operators

A unary operator is an operator that accepts only one operand. Unary operators have top priority and are calculated first.

### Second: Multiplications & Divisions

Multiplications and divisions have equal precedence and are calculated after unary operators and before addition and subtraction