Order of operations
The order of operations is a mathematical convention for arithmetic computation. The order of operations is usually summarized by the acronym PEMDAS, which stands for parentheses, exponents, multiplication and division, addition and subtraction.