Order of Operations (BIDMAS and PEMDAS) Explained
Why is and not , what BIDMAS and PEMDAS really mean, and the left-to-right rule that catches almost everyone out.
Work out . If you go left to right you get . If you multiply first you get . Both feel reasonable, but a calculation can only have one answer, so mathematicians agree on an order.
That agreement is the order of operations. It is a convention, like driving on one side of the road. It works because everyone follows it.
Brackets, then powers, then multiplication and division, then addition and subtraction.
BIDMAS, BODMAS and PEMDAS
Different countries teach different memory aids, but they all describe the same order:
BIDMAS: Brackets, Indices, Division, Multiplication, Addition, Subtraction.
BODMAS: Brackets, Orders, Division, Multiplication, Addition, Subtraction.
PEMDAS: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.
Indices, orders and exponents all mean powers, like the in .
The rule people miss: left to right
The acronyms make it look as if division comes before multiplication (BIDMAS) or multiplication before division (PEMDAS). Neither is true. Multiplication and division share a rank, and so do addition and subtraction. Within a rank you work from left to right.
Division and multiplication have equal rank.
The same applies to subtraction: , not . Go left to right.
A full example
Evaluate .
- 1
Brackets first.
Hidden brackets
Some notation carries brackets you cannot see. A fraction bar groups everything above it and everything below it:
A square root sign does the same to everything under it, and an exponent applies to everything written in its superscript.
, because the power is applied before the minus sign. To square negative three you need brackets: .
When you write your own calculations, add brackets whenever there is any doubt. Extra brackets never change a correct answer, and they make your intention clear.
Common questions
- Do you always do division before multiplication?
No. Multiplication and division have equal priority, so you work through them from left to right in the order they appear. The same goes for addition and subtraction.
- Is BIDMAS the same as PEMDAS?
Yes. They are two memory aids for the same rule. Indices and exponents both mean powers, and brackets and parentheses are the same thing.
The Order of Operations lesson has worked examples and unlimited practice that adapts to you.