calcwindow.com

Order of Operations (PEMDAS / BODMAS) Explained

Updated October 27, 2026 · 4 min read

When an expression has more than one operation, the order you work in changes the answer. The order of operations is the agreed rule that makes everyone get the same result.

The rule

Work through an expression in this order:

  1. Parentheses (brackets) first.
  2. Exponents (powers and roots).
  3. Multiplication and division, from left to right.
  4. Addition and subtraction, from left to right.

In the United States this is taught as PEMDAS. In the UK and many other countries it is BODMAS (Brackets, Orders, Division and Multiplication, Addition and Subtraction). They describe the same rule. Multiplication and division share one level, and so do addition and subtraction, so you move left to right within each level.

Worked examples

ExpressionStepsAnswer
2 + 3 × 43 × 4 = 12, then 2 + 1214
(2 + 3) × 42 + 3 = 5, then 5 × 420
18 ÷ 3 × 2Left to right: 18 ÷ 3 = 6, then 6 × 212
10 − 2² + 12² = 4, then 10 − 4 = 6, then 6 + 17

Using a basic calculator correctly

Many basic calculators, including the Standard mode on CalcWindow, work like a desk calculator: they apply each operation when you press the next one. If you type 2 + 3 × 4 = in that order, the calculator adds first and gives 20, not 14.

Tip: To follow the order of operations, work out the higher-priority part yourself. Calculate 3 × 4 in one window, then add 2 to the result. Opening two calculator windows side by side makes this easy: use one for the inner part and one for the final step.

Common mistakes

For powers and roots, see the scientific calculator guide.

Open the calculators