Order of Operations Calculator

Evaluate any math expression using PEMDAS / BODMAS rules with full step-by-step breakdown. Supports parentheses, exponents, and all basic operations.

P
Parentheses
E
Exponents
M
Multiply
D
Divide
A
Add
S
Subtract
Use: + − * / ^ ( )  ·  ^ means exponent  ·  spaces optional
Order of operations applied

What is PEMDAS?

PEMDAS stands for Parentheses, Exponents, Multiplication/Division (left to right), Addition/Subtraction (left to right). In the UK and other countries this is called BODMAS (Brackets, Orders, Division/Multiplication, Addition/Subtraction). Both describe the same order of mathematical operations.

Why Does Order Matter?

Without a standard order, 2 + 3 × 4 could equal either 20 (if you add first) or 14 (if you multiply first). PEMDAS standardizes this: multiply before adding, so the answer is 2 + 12 = 14.