Order of operations

Math · Foundations

Question 1 of 10

0

    What is (8 + 7) × 5?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Order of operations explained

    When a calculation contains several operations, everyone must do them in the same order or they will get different answers. The agreed order is often remembered as BIDMAS (UK) or PEMDAS (US):

    1. Brackets (parentheses) first, working from the innermost outwards.
    2. Indices (exponents, powers and roots).
    3. Division and multiplication, from left to right.
    4. Addition and subtraction, from left to right.

    The letters suggest that multiplication comes before division and addition before subtraction, but that is a common misunderstanding. Division and multiplication have equal priority, and so do addition and subtraction; you work through each pair from left to right. So 12÷3×2=4×2=812 \div 3 \times 2 = 4 \times 2 = 8, not 12÷6=212 \div 6 = 2.

    A fraction bar acts like brackets around the top and the bottom: in 8+42+1\dfrac{8 + 4}{2 + 1}, finish both before dividing.

    Worked example

    Calculate 3+4×(5−2)23 + 4 \times (5 - 2)^2.

    1. Brackets: 5−2=35 - 2 = 3.
    2. Indices: 32=93^2 = 9.
    3. Multiplication: 4×9=364 \times 9 = 36.
    4. Addition: 3+36=393 + 36 = 39.

    Working strictly left to right would give (3+4)×9=63(3 + 4) \times 9 = 63, which is wrong. Scientific calculators follow the correct order, but basic ones may not.

    Step by step

    1. Circle or work out everything in brackets first. The top and bottom of a fraction count as brackets.
    2. Powers next, including squares and roots.
    3. Multiplication and division, working left to right.
    4. Addition and subtraction, working left to right.

    Rewrite the whole calculation on each line and change only one step at a time. This costs a little time but makes it easy to see where a mistake happened. The hard practice questions have two or three operation types, for example a bracket with a product, or a power followed by a bracket.

    Worked example 2

    Calculate (6+7)×4−8×3(6 + 7) \times 4 - 8 \times 3.

    1. Bracket: 6+7=136 + 7 = 13.
    2. The expression is now 13×4−8×313 \times 4 - 8 \times 3.
    3. Both multiplications come before the subtraction: 13×4=5213 \times 4 = 52 and 8×3=248 \times 3 = 24.
    4. 52−24=2852 - 24 = 28.

    Worked example 3

    Calculate 72+3×(12−5)7^2 + 3 \times (12 - 5).

    1. Bracket first: 12−5=712 - 5 = 7. The expression is 72+3×77^2 + 3 \times 7.
    2. Power: 72=497^2 = 49.
    3. Multiplication: 3×7=213 \times 7 = 21.
    4. Add: 49+21=7049 + 21 = 70.

    The power is done before the multiplication because of the order rules. It would be done first even if it were written at the end.

    Worked example 4

    Calculate 8×6−(9+11)÷58 \times 6 - (9 + 11) \div 5.

    1. Bracket: 9+11=209 + 11 = 20. The expression is 8×6−20÷58 \times 6 - 20 \div 5.
    2. Division and multiplication, each on its own: 8×6=488 \times 6 = 48 and 20÷5=420 \div 5 = 4.
    3. Subtract: 48−4=4448 - 4 = 44.

    If you subtracted too early, 48−20=2848 - 20 = 28 and 28÷5=5.628 \div 5 = 5.6, which is wrong. Always finish the division before the subtraction. The division by 5 applies to the value of the bracket, so the bracket comes first, then the division, and only then the subtraction.

    Common mistakes

    • Working strictly left to right and ignoring the rules. 2+3×42 + 3 \times 4 is 14, not 20.
    • Treating addition as always before subtraction, or multiplication as always before division. They are equal pairs, done left to right: 24÷4×3=6×3=1824 \div 4 \times 3 = 6 \times 3 = 18, not 24÷12=224 \div 12 = 2.
    • Squaring only part of a term. 727^2 is 49, not 14.
    • Subtracting before dividing, as in the trap in example 4.
    • Doing a bracket's contents in the wrong order. Inside brackets the same rules apply.
    • Changing several steps at once and losing a term when copying the expression.

    Exam tips

    • Rewrite the full expression on every line. A single dropped term is the most common slip.
    • Underline or lightly bracket multiplications and divisions before you start, so you do them before the adding and subtracting.
    • BIDMAS and PEMDAS give the same answers. The letters are only a memory aid.
    • Check with the calculator, but type the brackets exactly as written. For a fraction, put the top and bottom in brackets.
    • If the answer is not a whole number when the question is built to give one, such as the division in example 4, go back and look for a slipped step.
    • Write each new line directly under the one before, so the working reads as a single column that an examiner can follow quickly.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      What is 7 + 9 × 2?

    • Medium

      What is 3 + 2 × 6 − 5?

    • Hard

      What is 5² + 8 × (8 − 2)?