Order of operationsExtendabout 45 min
Puzzles, arguments and the wider world
Viral puzzles, four fours, the 24 game, olympiad problems, code and open questions
Take the order of operations further: why 8 ÷ 2(2 + 2) starts arguments, the four fours and 24 puzzles, olympiad problems, how code and spreadsheets differ, other notations, projects and open questions.
In this part you’ll
- Explain why 8 ÷ 2(2 + 2) has two reasonable readings and rewrite it unambiguously.
- Solve four fours and 24-game puzzles, and explain why some targets need extra tools or fractions.
- Use structure (pairing, common factors, working backwards) to solve olympiad-style problems.
- Compare how school maths, Python and spreadsheets handle precedence, including −3² and 2^3^2.
- Plan and carry out a small project or survey about how people read expressions.
You know the rule, why it works and where it came from. This layer takes it out into the wild: viral puzzles that start arguments online, number games that people have played for over a century, olympiad problems, how the rule lives inside spreadsheets and programming languages, projects you can run yourself, and questions that are still genuinely open.
Some of these puzzles have no single right answer. That is the point: part of being good at maths is recognising when a question is badly posed, and saying so clearly.
Chapter 01
The puzzle that broke the internet
Lab
Classify expressions as clear, clear only by convention, or genuinely ambiguous, and learn how to rewrite the ambiguous ones.
How well written is each expression? Sort the cards.
12 cards, 3 bins. Tap a card, then tap its bin. You can also drag, or press a bin’s number key.
Text version of this activity
A sorting game with 12 cards and 3 bins.
Clear to everyone: (8 ÷ 2) × (2 + 2) = 16; 8 ÷ [2 × (2 + 2)] = 1; a stacked fraction with 8 over 2 × (2 + 2) = 1; (2 + 3) × 4 = 20.
Clear by the rule; brackets would help: 24 ÷ 4 × 3 = 18; 10 − 3 + 2 = 9; 2 + 3 × 4 = 14.
Ambiguous: 8 ÷ 2(2 + 2) (16 or 1); 1/2x ((1/2)x or 1/(2x)); 6 ÷ 2(1 + 2) (9 or 1); −3² in a spreadsheet (−9 by maths convention, 9 in Excel); 2^3^2 (512 by maths convention, 64 in Excel).
Try it
Chapter 02
The four fours puzzle
A puzzle that has been played for well over a hundred years: make every whole number you can using exactly four 4s, with + − × ÷ and brackets. You may also join 4s into 44 or 444.
Here are 0 to 10:
| Number | Four fours | Check |
|---|---|---|
| 0 | 44 − 44 | 44 − 44 = 0 |
| 1 | 44 ÷ 44 | 44 ÷ 44 = 1 |
| 2 | 4 ÷ 4 + 4 ÷ 4 | 4 ÷ 4 + 4 ÷ 4 = 1 + 4 ÷ 4 = 1 + 1 = 2 |
| 3 | (4 + 4 + 4) ÷ 4 | (4 + 4 + 4) ÷ 4 = (8 + 4) ÷ 4 = 12 ÷ 4 = 3 |
| 4 | 4 × (4 − 4) + 4 | 4 × (4 − 4) + 4 = 4 × 0 + 4 = 0 + 4 = 4 |
| 5 | (4 × 4 + 4) ÷ 4 | (4 × 4 + 4) ÷ 4 = (16 + 4) ÷ 4 = 20 ÷ 4 = 5 |
| 6 | (4 + 4) ÷ 4 + 4 | (4 + 4) ÷ 4 + 4 = 8 ÷ 4 + 4 = 2 + 4 = 6 |
| 7 | 44 ÷ 4 − 4 | 44 ÷ 4 − 4 = 11 − 4 = 7 |
| 8 | 4 + 4 + 4 − 4 | 4 + 4 + 4 − 4 = 8 + 4 − 4 = 12 − 4 = 8 |
| 9 | 4 + 4 + 4 ÷ 4 | 4 + 4 + 4 ÷ 4 = 4 + 4 + 1 = 8 + 1 = 9 |
| 10 | (44 − 4) ÷ 4 | (44 − 4) ÷ 4 = 40 ÷ 4 = 10 |
Now try 11. And 13. You will struggle, and not because you are missing a trick.
Fix the rules exactly: exactly four 4s, joined into 4, 44, 444 or 4444 if you wish; only + − × ÷ and brackets; no decimal point, no √, no factorial, and no minus sign in front of a number on its own. Under those rules a computer can check every possible arrangement — every way of splitting the 4s, every order, every bracketing — and the numbers from 0 to 20 that cannot be made are exactly 11, 13, 14, 18, 19.
Change the rules and the list changes: if you are not allowed to join 4s at all, 10 becomes impossible too. That is the real lesson — an "impossible" claim in a puzzle only means anything once the allowed moves are written down.
To reach the missing numbers, puzzle fans allow extra tools:
- √4 = 2 (square root): 13 = 44 ÷ 4 + √4 = 11 + 2.
- .4 = 0.4 (a decimal): 11 = 4 ÷ .4 + 4 ÷ 4 = 10 + 1; 18 = 44 × .4 + .4 = 17.6 + 0.4.
- 4! = 4 × 3 × 2 × 1 = 24 (factorial): 19 = 4! − 4 − 4 ÷ 4 = 24 − 4 − 1.
- 14 = 4 × (√4 + √4) − √4 = 16 − 2.
Every one of these still relies on the order of operations to mean exactly one thing.
Lab
Check the four fours solutions for 0 to 10 step by step, and see how brackets and the order of operations shape each one.
- Brackets first. Innermost first: ( ) before [ ].
- × and ÷ are equal partners: do them left to right.
- + and − are equal partners: do them left to right.
BODMAS or DMAS is just a memory aid. D doesn’t beat M, and A doesn’t beat S. They take turns from left to right.
Expression 1 of 11: tap the operation to do next.
Text version of this activity
Eleven four-fours expressions, one for each number from 0 to 10 (44 counts as two 4s joined):
- 44 − 44 = 0
- 44 ÷ 44 = 1
- 4 ÷ 4 + 4 ÷ 4 = 2
- (4 + 4 + 4) ÷ 4 = 3
- 4 × (4 − 4) + 4 = 4
- (4 × 4 + 4) ÷ 4 = 5
- (4 + 4) ÷ 4 + 4 = 6
- 44 ÷ 4 − 4 = 7
- 4 + 4 + 4 − 4 = 8
- 4 + 4 + 4 ÷ 4 = 9
- (44 − 4) ÷ 4 = 10
For example (4 × 4 + 4) ÷ 4 = (16 + 4) ÷ 4 = 20 ÷ 4 = 5 and 44 ÷ 4 − 4 = 11 − 4 = 7. Try to find a second solution for each number.
Lab
Match four-fours expressions to their values, working each out mentally with the order of operations.
Four fours memory game: match each expression to the number it makes.
20 face-down cards hide 10 pairs. Flip two at a time and remember where things are!
Text version of this activity
A memory game with 20 cards: ten four-fours expressions and their values.
- 44 ÷ 44 = 1
- 4 ÷ 4 + 4 ÷ 4 = 2
- (4 + 4 + 4) ÷ 4 = 3
- (4 × 4 + 4) ÷ 4 = 5
- 44 ÷ 4 − 4 = 7
- 4 + 4 + 4 ÷ 4 = 9
- (44 − 4) ÷ 4 = 10
- (44 + 4) ÷ 4 = 12
- 4 × 4 + 4 ÷ 4 = 17
- (4 + 4 ÷ 4) × 4 = 20
Watch 4 × 4 + 4 ÷ 4: both the × and the ÷ happen before the +, giving 16 + 1 = 17.
Try it
Chapter 03
Make 24
The 24 game is played with four numbers (often from playing cards, 1 to 13). Use each number exactly once, with + − × ÷ and brackets, to make exactly 24. Why 24? Because it has so many factors (1, 2, 3, 4, 6, 8, 12, 24) that most sets of four numbers can reach it.
The key strategy is working backwards: 24 = 3 × 8 = 4 × 6 = 2 × 12 = 1 × 24, or 20 + 4, or 30 − 6. Look at your numbers and ask which of these you can build.
- 4, 7, 7, 7: 7 ÷ 7 = 1, 7 − 1 = 6, 4 × 6 = 24. So 4 × (7 − 7 ÷ 7) = 4 × (7 − 1) = 4 × 6 = 24.
- 1, 2, 3, 4: 1 × 2 × 3 × 4 = 2 × 3 × 4 = 6 × 4 = 24.
- 2, 3, 4, 9: a tempting try is (9 − 3 − 2) × 4 = (6 − 2) × 4 = 4 × 4 = 16, which misses. Work backwards instead: 24 = 48 ÷ 2, and 48 = 12 × 4 = (9 + 3) × 4. So (9 + 3) × 4 ÷ 2 = 12 × 4 ÷ 2 = 48 ÷ 2 = 24.
Lab
Step through ten solutions of the 24 game and confirm that each really makes 24.
- Brackets first. Innermost first: ( ) before [ ].
- × and ÷ are equal partners: do them left to right.
- + and − are equal partners: do them left to right.
BODMAS or DMAS is just a memory aid. D doesn’t beat M, and A doesn’t beat S. They take turns from left to right.
Expression 1 of 10: tap the operation to do next, or tap an opening bracket.
Text version of this activity
Ten 24-game solutions (only whole numbers along the way):
- 4 × (7 − 7 ÷ 7) = 24
- (10 − 4) × (3 + 1) = 24
- (12 − 8) × (9 − 3) = 24
- (9 − 5 + 2) × 4 = 24
- 8 × (1 + 1 + 1) = 24
- (7 − 3) × (2 + 4) = 24
- (13 − 1) × (5 − 3) = 24
- [11 − (6 − 1)] × 4 = 24
- (9 + 3) × 4 ÷ 2 = 24
- 6 × 5 − 12 ÷ 2 = 24
For example 6 × 5 − 12 ÷ 2 = 30 − 12 ÷ 2 = 30 − 6 = 24. Notice how often the last step is 4 × 6, 3 × 8, 2 × 12 or 30 − 6.
Try it
Chapter 04
Olympiad-style problems
Olympiad problems on this topic rarely ask you to grind through a long expression. They ask you to see structure: pair terms, spot a zero, count cleverly, or search systematically.
Worked example
0 / 5 steps shownA long alternating sum
Evaluate 2026 − 2025 + 2024 − 2023 + … + 4 − 3 + 2 − 1.
Worked example
0 / 5 steps shownBest place for brackets
Insert brackets into 1 + 2 × 3 + 4 × 5 + 6 (keeping the order) to make the value as large as possible.
Worked example
0 / 4 steps shownThe digits to 100
Put + or − signs (and join digits if you like) between 1 2 3 4 5 6 7 8 9, in order, to make 100.
Try it
Try it
Chapter 05
Inside spreadsheets and code
Every programming language has an operator precedence table, its own written-down order of operations. For ordinary arithmetic they almost all agree with school maths: in Python, Java, C, JavaScript, Scratch and spreadsheets, 2 + 3 * 4 is 14.
But at the edges they can differ, and professional programmers learn to add brackets whenever there is the slightest doubt.
- Symbols. Computers use * for × and / for ÷. Powers are ** in Python and ^ in spreadsheets.
- Whole-number division. In Python, 7 / 2 is 3.5, but 7 // 2 is 3 (the quotient) and 7 % 2 is 1 (the remainder). // and % share a level with * and /.
- Negative squares. In maths, −3² means −(3²) = −9. Python agrees: -3**2 is −9. But Microsoft Excel gives 9 for =-3^2: its published precedence table ranks negation above exponentiation, so the minus is applied first. Spreadsheets that follow Excel's rules behave the same way.
- Stacked powers. In maths, 2^3^2 means 2^(3^2) = 2⁹ = 512, and Python agrees. Excel treats ^ like any other equal-rank operator and works left to right, so =2^3^2 is (2³)² = 64.
Predict first
| You mean | School maths | Python | Spreadsheet (Excel) |
|---|---|---|---|
| 2 + 3 × 4 | 14 | 2 + 3 * 4 → 14 | =2+3*4 → 14 |
| (2 + 3) × 4 | 20 | (2 + 3) * 4 → 20 | =(2+3)*4 → 20 |
| 8 ÷ 4 × 2 | 4 | 8 / 4 * 2 → 4.0 | =8/4*2 → 4 |
| −3² | −9 | -3**2 → -9 | =-3^2 → 9 (!) |
| 2 to the power 3², i.e. 2⁹ | 512 | 232 → 512 | =2^3^2 → 64 (!) |
| quotient of 7 ÷ 2 | 3 (remainder 1) | 7 // 2 → 3 | =QUOTIENT(7,2) → 3 |
Who uses this every day?
- Accountants and shopkeepers build spreadsheets of bills, taxes and discounts. A missing bracket in a GST formula such as price × (1 + rate ÷ 100) can mis-price every item in a shop.
- Software engineers write expressions in code millions of times; the precedence table of their language is second nature.
- Engineers and scientists plug numbers into formulas like distance = speed × time + ½ × a × t². The order of operations decides what the formula means.
- Data analysts compute averages: (sum of values) ÷ (count). Forgetting the brackets and dividing only the last value is one of the most common spreadsheet errors.
- Teachers and textbook writers have to write expressions that cannot be misread, which is harder than it looks!
Worked example
0 / 4 steps shownA GST bill in one formula
An item costs ₹500 before tax. GST is 18%. Write one formula for the price with tax and evaluate it. What goes wrong without the brackets?
Lab
A timed challenge mixing fast two-digit arithmetic with olympiad-style expression problems from this layer.
16 questions on addition, subtraction, multiplication, division with some word problems mixed in, against a 180-second clock.
Get three in a row and the numbers level up!
Text version of this activity
A 16-round challenge with a 3-minute timer (switch the timer off in settings if you prefer). Generated questions use a two-digit number and a number from 2 to 12; every division is exact. Mixed in at random are problems from this layer:
- 500 × (100 + 18) ÷ 100 = ₹590 (GST)
- 2026 − 2025 + … + 2 − 1 = 1,013
- (1 + 2) × (3 + 4) × (5 + 6) = 231
- ▢ × 4 + 3 × 5 = 47 gives ▢ = 8
- 37 × 64 + 37 × 36 = 3,700
- (44 − 4) ÷ 4 = 10
- 8 ÷ 2 × (2 + 2) = 16
- (12 + 15 + 18) ÷ 3 = 15
Chapter 06
Other ways to write the same thing
Our way of writing, with the operation between its numbers (infix), is the reason we need an order of operations at all. Other notations avoid the problem:
- Prefix (Polish) notation: the operation comes first. 2 + 3 × 4 is + 2 × 3 4. The programming language Lisp writes it as (+ 2 (* 3 4)).
- Postfix (Reverse Polish): the operation comes last. 2 3 4 × +. No brackets are ever needed.
- Fraction bars and stacked layouts: the position on the page shows the grouping.
- Expression trees: a picture of the structure, with the last operation at the top.
Why do we still use infix? Because it is compact and close to how we speak ("two plus three times four"), and once everyone knows the convention it is fast to read. It is a trade-off: a convenient notation that needs a shared rule.
| Infix (school) | Prefix (Polish) | Postfix (RPN) | Value |
|---|---|---|---|
| 2 + 3 × 4 | + 2 × 3 4 | 2 3 4 × + | 14 |
| (2 + 3) × 4 | × + 2 3 4 | 2 3 + 4 × | 20 |
| 10 − 3 + 2 | + − 10 3 2 | 10 3 − 2 + | 9 |
| (7 − 2) × (1 + 3) | × − 7 2 + 1 3 | 7 2 − 1 3 + × | 20 |
Chapter 07
Projects to try
Four projects, from a weekend to a month
- Step 01Puzzle bookweekend
Write 10 "insert the brackets" puzzles with answers. Start from an answer and hide it. Swap books with a friend.
- Step 02Four fours chart1–2 weeks
Find four-fours expressions for 0 to 50. Record which need √, decimals or factorials. Which is the first number you cannot make?
- Step 03Calculator audita week
Test every calculator, app and spreadsheet you can find with 2 + 3 × 4, 8 ÷ 2(2 + 2), −3² and 2^3^2. Publish a table for your class.
- Step 04Kirana bill checkera month
Design a spreadsheet for a small shop: quantity × price per line, a subtotal, GST and change from a note. Test it with a shopkeeper.
Reflect
This stays on this page only. It isn’t saved or sent anywhere.
Chapter 08
The numbers game: big targets
A famous television numbers game (called Countdown in the UK, and copied in many countries) gives players six numbers and a three-digit target. Using + − × ÷ and brackets, each number at most once, and every step a whole number, they have 30 seconds to hit the target, or get as close as possible.
Small numbers are chosen from 1 to 10 and big numbers from 25, 50, 75 and 100. A typical round: 75, 4, 7, 2, 9, 1, target 307.
Work backwards: 307 is close to 300 = 4 × 75. The difference is 7, and we have a 7! So 4 × 75 + 7 = 300 + 7 = 307. Three numbers are left over, which is allowed.
The order of operations is what lets you write the answer as one short line: 4 × 75 + 7 needs no brackets, because the × is done first anyway.
Worked example
0 / 5 steps shownA legendary solution: 952
In a famous 1997 episode, a contestant was given 25, 50, 75, 100, 3, 6 and the target 952. Show that ((100 + 6) × 3 × 75 − 50) ÷ 25 = 952.
Lab
Step through big-target numbers-game solutions, including the famous 952, and see how brackets carry each plan.
- Brackets first. Innermost first: ( ) before [ ].
- × and ÷ are equal partners: do them left to right.
- + and − are equal partners: do them left to right.
BODMAS or DMAS is just a memory aid. D doesn’t beat M, and A doesn’t beat S. They take turns from left to right.
Expression 1 of 6: tap the operation to do next.
Text version of this activity
Six numbers-game solutions:
- 4 × 75 + 7 = 307
- 3 × 6 × (50 − 25) = 450
- [(100 + 6) × 3 × 75 − 50] ÷ 25 = 952
- (75 − 7) × 4 + 2 = 274
- 100 × 9 − 75 ÷ 25 = 897
- (50 + 25) × (6 + 3) − 100 = 575
In full: 3 × 6 × (50 − 25) = 3 × 6 × 25 = 18 × 25 = 450. The 952 solution passes through 23,850 and 23,800 before the final division.
Try it
Try it
Chapter 09
Discounts, GST and the order of a bill
A shop has a ₹1,000 shirt on sale. There are two things to apply: a ₹100 discount and 18% GST. Does the order matter?
- Discount first, then GST: (1,000 − 100) × 118 ÷ 100 = 900 × 1.18 = ₹1,062.
- GST first, then discount: 1,000 × 118 ÷ 100 − 100 = 1,180 − 100 = ₹1,080.
They differ by ₹18, which is exactly the 18% GST on the ₹100 discount. The brackets decide whether the tax is charged on the discounted price or on the full price. In India the first way is the usual one: the GST Council’s own guidance says that "pre-supply discounts i.e. discounts recorded in the invoice" are left out when working out the taxable value, so a discount printed on the bill is taken off before GST is added.
Now try a 10% discount instead of ₹100. Discount first: 1,000 × 90 ÷ 100 × 118 ÷ 100 = ₹1,062. GST first: 1,000 × 118 ÷ 100 × 90 ÷ 100 = ₹1,062. The same! Percentage changes are multiplications, and multiplications can be done in any order. A flat discount is a subtraction, and mixing it with a multiplication makes the order matter.
Explore
Discount and tax: which order?
Choose a pair of price changes to see if the order matters.
- 1,000 − 100 = 900
- 900 × 118 ÷ 100
- ₹1,062
Usual invoice order
Expression: (1,000 − 100) × 118 ÷ 100. The bracket is essential: without it, 1,000 − 100 × 118 ÷ 100 = 1,000 − 118 = 882, which takes the tax off the discount instead.
Worked example
0 / 5 steps shownA kirana invoice with GST
An invoice lists 3 packets of biscuits at ₹40, 2 bottles of juice at ₹90, and a ₹20 discount on the whole bill. GST of 5% is charged on the discounted total. Write one expression and evaluate it.
Try it
Predict first
Chapter 10
Cooking for a crowd
A gurdwara langar or a wedding caterer may cook for thousands of people. Big numbers make the order of operations even more important, because a slip is multiplied too.
A caterer plans for 1,200 guests. Each plate gets 2 rotis, 150 g of rice and 120 g of dal. The kitchen also cooks 10% extra for safety.
- Rotis: 1,200 × 2 × 110 ÷ 100 = 2,640.
- Rice in kg: 1,200 × 150 × 110 ÷ 100 ÷ 1,000 = 198 kg.
- Dal in kg: 1,200 × 120 × 110 ÷ 100 ÷ 1,000 = 792/5 kg.
Each is a long chain of × and ÷ done left to right. Multiplying first and dividing last keeps every step a whole number, which is useful when working by hand.
| Item | Per plate or basis | Expression | Total |
|---|---|---|---|
| Rotis | 2 | 1,200 × 2 × 110 ÷ 100 | 2,640 |
| Rice | 150 g | 1,200 × 150 × 110 ÷ 100 ÷ 1,000 | 198 kg |
| Dal | 120 g | 1,200 × 120 × 110 ÷ 100 ÷ 1,000 | 158.4 kg |
| Sweets | 2 pieces | 1,200 × 2 × 110 ÷ 100 | 2,640 pieces |
| Cost of rice at ₹60/kg | 198 kg of rice | 198 × 60 | ₹11,880 |
| Cost per guest if total is ₹1,80,000 | whole menu | 1,80,000 ÷ 1,200 | ₹150 |
Try it
Try it
Chapter 11
More olympiad-style challenges
Here are four more problems of the kind that appear in maths olympiads and puzzle contests. Try each before reading the solution. The skills they reward are the ones from this whole topic: knowing exactly what an expression means, working systematically, and spotting structure.
| Brackets placed | Value |
|---|---|
| (3 + 4) × 5 − 2 × 6 | 23 |
| (3 + 4 × 5) − 2 × 6 | 11 |
| (3 + 4 × 5 − 2) × 6 | 126 |
| 3 + (4 × 5 − 2) × 6 | 111 |
| 3 + 4 × (5 − 2) × 6 | 75 |
| 3 + 4 × (5 − 2 × 6) | −25 |
Worked example
0 / 5 steps shownOne pair of brackets, many values
Place exactly one pair of brackets in 3 + 4 × 5 − 2 × 6 to make 23. Then find the largest value one pair can make.
Worked example
0 / 4 steps shownA sum of products
Evaluate 1 × 2 + 2 × 3 + 3 × 4 + … + 9 × 10.
Try it
Try it
Chapter 12
Words, check-up and summary
Words to know
All maths vocabulary →Vocabulary for the wider world
- Implied multiplication
- Multiplication shown by writing things side by side, with no × sign.
- Example: 2(2 + 2), 3x
- Juxtaposition
- Placing symbols next to each other. In maths it usually means multiplication.
- Ambiguous
- Able to be read in more than one reasonable way.
- Example: 8 ÷ 2(2 + 2)
- Operator precedence
- The order-of-operations table built into a programming language.
- Infix notation
- Writing the operation between its two numbers, as in 2 + 3.
- Prefix (Polish) notation
- Writing the operation before its numbers, as in + 2 3.
- Factorial
- n! is the product of the whole numbers from 1 to n.
- Example: 4! = 4 × 3 × 2 × 1 = 24
- Four fours
- A puzzle: make numbers using exactly four 4s and chosen operations.
- Example: (44 − 4) ÷ 4 = 10
- 24 game
- A puzzle: combine four given numbers with + − × ÷ to make 24.
- Example: 8 ÷ (3 − 8 ÷ 3) = 24
- Quotient
- The whole-number result of a division, ignoring the remainder.
- Example: 7 // 2 = 3 in Python
- GST
- Goods and Services Tax, added to prices in India as a percentage.
- Example: ₹500 at 18% → ₹590
Quick check
Extend check-up
10 questions · answer what you can, then check. Getting one wrong is useful.
Keep this
Cheat sheet
- 8 ÷ 2(2 + 2): 16 by the strict rule, 1 if implied multiplication binds tighter. It is badly written: add brackets or use a fraction bar.
- Implied multiplication (2x, 2(…)) is often treated as tighter than ÷ in algebra and science; calculators differ, and some (Casio fx-82ES PLUS, TI-82) document it.
- Four fours: with + − × ÷, brackets and joined 4s, 0–10 are all possible; from 0 to 20 only 11, 13, 14, 18 and 19 are impossible, and they need extra tools (√, decimals, !).
- 24 game: work backwards from 3 × 8, 4 × 6, 2 × 12. Hard sets like 3, 3, 8, 8 need fractions; 1, 1, 1, 1 is impossible.
- Olympiad habits: pair terms, spot zeros and common factors, and undo operations in reverse order to find missing numbers.
- Code and spreadsheets mostly follow school rules, but Excel differs on −3² (9) and 2^3^2 (64). Professionals add brackets whenever in doubt.
- Notations: infix needs precedence rules; prefix, postfix and fraction bars do not.
- Real work: GST, bills, averages and science formulas all depend on brackets in the right places.
Used in
Data handlingSurveying how people read 8 ÷ 2(2 + 2), and computing a mean as (sum) ÷ (count), both use this topic.
Related to
Number and shape patternsAlternating sums like 2026 − 2025 + … − 1 and bracket counts (Catalan numbers) are patterns revealed by grouping.
Used in
Four operationsFour fours and the 24 game are practice in all four operations, chained by the order of operations.
Related to
Number systemReading large results such as 3,700 or 59,000 and writing them in Indian and international forms connects to the Number system topic.
Where this comes from
Sources
Order of operations (opens another website) — Wikipediaawaiting owner check
Supports the conventional order, the PEMDAS/BODMAS/BIDMAS/BEDMAS mnemonics, implied multiplication and the 8 ÷ 2(2 + 2) controversy, the TI-82 / TI-83 split over 1/2x, and the note that Excel reads −3² as (−3)² and evaluates a^b^c left to right.
Four fours (opens another website) — Wikipediaawaiting owner check
Supports the four fours puzzle: exactly four 4s with + − × ÷, parentheses and concatenation; the usual extensions (factorial, decimal point, square root); and its history (Dilworth 1734; first printed as "four fours" in Knowledge, 1881).
24 (puzzle) (opens another website) — Wikipediaawaiting owner check
Supports the "make 24" card puzzle: four integers used exactly once with + − × ÷ and parentheses, the card-game format with aces as 1, and the note that 1, 1, 1, 1 has no solution with the basic operations.
Order of Operations – PEMDAS (opens another website) — Math is Funawaiting owner check
Supports the PEMDAS version used in the USA and the same equal-rank, left-to-right warning, including the worked example 30 ÷ 5 × 3 = 18 (not 2).
Earliest Uses of Grouping Symbols (opens another website) — Jeff Miller, Earliest Uses of Various Mathematical Symbols (MacTutor, St Andrews)awaiting owner check
Supports the history of grouping symbols, after Cajori: Chuquet's bar under the grouped parts (1484), parentheses in Tartaglia (1556), brackets in Bombelli's manuscript Algebra (c. 1550), braces in Viète's 1593 Zetetica, van Schooten's bar above (1646), and that "Girard, 1629" is inaccurate.
Calculation Priority Sequence — fx-82ES PLUS / 85ES PLUS / 95ES PLUS / 350ES PLUS user's guide (opens another website) — Casioawaiting owner check
Supports the claim that some calculators are documented to bind implied multiplication more tightly than ÷: this priority list places "multiplication where the multiplication sign is omitted" above "multiplication (×), division (÷)".
Calculation operators and precedence in Excel (opens another website) — Microsoft Supportawaiting owner check
Supports Excel's published operator precedence: negation ranks above exponentiation (so =-3^2 is (−3)² = 9) and operators of equal precedence, ^ included, are evaluated left to right (so =2^3^2 is (2³)² = 64).
Valuation in GST (GST flyer, Chapter 22) (opens another website) — GST Council Secretariat, Government of Indiaawaiting owner check
Supports that in India a discount recorded in the invoice is excluded from the taxable value, so GST is charged on the discounted price: "pre-supply discounts i.e. discounts recorded in the invoice have been allowed to be excluded while determining the taxable value".
End of Extend
What you just read
- Explain why 8 ÷ 2(2 + 2) has two reasonable readings and rewrite it unambiguously.
- Solve four fours and 24-game puzzles, and explain why some targets need extra tools or fractions.
- Use structure (pairing, common factors, working backwards) to solve olympiad-style problems.
- Compare how school maths, Python and spreadsheets handle precedence, including −3² and 2^3^2.
- Plan and carry out a small project or survey about how people read expressions.
- Practise75 questionsHints and a worked solution for every question — or play a 10-question round.
- Step backGo deeperGo back over the ground before this one — you can move up and down as often as you like.
- TopicAll of order of operationsThe whole ladder, the connections and the words to know, on one page.
The web
Explore a connection
Builds on
Properties of numbersThe distributive property explains why multiplication is done before addition and how brackets change a result.
Builds on
Four operationsOnce each operation is reliable, the next question is which one to do first when several appear together.
Related to
Number and shape patternsA pattern rule such as 3 × n + 1 is an expression — you need the order of operations to use it.
Want to save topics or ask for new ones? Invited families can connect a learning device. Everything here stays free to read without signing in.
Revision 1 · release preview-7e1cbbcc4f · accepted 20/09/2026