This is the order of operations:
- Any numbers within a pair of parenthesis or brackets
- Any exponents, indices, or orders
- Any multiplication or division
- Any addition or subtraction
If there are multiple operations with the same priority, then proceed from left to right:
Parenthesis, Exponents, Multiplication, Division, Addition, Subtraction
The order of operations can be remembered by using one of these acronym: PEMDAS, BEMDAS, BIDMAS, or BODMAS.