- Parentheses (and brackets) first, innermost first.
- Exponents next.
- Multiplication and division, whichever comes first from left to right.
- Addition and subtraction, whichever comes first from left to right.
PEMDAS, BODMAS, BIDMAS and BEDMAS all describe this same order. Need a refresher? The Order of Operations Calculator page explains each rule with examples.